Class AgendaDayListSkin

java.lang.Object
javafx.scene.control.SkinBase<Agenda>
jfxtras.internal.scene.control.skin.agenda.AgendaDayListSkin
All Implemented Interfaces:
javafx.scene.control.Skin<Agenda>, AgendaSkin

public class AgendaDayListSkin extends javafx.scene.control.SkinBase<Agenda> implements AgendaSkin
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convertClickInSceneToDateTime(double x, double y)
     
    javafx.scene.Node
    Finds rendered node for appointment.
    void
    print(javafx.print.PrinterJob job)
     
    void
    Complete refresh
    void
    Recreate the appointments

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AgendaDayListSkin

      protected AgendaDayListSkin(Agenda arg0)
  • Method Details

    • refresh

      public void refresh()
      Description copied from interface: AgendaSkin
      Complete refresh
      Specified by:
      refresh in interface AgendaSkin
    • setupAppointments

      public void setupAppointments()
      Description copied from interface: AgendaSkin
      Recreate the appointments
      Specified by:
      setupAppointments in interface AgendaSkin
    • convertClickInSceneToDateTime

      public LocalDateTime convertClickInSceneToDateTime(double x, double y)
      Specified by:
      convertClickInSceneToDateTime in interface AgendaSkin
      Parameters:
      x - scene coordinate
      y - 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 interface AgendaSkin
    • getNodeForPopup

      public javafx.scene.Node getNodeForPopup(Agenda.Appointment appointment)
      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 interface AgendaSkin
      Parameters:
      appointment -
      Returns:
      rendered node that represents appointment