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,TileKpiSkin,TileSparklineSkin,TileTextKpiSkin,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 doubleprotected static doubleprotected static doubleprotected static doubleprotected static doubleprotected static doubleprotected javafx.beans.InvalidationListenerprotected UpdateEventListener -
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, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListenersMethods 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:
- Constant Field Values
-
PREFERRED_HEIGHT
protected static final double PREFERRED_HEIGHT- See Also:
- Constant Field Values
-
MINIMUM_WIDTH
protected static final double MINIMUM_WIDTH- See Also:
- Constant Field Values
-
MINIMUM_HEIGHT
protected static final double MINIMUM_HEIGHT- See Also:
- Constant Field Values
-
MAXIMUM_WIDTH
protected static final double MAXIMUM_WIDTH- See Also:
- Constant Field Values
-
MAXIMUM_HEIGHT
protected static final double MAXIMUM_HEIGHT- See Also:
- Constant Field Values
-
gauge
-
sizeListener
protected javafx.beans.InvalidationListener sizeListener -
updateEventListener
-
-
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()
-