Package com.mxgraph.swing.util
Class mxSwingConstants
java.lang.Object
com.mxgraph.swing.util.mxSwingConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ColorDefines the connect handle fill color.static ColorSpecifies the default invalid color.static ColorSpecifies the default valid color.static ColorDefines the selection color for edges.static StrokeDefines the stroke used for painting selected edges.static BufferedImageContains an empty image of size 1, 1.static ColorDefines the handle border color.static ColorDefines the handle fill color.static ColorDefines the label handle fill color.static ColorDefines the handle fill color for locked handles.static BorderDefines the border used for painting the preview when vertices are being resized, or cells and labels are being moved.static StrokeDefines the stroke used for painting the preview for new and existing edges that are being changed.static ColorDefines the rubberband border color.static ColorDefines the rubberband fill color with an alpha of 80.static ColorDefines the color to be used for shadows.static ColorDefines the selection color for vertices.static StrokeDefines 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()
-