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 Colorstatic final Colorstatic final Colorstatic final BasicStrokeStroke configured for drawing a dashed line.static final doublePercentage of total possible bar width to use for drawing XY bars and candlesticks.static final ColorA default color that can be used throughout the application to represent a price close down event.static final ColorA default color that can be used throughout the application to fill shapes.static final FontA default font that can be used throughout the application.static final ColorA default plot grid-line color that can be used throughout the application.static final ColorA default color that can be used throughout the application for drawing lines.static final StrokeA default Stroke that can be used throughout the application for drawing lines.static final OrientationA default orientation that can be used throughout the application for drawing various items.static final ColorA default color that can be used throughout the application for shape outlines.static final intA default plot weight that can be used throughout the application.static final booleanWhether or not to render time gaps by default in time series plots.static final ColorA 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 StrokeStroke configured for drawing a solid line.static final BasicStrokeStroke configured for drawing a thick dashed line.static final StrokeStroke configured for drawing a thick solid line.static final BasicStrokeStroke configured for drawing a thin dashed line.static final StrokeStroke configured for drawing a thin solid line.static final Colorstatic final Colorstatic final Colorstatic final Colorstatic 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()
-