|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditorManager
Manages all editor objects for the VizMap GUI.
Field Summary | |
---|---|
static String |
EDITOR_WINDOW_CLOSED
Tell vizMapper main which editor is disabled/enabled. |
static String |
EDITOR_WINDOW_OPENED
Editor window state |
Method Summary | ||
---|---|---|
void |
addValueEditor(ValueEditor<?> va,
Map properties)
Add value editor OSGi services. |
|
Collection<PropertyEditor> |
getAttributeSelectors()
Returns set of selector for available attributes (table columns). |
|
List<PropertyEditor> |
getCellEditors()
Returns editors for individual cells in discrete mapping editor. |
|
PropertyEditor |
getContinuousEditor(VisualProperty<?> vp)
Returns the continuous editor for the specified visual property. |
|
PropertyEditor |
getDataTableComboBoxEditor(Class<? extends CyIdentifiable> targetObjectType)
Attribute selector for the given table entry type. |
|
PropertyEditor |
getDefaultComboBoxEditor(String editorName)
Get JComboBox type editor |
|
PropertyEditor |
getMappingFunctionSelector()
Returns selector for Mapping Type. |
|
|
getValueEditor(Class<V> dataType)
Returns value editor for the given data type. |
|
|
getVisualPropertyEditor(VisualProperty<V> vp)
Returns the VisualPropertyEditor for the given VisualProperty . |
|
void |
removeValueEditor(ValueEditor<?> va,
Map properties)
Remove an editor from manager (through OSGi). |
|
|
showVisualPropertyValueEditor(Component parentComponent,
VisualProperty<V> type,
V initialVal)
Display value editor to get a new value. |
Field Detail |
---|
static final String EDITOR_WINDOW_OPENED
static final String EDITOR_WINDOW_CLOSED
Method Detail |
---|
void addValueEditor(ValueEditor<?> va, Map properties)
va
- New value editor to be added.properties
- OSGi service metadata.void removeValueEditor(ValueEditor<?> va, Map properties)
va
- editor to be removed.properties
- OSGi metadata<V> V showVisualPropertyValueEditor(Component parentComponent, VisualProperty<V> type, V initialVal) throws Exception
parentComponent
- parent GUI componenttype
- Visual Property type to be editedinitialVal
- default value for the editor.
Exception
PropertyEditor getContinuousEditor(VisualProperty<?> vp)
vp
- The visual property.
<V> VisualPropertyEditor<V> getVisualPropertyEditor(VisualProperty<V> vp)
VisualPropertyEditor
for the given VisualProperty
.
V
- the generic type of the VisualProperty.vp
- the VisualProperty
to get the VisualPropertyEditor of.
VisualPropertyEditor
for the given VisualProperty
.List<PropertyEditor> getCellEditors()
Collection<PropertyEditor> getAttributeSelectors()
PropertyEditor getMappingFunctionSelector()
PropertyEditor getDefaultComboBoxEditor(String editorName)
JComboBox
type editor
editorName
- name (ID) of editor
PropertyEditor getDataTableComboBoxEditor(Class<? extends CyIdentifiable> targetObjectType)
targetObjectType
- node, edge, or network.
<V> ValueEditor<V> getValueEditor(Class<V> dataType)
dataType
- type of data. They are Color, number, Shape, etc.
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |