Class GaugeSkinBase

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

    Fields
    Modifier and Type
    Field
    Description
    protected Gauge
     
    protected static final double
     
    protected static final double
     
    protected static final double
     
    protected static final double
     
    protected eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt>
     
    protected static final double
     
    protected static final double
     
    protected javafx.beans.InvalidationListener
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
    computeMaxHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT)
     
    protected double
    computeMaxWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT)
     
    protected double
    computeMinHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT)
     
    protected double
    computeMinWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT)
     
    protected double
    computePrefHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT)
     
    protected double
    computePrefWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT)
     
    void
     
    protected void
    handleEvents(String EVENT_TYPE)
     
    protected void
     
    protected void
     
    protected void
     

    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, unregisterListChangeListeners

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      protected Gauge gauge
    • sizeListener

      protected javafx.beans.InvalidationListener sizeListener
    • observer

      protected eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt> observer
  • Constructor Details

    • GaugeSkinBase

      protected GaugeSkinBase(Gauge GAUGE)
  • Method Details

    • registerListeners

      protected void registerListeners()
    • handleEvents

      protected void handleEvents(String EVENT_TYPE)
    • computeMinWidth

      protected double computeMinWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT)
      Overrides:
      computeMinWidth in class javafx.scene.control.SkinBase<Gauge>
    • computeMinHeight

      protected double computeMinHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT)
      Overrides:
      computeMinHeight in class javafx.scene.control.SkinBase<Gauge>
    • computePrefWidth

      protected double computePrefWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT)
      Overrides:
      computePrefWidth in class javafx.scene.control.SkinBase<Gauge>
    • computePrefHeight

      protected double computePrefHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT)
      Overrides:
      computePrefHeight in class javafx.scene.control.SkinBase<Gauge>
    • computeMaxWidth

      protected double computeMaxWidth(double HEIGHT, double TOP, double RIGHT, double BOTTOM, double LEFT)
      Overrides:
      computeMaxWidth in class javafx.scene.control.SkinBase<Gauge>
    • computeMaxHeight

      protected double computeMaxHeight(double WIDTH, double TOP, double RIGHT, double BOTTOM, double LEFT)
      Overrides:
      computeMaxHeight in class javafx.scene.control.SkinBase<Gauge>
    • dispose

      public void dispose()
      Specified by:
      dispose in interface javafx.scene.control.Skin<Gauge>
      Overrides:
      dispose in class javafx.scene.control.SkinBase<Gauge>
    • resize

      protected void resize()
    • redraw

      protected void redraw()