|
|||||||||
| 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.DictionaryEditor
public class DictionaryEditor
An Editor for Maps. 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 | |
|---|---|
DictionaryEditor(Selector picker,
Editor changer)
Create a new DictionaryEditor from the given Selector and Editor. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object key,
java.lang.Object newItem)
Add an item to the working set. |
java.lang.Object |
getEdited()
|
java.util.Map |
getWorkingCopy()
|
boolean |
isAutosaving()
|
boolean |
isDeepCopying()
|
boolean |
isNotCopying()
|
void |
rekey(java.lang.Object newKey)
Change the key for the currently-selected item. |
void |
remove()
Delete currently-selected item. |
void |
reset()
Restore working copy of dictionary to match state of edited dictionary 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, delete, fireChanged, removeEditListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryEditor(Selector picker,
Editor changer)
| Method Detail |
|---|
public void save()
save in interface Editorsave in class EditorGadgetpublic void reset()
public void add(java.lang.Object key,
java.lang.Object newItem)
public void remove()
public void rekey(java.lang.Object newKey)
public void setEdited(java.lang.Object newVictim)
EditorGadget
setEdited in interface EditorsetEdited in class EditorGadgetpublic java.lang.Object getEdited()
public java.util.Map 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 | ||||||||