Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.visual.properties
Class AbstractVisualProperty

java.lang.Object
  extended by cytoscape.visual.properties.AbstractVisualProperty
All Implemented Interfaces:
VisualProperty
Direct Known Subclasses:
EdgeColorProp, EdgeFontFaceProp, EdgeFontSizeProp, EdgeLabelColorProp, EdgeLabelOpacityProp, EdgeLabelPositionProp, EdgeLabelProp, EdgeLineStyleProp, EdgeLineTypeProp, EdgeLineWidthProp, EdgeOpacityProp, EdgeSourceArrowColorProp, EdgeSourceArrowOpacityProp, EdgeSourceArrowProp, EdgeSourceArrowShapeProp, EdgeTargetArrowColorProp, EdgeTargetArrowOpacityProp, EdgeTargetArrowProp, EdgeTargetArrowShapeProp, EdgeToolTipProp, NodeBorderColorProp, NodeBorderOpacityProp, NodeFillColorProp, NodeFontFaceProp, NodeFontSizeProp, NodeHeightProp, NodeLabelColorProp, NodeLabelOpacityProp, NodeLabelPositionProp, NodeLabelProp, NodeLineStyleProp, NodeLineTypeProp, NodeLineWidthProp, NodeOpacityProp, NodeShapeProp, NodeSizeProp, NodeToolTipProp, NodeWidthProp

public abstract class AbstractVisualProperty
extends Object
implements VisualProperty


Constructor Summary
AbstractVisualProperty()
           
 
Method Summary
 void applyToEdgeView(EdgeView ev, Object o)
          DOCUMENT ME!
 void applyToNodeView(NodeView nv, Object o)
          DOCUMENT ME!
 Object getDefaultAppearanceObject()
          DOCUMENT ME!
 Icon getDefaultIcon()
          DOCUMENT ME!
abstract  Icon getIcon(Object value)
           
 Map<Object,Icon> getIconSet()
          DOCUMENT ME!
abstract  VisualPropertyType getType()
          DOCUMENT ME!
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractVisualProperty

public AbstractVisualProperty()
Method Detail

getType

public abstract VisualPropertyType getType()
DOCUMENT ME!

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

showDiscreteEditor

public void showDiscreteEditor()
DOCUMENT ME!

Specified by:
showDiscreteEditor in interface VisualProperty

showContinousEditor

public void showContinousEditor()
DOCUMENT ME!

Specified by:
showContinousEditor in interface VisualProperty

getIconSet

public Map<Object,Icon> getIconSet()
DOCUMENT ME!

Specified by:
getIconSet in interface VisualProperty
Returns:
DOCUMENT ME!

paintIcon

public void paintIcon(Graphics2D g2)
DOCUMENT ME!

Specified by:
paintIcon in interface VisualProperty
Parameters:
g2 - DOCUMENT ME!

getDefaultIcon

public Icon getDefaultIcon()
DOCUMENT ME!

Specified by:
getDefaultIcon in interface VisualProperty
Returns:
DOCUMENT ME!

getIcon

public abstract Icon getIcon(Object value)
Specified by:
getIcon in interface VisualProperty

applyToNodeView

public void applyToNodeView(NodeView nv,
                            Object o)
DOCUMENT ME!

Specified by:
applyToNodeView in interface VisualProperty
Parameters:
nv - DOCUMENT ME!
o - DOCUMENT ME!

applyToEdgeView

public void applyToEdgeView(EdgeView ev,
                            Object o)
DOCUMENT ME!

Specified by:
applyToEdgeView in interface VisualProperty
Parameters:
ev - DOCUMENT ME!
o - DOCUMENT ME!

parseProperty

public Object parseProperty(Properties props,
                            String baseKey)
DOCUMENT ME!

Specified by:
parseProperty in interface VisualProperty
Parameters:
props - DOCUMENT ME!
baseKey - DOCUMENT ME!
Returns:
DOCUMENT ME!

getDefaultAppearanceObject

public Object getDefaultAppearanceObject()
DOCUMENT ME!

Specified by:
getDefaultAppearanceObject in interface VisualProperty
Returns:
DOCUMENT ME!

www.cytoscape.org