Package nl.saxion.app
Class SaxionAppSettings
java.lang.Object
nl.saxion.app.SaxionAppSettings
Contains all the static final variables we don't want to bother the students with, but we want to be available to other classes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default width/height of the gridstatic final int
Default height of the framestatic final Color
The default text color for `readLine` user input.static final Color
The default text color for `print` and `printLine`.static final int
Default width of the framestatic final String
Title that is used for the framestatic final int
Default grid border widthstatic final Color
Default color of the gridstatic final int
When zomming in or out, this step size is used.static final int
Minimum width of each grid cellstatic final Font
The font used for the console prints.static final int
The font size to use for `print` messages.static final int
The top and bottom margin for `print` messages. -
Constructor Summary
-
Method Summary
-
Field Details
-
FRAME_TITLE
Title that is used for the frame- See Also:
-
DEFAULT_WIDTH
public static final int DEFAULT_WIDTHDefault width of the frame- See Also:
-
DEFAULT_HEIGHT
public static final int DEFAULT_HEIGHTDefault height of the frame- See Also:
-
DEFAULT_GRID_SIZE
public static final int DEFAULT_GRID_SIZEDefault width/height of the grid- See Also:
-
MIN_GRID_SIZE
public static final int MIN_GRID_SIZEMinimum width of each grid cell- See Also:
-
GRID_STEP_SIZE
public static final int GRID_STEP_SIZEWhen zomming in or out, this step size is used.- See Also:
-
GRID_COLOR
Default color of the grid -
GRID_BORDER_WIDTH
public static final int GRID_BORDER_WIDTHDefault grid border width- See Also:
-
DEFAULT_PRINT_COLOR
The default text color for `print` and `printLine`. -
DEFAULT_INPUT_COLOR
The default text color for `readLine` user input. -
PRINT_MARGIN
public static final int PRINT_MARGINThe top and bottom margin for `print` messages.- See Also:
-
PRINT_FONT_SIZE
public static final int PRINT_FONT_SIZEThe font size to use for `print` messages.- See Also:
-
PRINT_FONT
The font used for the console prints.
-
-
Constructor Details
-
SaxionAppSettings
public SaxionAppSettings()
-