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 doubleprotected static doubleprotected static doubleprotected static doubleprotected static doubleprotected static doubleFields inherited from class eu.hansolo.medusa.skins.ClockSkinBase
alarmListener, clock, currentTimeListener, sizeListener, timeListener, updateEventListener -
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, 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
-
-
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
-