Package com.mxgraph.swing.util
Class mxSwingConstants
java.lang.Object
com.mxgraph.swing.util.mxSwingConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Color
Defines the connect handle fill color.static Color
Specifies the default invalid color.static Color
Specifies the default valid color.static Color
Defines the selection color for edges.static Stroke
Defines the stroke used for painting selected edges.static BufferedImage
Contains an empty image of size 1, 1.static Color
Defines the handle border color.static Color
Defines the handle fill color.static Color
Defines the label handle fill color.static Color
Defines the handle fill color for locked handles.static Border
Defines the border used for painting the preview when vertices are being resized, or cells and labels are being moved.static Stroke
Defines the stroke used for painting the preview for new and existing edges that are being changed.static Color
Defines the rubberband border color.static Color
Defines the rubberband fill color with an alpha of 80.static Color
Defines the color to be used for shadows.static Color
Defines the selection color for vertices.static Stroke
Defines the stroke used for painting the border of selected vertices. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY_IMAGE
Contains an empty image of size 1, 1. -
SHADOW_COLOR
Defines the color to be used for shadows. Default is gray. -
DEFAULT_VALID_COLOR
Specifies the default valid color. Default is green. -
DEFAULT_INVALID_COLOR
Specifies the default invalid color. Default is red. -
RUBBERBAND_BORDERCOLOR
Defines the rubberband border color. -
RUBBERBAND_FILLCOLOR
Defines the rubberband fill color with an alpha of 80. -
HANDLE_BORDERCOLOR
Defines the handle border color. Default is black. -
HANDLE_FILLCOLOR
Defines the handle fill color. Default is green. -
LABEL_HANDLE_FILLCOLOR
Defines the label handle fill color. Default is yellow. -
CONNECT_HANDLE_FILLCOLOR
Defines the connect handle fill color. Default is blue. -
LOCKED_HANDLE_FILLCOLOR
Defines the handle fill color for locked handles. Default is red. -
EDGE_SELECTION_COLOR
Defines the selection color for edges. Default is green. -
VERTEX_SELECTION_COLOR
Defines the selection color for vertices. Default is green. -
EDGE_SELECTION_STROKE
Defines the stroke used for painting selected edges. Default is a dashed line. -
VERTEX_SELECTION_STROKE
Defines the stroke used for painting the border of selected vertices. Default is a dashed line. -
PREVIEW_STROKE
Defines the stroke used for painting the preview for new and existing edges that are being changed. Default is a dashed line. -
PREVIEW_BORDER
Defines the border used for painting the preview when vertices are being resized, or cells and labels are being moved.
-
-
Constructor Details
-
mxSwingConstants
public mxSwingConstants()
-