Class LinearScale.Indicator
java.lang.Object
com.inductiveautomation.factorypmi.application.components.LinearScale.Indicator
- Enclosing class:
- LinearScale
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()doublegetLabel()doubledoublegetStyle()doublegetValue()doublegetWidth()voidpaint(Graphics2D g, Rectangle area, boolean mirror, boolean reverseRange, double y, double extent2D, Font font) voidvoidsetExtent(double extent) voidvoidsetLabelAngle(double angle) voidsetLabelColor(Color color2) voidsetLength(double length) voidvoidsetValue(double value) voidsetWidth(double width)
-
Constructor Details
-
Indicator
- Throws:
ClassCastException
-
Indicator
public Indicator()
-
-
Method Details
-
paint
public void paint(Graphics2D g, Rectangle area, boolean mirror, boolean reverseRange, double y, double extent2D, Font font) -
setLabelAngle
public void setLabelAngle(double angle) -
getLabelAngle
public double getLabelAngle() -
getStyle
-
setStyle
-
getValue
public double getValue() -
setValue
public void setValue(double value) -
getExtent
public double getExtent() -
setExtent
public void setExtent(double extent) -
getLength
public double getLength() -
setLength
public void setLength(double length) -
getWidth
public double getWidth() -
setWidth
public void setWidth(double width) -
getColor
-
setColor
-
getLabelColor
-
setLabelColor
-
getLabel
-
setLabel
-