Top Description Fields Constructors Methods
com.calendarfx.view

public Class DetailedDayView

extends DayViewBase
Class Inheritance
Imports
com.calendarfx.view.AgendaView.AgendaEntryCell, impl.com.calendarfx.view.DetailedDayViewSkin, javafx.beans.property.BooleanProperty, .SimpleBooleanProperty, javafx.beans.value.ObservableValue, javafx.collections.ObservableList, javafx.scene.control.Skin, org.controlsfx.control.PropertySheet.Item, java.util.Optional

The detailed day view is a composite control consisting of a DayView, an AllDayView, an CalendarHeaderView, and a TimeScaleView. The image below shows the standard appearance of the view. The second image shows the same view with the optional agenda view made visible. Detailed Day View Detailed Day View Agenda

Field Summary

Modifier and TypeField and Description
private final AgendaView
private final AllDayView
private final CalendarHeaderView
private final DayView
private static final String
private static final String
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final TimeScaleView
Inherited from com.calendarfx.view.DayViewBase:
MILLIS_PER_HOUR

Constructor Summary

AccessConstructor and Description
public
DetailedDayView()

Constructs a new day view.

Method Summary

Modifier and TypeMethod and Description
protected Skin<?>
createDefaultSkin()

Overrides javafx.scene.control.Control.createDefaultSkin.

Create a new instance of the default skin for this control.

public final AgendaView

Returns:

the agenda view child node
getAgendaView
()

Returns the agenda view sub control.

public final AllDayView

Returns:

the all day child node
getAllDayView
()

Returns the all day view sub control.

public final CalendarHeaderView

Returns:

the calendar header child node
getCalendarHeaderView
()

Returns the calendar header sub control.

public final DayView

Returns:

the day view child node
getDayView
()

Returns the day view sub control.

public ObservableList<PropertySheet.Item>
getPropertySheetItems()

Overrides com.calendarfx.view.DayViewBase.getPropertySheetItems.

Returns a list of property items that can be shown by the PropertySheet of ControlsFX.

public final TimeScaleView

Returns:

the time scale child node
getTimeScaleView
()

Returns the time scale sub control.

public final boolean

Returns:

true if the agenda view will be visible
isShowAgendaView
()

Sets the value of showAgendaViewProperty().

public final boolean

Returns:

true if the all day view will be visible
isShowAllDayView
()

Sets the value of showAllDayViewProperty().

public final boolean

Returns:

true if the scrollbar will be visible
isShowScrollBar
()

Returns the value of showScrollBarProperty().

public final boolean

Returns:

true if the time scale view will be visible
isShowTimeScaleView
()

Returns the value of showTimeScaleViewProperty().

public final void
setShowAgendaView(boolean
if true the agenda view will be visible
show
)

Sets the value of showAgendaViewProperty().

public final void
setShowAllDayView(boolean
true if the all day view will be visible
show
)

Sets the value of showAllDayViewProperty().

public final void
setShowScrollBar(boolean
if true the scrollbar will be visible
showScrollBar
)

Sets the value of showScrollBarProperty().

public final void
setShowTimeScaleView(boolean
if true the time scale view will be visible
show
)

Sets the value of showTimeScaleViewProperty().

public final BooleanProperty

Returns:

true if the agenda view will be visible
showAgendaViewProperty
()

A property used to toggle the visibility of the agenda view.

public final BooleanProperty

Returns:

true if the all day view will be visible
showAllDayViewProperty
()

A property used to toggle the visibility of the all day view.

public final BooleanProperty

Returns:

true if the scrollbar should be shown to the user
showScrollBarProperty
()

A property used to control the visibility of the vertial scrollbar.

public final BooleanProperty

Returns:

true if the time scale view will be visible
showTimeScaleViewProperty
()

A property used to toggle the visibility of the time scale view.

Inherited from com.calendarfx.view.DayViewBase:
bindearliestTimeUsedPropertyearlyLateHoursStrategyPropertyenableCurrentTimeCirclePropertyenableCurrentTimeMarkerPropertyenableStartAndEndTimesFlipPropertyentryViewAvailabilityEditingBehaviourPropertyentryViewAvailabilityEditingOpacityPropertyentryWidthPercentagePropertygetEarliestTimeUsedgetEarlyLateHoursStrategygetEntryViewAvailabilityEditingBehaviourgetEntryViewAvailabilityEditingOpacitygetEntryWidthPercentagegetGridLineColorgetGridLinesgetGridTypegetHourHeightgetHourHeightCompressedgetHoursLayoutStrategygetInstantAtgetInstantAtgetLassoColorgetLassoEndgetLassoStartgetLatestTimeUsedgetLocationgetLocationgetMaxHourHeightgetMinHourHeightgetOnLassoFinishedgetOverlapResolutionStrategygetScrollTimegetVisibleHoursgetZonedDateTimegetZonedDateTimeAtgetZonedDateTimeAtgetZonedDateTimeEndgetZonedDateTimeMaxgetZonedDateTimeMingetZonedDateTimeStartgridLineColorPropertygridLinesPropertygridTypePropertyhourHeightCompressedPropertyhourHeightPropertyhoursLayoutStrategyPropertyinstallDefaultLassoFinishedBehaviourisEnableCurrentCircleMarkerisEnableCurrentTimeMarkerisEnableStartAndEndTimesFlipisScrollingEnabledisShowCurrentTimeMarkerisShowCurrentTimeTodayMarkerisTrimTimeBoundslassoColorPropertylassoEndPropertylassoStartPropertylatestTimeUsedPropertymaxHourHeightPropertyminHourHeightPropertyonLassoFinishedPropertyoverlapResolutionStrategyPropertyscrollingEnabledPropertyscrollTimePropertysetEarlyLateHoursStrategysetEnableCurrentTimeCirclesetEnableCurrentTimeMarkersetEnableStartAndEndTimesFlipsetEntryViewAvailabilityEditingBehavioursetEntryViewAvailabilityEditingOpacitysetEntryWidthPercentagesetGridLineColorsetGridLinessetGridTypesetHourHeightsetHourHeightCompressedsetHoursLayoutStrategysetLassoColorsetLassoEndsetLassoStartsetMaxHourHeightsetMinHourHeightsetOnLassoFinishedsetOverlapResolutionStrategysetScrollingEnabledsetScrollTimesetTrimTimeBoundssetVisibleHoursshowCurrentTimeMarkerPropertyshowCurrentTimeTodayMarkerPropertytrimTimeBoundsPropertyunbindvisibleHoursProperty

