Package jadex.bpmn.editor.gui
Class GuiConstants
- java.lang.Object
-
- jadex.bpmn.editor.gui.GuiConstants
-
public class GuiConstants extends java.lang.ObjectThis class containing constants for fine-tuning the GUI.
-
-
Field Summary
Fields Modifier and Type Field Description static intANIMATION_FPSFrames per second for animationsstatic intANIMATION_FRAME_TIMETime between animation frames in milliseconds, depends on FPS.static java.lang.StringCONTROL_POINT_COLORControl Point Colorstatic java.awt.InsetsDEFAULT_BUTTON_INSETSDefault button insets.static intDEFAULT_ICON_SIZEThe default icon size used.static doubleDEFAULT_ZOOMThe default zoom.static doubleGRAPH_PROPERTY_RATIORatio between graph and property view.static int[]ICON_SIZESThe available icon sizes.static intMAX_ZOOM_LEVELThe maximum zoom level.static java.lang.StringMESSAGE_EDGE_COLORControl Point Colorstatic doubleMIN_EDGE_DISTMinimum Edge Distancestatic intMIN_ZOOM_LEVELThe minimum zoom level.static intPASTE_SHIFTShift for newly pasted elementsstatic java.lang.StringSELECT_COLORSelection Edit Mode Colorstatic doubleSINE_45Constant 45 degree sine value.static doubleZOOM_MOUSE_DIRECTION_FACTORFactor by which the mouse shifts the view during zoom.
-
Constructor Summary
Constructors Constructor Description GuiConstants()
-
-
-
Field Detail
-
SINE_45
public static final double SINE_45
Constant 45 degree sine value.
-
DEFAULT_BUTTON_INSETS
public static final java.awt.Insets DEFAULT_BUTTON_INSETS
Default button insets.
-
GRAPH_PROPERTY_RATIO
public static final double GRAPH_PROPERTY_RATIO
Ratio between graph and property view.- See Also:
- Constant Field Values
-
ANIMATION_FPS
public static final int ANIMATION_FPS
Frames per second for animations- See Also:
- Constant Field Values
-
ANIMATION_FRAME_TIME
public static final int ANIMATION_FRAME_TIME
Time between animation frames in milliseconds, depends on FPS.
-
DEFAULT_ICON_SIZE
public static final int DEFAULT_ICON_SIZE
The default icon size used.- See Also:
- Constant Field Values
-
ICON_SIZES
public static final int[] ICON_SIZES
The available icon sizes.
-
DEFAULT_ZOOM
public static final double DEFAULT_ZOOM
The default zoom.- See Also:
- Constant Field Values
-
MIN_ZOOM_LEVEL
public static final int MIN_ZOOM_LEVEL
The minimum zoom level.- See Also:
- Constant Field Values
-
MAX_ZOOM_LEVEL
public static final int MAX_ZOOM_LEVEL
The maximum zoom level.- See Also:
- Constant Field Values
-
ZOOM_MOUSE_DIRECTION_FACTOR
public static final double ZOOM_MOUSE_DIRECTION_FACTOR
Factor by which the mouse shifts the view during zoom.- See Also:
- Constant Field Values
-
SELECT_COLOR
public static final java.lang.String SELECT_COLOR
Selection Edit Mode Color- See Also:
- Constant Field Values
-
CONTROL_POINT_COLOR
public static final java.lang.String CONTROL_POINT_COLOR
Control Point Color- See Also:
- Constant Field Values
-
MESSAGE_EDGE_COLOR
public static final java.lang.String MESSAGE_EDGE_COLOR
Control Point Color- See Also:
- Constant Field Values
-
MIN_EDGE_DIST
public static final double MIN_EDGE_DIST
Minimum Edge Distance- See Also:
- Constant Field Values
-
PASTE_SHIFT
public static final int PASTE_SHIFT
Shift for newly pasted elements- See Also:
- Constant Field Values
-
-