Top Fields Constructors Methods
com.calendarfx.view

public Class SourceGridView

extends CalendarFXControl
Class Inheritance
Imports
com.calendarfx.model.Calendar, .CalendarSource, impl.com.calendarfx.view.SourceGridViewSkin, javafx.beans.binding.Bindings, javafx.beans.property.BooleanProperty, .IntegerProperty, .SimpleBooleanProperty, .SimpleIntegerProperty, javafx.beans.value.ObservableValue, javafx.collections.FXCollections, .ObservableList, .ObservableMap, javafx.scene.control.Skin, org.controlsfx.control.PropertySheet.Item, java.util.Optional

Field Summary

Modifier and TypeField and Description
private final ObservableList<CalendarSource>
private final ObservableMap<Calendar<T>, BooleanProperty>
private static final int
private final IntegerProperty
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final void
bind(DateControl dateControl)

protected Skin<?>
createDefaultSkin()

Overrides javafx.scene.control.Control.createDefaultSkin.

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

public final ObservableList<CalendarSource>
public final ObservableMap<Calendar<T>, BooleanProperty>
public final BooleanProperty
public final int
public ObservableList<PropertySheet.Item>
getPropertySheetItems()

Overrides com.calendarfx.view.CalendarFXControl.getPropertySheetItems.

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

public final boolean
public final IntegerProperty
public final void
setCalendarVisibility(Calendar<T> calendar, boolean visible)

public final void
setMaximumRowsPerColumn(final int maximumRowsPerColumn)

public final void
unbind(DateControl dateControl)

Inherited from com.calendarfx.view.CalendarFXControl:
getUserAgentStylesheet

Field Detail

calendarSourcesback to summary
private final ObservableList<CalendarSource> calendarSources
calendarVisibilityMapback to summary
private final ObservableMap<Calendar<T>, BooleanProperty> calendarVisibilityMap
DEFAULT_MAXIMUM_ROWS_PER_COLUMNback to summary
private static final int DEFAULT_MAXIMUM_ROWS_PER_COLUMN
maximumRowsPerColumnback to summary
private final IntegerProperty maximumRowsPerColumn
SOURCE_GRID_VIEW_CATEGORYback to summary
private static final String SOURCE_GRID_VIEW_CATEGORY

Constructor Detail

SourceGridViewback to summary
public SourceGridView()

Method Detail

bindback to summary
public final void bind(DateControl dateControl)
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
getCalendarSourcesback to summary
public final ObservableList<CalendarSource> getCalendarSources()
getCalendarVisibilityMapback to summary
public final ObservableMap<Calendar<T>, BooleanProperty> getCalendarVisibilityMap()
getCalendarVisibilityPropertyback to summary
public final BooleanProperty getCalendarVisibilityProperty(Calendar<T> calendar)
getMaximumRowsPerColumnback to summary
public final int getMaximumRowsPerColumn()
getPropertySheetItemsback to summary
public ObservableList<PropertySheet.Item> getPropertySheetItems()

Overrides com.calendarfx.view.CalendarFXControl.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
isCalendarVisibleback to summary
public final boolean isCalendarVisible(Calendar<T> calendar)
maximumRowsPerColumnPropertyback to summary
public final IntegerProperty maximumRowsPerColumnProperty()
setCalendarVisibilityback to summary
public final void setCalendarVisibility(Calendar<T> calendar, boolean visible)
setMaximumRowsPerColumnback to summary
public final void setMaximumRowsPerColumn(final int maximumRowsPerColumn)
unbindback to summary
public final void unbind(DateControl dateControl)