Package com.jfcbuilder.types
Class BuilderConstants
java.lang.Object
com.jfcbuilder.types.BuilderConstants
A family of constants used throughout this builder framework.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Color
static final Color
static final Color
static final BasicStroke
Stroke configured for drawing a dashed line.static final double
Percentage of total possible bar width to use for drawing XY bars and candlesticks.static final Color
A default color that can be used throughout the application to represent a price close down event.static final Color
A default color that can be used throughout the application to fill shapes.static final Font
A default font that can be used throughout the application.static final Color
A default plot grid-line color that can be used throughout the application.static final Color
A default color that can be used throughout the application for drawing lines.static final Stroke
A default Stroke that can be used throughout the application for drawing lines.static final Orientation
A default orientation that can be used throughout the application for drawing various items.static final Color
A default color that can be used throughout the application for shape outlines.static final int
A default plot weight that can be used throughout the application.static final boolean
Whether or not to render time gaps by default in time series plots.static final Color
A default color that can be used throughout the application to represent a price close up event.static final double[]
A reusable empty double value array to avoid creating many such instances.static final long[]
A reusable empty milliseconds since epoch (long) value array to avoid creating many such instances.static final Stroke
Stroke configured for drawing a solid line.static final BasicStroke
Stroke configured for drawing a thick dashed line.static final Stroke
Stroke configured for drawing a thick solid line.static final BasicStroke
Stroke configured for drawing a thin dashed line.static final Stroke
Stroke configured for drawing a thin solid line.static final Color
static final Color
static final Color
static final Color
static final Color
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SOLID_LINE
Stroke configured for drawing a solid line. -
THICK_SOLID_LINE
Stroke configured for drawing a thick solid line. -
THIN_SOLID_LINE
Stroke configured for drawing a thin solid line. -
DASHED_LINE
Stroke configured for drawing a dashed line. -
THICK_DASHED_LINE
Stroke configured for drawing a thick dashed line. -
THIN_DASHED_LINE
Stroke configured for drawing a thin dashed line. -
DEFAULT_FONT
A default font that can be used throughout the application. -
DEFAULT_PLOT_WEIGHT
public static final int DEFAULT_PLOT_WEIGHTA default plot weight that can be used throughout the application.- See Also:
-
DEFAULT_GRIDLINE_PAINT
A default plot grid-line color that can be used throughout the application. -
DARK_BLUE
-
DARK_GREEN
-
DARK_RED
-
TRANSPARENT_GREEN
-
TRANSPARENT_DARK_GREEN
-
TRANSPARENT_RED
-
TRANSPARENT_DARK_RED
-
TRANSPARENT_YELLOW
-
DEFAULT_UP_COLOR
A default color that can be used throughout the application to represent a price close up event. -
DEFAULT_DOWN_COLOR
A default color that can be used throughout the application to represent a price close down event. -
DEFAULT_FILL_COLOR
A default color that can be used throughout the application to fill shapes. -
DEFAULT_OUTLINE_COLOR
A default color that can be used throughout the application for shape outlines. -
DEFAULT_LINE_COLOR
A default color that can be used throughout the application for drawing lines. -
DEFAULT_LINE_STYLE
A default Stroke that can be used throughout the application for drawing lines. -
EMPTY_SERIES_DATA
public static final double[] EMPTY_SERIES_DATAA reusable empty double value array to avoid creating many such instances. -
EMPTY_TIME_DATA
public static final long[] EMPTY_TIME_DATAA reusable empty milliseconds since epoch (long) value array to avoid creating many such instances. -
DEFAULT_ORIENTATION
A default orientation that can be used throughout the application for drawing various items. -
DEFAULT_SHOW_TIME_GAPS
public static final boolean DEFAULT_SHOW_TIME_GAPSWhether or not to render time gaps by default in time series plots.- See Also:
-
DEFAULT_BAR_WIDTH_PERCENT
public static final double DEFAULT_BAR_WIDTH_PERCENTPercentage of total possible bar width to use for drawing XY bars and candlesticks. Use a large value to create small spacing between bars and vice versa for creating large spacing.- See Also:
-
-
Constructor Details
-
BuilderConstants
public BuilderConstants()
-