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

cytoscape.visual
Interface VisualProperty

All Known Implementing Classes:
AbstractVisualProperty, 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 interface VisualProperty

Represents a visual property. All vp should implement this interface.


Method Summary
 void applyToEdgeView(EdgeView nv, Object o)
           
 void applyToNodeView(NodeView nv, Object o)
           
 Object getDefaultAppearanceObject()
           
 Icon getDefaultIcon()
          DOCUMENT ME!
 Icon getIcon(Object value)
           
 Map<Object,Icon> getIconSet()
          DOCUMENT ME!
 VisualPropertyType getType()
          DOCUMENT ME!
 void paintIcon(Graphics2D g2)
          DOCUMENT ME!
 Object parseProperty(Properties props, String baseKey)
           
 void showContinousEditor()
          DOCUMENT ME!
 void showDiscreteEditor()
          DOCUMENT ME!
 

Method Detail

getType

VisualPropertyType getType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

showDiscreteEditor

void showDiscreteEditor()
DOCUMENT ME!


showContinousEditor

void showContinousEditor()
DOCUMENT ME!


getIconSet

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

Returns:
DOCUMENT ME!

paintIcon

void paintIcon(Graphics2D g2)
DOCUMENT ME!

Parameters:
g2 - DOCUMENT ME!

getDefaultIcon

Icon getDefaultIcon()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getIcon

Icon getIcon(Object value)

applyToNodeView

void applyToNodeView(NodeView nv,
                     Object o)

applyToEdgeView

void applyToEdgeView(EdgeView nv,
                     Object o)

parseProperty

Object parseProperty(Properties props,
                     String baseKey)

getDefaultAppearanceObject

Object getDefaultAppearanceObject()

www.cytoscape.org