DayView control. Instances of
this type are created by the DayView itelf via a pluggable factory.
The image below shows the default apperance of this view.
DayView#entryViewFactoryProperty()
| Modifier and Type | Field and Description |
|---|---|
| private final BooleanProperty | |
| private final ReadOnlyMapWrapper |
| Access | Constructor and Description |
|---|---|
| public | DayEntryView(Entry<?>
the entry for which the view will be created entry)Constructs a new entry view for the given calendar entry. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ObservableMap | |
| public final boolean | |
| public final BooleanProperty | Returns: true if the entry has a minimum height that guarantees the visibility of the title labelControls whether the day entry view will at least always have the height of the title label. |
| public final ReadOnlyMapWrapper | Returns: the nodes mapReturns the hashmap used to store nodes used for decorating the entry view. |
| public void | |
| public final void |
| minHeightEqualToTitleHeight | back to summary |
|---|---|
| private final BooleanProperty minHeightEqualToTitleHeight | |
| nodes | back to summary |
|---|---|
| private final ReadOnlyMapWrapper<Pos, List<Node>> nodes | |
| DayEntryView | back to summary |
|---|---|
| public DayEntryView(Entry<?> entry) Constructs a new entry view for the given calendar entry.
| |
| addNode | back to summary |
|---|---|
| public void addNode(Pos pos, Node node) Adds a node to the given position to the entry view. | |
| clearNodes | back to summary |
|---|---|
| public void clearNodes() Removes all nodes from all positions. | |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. 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 | |
| getNodes | back to summary |
|---|---|
| public final ObservableMap A day entry view can be decorated with symbols / nodes. These nodes are stored in a hash map where the position of the nodes is the key.
| |
| isMinHeightEqualToTitleHeight | back to summary |
|---|---|
| public final boolean isMinHeightEqualToTitleHeight() | |
| minHeightEqualToTitleHeightProperty | back to summary |
|---|---|
| public final BooleanProperty minHeightEqualToTitleHeightProperty() Controls whether the day entry view will at least always have the height of the title label.
| |
| nodesProperty | back to summary |
|---|---|
| public final ReadOnlyMapWrapper Returns the hashmap used to store nodes used for decorating the entry view.
| |
| removeNode | back to summary |
|---|---|
| public void removeNode(Node node) Removes the given node from the entry view.
| |
| setMinHeightEqualToTitleHeight | back to summary |
|---|---|
| public final void setMinHeightEqualToTitleHeight(boolean minHeightEqualToTitleHeight) | |