|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- Type of object managed in the Visual Prop.public interface VisualPropertyEditor2<T>
If you are writing a VisualPropertyEditor
but need to know
the visual property you are editing (eg to check if the user
inputted a value in the visual property's range), implement this interface
in addition to VisualPropertyEditor
. Only export
your implementation in OSGi as VisualPropertyEditor
, not
as VisualPropertyEditor2
. The EditorManager
should detect
if your VisualPropertyEditor
implementation implements this interface
and call getPropertyEditor
with 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 | |
---|---|
PropertyEditor |
getPropertyEditor(VisualProperty<T> vizProp)
Returns PropertyEditor object for this data type. |
Method Detail |
---|
PropertyEditor getPropertyEditor(VisualProperty<T> vizProp)
PropertyEditor
object for this data type.
PropertyEditor
object for this data type.
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |