public final class ZestStyles
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ZestStyles() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
public static boolean checkStyle(int style, int styleToCheck)
style
- styleToCheck
- public static boolean validateConnectionStyle(int styleToValidate)
style
- the style to check.Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.