|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VisualPropertyType> cytoscape.visual.VisualPropertyType
public enum VisualPropertyType
Enum for calculator types.
This will replace public constants defined in VizMapperUI class.
This Enum defines visual attributes used in Cytoscape.
Method Summary | |
---|---|
String |
getBypassAttrName()
DOCUMENT ME! |
Calculator |
getCurrentCalculator(VisualStyle style)
Gets the current calculator for the visual attribute for this type and the specified visual style. |
Class |
getDataType()
DOCUMENT ME! |
Object |
getDefault(VisualStyle style)
Gets the current default value for this type in the specified visual style. |
String |
getDefaultPropertyKey(String baseKey)
DOCUMENT ME! |
String |
getDefaultPropertyLabel()
DOCUMENT ME! |
static List<VisualPropertyType> |
getEdgeVisualPropertyList()
DOCUMENT ME! |
String |
getName()
DOCUMENT ME! |
static List<VisualPropertyType> |
getNodeVisualPropertyList()
DOCUMENT ME! |
String |
getPropertyLabel()
Returns string used as property label in VS prop file. |
byte |
getType()
Deprecated. Will be removed 5/2008 |
ValueParser |
getValueParser()
|
static VisualPropertyType |
getVisualPorpertyType(byte type)
Deprecated. Will be removed 5/2008. |
VisualProperty |
getVisualProperty()
Returns the VisualProperty object associated with this enum. |
boolean |
isAllowed()
Indicates whether or not we should be using this property for normal operations. |
boolean |
isNodeProp()
Check this visual property is for node or not. |
void |
setCurrentCalculator(VisualStyle style,
Calculator c)
Sets the current calculator for the visual attribute for this type and the specified visual style. |
void |
setDefault(VisualStyle style,
Object c)
Sets the default value for the visual attribute for this type in the specified visual style. |
Object |
showContinuousEditor()
Display continuous value editor. |
Object |
showDiscreteEditor()
Display discrete value editor for this visual property. |
static VisualPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VisualPropertyType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VisualPropertyType NODE_FILL_COLOR
public static final VisualPropertyType NODE_BORDER_COLOR
public static final VisualPropertyType NODE_LINETYPE
public static final VisualPropertyType NODE_SHAPE
public static final VisualPropertyType NODE_SIZE
public static final VisualPropertyType NODE_WIDTH
public static final VisualPropertyType NODE_HEIGHT
public static final VisualPropertyType NODE_LABEL
public static final VisualPropertyType NODE_FONT_FACE
public static final VisualPropertyType NODE_FONT_SIZE
public static final VisualPropertyType NODE_LABEL_COLOR
public static final VisualPropertyType NODE_TOOLTIP
public static final VisualPropertyType NODE_LABEL_POSITION
public static final VisualPropertyType EDGE_COLOR
public static final VisualPropertyType EDGE_LINETYPE
public static final VisualPropertyType EDGE_SRCARROW
public static final VisualPropertyType EDGE_TGTARROW
public static final VisualPropertyType EDGE_LABEL
public static final VisualPropertyType EDGE_FONT_FACE
public static final VisualPropertyType EDGE_FONT_SIZE
public static final VisualPropertyType EDGE_LABEL_COLOR
public static final VisualPropertyType EDGE_TOOLTIP
public static final VisualPropertyType NODE_LINE_WIDTH
public static final VisualPropertyType EDGE_LINE_WIDTH
public static final VisualPropertyType NODE_LINE_STYLE
public static final VisualPropertyType EDGE_LINE_STYLE
public static final VisualPropertyType EDGE_SRCARROW_SHAPE
public static final VisualPropertyType EDGE_TGTARROW_SHAPE
public static final VisualPropertyType EDGE_SRCARROW_COLOR
public static final VisualPropertyType EDGE_TGTARROW_COLOR
public static final VisualPropertyType NODE_OPACITY
public static final VisualPropertyType EDGE_OPACITY
public static final VisualPropertyType NODE_LABEL_OPACITY
public static final VisualPropertyType EDGE_LABEL_OPACITY
public static final VisualPropertyType NODE_BORDER_OPACITY
public static final VisualPropertyType EDGE_SRCARROW_OPACITY
public static final VisualPropertyType EDGE_TGTARROW_OPACITY
public static final VisualPropertyType EDGE_LABEL_POSITION
Method Detail |
---|
public static final VisualPropertyType[] values()
for(VisualPropertyType c : VisualPropertyType.values()) System.out.println(c);
public static VisualPropertyType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String getName()
public String getPropertyLabel()
public String getBypassAttrName()
public String getDefaultPropertyLabel()
public String getDefaultPropertyKey(String baseKey)
baseKey
- DOCUMENT ME!
@Deprecated public byte getType()
@Deprecated public static VisualPropertyType getVisualPorpertyType(byte type)
type
-
public Class getDataType()
public boolean isNodeProp()
public boolean isAllowed()
public static List<VisualPropertyType> getNodeVisualPropertyList()
public static List<VisualPropertyType> getEdgeVisualPropertyList()
public Object showDiscreteEditor() throws Exception
Exception
- DOCUMENT ME!public Object showContinuousEditor() throws Exception
Continuous editor always update mapping automatically, so there is no return value.
Exception
- DOCUMENT ME!public VisualProperty getVisualProperty()
public Object getDefault(VisualStyle style)
style
- The visual style we want to get the default for.
public void setDefault(VisualStyle style, Object c)
style
- The visual style to be set.c
- The new default value.public Calculator getCurrentCalculator(VisualStyle style)
style
- The style we're getting the calculator for.
public void setCurrentCalculator(VisualStyle style, Calculator c)
style
- The style to set the calculator for.c
- The calculator to set.public ValueParser getValueParser()
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |