Cytoscape 2.8.0 API

cytoscape.visual
Interface VisualProperty

All Known Implementing Classes:
AbstractVisualProperty, EdgeColorProp, EdgeFontFaceProp, EdgeFontSizeProp, EdgeLabelColorProp, EdgeLabelOpacityProp, EdgeLabelPositionProp, EdgeLabelProp, EdgeLabelWidthProp, EdgeLineStyleProp, EdgeLineWidthProp, EdgeOpacityProp, EdgeSourceArrowColorProp, EdgeSourceArrowOpacityProp, EdgeSourceArrowShapeProp, EdgeTargetArrowColorProp, EdgeTargetArrowOpacityProp, EdgeTargetArrowShapeProp, EdgeToolTipProp, NodeBorderColorProp, NodeBorderOpacityProp, NodeCustomGraphicsPositionProp, NodeCustomGraphicsProp, NodeFillColorProp, NodeFontFaceProp, NodeFontSizeProp, NodeHeightProp, NodeLabelColorProp, NodeLabelOpacityProp, NodeLabelPositionProp, NodeLabelProp, NodeLabelWidthProp, NodeLineStyleProp, NodeLineWidthProp, NodeOpacityProp, NodeShapeProp, NodeShowNestedNetworkProp, NodeSizeProp, NodeToolTipProp, NodeWidthProp

public interface VisualProperty

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


Method Summary
 void applyToEdgeView(EdgeView nv, Object o)
          Deprecated. Use other the applyToNodeView method with the VisualPropertyDependency arg as null. Will be removed Jan 2011.
 void applyToEdgeView(EdgeView nv, Object o, VisualPropertyDependency dep)
           
 void applyToNodeView(NodeView nv, Object o)
          Deprecated. Use other the applyToNodeView method with the VisualPropertyDependency arg as null. Will be removed Jan 2011.
 void applyToNodeView(NodeView nv, Object o, VisualPropertyDependency dep)
           
 boolean constrained(VisualPropertyDependency dep)
           
 Object getDefaultAppearanceObject()
           
 Icon getDefaultIcon()
          DOCUMENT ME!
 Icon getIcon(Object value)
           
 Map<Object,Icon> getIconSet()
          DOCUMENT ME!
 VisualPropertyType getType()
          DOCUMENT ME!
 boolean isValidValue(Object value)
           
 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

@Deprecated
void applyToNodeView(NodeView nv,
                                Object o)
Deprecated. Use other the applyToNodeView method with the VisualPropertyDependency arg as null. Will be removed Jan 2011.


applyToNodeView

void applyToNodeView(NodeView nv,
                     Object o,
                     VisualPropertyDependency dep)

applyToEdgeView

@Deprecated
void applyToEdgeView(EdgeView nv,
                                Object o)
Deprecated. Use other the applyToNodeView method with the VisualPropertyDependency arg as null. Will be removed Jan 2011.


applyToEdgeView

void applyToEdgeView(EdgeView nv,
                     Object o,
                     VisualPropertyDependency dep)

parseProperty

Object parseProperty(Properties props,
                     String baseKey)

getDefaultAppearanceObject

Object getDefaultAppearanceObject()

constrained

boolean constrained(VisualPropertyDependency dep)

isValidValue

boolean isValidValue(Object value)

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.