|
Zest 1.5.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.zest.core.widgets.ZestStyles
public final class ZestStyles
Style constants used in Zest.
Field Summary | |
---|---|
static int |
CONNECTIONS_DASH
Style constant to indicate that connections should be drawn with dashed lines. |
static int |
CONNECTIONS_DASH_DOT
Style constant to indicate that connections should be drawn with dash-dotted lines. |
static int |
CONNECTIONS_DIRECTED
Style indicating that connections should show their direction by default. |
static int |
CONNECTIONS_DOT
Style constant to indicate that connections should be drawn with dotted lines. |
static int |
CONNECTIONS_SOLID
Style constant to indicate that connections should be drawn with solid lines (this is the default). |
static int |
IGNORE_INVISIBLE_LAYOUT
Style constant indicating that invisible nodes should be ignored for layouts. |
static int |
NODES_CACHE_LABEL
Style constant indicating that node labels should be cached. |
static int |
NODES_FISHEYE
Style to specify that the node should contain a fisheye label when the mouse moves over it. |
static int |
NODES_HIDE_TEXT
Style to specify that the node should not show its text (only its image). |
static int |
NODES_NO_ANIMATION
Style constant indiciating the graph should not be animated. |
static int |
NODES_NO_FISHEYE_ANIMATION
Style constant indiciating the graph should not be animated during fisheye. |
static int |
NODES_NO_LAYOUT_ANIMATION
Style constant indiciating the graph should not be animated during layout or refresh. |
static int |
NODES_NO_LAYOUT_RESIZE
Style constant indiciating that nodes should not be resized on layout. |
static int |
NONE
A constant known to be zero (0), used in operations which take bit flags to indicate that "no bits are set". |
Constructor Summary | |
---|---|
ZestStyles()
|
Method Summary | |
---|---|
static boolean |
checkStyle(int style,
int styleToCheck)
Bitwise ANDs the styleToCheck integer with the given style. |
static boolean |
validateConnectionStyle(int styleToValidate)
Validates the given style for connections to see if it is legal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int IGNORE_INVISIBLE_LAYOUT
public static final int NODES_CACHE_LABEL
public static final int NODES_FISHEYE
public static final int NODES_HIDE_TEXT
public static final int NODES_NO_LAYOUT_RESIZE
public static final int NODES_NO_LAYOUT_ANIMATION
public static final int NODES_NO_FISHEYE_ANIMATION
public static final int NODES_NO_ANIMATION
public static final int CONNECTIONS_DIRECTED
public static final int CONNECTIONS_SOLID
public static final int CONNECTIONS_DASH
public static final int CONNECTIONS_DOT
public static final int CONNECTIONS_DASH_DOT
Constructor Detail |
---|
public ZestStyles()
Method Detail |
---|
public static boolean checkStyle(int style, int styleToCheck)
style
- styleToCheck
-
public static boolean validateConnectionStyle(int styleToValidate)
style
- the style to check.
|
Zest 1.5.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |