public abstract class GaugeSkinBase<C extends Gauge,B extends GaugeBehaviorBase<C>>
extends com.sun.javafx.scene.control.skin.BehaviorSkinBase<C,B>
Constructor and Description |
---|
GaugeSkinBase(C CONTROL,
B BEHAVIOR) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDropShadow(javafx.scene.control.Control CONTROL,
javafx.scene.Node... NODES) |
protected void |
checkMarkers(Gauge CONTROL,
double OLD_VALUE,
double NEW_VALUE) |
protected double |
computeMaxHeight(double WIDTH,
double TOP_INSET,
double RIGHT_INSET,
double BOTTOM_INSET,
double LEFT_INSET) |
protected double |
computeMaxWidth(double HEIGHT,
double TOP_INSET,
double RIGHT_INSET,
double BOTTOM_INSET,
double LEFT_INSET) |
protected double |
computeMinHeight(double WIDTH,
double TOP_INSET,
double RIGHT_INSET,
double BOTTOM_INSET,
double LEFT_INSET) |
protected double |
computeMinWidth(double HEIGHT,
double TOP_INSET,
double RIGHT_INSET,
double BOTTOM_INSET,
double LEFT_INSET) |
protected double |
computePrefHeight(double WIDTH,
double TOP_INSET,
double RIGHT_INSET,
double BOTTOM_INSET,
double LEFT_INSET) |
protected double |
computePrefWidth(double HEIGHT,
double TOP_INSET,
double RIGHT_INSET,
double BOTTOM_INSET,
double LEFT_INSET) |
javafx.scene.shape.Shape |
createAlertIndicator(double WIDTH,
double HEIGHT,
javafx.scene.paint.Paint PAINT) |
javafx.scene.canvas.Canvas |
createAlertIndicatorCanvas(double WIDTH,
double HEIGHT,
javafx.scene.paint.Paint PAINT) |
protected javafx.scene.shape.Shape |
createBargraphLed(javafx.scene.shape.Rectangle GAUGE_BOUNDS,
Gauge CONTROL,
boolean ON) |
protected javafx.scene.Group |
createBigKnob(double SIZE,
Gauge.KnobColor KNOB_COLOR) |
protected javafx.scene.Group |
createIndicator(double SIZE,
Marker MARKER,
javafx.geometry.Point2D OFFSET) |
protected javafx.scene.shape.Shape |
createIndicatorShape(double WIDTH,
double HEIGHT,
Marker INDICATOR,
javafx.geometry.Point2D OFFSET) |
protected javafx.scene.Group |
createLcdThresholdIndicator(double WIDTH,
double HEIGHT,
java.lang.String CSS_STYLE) |
protected javafx.scene.Group |
createLed(double SIZE,
LedColor LED_COLOR,
boolean isOn) |
protected javafx.scene.Group |
createMetalKnob(double SIZE,
Gauge.KnobColor KNOB_COLOR) |
protected javafx.scene.Group |
createPlainKnob(double SIZE,
Gauge.KnobColor KNOB_COLOR) |
protected javafx.scene.Group |
createStandardKnob(double SIZE,
Gauge.KnobColor KNOB_COLOR) |
protected javafx.scene.Group |
createTrendIndicator(Gauge CONTROL,
double SIZE) |
protected javafx.scene.shape.Path |
createTriangleShape(double WIDTH,
double HEIGHT,
boolean TOP_DOWN) |
protected void |
drawCircularAreas(Gauge CONTROL,
javafx.scene.Group AREAS,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularBackground(Gauge CONTROL,
javafx.scene.Group BACKGROUND,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularBargraph(Gauge CONTROL,
javafx.scene.Group BARGRAPH,
int NO_OF_LEDS,
java.util.ArrayList<javafx.scene.shape.Shape> LEDS,
boolean ON,
boolean VISIBLE,
javafx.geometry.Point2D CENTER,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularForeground(Gauge CONTROL,
javafx.scene.Group FOREGROUND,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularFrame(Gauge control,
javafx.scene.Group FRAME,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularGlowOff(javafx.scene.Group GLOW_OFF,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularGlowOn(Gauge CONTROL,
javafx.scene.Group GLOW_ON,
java.util.ArrayList<javafx.scene.paint.Color> GLOW_COLORS,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularIndicators(Gauge CONTROL,
javafx.scene.Group INDICATORS,
javafx.geometry.Point2D CENTER,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularKnobs(Gauge CONTROL,
javafx.scene.Group KNOBS,
javafx.geometry.Point2D CENTER,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularLcd(Gauge CONTROL,
javafx.scene.Group LCD,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularLed(Gauge CONTROL,
javafx.scene.Group LED_OFF,
javafx.scene.Group LED_ON,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularSections(Gauge CONTROL,
javafx.scene.Group SECTIONS,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularTickmarks(Gauge CONTROL,
javafx.scene.Group TICKMARKS,
javafx.geometry.Point2D CENTER,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularTrend(Gauge CONTROL,
javafx.scene.Group trend,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected void |
drawCircularUserLed(Gauge CONTROL,
javafx.scene.Group USER_LED_OFF,
javafx.scene.Group USER_LED_ON,
javafx.scene.shape.Rectangle GAUGE_BOUNDS) |
protected long |
getBlinkInterval() |
protected void |
setBlinkInterval(long BLINK_INTERVAL) |
dispose, getBehavior, handleControlPropertyChanged, registerChangeListener
computeBaselineOffset, consumeMouseEvents, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace
protected double computeMinWidth(double HEIGHT, double TOP_INSET, double RIGHT_INSET, double BOTTOM_INSET, double LEFT_INSET)
protected double computeMinHeight(double WIDTH, double TOP_INSET, double RIGHT_INSET, double BOTTOM_INSET, double LEFT_INSET)
protected double computeMaxWidth(double HEIGHT, double TOP_INSET, double RIGHT_INSET, double BOTTOM_INSET, double LEFT_INSET)
protected double computeMaxHeight(double WIDTH, double TOP_INSET, double RIGHT_INSET, double BOTTOM_INSET, double LEFT_INSET)
protected double computePrefWidth(double HEIGHT, double TOP_INSET, double RIGHT_INSET, double BOTTOM_INSET, double LEFT_INSET)
protected double computePrefHeight(double WIDTH, double TOP_INSET, double RIGHT_INSET, double BOTTOM_INSET, double LEFT_INSET)
protected void checkMarkers(Gauge CONTROL, double OLD_VALUE, double NEW_VALUE)
protected long getBlinkInterval()
protected void setBlinkInterval(long BLINK_INTERVAL)
protected void drawCircularFrame(Gauge control, javafx.scene.Group FRAME, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularBackground(Gauge CONTROL, javafx.scene.Group BACKGROUND, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularTrend(Gauge CONTROL, javafx.scene.Group trend, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularSections(Gauge CONTROL, javafx.scene.Group SECTIONS, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularAreas(Gauge CONTROL, javafx.scene.Group AREAS, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularGlowOff(javafx.scene.Group GLOW_OFF, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularGlowOn(Gauge CONTROL, javafx.scene.Group GLOW_ON, java.util.ArrayList<javafx.scene.paint.Color> GLOW_COLORS, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularIndicators(Gauge CONTROL, javafx.scene.Group INDICATORS, javafx.geometry.Point2D CENTER, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularKnobs(Gauge CONTROL, javafx.scene.Group KNOBS, javafx.geometry.Point2D CENTER, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularLed(Gauge CONTROL, javafx.scene.Group LED_OFF, javafx.scene.Group LED_ON, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularUserLed(Gauge CONTROL, javafx.scene.Group USER_LED_OFF, javafx.scene.Group USER_LED_ON, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularLcd(Gauge CONTROL, javafx.scene.Group LCD, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularBargraph(Gauge CONTROL, javafx.scene.Group BARGRAPH, int NO_OF_LEDS, java.util.ArrayList<javafx.scene.shape.Shape> LEDS, boolean ON, boolean VISIBLE, javafx.geometry.Point2D CENTER, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularForeground(Gauge CONTROL, javafx.scene.Group FOREGROUND, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected void drawCircularTickmarks(Gauge CONTROL, javafx.scene.Group TICKMARKS, javafx.geometry.Point2D CENTER, javafx.scene.shape.Rectangle GAUGE_BOUNDS)
protected javafx.scene.Group createLed(double SIZE, LedColor LED_COLOR, boolean isOn)
protected javafx.scene.Group createIndicator(double SIZE, Marker MARKER, javafx.geometry.Point2D OFFSET)
protected javafx.scene.shape.Shape createIndicatorShape(double WIDTH, double HEIGHT, Marker INDICATOR, javafx.geometry.Point2D OFFSET)
protected javafx.scene.Group createStandardKnob(double SIZE, Gauge.KnobColor KNOB_COLOR)
protected javafx.scene.Group createMetalKnob(double SIZE, Gauge.KnobColor KNOB_COLOR)
protected javafx.scene.Group createPlainKnob(double SIZE, Gauge.KnobColor KNOB_COLOR)
protected javafx.scene.Group createBigKnob(double SIZE, Gauge.KnobColor KNOB_COLOR)
protected javafx.scene.shape.Path createTriangleShape(double WIDTH, double HEIGHT, boolean TOP_DOWN)
protected javafx.scene.shape.Shape createBargraphLed(javafx.scene.shape.Rectangle GAUGE_BOUNDS, Gauge CONTROL, boolean ON)
protected javafx.scene.Group createLcdThresholdIndicator(double WIDTH, double HEIGHT, java.lang.String CSS_STYLE)
protected javafx.scene.Group createTrendIndicator(Gauge CONTROL, double SIZE)
public final javafx.scene.canvas.Canvas createAlertIndicatorCanvas(double WIDTH, double HEIGHT, javafx.scene.paint.Paint PAINT)
public final javafx.scene.shape.Shape createAlertIndicator(double WIDTH, double HEIGHT, javafx.scene.paint.Paint PAINT)
protected void addDropShadow(javafx.scene.control.Control CONTROL, javafx.scene.Node... NODES)