Cytoscape 2.8.0 API

cytoscape.visual.properties
Class NodeCustomGraphicsProp

java.lang.Object
  extended by cytoscape.visual.properties.AbstractVisualProperty
      extended by cytoscape.visual.properties.NodeCustomGraphicsProp
All Implemented Interfaces:
VisualProperty

public class NodeCustomGraphicsProp
extends AbstractVisualProperty


Field Summary
 
Fields inherited from class cytoscape.visual.properties.AbstractVisualProperty
validator
 
Constructor Summary
NodeCustomGraphicsProp(Integer index)
           
 
Method Summary
 void applyToNodeView(NodeView nv, Object customGraphics, VisualPropertyDependency dep)
          Apply current Custom Graphics to a node view.
protected  Set<CustomGraphic> getCurrentCustomGraphics(DNodeView dv)
           
 Object getDefaultAppearanceObject()
          DOCUMENT ME!
 Icon getIcon(Object value)
           
 Map<Object,Icon> getIconSet()
          DOCUMENT ME!
 VisualPropertyType getType()
          DOCUMENT ME!
 
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
 

Constructor Detail

NodeCustomGraphicsProp

public NodeCustomGraphicsProp(Integer index)
Method Detail

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)

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.