|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.gadgets.EditorGadget
com.partnersoft.v3x.gadgets.SetEditor
public class SetEditor
An Editor for Sets. Uses a pick-and-edit scheme by coupling a a Selector and another Editor. Handles refresh of the selector whenever the set changes.
| Constructor Summary | |
|---|---|
SetEditor(Selector picker,
Editor changer)
Create a new SetEditor from the given Selector and Editor. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object newItem)
Add an item to the working set. |
void |
delete()
Delete selected items, if any. |
java.lang.Object |
getEdited()
|
java.util.Set |
getWorkingCopy()
|
boolean |
isAutosaving()
|
boolean |
isDeepCopying()
|
boolean |
isNotCopying()
|
void |
reset()
Restore working copy of set to match state of edited set at last save. |
void |
save()
Save changes to the set. |
void |
setAutosaving(boolean yaWanna)
|
void |
setDeepCopying(boolean newIs)
|
void |
setEdited(java.lang.Object newVictim)
Set the edited object. |
void |
setNotCopying(boolean tizit)
|
| Methods inherited from class com.partnersoft.v3x.gadgets.EditorGadget |
|---|
addEditListener, fireChanged, removeEditListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetEditor(Selector picker,
Editor changer)
| Method Detail |
|---|
public void save()
save in interface Editorsave in class EditorGadgetpublic void reset()
public void add(java.lang.Object newItem)
public void delete()
delete in interface Editordelete in class EditorGadgetpublic void setEdited(java.lang.Object newVictim)
EditorGadget
setEdited in interface EditorsetEdited in class EditorGadgetpublic java.lang.Object getEdited()
public java.util.Set getWorkingCopy()
public boolean isAutosaving()
public void setAutosaving(boolean yaWanna)
public boolean isDeepCopying()
public void setDeepCopying(boolean newIs)
public boolean isNotCopying()
public void setNotCopying(boolean tizit)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||