Package com.coswald.jtalker.gui
Class GUIConstants
- java.lang.Object
-
- com.coswald.jtalker.gui.GUIConstants
-
public final class GUIConstants extends Object
A set of descriptions for specific GUI constants within a JTalker application. The list of constants are continually growing, so instead of listing them all out here in the class description, know that this class is a utility class and cannot be extended. If you wish to add more constants, create another utility class for your expanded JTalker application.
- Since:
- JTalker 0.1.5
- Version:
- 0.0.1
- Author:
- C. William Oswald
-
-
Field Summary
Fields Modifier and Type Field Description static String
ABOUT_URL
The URL of the about message, as a string.static int
CANVAS_SIZE
The width and height of the canvas within the JTalker application.static int
CMYK_COLORING
Defines the CMYK coloring system.static int
COLOR_SLIDER_WIDTH
The color chooser's color slider width.static int
COLOR_SYSTEM
Describes the coloring system to be used by the default constructor inColorChooserPanel
.static Font
DEFAULT_FONT
The default font used by the JTalker application.static String
HELP_URL
The URL of the help message, as a string.static int
HSL_COLORING
Defines the HSL coloring system.static int
HSV_COLORING
Defines the HSL coloring system.static int
JTALKER_HEIGHT
The height of the JTalker application.static int
JTALKER_WIDTH
The width of the JTalker applicaiton.static int
MAX_COLOR_SYSTEM
The maximum number a coloring system can be (4).static int
MIN_COLOR_SYSTEM
The minimum number a coloring system can be (1).static String
REPORT_URL
The URL of the report bug website for the JTalker application.static int
RGB_COLORING
Defines the RGB coloring system.static int
SEND_BUTTON_HEIGHT
The height of the send button in the JTalker application.static int
SEND_BUTTON_WIDTH
The width of the send button in the JTalker application.static int
STROKE_SIZE
The size of the stroke on theCanvasPanel
.static String
WEBSITE_URL
The URL of the website of JTalker, as a string.
-
-
-
Field Detail
-
HSV_COLORING
public static final int HSV_COLORING
Defines the HSL coloring system.- See Also:
COLOR_SYSTEM
, Constant Field Values
-
HSL_COLORING
public static final int HSL_COLORING
Defines the HSL coloring system.- See Also:
COLOR_SYSTEM
, Constant Field Values
-
RGB_COLORING
public static final int RGB_COLORING
Defines the RGB coloring system.- See Also:
COLOR_SYSTEM
, Constant Field Values
-
CMYK_COLORING
public static final int CMYK_COLORING
Defines the CMYK coloring system.- See Also:
COLOR_SYSTEM
, Constant Field Values
-
COLOR_SYSTEM
public static final int COLOR_SYSTEM
Describes the coloring system to be used by the default constructor inColorChooserPanel
. This is used to determine what coloring scheme (HSV, HSL, RGB, or CMYK) is used to select the color. For more documentation on this, see thethis
documentation. However, the constants are as follows:- HSV = 1
- HSL = 2
- RGB = 3
- CMYK = 4
-
MAX_COLOR_SYSTEM
public static final int MAX_COLOR_SYSTEM
The maximum number a coloring system can be (4).- See Also:
- Constant Field Values
-
MIN_COLOR_SYSTEM
public static final int MIN_COLOR_SYSTEM
The minimum number a coloring system can be (1).- See Also:
- Constant Field Values
-
COLOR_SLIDER_WIDTH
public static final int COLOR_SLIDER_WIDTH
The color chooser's color slider width. This value is 25.- See Also:
ColorChooserPanel
, Constant Field Values
-
STROKE_SIZE
public static final int STROKE_SIZE
The size of the stroke on theCanvasPanel
. The value is 5, and shouldn't be a value that is too large. Seethis
class to understand the usage of this number in its construction.- See Also:
CanvasPanel
, Constant Field Values
-
DEFAULT_FONT
public static final Font DEFAULT_FONT
The default font used by the JTalker application. This is currently set to a monospaced font with a font size of 16, and is plain.
-
SEND_BUTTON_WIDTH
public static final int SEND_BUTTON_WIDTH
The width of the send button in the JTalker application. This is currently set to 75.- See Also:
- Constant Field Values
-
SEND_BUTTON_HEIGHT
public static final int SEND_BUTTON_HEIGHT
The height of the send button in the JTalker application. This is currently set to 40.- See Also:
- Constant Field Values
-
HELP_URL
public static final String HELP_URL
The URL of the help message, as a string. This is currently set to "https://github.com/coswald/JTalker/blob/master/README.md".- See Also:
- Constant Field Values
-
WEBSITE_URL
public static final String WEBSITE_URL
The URL of the website of JTalker, as a string. This is currently set to "https://github.com/coswald/JTalker".- See Also:
- Constant Field Values
-
REPORT_URL
public static final String REPORT_URL
The URL of the report bug website for the JTalker application. This is currently set to "https://github.com/coswald/JTalker/issues/new".- See Also:
- Constant Field Values
-
ABOUT_URL
public static final String ABOUT_URL
The URL of the about message, as a string. This is currently set to "https://github.com/coswald/JTalker/blob/master/README.md".- See Also:
- Constant Field Values
-
CANVAS_SIZE
public static final int CANVAS_SIZE
The width and height of the canvas within the JTalker application. Its current value is set at 255.- See Also:
- Constant Field Values
-
JTALKER_HEIGHT
public static final int JTALKER_HEIGHT
The height of the JTalker application. This is currently set to 640.- See Also:
- Constant Field Values
-
JTALKER_WIDTH
public static final int JTALKER_WIDTH
The width of the JTalker applicaiton. This is currently set to 1200.- See Also:
- Constant Field Values
-
-