|
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<LineStyle> cytoscape.visual.LineStyle
public enum LineStyle
Define line stroke. TODO: need to modify rendering engine to fully support dash lines.
Enum Constant Summary | |
---|---|
LONG_DASH
|
|
SOLID
|
Method Summary | |
---|---|
static LineStyle |
extractLineStyle(Stroke stroke)
A method that attempts to figure out if a stroke is dashed or not. |
float[] |
getDashDef()
|
static Map<Object,Icon> |
getIconSet()
|
Stroke |
getStroke(float width)
DOCUMENT ME! |
static LineStyle |
parse(String val)
|
static float |
parseWidth(String s)
This method attempts to extract a width from a string that has a number in it like "dashed1" or "line2". |
static LineStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LineStyle[] |
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 LineStyle SOLID
public static final LineStyle LONG_DASH
Method Detail |
---|
public static final LineStyle[] values()
for(LineStyle c : LineStyle.values()) System.out.println(c);
public static LineStyle 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 static LineStyle parse(String val)
public static float parseWidth(String s)
public static LineStyle extractLineStyle(Stroke stroke)
public Stroke getStroke(float width)
width
- DOCUMENT ME!
public float[] getDashDef()
public static Map<Object,Icon> getIconSet()
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |