public abstract class GaugeSkinBase<C extends Gauge,B extends GaugeBehaviorBase<C>>
extends com.sun.javafx.scene.control.skin.SkinBase<C,B>
heightProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, paddingProperty, prefHeightProperty, prefWidthProperty, snapToPixelProperty, widthProperty
impl_traversalEngineProperty, needsLayoutProperty
blendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visibleProperty
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 HEIGHT) |
protected double |
computeMaxWidth(double WIDTH) |
protected double |
computeMinHeight(double HEIGHT) |
protected double |
computeMinWidth(double WIDTH) |
protected double |
computePrefHeight(double HEIGHT) |
protected double |
computePrefWidth(double WIDTH) |
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 |
layoutChildren() |
protected void |
setBlinkInterval(long BLINK_INTERVAL) |
consumeMouseEvents, dispose, getBehavior, getContextMenu, getNode, getSkinnable, handleControlPropertyChanged, impl_CSS_STYLEABLES, impl_getPseudoClassState, impl_getStyleableProperties, registerChangeListener, showContextMenu
alignmentProperty, clearConstraints, getAlignment, getAlignment, getContentBias, getMargin, setAlignment, setAlignment, setMargin
getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPadding, getPrefHeight, getPrefWidth, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPGNode, impl_getBackgroundFills, impl_getPositionShape, impl_getScaleShape, impl_getShape, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_pickNodeLocal, impl_setBackgroundFills, impl_setPositionShape, impl_setScaleShape, impl_setShape, impl_updatePG, insets, isResizable, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setSnapToPixel, setWidth, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthProperty
getBaselineOffset, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_cssResetInitialValues, impl_geomChanged, impl_getAllParentStylesheets, impl_processCSS, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, setImpl_traversalEngine, setNeedsLayout
addEventFilter, addEventHandler, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getCursor, getDepthTest, getEffect, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_createStyleHelper, impl_cssGetCursorInitialValue, impl_cssGetFocusTraversableInitialValue, impl_getLeafTransform, impl_getPGNode, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleable, impl_getStyleHelper, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_pickNode, impl_pseudoClassStateChanged, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPGNode, impl_transformsChanged, impl_traverse, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToSceneTransformProperty, lookupAll, managedProperty, mouseTransparentProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, visibleProperty
protected double computeMinWidth(double WIDTH)
computeMinWidth
in class javafx.scene.layout.StackPane
protected double computeMinHeight(double HEIGHT)
computeMinHeight
in class javafx.scene.layout.StackPane
protected double computePrefWidth(double WIDTH)
computePrefWidth
in class javafx.scene.layout.StackPane
protected double computePrefHeight(double HEIGHT)
computePrefHeight
in class javafx.scene.layout.StackPane
protected double computeMaxWidth(double WIDTH)
computeMaxWidth
in class javafx.scene.layout.Region
protected double computeMaxHeight(double HEIGHT)
computeMaxHeight
in class javafx.scene.layout.Region
protected void layoutChildren()
layoutChildren
in class javafx.scene.layout.StackPane
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)