|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.view.vizmap.gui.editor.AbstractVisualPropertyEditor<T>
T - The generic type of this AbstractVisualPropertyEditor.public abstract class AbstractVisualPropertyEditor<T>
Abstract implementation of Visual Property Editor. All editors should extend this class.
| Field Summary | |
|---|---|
protected TableCellRenderer |
continuousTableCellRenderer
|
protected TableCellRenderer |
discreteTableCellRenderer
|
protected PropertyEditor |
propertyEditor
|
protected Class<T> |
type
|
protected Window |
vpValueEditor
|
| Constructor Summary | |
|---|---|
AbstractVisualPropertyEditor(Class<T> type,
PropertyEditor propertyEditor,
ContinuousEditorType continuousEditorType)
Creates a new AbstractVisualPropertyEditor object. |
|
| Method Summary | |
|---|---|
ContinuousEditorType |
getContinuousEditorType()
|
TableCellRenderer |
getContinuousTableCellRenderer(PropertyEditor continuousMappingEditor)
A custom cell renderer for Continuous table cells. |
Icon |
getDefaultIcon(int width,
int height)
This is for default view editor. |
TableCellRenderer |
getDiscreteTableCellRenderer()
A custom cell renderer for Discrete table cells. |
PropertyEditor |
getPropertyEditor()
Returns PropertyEditor object for this data type. |
Class<T> |
getType()
Returns the type of object managed in the Visual property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Class<T> type
protected final PropertyEditor propertyEditor
protected Window vpValueEditor
protected TableCellRenderer discreteTableCellRenderer
protected TableCellRenderer continuousTableCellRenderer
| Constructor Detail |
|---|
public AbstractVisualPropertyEditor(Class<T> type,
PropertyEditor propertyEditor,
ContinuousEditorType continuousEditorType)
type - The type of this AbstractVisualPropertyEditor object.propertyEditor - the PropertyEditor to construct this with.| Method Detail |
|---|
public Class<T> getType()
getType in interface VisualPropertyEditor<T>public PropertyEditor getPropertyEditor()
PropertyEditor object for this data type.
getPropertyEditor in interface VisualPropertyEditor<T>PropertyEditor object for this data type.public TableCellRenderer getDiscreteTableCellRenderer()
getDiscreteTableCellRenderer in interface VisualPropertyEditor<T>public TableCellRenderer getContinuousTableCellRenderer(PropertyEditor continuousMappingEditor)
VisualPropertyEditor
getContinuousTableCellRenderer in interface VisualPropertyEditor<T>public ContinuousEditorType getContinuousEditorType()
getContinuousEditorType in interface VisualPropertyEditor<T>
public Icon getDefaultIcon(int width,
int height)
getDefaultIcon in interface VisualPropertyEditor<T>width - The width of the desired Icon.height - The height of the desired Icon.
|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||