|
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<LineStyle> cytoscape.visual.LineStyle
public enum LineStyle
Define line stroke.
Enum Constant Summary | |
---|---|
BACKWARD_SLASH
|
|
CONTIGUOUS_ARROW
|
|
DASH_DOT
|
|
DOT
|
|
EQUAL_DASH
|
|
FORWARD_SLASH
|
|
LONG_DASH
|
|
PARALLEL_LINES
|
|
SEPARATE_ARROW
|
|
SINEWAVE
|
|
SOLID
|
|
VERTICAL_SLASH
|
|
ZIGZAG
|
Method Summary | |
---|---|
static LineStyle |
extractLineStyle(Stroke s)
Will attempt to find the LineStyle based on the type of stroke. |
static Map<Object,Icon> |
getIconSet()
Returns a map of Icons that can be used for user interfaces. |
Stroke |
getStroke(float width)
Creates a new stroke of this LineStyle with the specified width. |
static LineStyle |
parse(String val)
Attempts to parse a LineStyle object from a string. |
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 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 LineStyle SOLID
public static final LineStyle LONG_DASH
public static final LineStyle EQUAL_DASH
public static final LineStyle DASH_DOT
public static final LineStyle DOT
public static final LineStyle ZIGZAG
public static final LineStyle SINEWAVE
public static final LineStyle VERTICAL_SLASH
public static final LineStyle FORWARD_SLASH
public static final LineStyle BACKWARD_SLASH
public static final LineStyle PARALLEL_LINES
public static final LineStyle CONTIGUOUS_ARROW
public static final LineStyle SEPARATE_ARROW
Method Detail |
---|
public static 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 name
NullPointerException
- if the argument is nullpublic static LineStyle parse(String val)
public static LineStyle extractLineStyle(Stroke s)
public Stroke getStroke(float width)
public static Map<Object,Icon> getIconSet()
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |