java.lang.Object
javafx.scene.control.SkinBase<Clock>
eu.hansolo.medusa.skins.ClockSkinBase
eu.hansolo.medusa.skins.IndustrialClockSkin
- All Implemented Interfaces:
javafx.scene.control.Skin<Clock>
Created by hansolo on 18.11.16.
-
Field Summary
Fields inherited from class eu.hansolo.medusa.skins.ClockSkinBase
alarmListener, clock, currentTimeListener, MAXIMUM_HEIGHT, MAXIMUM_WIDTH, MINIMUM_HEIGHT, MINIMUM_WIDTH, observer, PREFERRED_HEIGHT, PREFERRED_WIDTH, sizeListener, timeListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleEvents(String EVENT_TYPE) protected voidprotected voidredraw()protected voidprotected voidresize()voidvoidupdateTime(ZonedDateTime TIME) Methods inherited from class eu.hansolo.medusa.skins.ClockSkinBase
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, disposeMethods 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
-
Constructor Details
-
IndustrialClockSkin
-
-
Method Details
-
initGraphics
protected void initGraphics()- Specified by:
initGraphicsin classClockSkinBase
-
registerListeners
protected void registerListeners()- Overrides:
registerListenersin classClockSkinBase
-
handleEvents
- Overrides:
handleEventsin classClockSkinBase
-
updateTime
- Specified by:
updateTimein classClockSkinBase
-
updateAlarms
public void updateAlarms()- Specified by:
updateAlarmsin classClockSkinBase
-
resize
protected void resize()- Specified by:
resizein classClockSkinBase
-
redraw
protected void redraw()- Specified by:
redrawin classClockSkinBase
-