|
Cytoscape 2.8.0 API | |||||||||
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 | |
---|---|
static VisualPropertyType[] |
getAllCustomGraphicsType()
|
String |
getBypassAttrName()
DOCUMENT ME! |
Calculator |
getCurrentCalculator(VisualStyle style)
Gets the current calculator for the visual attribute for this type and the specified visual style. |
static VisualPropertyType |
getCustomGraphicsPositionType(int index)
|
static VisualPropertyType |
getCustomGraphicsType(int index)
|
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. |
ValueParser |
getValueParser()
|
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. |
Object |
showDiscreteEditor(Object defaultValue)
Display editor with default value. |
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 are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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
public static final VisualPropertyType NODE_LABEL_WIDTH
public static final VisualPropertyType EDGE_LABEL_WIDTH
public static final VisualPropertyType NODE_SHOW_NESTED_NETWORK
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_1
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_2
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_3
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_4
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_5
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_6
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_7
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_8
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_9
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_1
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_2
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_3
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_4
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_5
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_6
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_7
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_8
public static final VisualPropertyType NODE_CUSTOM_GRAPHICS_POSITION_9
Method Detail |
---|
public static 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 name
NullPointerException
- if the argument is nullpublic String getName()
public String getPropertyLabel()
public String getBypassAttrName()
public String getDefaultPropertyLabel()
public String getDefaultPropertyKey(String baseKey)
baseKey
- DOCUMENT ME!
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 showDiscreteEditor(Object defaultValue) throws Exception
defaultValue
-
Exception
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()
public static VisualPropertyType getCustomGraphicsType(int index)
public static VisualPropertyType[] getAllCustomGraphicsType()
public static VisualPropertyType getCustomGraphicsPositionType(int index)
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |