cytoscape.visual.properties
Class NodeCustomGraphicsProp
java.lang.Object
cytoscape.visual.properties.AbstractVisualProperty
cytoscape.visual.properties.NodeCustomGraphicsProp
- All Implemented Interfaces:
- VisualProperty
public class NodeCustomGraphicsProp
- extends AbstractVisualProperty
Methods inherited from class cytoscape.visual.properties.AbstractVisualProperty |
applyToEdgeView, applyToEdgeView, applyToNodeView, constrained, getDefault, getDefaultIcon, isValidValue, paintIcon, parseProperty, showContinousEditor, showDiscreteEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeCustomGraphicsProp
public NodeCustomGraphicsProp(Integer index)
getIcon
public Icon getIcon(Object value)
- Specified by:
getIcon
in interface VisualProperty
- Specified by:
getIcon
in class AbstractVisualProperty
getType
public VisualPropertyType getType()
- Description copied from class:
AbstractVisualProperty
- DOCUMENT ME!
- Specified by:
getType
in interface VisualProperty
- Specified by:
getType
in class AbstractVisualProperty
- Returns:
- DOCUMENT ME!
applyToNodeView
public void applyToNodeView(NodeView nv,
Object customGraphics,
VisualPropertyDependency dep)
- Apply current Custom Graphics to a node view.
- Specified by:
applyToNodeView
in interface VisualProperty
- Overrides:
applyToNodeView
in class AbstractVisualProperty
- Parameters:
nv
- DOCUMENT ME!customGraphics
- DOCUMENT ME!dep
- DOCUMENT ME!
getDefaultAppearanceObject
public Object getDefaultAppearanceObject()
- DOCUMENT ME!
- Specified by:
getDefaultAppearanceObject
in interface VisualProperty
- Overrides:
getDefaultAppearanceObject
in class AbstractVisualProperty
- Returns:
- DOCUMENT ME!
getIconSet
public Map<Object,Icon> getIconSet()
- Description copied from class:
AbstractVisualProperty
- DOCUMENT ME!
- Specified by:
getIconSet
in interface VisualProperty
- Overrides:
getIconSet
in class AbstractVisualProperty
- Returns:
- DOCUMENT ME!
getCurrentCustomGraphics
protected Set<CustomGraphic> getCurrentCustomGraphics(DNodeView dv)
Copyright 2010 Cytoscape Consortium. All rights reserved.