de.grogra.pf.ui.edit
Class FieldSelection
java.lang.Object
de.grogra.pf.ui.edit.SelectionBase
de.grogra.pf.ui.edit.FieldSelection
- All Implemented Interfaces:
- Selection, Described
- Direct Known Subclasses:
- NodeSelection, ObjectSelection
public abstract class FieldSelection
- extends SelectionBase
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldSelection
public FieldSelection(Context ctx,
java.lang.Object object,
PersistenceField[] fields,
int[][] indices,
PropertyEditor[] editors,
java.lang.String[] labels,
Item description)
createProperty
protected abstract FieldProperty createProperty(Context c,
int i)
createPropertyNodes
protected PropertyEditorTree.Node createPropertyNodes(PropertyEditorTree t,
Property p,
UITree sourceTree,
java.lang.Object sourceNode)
- Specified by:
createPropertyNodes
in class SelectionBase
createPropertyNodesInGroup
protected PropertyEditorTree.Node createPropertyNodesInGroup(PropertyEditorTree t,
Property p,
UITree sourceTree,
java.lang.Object sourceGroup)
- Specified by:
createPropertyNodesInGroup
in class SelectionBase
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
getDescription
public java.lang.Object getDescription(java.lang.String type)
- Description copied from interface:
Described
- Returns the description associated with the given
type
.
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.
- Parameters:
type
- the type of description
- Returns:
- the description, or
null
if no description is available
getEditorFor
protected PropertyEditor getEditorFor(Property p,
Item item)
- Overrides:
getEditorFor
in class SelectionBase
getHierarchySource
protected UITree getHierarchySource()
- Specified by:
getHierarchySource
in class SelectionBase
getHierarchySourceRoot
protected java.lang.Object getHierarchySourceRoot(UITree source)
- Specified by:
getHierarchySourceRoot
in class SelectionBase
getLabelFor
protected java.lang.String getLabelFor(Property p)
- Specified by:
getLabelFor
in class SelectionBase
getProperties
protected java.util.List getProperties(PropertyEditorTree tree)
- Specified by:
getProperties
in class SelectionBase