|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.visual.properties.AbstractVisualProperty
public abstract class AbstractVisualProperty
Field Summary | |
---|---|
protected cytoscape.visual.properties.ValueValidator |
validator
|
Constructor Summary | |
---|---|
AbstractVisualProperty()
|
Method Summary | |
---|---|
void |
applyToEdgeView(EdgeView ev,
Object o)
|
void |
applyToEdgeView(EdgeView ev,
Object o,
VisualPropertyDependency dep)
DOCUMENT ME! |
void |
applyToNodeView(NodeView nv,
Object o)
|
void |
applyToNodeView(NodeView nv,
Object o,
VisualPropertyDependency dep)
DOCUMENT ME! |
boolean |
constrained(VisualPropertyDependency dep)
|
protected Object |
getDefault()
|
Object |
getDefaultAppearanceObject()
DOCUMENT ME! |
Icon |
getDefaultIcon()
DOCUMENT ME! |
abstract Icon |
getIcon(Object value)
|
Map<Object,Icon> |
getIconSet()
DOCUMENT ME! |
abstract VisualPropertyType |
getType()
DOCUMENT ME! |
boolean |
isValidValue(Object value)
|
void |
paintIcon(Graphics2D g2)
DOCUMENT ME! |
Object |
parseProperty(Properties props,
String baseKey)
DOCUMENT ME! |
void |
showContinousEditor()
DOCUMENT ME! |
void |
showDiscreteEditor()
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected cytoscape.visual.properties.ValueValidator validator
Constructor Detail |
---|
public AbstractVisualProperty()
Method Detail |
---|
public abstract VisualPropertyType getType()
getType
in interface VisualProperty
public void showDiscreteEditor()
showDiscreteEditor
in interface VisualProperty
public void showContinousEditor()
showContinousEditor
in interface VisualProperty
public Map<Object,Icon> getIconSet()
getIconSet
in interface VisualProperty
public void paintIcon(Graphics2D g2)
paintIcon
in interface VisualProperty
g2
- DOCUMENT ME!public Icon getDefaultIcon()
getDefaultIcon
in interface VisualProperty
public abstract Icon getIcon(Object value)
getIcon
in interface VisualProperty
protected Object getDefault()
public void applyToNodeView(NodeView nv, Object o, VisualPropertyDependency dep)
applyToNodeView
in interface VisualProperty
nv
- DOCUMENT ME!o
- DOCUMENT ME!dep
- DOCUMENT ME!public void applyToNodeView(NodeView nv, Object o)
applyToNodeView
in interface VisualProperty
public void applyToEdgeView(EdgeView ev, Object o, VisualPropertyDependency dep)
applyToEdgeView
in interface VisualProperty
ev
- DOCUMENT ME!o
- DOCUMENT ME!dep
- DOCUMENT ME!public void applyToEdgeView(EdgeView ev, Object o)
applyToEdgeView
in interface VisualProperty
public Object parseProperty(Properties props, String baseKey)
parseProperty
in interface VisualProperty
props
- DOCUMENT ME!baseKey
- DOCUMENT ME!
public Object getDefaultAppearanceObject()
getDefaultAppearanceObject
in interface VisualProperty
public boolean constrained(VisualPropertyDependency dep)
constrained
in interface VisualProperty
public boolean isValidValue(Object value)
isValidValue
in interface VisualProperty
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |