Package jadex.gpmn.editor.gui
Class GuiConstants
- java.lang.Object
-
- jadex.gpmn.editor.gui.GuiConstants
-
public class GuiConstants extends java.lang.Object
Class containing constants for fine-tuning the GUI.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACHIEVE_GOAL_COLOR
Achieve Goal Colorstatic java.lang.String
ACTIVATION_EDGE_STYLE
Activation edge style.static java.lang.String
ACTIVATION_PLAN_COLOR
Activation Plan Colorstatic java.lang.String
ACTIVATION_PLAN_STYLE
Activation plan style.static int
ANIMATION_FPS
Frames per second for animationsstatic int
ANIMATION_FRAME_TIME
Time between animation frames in milliseconds, depends on FPS.static int
BASE_ICON_SIZE
The base icon size.static java.lang.String
CONTROL_POINT_COLOR
Control Point Colorstatic int
DEFAULT_GOAL_HEIGHT
Default visual height of goals.static int
DEFAULT_GOAL_WIDTH
Default visual width of goals.static int
DEFAULT_ICON_SIZE
The default icon size used.static int
DEFAULT_PLAN_HEIGHT
Default visual height of plans.static int
DEFAULT_PLAN_WIDTH
Default visual width of plans.static int
GOAL_MARKER_HEIGHT
Height of goal markers.static int
GOAL_MARKER_WIDTH
Width of goal markers.static java.lang.String
GOAL_TYPE_STYLE
Goal type marker style.static double
GRAPH_PROPERTY_RATIO
Ratio between graph and property view.static float
HIGHLIGHT_AMP
Amplification factor for highlighted iconsstatic int[]
ICON_SIZES
The available icon sizes.static java.lang.String
MAINTAIN_GOAL_COLOR
Maintain Goal Colorstatic java.lang.String
PERFORM_GOAL_COLOR
Perform Goal Colorstatic int
PLAN_ACTIVATION_MARKER_WIDTH
Width of activation plan markers.static java.lang.String
PLAN_EDGE_STYLE
Plan edge style.static int
PLAN_MARKER_HEIGHT
Height of plan markers.static int
PLAN_MODE_MARKER_HEIGHT
Height of plan mode markers.static int
PLAN_MODE_MARKER_WIDTH
Width of plan mode markers.static java.lang.String
PLAN_MODE_STYLE
Plan mode marker style.static int
PLAN_REF_MARKER_WIDTH
Width of ref plan markers.static java.lang.String
PLAN_TYPE_STYLE
Plan type marker style.static java.lang.String
QUERY_GOAL_COLOR
Query Goal Colorstatic java.lang.String
REF_PLAN_COLOR
Plan Colorstatic java.lang.String
REF_PLAN_STYLE
Referred plan style.static java.lang.String
SELECT_COLOR
Select Colorstatic java.lang.String
SUPPRESSION_EDGE_COLOR
Suppression Edge Colorstatic java.lang.String
SUPPRESSION_EDGE_STYLE
Suppression edge style.static double
THROW_ANIMATION_RESISTANCE
Resistance for slowing the pan-throw.static double
THROW_ANIMATION_UNSLOWED_TIME
Time in milliseconds the throw animation is not slowed.static double
THROW_ANIMATION_VELOCITY_CUTOFF
Velocity cut-off for pan-throwing.static double
THROW_ANIMATION_VELOCITY_SPEEDUP
Speed-up for pan-throwing.static int
VAE_MARKER_HEIGHT
Height of virtual activation edge markers.static int
VAE_MARKER_WIDTH
Width of virtual activation edge markers.static java.lang.String
VIRTUAL_ACTIVATION_EDGE_MARKER_STYLE
Virtual activation edge marker style.static java.lang.String
VIRTUAL_ACTIVATION_EDGE_STYLE
Virtual activation edge style.static double
ZOOM_ANIMATION_FINAL_RATIO
Ratio how close a zoom animation should get before "locking in" on the final scalestatic double
ZOOM_ANIMATION_STEP_RATIO
Ratio of distance from final scale used as step size.static double
ZOOM_MOUSE_DIRECTION_FACTOR
Factor by which the mouse shifts the view during zoom.
-
Constructor Summary
Constructors Constructor Description GuiConstants()
-
-
-
Field Detail
-
GOAL_TYPE_STYLE
public static final java.lang.String GOAL_TYPE_STYLE
Goal type marker style.- See Also:
- Constant Field Values
-
REF_PLAN_STYLE
public static final java.lang.String REF_PLAN_STYLE
Referred plan style.- See Also:
- Constant Field Values
-
ACTIVATION_PLAN_STYLE
public static final java.lang.String ACTIVATION_PLAN_STYLE
Activation plan style.- See Also:
- Constant Field Values
-
PLAN_TYPE_STYLE
public static final java.lang.String PLAN_TYPE_STYLE
Plan type marker style.- See Also:
- Constant Field Values
-
PLAN_MODE_STYLE
public static final java.lang.String PLAN_MODE_STYLE
Plan mode marker style.- See Also:
- Constant Field Values
-
PLAN_EDGE_STYLE
public static final java.lang.String PLAN_EDGE_STYLE
Plan edge style.- See Also:
- Constant Field Values
-
ACTIVATION_EDGE_STYLE
public static final java.lang.String ACTIVATION_EDGE_STYLE
Activation edge style.- See Also:
- Constant Field Values
-
SUPPRESSION_EDGE_STYLE
public static final java.lang.String SUPPRESSION_EDGE_STYLE
Suppression edge style.- See Also:
- Constant Field Values
-
VIRTUAL_ACTIVATION_EDGE_STYLE
public static final java.lang.String VIRTUAL_ACTIVATION_EDGE_STYLE
Virtual activation edge style.- See Also:
- Constant Field Values
-
VIRTUAL_ACTIVATION_EDGE_MARKER_STYLE
public static final java.lang.String VIRTUAL_ACTIVATION_EDGE_MARKER_STYLE
Virtual activation edge marker style.- See Also:
- Constant Field Values
-
BASE_ICON_SIZE
public static final int BASE_ICON_SIZE
The base icon size.- See Also:
- Constant Field Values
-
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.
-
HIGHLIGHT_AMP
public static final float HIGHLIGHT_AMP
Amplification factor for highlighted icons- See Also:
- Constant Field Values
-
ACHIEVE_GOAL_COLOR
public static final java.lang.String ACHIEVE_GOAL_COLOR
Achieve Goal Color- See Also:
- Constant Field Values
-
PERFORM_GOAL_COLOR
public static final java.lang.String PERFORM_GOAL_COLOR
Perform Goal Color- See Also:
- Constant Field Values
-
MAINTAIN_GOAL_COLOR
public static final java.lang.String MAINTAIN_GOAL_COLOR
Maintain Goal Color- See Also:
- Constant Field Values
-
QUERY_GOAL_COLOR
public static final java.lang.String QUERY_GOAL_COLOR
Query Goal Color- See Also:
- Constant Field Values
-
ACTIVATION_PLAN_COLOR
public static final java.lang.String ACTIVATION_PLAN_COLOR
Activation Plan Color- See Also:
- Constant Field Values
-
REF_PLAN_COLOR
public static final java.lang.String REF_PLAN_COLOR
Plan Color- See Also:
- Constant Field Values
-
SUPPRESSION_EDGE_COLOR
public static final java.lang.String SUPPRESSION_EDGE_COLOR
Suppression Edge Color- See Also:
- Constant Field Values
-
SELECT_COLOR
public static final java.lang.String SELECT_COLOR
Select 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
-
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.
-
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
-
ZOOM_ANIMATION_FINAL_RATIO
public static final double ZOOM_ANIMATION_FINAL_RATIO
Ratio how close a zoom animation should get before "locking in" on the final scale- See Also:
- Constant Field Values
-
ZOOM_ANIMATION_STEP_RATIO
public static final double ZOOM_ANIMATION_STEP_RATIO
Ratio of distance from final scale used as step size.
-
THROW_ANIMATION_VELOCITY_SPEEDUP
public static final double THROW_ANIMATION_VELOCITY_SPEEDUP
Speed-up for pan-throwing.
-
THROW_ANIMATION_UNSLOWED_TIME
public static final double THROW_ANIMATION_UNSLOWED_TIME
Time in milliseconds the throw animation is not slowed.- See Also:
- Constant Field Values
-
THROW_ANIMATION_RESISTANCE
public static final double THROW_ANIMATION_RESISTANCE
Resistance for slowing the pan-throw.- See Also:
- Constant Field Values
-
THROW_ANIMATION_VELOCITY_CUTOFF
public static final double THROW_ANIMATION_VELOCITY_CUTOFF
Velocity cut-off for pan-throwing.- See Also:
- Constant Field Values
-
DEFAULT_GOAL_WIDTH
public static final int DEFAULT_GOAL_WIDTH
Default visual width of goals.- See Also:
- Constant Field Values
-
DEFAULT_GOAL_HEIGHT
public static final int DEFAULT_GOAL_HEIGHT
Default visual height of goals.- See Also:
- Constant Field Values
-
DEFAULT_PLAN_WIDTH
public static final int DEFAULT_PLAN_WIDTH
Default visual width of plans.- See Also:
- Constant Field Values
-
DEFAULT_PLAN_HEIGHT
public static final int DEFAULT_PLAN_HEIGHT
Default visual height of plans.- See Also:
- Constant Field Values
-
GOAL_MARKER_WIDTH
public static final int GOAL_MARKER_WIDTH
Width of goal markers.- See Also:
- Constant Field Values
-
GOAL_MARKER_HEIGHT
public static final int GOAL_MARKER_HEIGHT
Height of goal markers.- See Also:
- Constant Field Values
-
PLAN_ACTIVATION_MARKER_WIDTH
public static final int PLAN_ACTIVATION_MARKER_WIDTH
Width of activation plan markers.- See Also:
- Constant Field Values
-
PLAN_REF_MARKER_WIDTH
public static final int PLAN_REF_MARKER_WIDTH
Width of ref plan markers.- See Also:
- Constant Field Values
-
PLAN_MARKER_HEIGHT
public static final int PLAN_MARKER_HEIGHT
Height of plan markers.- See Also:
- Constant Field Values
-
PLAN_MODE_MARKER_HEIGHT
public static final int PLAN_MODE_MARKER_HEIGHT
Height of plan mode markers.- See Also:
- Constant Field Values
-
PLAN_MODE_MARKER_WIDTH
public static final int PLAN_MODE_MARKER_WIDTH
Width of plan mode markers.- See Also:
- Constant Field Values
-
VAE_MARKER_WIDTH
public static final int VAE_MARKER_WIDTH
Width of virtual activation edge markers.- See Also:
- Constant Field Values
-
VAE_MARKER_HEIGHT
public static final int VAE_MARKER_HEIGHT
Height of virtual activation edge markers.- See Also:
- Constant Field Values
-
-