Class AxisConfig
java.lang.Object
com.inductiveautomation.factorypmi.application.components.chart.AbstractPropertySelfDescriber
com.inductiveautomation.factorypmi.application.components.chart.AxisConfig
- All Implemented Interfaces:
PropertySelfDescriber
- Direct Known Subclasses:
CategoryAxisConfig
,ValueAxisConfig
Config object for classic chart axis
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected double
protected Color
protected Font
static final int
static final int
static final int
static final int
protected int
protected Color
protected Font
protected boolean
protected Color
protected float
protected float
protected boolean
protected boolean
Fields inherited from class com.inductiveautomation.factorypmi.application.components.chart.AbstractPropertySelfDescriber
properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureAxis
(org.jfree.chart.axis.Axis a) protected void
abstract org.jfree.chart.axis.Axis
abstract AxisConfig
getLabel()
double
int
float
float
protected void
boolean
boolean
boolean
void
void
setLabelAngle
(double d) void
setLabelColor
(Color color) void
setLabelFont
(Font font) void
setPosition
(int i) void
setTickLabelColor
(Color color) void
setTickLabelFont
(Font font) void
setTickLabelsVisible
(boolean b) void
setTickMarkColor
(Color color) void
setTickMarkInsideLength
(float f) void
setTickMarkOutsideLength
(float f) void
setTickMarksVisible
(boolean b) void
setVisible
(boolean b) Methods inherited from class com.inductiveautomation.factorypmi.application.components.chart.AbstractPropertySelfDescriber
addEnumProp, addProp, addProp, getProperties
-
Field Details
-
POS_BOTTOM_LEFT
public static final int POS_BOTTOM_LEFT- See Also:
-
POS_BOTTOM_RIGHT
public static final int POS_BOTTOM_RIGHT- See Also:
-
POS_TOP_LEFT
public static final int POS_TOP_LEFT- See Also:
-
POS_TOP_RIGHT
public static final int POS_TOP_RIGHT- See Also:
-
label
-
visible
protected boolean visible -
labelAngle
protected double labelAngle -
labelFont
-
labelColor
-
position
protected int position -
tickLabelFont
-
tickLabelColor
-
tickLabelsVisible
protected boolean tickLabelsVisible -
tickMarkInsideLength
protected float tickMarkInsideLength -
tickMarkOutsideLength
protected float tickMarkOutsideLength -
tickMarkColor
-
tickMarksVisible
protected boolean tickMarksVisible
-
-
Constructor Details
-
AxisConfig
public AxisConfig()
-
-
Method Details
-
createAxis
public abstract org.jfree.chart.axis.Axis createAxis() -
createCopy
-
copyInto
-
configureAxis
protected void configureAxis(org.jfree.chart.axis.Axis a) -
initProperties
protected void initProperties()- Specified by:
initProperties
in classAbstractPropertySelfDescriber
-
getLabel
-
getLabelAngle
public double getLabelAngle() -
getLabelColor
-
getLabelFont
-
getTickLabelColor
-
getTickLabelFont
-
isTickLabelsVisible
public boolean isTickLabelsVisible() -
getTickMarkColor
-
getTickMarkInsideLength
public float getTickMarkInsideLength() -
getTickMarkOutsideLength
public float getTickMarkOutsideLength() -
isTickMarksVisible
public boolean isTickMarksVisible() -
isVisible
public boolean isVisible() -
setLabel
-
setLabelAngle
public void setLabelAngle(double d) -
setLabelColor
-
setLabelFont
-
setTickLabelColor
-
setTickLabelFont
-
setTickLabelsVisible
public void setTickLabelsVisible(boolean b) -
setTickMarkColor
-
setTickMarkInsideLength
public void setTickMarkInsideLength(float f) -
setTickMarkOutsideLength
public void setTickMarkOutsideLength(float f) -
setTickMarksVisible
public void setTickMarksVisible(boolean b) -
setVisible
public void setVisible(boolean b) -
getPosition
public int getPosition() -
setPosition
public void setPosition(int i)
-