de.grogra.pf.ui.edit
Class MapSource
java.lang.Object
de.grogra.pf.ui.edit.SelectionBase
de.grogra.pf.ui.edit.MapSource
- All Implemented Interfaces:
- Selection, Described
public class MapSource
- extends SelectionBase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapSource
public MapSource(Context ctx,
ModifiableMap values,
KeyDescription[] keys,
java.lang.String name)
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
createTree
protected PropertyEditorTree createTree()
- Specified by:
createTree
in class SelectionBase
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