|
Preferences Editor | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.jppietsch.prefedit.AbstractTransferable
de.jppietsch.prefedit.Subtree
An immutable preferences tree which may be placed in the clipboard.
| Field Summary | |
private String |
key
Name of this subtrees root. |
private Preferences |
node
Preferences node. |
private ArrayList |
prefs
List of Preference representing the keys with their values. |
private ArrayList |
subtrees
List of Subtree representing the subnodes. |
| Constructor Summary | |
Subtree(Preferences somePreferences)
Constructs this Preference from the given preferences node. |
|
| Method Summary | |
void |
cut()
Copies this preferences subtree to the system clipboard and removes it. |
protected void |
doPaste(Preferences somePreferences)
Adds this transferable to the given preferences. |
protected String |
humanPresentableClassName()
Returns a human presentable name for this class. |
String |
toString()
Returns a string representation of this object. |
private StringBuffer |
toString(StringBuffer aBuffy,
String anIndent)
Recursive helper for toString(). |
| Methods inherited from class de.jppietsch.prefedit.AbstractTransferable |
copy, flavor, getTransferData, getTransferDataFlavors, isDataFlavorSupported, paste |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private Preferences node
private final String key
private final ArrayList subtrees
Subtree representing the subnodes.
private final ArrayList prefs
Preference representing the keys with their values.
| Constructor Detail |
public Subtree(Preferences somePreferences)
throws BackingStoreException
somePreferences - the preferences node.| Method Detail |
public String toString()
public void cut()
cut in class AbstractTransferableprotected String humanPresentableClassName()
humanPresentableClassName in class AbstractTransferableprotected void doPaste(Preferences somePreferences)
doPaste in class AbstractTransferablesomePreferences - to which this is added.
private StringBuffer toString(StringBuffer aBuffy,
String anIndent)
toString().
aBuffy - receives a string representation of this object.anIndent - is preceded before any line.
|
Preferences Editor | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||