java.lang.Object
javafx.scene.control.SkinBase<Agenda>
jfxtras.internal.scene.control.skin.agenda.AgendaDayListSkin
- All Implemented Interfaces:
javafx.scene.control.Skin<Agenda>
,AgendaSkin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertClickInSceneToDateTime
(double x, double y) javafx.scene.Node
getNodeForPopup
(Agenda.Appointment appointment) Finds rendered node for appointment.void
print
(javafx.print.PrinterJob job) void
refresh()
Complete refreshvoid
Recreate the appointmentsMethods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, 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
-
Constructor Details
-
AgendaDayListSkin
-
-
Method Details
-
refresh
public void refresh()Description copied from interface:AgendaSkin
Complete refresh- Specified by:
refresh
in interfaceAgendaSkin
-
setupAppointments
public void setupAppointments()Description copied from interface:AgendaSkin
Recreate the appointments- Specified by:
setupAppointments
in interfaceAgendaSkin
-
convertClickInSceneToDateTime
- Specified by:
convertClickInSceneToDateTime
in interfaceAgendaSkin
- Parameters:
x
- scene coordinatey
- scene coordinate- Returns:
- a localDateTime equivalent of the click location, where a drop in the day section has nano seconds == 1, and a drop in a header (wholeday) section has nano seconds == 0
-
print
public void print(javafx.print.PrinterJob job) - Specified by:
print
in interfaceAgendaSkin
-
getNodeForPopup
Description copied from interface:AgendaSkin
Finds rendered node for appointment. The node can be used as the owner for a popup. or finding its x, y coordinates.- Specified by:
getNodeForPopup
in interfaceAgendaSkin
- Returns:
- rendered node that represents appointment
-