de.grogra.pf.ui.edit
public abstract class FieldSelection extends SelectionBase
contextDELETABLE, HIERARCHICAL, TRANSFERABLEACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE| Constructor and Description |
|---|
FieldSelection(Context ctx,
java.lang.Object object,
PersistenceField[] fields,
int[][] indices,
PropertyEditor[] editors,
java.lang.String[] labels,
Item description) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract FieldProperty |
createProperty(Context c,
int i) |
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) |
boolean |
equals(java.lang.Object o) |
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) |
createPropertyEditorComponent, createPropertyEditorMenu, createPropertyNodes, createTree, delete, getCapabilities, getContext, remove, toTransferablepublic FieldSelection(Context ctx, java.lang.Object object, PersistenceField[] fields, int[][] indices, PropertyEditor[] editors, java.lang.String[] labels, Item description)
protected abstract FieldProperty createProperty(Context c, int i)
protected 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 SelectionBasepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic 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 SelectionBase