java.lang.Object
javafx.scene.control.SkinBase<Clock>
eu.hansolo.medusa.skins.ClockSkinBase
eu.hansolo.medusa.skins.MorphingClockSkin
- All Implemented Interfaces:
javafx.scene.control.Skin<Clock>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleFields inherited from class eu.hansolo.medusa.skins.ClockSkinBase
alarmListener, clock, currentTimeListener, observer, 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
-
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:
-
-
Constructor Details
-
MorphingClockSkin
-
-
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
-