Field Detail

agendaViewback to summary
private final AgendaView agendaView
allDayViewback to summary
private final AllDayView allDayView
calendarHeaderback to summary
private final CalendarHeaderView calendarHeader
dayViewback to summary
private final DayView dayView
DEFAULT_STYLEback to summary
private static final String DEFAULT_STYLE
DETAILED_DAY_VIEW_CATEGORYback to summary
private static final String DETAILED_DAY_VIEW_CATEGORY
showAgendaViewback to summary
private final BooleanProperty showAgendaView
showAllDayViewback to summary
private final BooleanProperty showAllDayView
showScrollBarback to summary
private final BooleanProperty showScrollBar
showTimeScaleViewback to summary
private final BooleanProperty showTimeScaleView
timeScaleViewback to summary
private final TimeScaleView timeScaleView

Constructor Detail

DetailedDayViewback to summary
public DetailedDayView()

Constructs a new day view.

Method Detail

createDefaultSkinback to summary
protected Skin<?> createDefaultSkin()

Overrides javafx.scene.control.Control.createDefaultSkin.

Doc from javafx.scene.control.Control.createDefaultSkin.

Create a new instance of the default skin for this control. This is called to create a skin for the control if no skin is provided via CSS -fx-skin or set explicitly in a sub-class with setSkin(...).

Returns:Skin<?>

new instance of default skin for this control. If null then the control will have no skin unless one is provided by css.

Annotations
@Override
getAgendaViewback to summary
public final AgendaView getAgendaView()

Returns the agenda view sub control.

Returns:AgendaView

the agenda view child node

getAllDayViewback to summary
public final AllDayView getAllDayView()

Returns the all day view sub control.

Returns:AllDayView

the all day child node

getCalendarHeaderViewback to summary
public final CalendarHeaderView getCalendarHeaderView()

Returns the calendar header sub control.

Returns:CalendarHeaderView

the calendar header child node

getDayViewback to summary
public final DayView getDayView()

Returns the day view sub control.

Returns:DayView

the day view child node

getPropertySheetItemsback to summary
public ObservableList<PropertySheet.Item> getPropertySheetItems()

Overrides com.calendarfx.view.DayViewBase.getPropertySheetItems.

Doc from com.calendarfx.view.CalendarFXControl.getPropertySheetItems.

Returns a list of property items that can be shown by the PropertySheet of ControlsFX.

Returns:ObservableList<PropertySheet.Item>

the property sheet items

Annotations
@Override
getTimeScaleViewback to summary
public final TimeScaleView getTimeScaleView()

Returns the time scale sub control.

Returns:TimeScaleView

the time scale child node

isShowAgendaViewback to summary
public final boolean isShowAgendaView()

Sets the value of showAgendaViewProperty().

Returns:boolean

true if the agenda view will be visible

isShowAllDayViewback to summary
public final boolean isShowAllDayView()

Sets the value of showAllDayViewProperty().

Returns:boolean

true if the all day view will be visible

isShowScrollBarback to summary
public final boolean isShowScrollBar()

Returns the value of showScrollBarProperty().

Returns:boolean

true if the scrollbar will be visible

isShowTimeScaleViewback to summary
public final boolean isShowTimeScaleView()

Returns the value of showTimeScaleViewProperty().

Returns:boolean

true if the time scale view will be visible

setShowAgendaViewback to summary
public final void setShowAgendaView(boolean show)

Sets the value of showAgendaViewProperty().

Parameters
show:boolean

if true the agenda view will be visible

setShowAllDayViewback to summary
public final void setShowAllDayView(boolean show)

Sets the value of showAllDayViewProperty().

Parameters
show:boolean

true if the all day view will be visible

setShowScrollBarback to summary
public final void setShowScrollBar(boolean showScrollBar)

Sets the value of showScrollBarProperty().

Parameters
showScrollBar:boolean

if true the scrollbar will be visible

setShowTimeScaleViewback to summary
public final void setShowTimeScaleView(boolean show)

Sets the value of showTimeScaleViewProperty().

Parameters
show:boolean

if true the time scale view will be visible

showAgendaViewPropertyback to summary
public final BooleanProperty showAgendaViewProperty()

A property used to toggle the visibility of the agenda view.

Returns:BooleanProperty

true if the agenda view will be visible

showAllDayViewPropertyback to summary
public final BooleanProperty showAllDayViewProperty()

A property used to toggle the visibility of the all day view.

Returns:BooleanProperty

true if the all day view will be visible

showScrollBarPropertyback to summary
public final BooleanProperty showScrollBarProperty()

A property used to control the visibility of the vertial scrollbar.

Returns:BooleanProperty

true if the scrollbar should be shown to the user

showTimeScaleViewPropertyback to summary
public final BooleanProperty showTimeScaleViewProperty()

A property used to toggle the visibility of the time scale view.

Returns:BooleanProperty

true if the time scale view will be visible