|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- target data type for this editor.public interface VisualPropertyValueEditor<V>
Provides a GUI Editor for a data type.
To support new data type, this should be implemented.
This interface is an exact copy of ValueEditor
, but with
the additional parameter for showEditor
that informs the
VisualPropertyValueEditor
instance of the visual property
that is being edited. This is useful for editors that need to know
the boundaries of the visual property.
Module: vizmap-gui-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>vizmap-gui-api</artifactId> </dependency>
Method Summary | ||
---|---|---|
Class<V> |
getValueType()
Get type of the value to be edited. |
|
|
showEditor(Component parent,
S initialValue,
VisualProperty<S> vizPropBeingEdited)
Display the editor and get a new value. |
Method Detail |
---|
<S extends V> V showEditor(Component parent, S initialValue, VisualProperty<S> vizPropBeingEdited)
parent
- the parent Component of this editor.initialValue
- the initial value for the value editor dialogue.vizPropBeingEdited
- The visual property whose value is being edited--useful for determining the visual property's boundaries.
Class<V> getValueType()
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |