de.grogra.pf.ui.edit
public class OptionsSelection extends SelectionBase
contextDELETABLE, HIERARCHICAL, TRANSFERABLEACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE| Constructor and Description |
|---|
OptionsSelection(Context ctx,
Item item,
boolean listen) |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyEditorTree.Node |
createPropertyNodes(PropertyEditorTree t,
Property p,
UITree sourceTree,
java.lang.Object sourceNode) |
protected PropertyEditorTree.Node |
createPropertyNodesInGroup(PropertyEditorTree t,
Property p,
UITree sourceTree,
java.lang.Object sourceGroup) |
protected PropertyEditorTree |
createTree() |
java.lang.Object |
getDescription(java.lang.String type)
Returns the description associated with the given
type. |
protected PropertyEditor |
getEditorFor(Property p,
Item item) |
protected UITree |
getHierarchySource() |
protected java.lang.Object |
getHierarchySourceRoot(UITree source) |
protected java.lang.String |
getLabelFor(Property p) |
protected java.util.List |
getProperties(PropertyEditorTree tree) |
protected void |
valueChanged(java.lang.String name,
java.lang.Object value) |
createPropertyEditorComponent, createPropertyEditorMenu, createPropertyNodes, delete, getCapabilities, getContext, remove, toTransferableprotected PropertyEditorTree.Node createPropertyNodes(PropertyEditorTree t, Property p, UITree sourceTree, java.lang.Object sourceNode)
createPropertyNodes in class SelectionBaseprotected PropertyEditorTree.Node createPropertyNodesInGroup(PropertyEditorTree t, Property p, UITree sourceTree, java.lang.Object sourceGroup)
createPropertyNodesInGroup in class SelectionBaseprotected PropertyEditorTree createTree()
createTree in class SelectionBasepublic java.lang.Object getDescription(java.lang.String type)
Describedtype.
type has to be one of the predefined constants
of this interface, the returned value has to conform to the
specification of the used constant.type - the type of descriptionnull if no description is availableprotected PropertyEditor getEditorFor(Property p, Item item)
getEditorFor in class SelectionBaseprotected UITree getHierarchySource()
getHierarchySource in class SelectionBaseprotected java.lang.Object getHierarchySourceRoot(UITree source)
getHierarchySourceRoot in class SelectionBaseprotected java.lang.String getLabelFor(Property p)
getLabelFor in class SelectionBaseprotected java.util.List getProperties(PropertyEditorTree tree)
getProperties in class SelectionBaseprotected void valueChanged(java.lang.String name,
java.lang.Object value)