java.lang.Object
javafx.scene.control.SkinBase<Gauge>
eu.hansolo.medusa.skins.GaugeSkinBase
- All Implemented Interfaces:
javafx.scene.control.Skin<Gauge>
- Direct Known Subclasses:
AmpSkin,BarSkin,BatterySkin,BulletChartSkin,ChargeSkin,DashboardSkin,DigitalSkin,FlatSkin,GaugeSkin,HSkin,IndicatorSkin,KpiSkin,LcdSkin,LevelSkin,LinearSkin,ModernSkin,NasaSkin,PlainAmpSkin,QuarterSkin,SectionSkin,SimpleDigitalSkin,SimpleSectionSkin,SimpleSkin,SlimSkin,SpaceXSkin,TinySkin,VSkin,WhiteSkin
public abstract class GaugeSkinBase
extends javafx.scene.control.SkinBase<Gauge>
implements javafx.scene.control.Skin<Gauge>
Created by hansolo on 20.01.17.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Gaugeprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt>protected static final doubleprotected static final doubleprotected javafx.beans.InvalidationListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMaxHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT) protected doublecomputeMaxWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT) protected doublecomputeMinHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT) protected doublecomputeMinWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT) protected doublecomputePrefHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT) protected doublecomputePrefWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT) voiddispose()protected voidhandleEvents(String EVENT_TYPE) protected voidredraw()protected voidprotected voidresize()Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListenersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javafx.scene.control.Skin
getNode, getSkinnable
-
Field Details
-
PREFERRED_WIDTH
protected static final double PREFERRED_WIDTH- See Also:
-
PREFERRED_HEIGHT
protected static final double PREFERRED_HEIGHT- See Also:
-
MINIMUM_WIDTH
protected static final double MINIMUM_WIDTH- See Also:
-
MINIMUM_HEIGHT
protected static final double MINIMUM_HEIGHT- See Also:
-
MAXIMUM_WIDTH
protected static final double MAXIMUM_WIDTH- See Also:
-
MAXIMUM_HEIGHT
protected static final double MAXIMUM_HEIGHT- See Also:
-
gauge
-
sizeListener
protected javafx.beans.InvalidationListener sizeListener -
observer
-
-
Constructor Details
-
GaugeSkinBase
-
-
Method Details
-
registerListeners
protected void registerListeners() -
handleEvents
-
computeMinWidth
protected double computeMinWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT) - Overrides:
computeMinWidthin classjavafx.scene.control.SkinBase<Gauge>
-
computeMinHeight
protected double computeMinHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT) - Overrides:
computeMinHeightin classjavafx.scene.control.SkinBase<Gauge>
-
computePrefWidth
protected double computePrefWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT) - Overrides:
computePrefWidthin classjavafx.scene.control.SkinBase<Gauge>
-
computePrefHeight
protected double computePrefHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT) - Overrides:
computePrefHeightin classjavafx.scene.control.SkinBase<Gauge>
-
computeMaxWidth
protected double computeMaxWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT) - Overrides:
computeMaxWidthin classjavafx.scene.control.SkinBase<Gauge>
-
computeMaxHeight
protected double computeMaxHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT) - Overrides:
computeMaxHeightin classjavafx.scene.control.SkinBase<Gauge>
-
dispose
public void dispose() -
resize
protected void resize() -
redraw
protected void redraw()
-