Cytoscape 2.8.0 API

cytoscape.visual.properties
Class NodeCustomGraphicsPositionProp

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

public class NodeCustomGraphicsPositionProp
extends AbstractVisualProperty


Field Summary
 
Fields inherited from class cytoscape.visual.properties.AbstractVisualProperty
validator
 
Constructor Summary
NodeCustomGraphicsPositionProp(Integer index)
           
 
Method Summary
 void applyToNodeView(NodeView nv, Object position, VisualPropertyDependency dep)
          Apply Object Position to DNodeView's Custom Graphics.
 Object getDefaultAppearanceObject()
          DOCUMENT ME!
 Icon getIcon(Object value)
          DOCUMENT ME!
 VisualPropertyType getType()
          DOCUMENT ME!
 
Methods inherited from class cytoscape.visual.properties.AbstractVisualProperty
applyToEdgeView, applyToEdgeView, applyToNodeView, constrained, getDefault, getDefaultIcon, getIconSet, 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

NodeCustomGraphicsPositionProp

public NodeCustomGraphicsPositionProp(Integer index)
Method Detail

getType

public VisualPropertyType getType()
DOCUMENT ME!

Specified by:
getType in interface VisualProperty
Specified by:
getType in class AbstractVisualProperty
Returns:
DOCUMENT ME!

getIcon

public Icon getIcon(Object value)
DOCUMENT ME!

Specified by:
getIcon in interface VisualProperty
Specified by:
getIcon in class AbstractVisualProperty
Parameters:
labelPos - DOCUMENT ME!
Returns:
DOCUMENT ME!

applyToNodeView

public void applyToNodeView(NodeView nv,
                            Object position,
                            VisualPropertyDependency dep)
Apply Object Position to DNodeView's Custom Graphics.

Specified by:
applyToNodeView in interface VisualProperty
Overrides:
applyToNodeView in class AbstractVisualProperty
Parameters:
nv - - NodeView. Currently, only supports DNodeView implementation.
position - This should be an ObjectPosition.
dep - DOCUMENT ME!

getDefaultAppearanceObject

public Object getDefaultAppearanceObject()
DOCUMENT ME!

Specified by:
getDefaultAppearanceObject in interface VisualProperty
Overrides:
getDefaultAppearanceObject in class AbstractVisualProperty
Returns:
DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.