R
- the type of the rows shown by the graphicspublic abstract class GraphicsBase<R extends Row<?,?,?>> extends FlexGanttFXControl
setActivityRenderer(Flight.class, GanttLayout.class, new FlightRenderer());
SystemLayer
). The graphics view manages two lists of these layers.
One list for background layers (getBackgroundSystemLayers()
) and one
list for foreground layers (getForegroundSystemLayers()
).
GraphicsBase
. There is a boolean property for each layer that ships
with FlexGanttFX. The value of these properties can be set by calling the
methods that follow the pattern setShowXYZLayer
. System layers
that are controlled like this will appear and disappear with a fade in / fade
out animation, while calling SystemLayer.setVisible(boolean)
directly
will be without any animation.
GraphicsBase.EditMode
and can be registered by calling
setEditModeCallback(Class, Class, Callback)
. The second callback is
used to determine whether a given editing mode / operation can be applied to
an activity at all. This callback is registered by calling
setActivityEditingCallback(Class, Callback)
. Most applications will
only need to work with the second callback and keep the defaults for the edit
mode locations (for example: right edge used to change end time, left edge
used to change start time).
ActivityEvent
are sent whenever the user performs a
change inside the graphics view. Applications that want to receive these
events can either call any one of the setOnActivityXYZEvent()
methods or by adding an event handler directly via
addEventHandler(ActionEvent.ACTIVITY_XYZ, ...)
. Events are fired
while the change is being performed and once it has been completed. For this
the ActivityEvent
class lists event types with the two different
endings CHANGING and CHANGED.
setActivityFilter(Predicate<Activity> filter);
getActivityBoundsAt(double, double)
or
getActivityRefAt(double, double)
. The time at an x-coordinate can be
looked up by calling getTimeAt(double)
. The opposite direction is
also available: a location can be found for a given time by calling
getLocation(Instant)
.
setContextMenuCallback(Callback)
a context menu
specific callback can be registered with the graphics control. This callback
will be invoked when the user triggers the context menu. A callback parameter
object (see GraphicsBase.ContextMenuParameter
) will be passed to the callback
already populated with the most important values that might be relevant for
building a context menu.Modifier and Type | Class and Description |
---|---|
static class |
GraphicsBase.ContextMenuParameter<R extends Row<?,?,?>>
A callback parameter class used for displaying a context menu.
|
static class |
GraphicsBase.DragAndDropFeedback
An enumerator used to define how to visuzalize the dragged activity
during a drag and drop operation.
|
static class |
GraphicsBase.DragAndDropInfo
The drag and drop info class aggregates the various pieces of information
that the application might be interested in while a drag and drop
operation is in progress.
|
static class |
GraphicsBase.EditingCallbackParameter
A callback parameter object used for determining if the proposed
GraphicsBase.EditMode is currently allowed or not. |
static class |
GraphicsBase.EditMode
An enumeration of possible editing states that the graphics view can be
in.
|
static class |
GraphicsBase.EditModeCallbackParameter
A callback parameter object used by the edit mode callback that provides information
about the context for which the edit mode will be determined.
|
static class |
GraphicsBase.LassoSelectionBehaviour
An enumerator used to control the selection behaviour of the lasso.
|
static class |
GraphicsBase.RowControlsParameter<R extends Row<?,?,?>>
A callback parameter object used to provide context for the row controls
factory.
|
static class |
GraphicsBase.RowEditingMode
An enumerator used to define how many rows can show their row editors at
the same time.
|
static class |
GraphicsBase.RowEditorParameter<R extends Row<?,?,?>>
A callback parameter object used to provide context for the row editor
factory.
|
static class |
GraphicsBase.RowHeader<R extends Row<?,?,?>>
A row header is a node that can be displayed to the left of each row inside
the graphics area.
|
static class |
GraphicsBase.SelectionMode
An enumerator used to control the selection behaviour of the graphics
view.
|
Constructor and Description |
---|
GraphicsBase()
Constructs a new graphics view and initializes the following:
Virtual grid settings (1, 5, 10, 15, 30, 60 Minutes)
Activity renderers for several of the default model classes.
Edit mode callbacks for several of the default model classes.
Activity editing callbacks.
Background and foreground layers.
Calendars (e.
|
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<Predicate<Activity>> |
activityFilterProperty()
A property used to store a filter function, which determines if an activity will be rendered or not.
|
javafx.beans.property.BooleanProperty |
animateRowEditorProperty() |
javafx.beans.property.BooleanProperty |
autoGridEnabledProperty()
A property used to enable / disable the autogrid mode.
|
javafx.beans.property.BooleanProperty |
autoMarkedTimeIntervalProperty()
Controls whether the marked time interval property of the
Eventline will be automatically set when the user performs
certain editing operations (e.g. |
javafx.beans.property.ReadOnlyBooleanProperty |
automaticRedrawProperty()
A property used to determine if the graphics will be redrawn whenever the
data in any of the activity repository changes.
|
javafx.beans.property.DoubleProperty |
canvasBufferProperty()
A canvas buffer size that is larger than zero increases the rendering performance
of the Gantt chart substantially as fewer repaints of each row's canvas are needed.
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase.ContextMenuParameter<R>,javafx.scene.control.ContextMenu>> |
contextMenuCallbackProperty()
A property used to store a callback which is used for creating a context
menu.
|
javafx.beans.property.BooleanProperty |
debugModeProperty()
A property used to enable / disable the debug mode.
|
javafx.beans.property.ObjectProperty<GraphicsBase.DragAndDropFeedback> |
dragAndDropFeedbackProperty() |
javafx.beans.property.ReadOnlyObjectProperty<GraphicsBase.DragAndDropInfo> |
dragAndDropInfoProperty()
A property used to store the current drag and drop information.
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<ActivityRef<?>,javafx.scene.image.Image>> |
dragImageProviderProperty() |
void |
drawLinks(String reason) |
javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase.DragAndDropInfo,Layer>> |
dropLayerProviderProperty()
A property used to store a callback that will return the layer on which a
dragged activity will be placed once the drop operation has finished.
|
javafx.beans.property.ReadOnlyObjectProperty<ActivityRef<?>> |
editedActivityProperty() |
javafx.beans.property.ReadOnlyObjectProperty<GraphicsBase.EditMode> |
editModeProperty()
A property used to store the currently active editing mode, e.g.
|
javafx.beans.property.BooleanProperty |
enableRowResizingProperty()
Controls whether the view allows the user to interactively resize the row / change
the row height.
|
javafx.beans.property.DoubleProperty |
fadeInOutVisibilityChangesDurationProperty() |
javafx.beans.property.BooleanProperty |
fadeInOutVisibilityChangesProperty() |
javafx.beans.property.DoubleProperty |
fixedCellSizeProperty()
A property used to store a fixed cell size for controls that are based on
the virtual flow control.
|
ActivityBounds |
getActivityBoundsAt(double x,
double y)
Finds the activity bounds at the given location.
|
<A extends Activity> |
getActivityEditingCallback(Class<A> activityType) |
Predicate<Activity> |
getActivityFilter()
Returns the value of
activityFilterProperty() . |
ActivityRef<?> |
getActivityRefAt(double x,
double y)
Finds the activity reference at the given location.
|
<A extends Activity> |
getActivityRenderer(Class<? extends A> activityType,
Class<? extends Layout> layoutType) |
List<ActivityBounds> |
getAllActivityBoundsAt(double x,
double y)
Returns the bounds of all activities found at the given location.
|
List<ActivityRef<?>> |
getAllActivityRefsAt(double x,
double y)
Returns the references to all activities found at the given location.
|
List<ActivityRenderer<?>> |
getAllActivityRenderers()
Returns a list of all currently registered activity renderers.
|
List<CalendarActivity> |
getAllCalendarActivitiesAt(double x,
double y)
Finds all calendar activities at the given location.
|
<SL extends SystemLayer<R>> |
getBackgroundSystemLayer(Class<SL> layerType) |
javafx.collections.ObservableList<SystemLayer<R>> |
getBackgroundSystemLayers() |
javafx.collections.ObservableList<Calendar<? extends CalendarActivity>> |
getCalendars()
Returns the list of calendars that are registered with the graphics view.
|
double |
getCanvasBuffer() |
static List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> |
getClassCssMetaData() |
javafx.util.Callback<GraphicsBase.ContextMenuParameter<R>,javafx.scene.control.ContextMenu> |
getContextMenuCallback()
Returns the value of
contextMenuCallbackProperty() . |
List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> |
getControlCssMetaData() |
GraphicsBase.DragAndDropFeedback |
getDragAndDropFeedback() |
GraphicsBase.DragAndDropInfo |
getDragAndDropInfo()
Returns the value of
dragAndDropInfoProperty() . |
javafx.util.Callback<ActivityRef<?>,javafx.scene.image.Image> |
getDragImageProvider() |
javafx.util.Callback<GraphicsBase.DragAndDropInfo,Layer> |
getDropLayerProvider()
Returns the value of
dropLayerProviderProperty() . |
Instant |
getEarliestTimeUsed()
Calculates and returns the earliest time used by all rows in the model.
|
ActivityRef<?> |
getEditedActivity() |
GraphicsBase.EditMode |
getEditMode()
Returns the value of
editModeProperty() . |
javafx.util.Callback<GraphicsBase.EditModeCallbackParameter,GraphicsBase.EditMode> |
getEditModeCallback(Class<? extends MutableActivity> activityType,
Class<? extends Layout> layoutType) |
double |
getFadeInOutVisibilityChangesDuration() |
double |
getFixedCellSize()
Returns the value of
fixedCellSizeProperty() . |
<SL extends SystemLayer<R>> |
getForegroundSystemLayer(Class<SL> layerType) |
javafx.collections.ObservableList<SystemLayer<R>> |
getForegroundSystemLayers() |
javafx.scene.paint.Paint |
getGridLineColor1() |
javafx.scene.paint.Paint |
getGridLineColor2() |
javafx.scene.paint.Paint |
getGridLineColor3() |
long |
getHighlightDelay()
Returns the value of
highlightDelayProperty() . |
javafx.collections.ObservableSet<ActivityRef<?>> |
getHighlightedActivities()
Returns a set that is used to store the currently highighted activities.
|
javafx.collections.ObservableSet<Row<?,?,?>> |
getHighlightedRows()
Returns a set that is used to store the currently highlighted rows.
|
ActivityRef<?> |
getHoverActivity() |
Layout |
getHoverLayout() |
R |
getHoverRow() |
javafx.scene.paint.Paint |
getInnerLinesColor() |
GraphicsBase.LassoSelectionBehaviour |
getLassoSelectionBehaviour()
Returns the value of the
lassoSelectionBehaviourProperty() . |
Instant |
getLatestTimeUsed()
Calculates and returns the latest time used by all rows in the model.
|
javafx.collections.ObservableList<Layer> |
getLayers()
Returns the list that is used to store all layers of the model.
|
Layout |
getLayoutAt(double y)
Finds the layout that is being used at the given y-coordinate.
|
<AL extends ActivityLink<?>> |
getLinkRenderer(Class<AL> clazz)
Returns a renderer for the given activity link type.
|
IntervalTree<ActivityLink> |
getLinks()
Returns the interval tree that is used to store all activity links of the model.
|
LocalTime |
getLocalTimeAt(double y)
Returns the local time at the given location.
|
double |
getLocation(Instant time)
Returns the x coordinate for the given time.
|
int |
getMaxGridLevel()
Returns the value of
maxGridLevelProperty() . |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChange() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChangeFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChangeOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChangeStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartHighValueChangeFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartHighValueChangeOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartHighValueChangeStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartLowValueChangeFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartLowValueChangeOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartLowValueChangeStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartValueChangeFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartValueChangeOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityChartValueChangeStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityDeleted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityDragDone() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityDragFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityDragOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityDragStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityEndTimeChangeFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityEndTimeChangeOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityEndTimeChangeStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityHorizontalDragFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityHorizontalDragOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityHorizontalDragStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityPercentageChangeFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityPercentageChangeOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityPercentageChangeStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityStartTimeChangeFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityStartTimeChangeOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityStartTimeChangeStarted() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityVerticalDragDone() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityVerticalDragFinished() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityVerticalDragOngoing() |
javafx.event.EventHandler<ActivityEvent> |
getOnActivityVerticalDragStarted() |
javafx.event.EventHandler<LassoEvent> |
getOnLassoSelection() |
javafx.event.EventHandler<LassoEvent> |
getOnLassoSelectionFinished() |
javafx.event.EventHandler<LassoEvent> |
getOnLassoSelectionOngoing() |
javafx.event.EventHandler<LassoEvent> |
getOnLassoSelectionStarted() |
javafx.scene.Node |
getPlaceholder() |
ActivityRef<?> |
getPressedActivity() |
R |
getRowAt(double y)
Finds the row at the given y-coordinate.
|
javafx.util.Callback<GraphicsBase.RowControlsParameter<R>,javafx.scene.Node> |
getRowControlsFactory() |
javafx.util.Callback<GraphicsBase.DragAndDropInfo,Boolean> |
getRowDragAndDropCallback(Class<? extends Row> rowType)
Returns a callback that will be invoked when the user drags an activity
over a row of the given type.
|
GraphicsBase.RowEditingMode |
getRowEditingMode() |
javafx.util.Callback<GraphicsBase.RowEditorParameter<R>,javafx.scene.Node> |
getRowEditorFactory() |
Predicate |
getRowFilter()
Returns the value of
rowFilterProperty() . |
javafx.util.Callback<GraphicsBase<R>,GraphicsBase.RowHeader<R>> |
getRowHeaderFactory()
Returns the value of
rowHeaderFactoryProperty() . |
double |
getRowHeadersWidth() |
javafx.collections.ObservableList<RowPane<R>> |
getRowPanes() |
javafx.collections.ObservableList<R> |
getRows()
Returns the list that is used to store all rows of the model.
|
javafx.collections.ObservableList<R> |
getRowsEditing() |
javafx.collections.ObservableList<ActivityRef<?>> |
getSelectedActivities()
Returns the list of currently selected activities.
|
GraphicsBase.SelectionMode |
getSelectionMode()
Returns the value of
selectionModeProperty() . |
<SL extends SystemLayer<R>> |
getSystemLayer(Class<SL> layerType) |
Instant |
getTimeAt(double location)
Returns the time at the given location.
|
Timeline |
getTimeline()
Returns the value of
timelineProperty() . |
javafx.scene.paint.Paint |
getTimeNowColor() |
String |
getUserAgentStylesheet() |
VirtualGrid<?> |
getVirtualGrid() |
javafx.collections.ObservableList<VirtualGrid<?>> |
getVirtualGrids() |
javafx.scene.paint.Paint |
getWeekendColor() |
javafx.beans.property.ReadOnlyBooleanProperty |
gridEnabledProperty()
A convenience read-only property to check whether any kind of grid is
active, either the automatic grid or a virtual grid.
|
javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> |
gridLineColor1Property() |
javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> |
gridLineColor2Property() |
javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> |
gridLineColor3Property() |
javafx.beans.property.LongProperty |
highlightDelayProperty()
A property used to store the delay between two "blinks" of highlighted
rows or activities.
|
javafx.beans.property.ReadOnlyBooleanProperty |
highlightedProperty()
A read-only property used to control the highlighting effect.
|
javafx.beans.property.BooleanProperty |
horizontalDragEnabledProperty()
Determines whether the user can perform a horizontal drag with a mouse
drag.
|
javafx.beans.property.ReadOnlyObjectProperty<ActivityRef<?>> |
hoverActivityProperty() |
javafx.beans.property.ReadOnlyObjectProperty<Layout> |
hoverLayoutProperty() |
javafx.beans.property.ReadOnlyObjectProperty<R> |
hoverRowProperty() |
javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> |
innerLinesColorProperty() |
boolean |
isAnimateRowEditor() |
boolean |
isAutoGridEnabled()
Returns the value of
autoGridEnabledProperty() . |
boolean |
isAutoMarkedTimeInterval()
Returns the value of
autoMarkedTimeIntervalProperty() . |
boolean |
isAutomaticRedraw()
Returns the value of
automaticRedrawProperty() . |
boolean |
isDebugMode()
Returns the value of
debugModeProperty() . |
boolean |
isEnableRowResizing() |
boolean |
isFadeInOutVisibilityChanges() |
boolean |
isGridEnabled()
Returns the value of
gridEnabledProperty() . |
boolean |
isHighlighted()
Returns the value of
highlightedProperty() . |
boolean |
isHorizontalDragEnabled()
Returns the value of
horizontalDragEnabledProperty() . |
boolean |
isLassoActive()
Returns the value of
lassoActiveProperty() . |
boolean |
isLassoEnabled()
Returns the value of
lassoEnabledProperty() . |
boolean |
isLassoSnapsToGrid()
Returns the value of
lassoSnapsToGridProperty() . |
boolean |
isSafeRendering()
Returns the value of
safeRenderingProperty() . |
boolean |
isShowAgendaLinesLayer() |
boolean |
isShowCalendarLayer() |
boolean |
isShowChartLinesLayer() |
boolean |
isShowDSTLineLayer() |
boolean |
isShowGridLineLayer() |
boolean |
isShowHorizontalCursor()
Returns the value of
showHorizontalCursorProperty() . |
boolean |
isShowHoverTimeIntervalLayer() |
boolean |
isShowInnerLinesLayer() |
boolean |
isShowLayoutLayer() |
boolean |
isShowLinks() |
boolean |
isShowMarkedTimeInterval()
Returns the value of
showMarkedTimeIntervalProperty() . |
boolean |
isShowNowLineLayer() |
boolean |
isShowRowHeaders() |
boolean |
isShowRowLayer() |
boolean |
isShowSelectedTimeIntervalsLayer() |
boolean |
isShowVerticalCursor()
Returns the value of
showVerticalCursorProperty() . |
boolean |
isShowZoneId() |
boolean |
isShowZoomTimeIntervalLayer() |
javafx.beans.property.ReadOnlyBooleanProperty |
lassoActiveProperty()
A boolean property used to indicate whether the lasso selection tool is
currently in use or not.
|
javafx.beans.property.BooleanProperty |
lassoEnabledProperty()
A property used to control whether the user can use the lasso for selecting multiple
activities at once.
|
javafx.beans.property.ObjectProperty<GraphicsBase.LassoSelectionBehaviour> |
lassoSelectionBehaviourProperty()
A property used to store the currently used lasso selection behaviour.
|
javafx.beans.property.BooleanProperty |
lassoSnapsToGridProperty()
A boolean property used to indicate whether the lasso selection tool is
using the currently active grid settings.
|
javafx.beans.property.IntegerProperty |
maxGridLevelProperty()
A property used to store the number of grid levels that the user wants to
see in the graphics view.
|
void |
moveLayerBackward(Layer layer)
Moves the given layer backward within the stack of layers.
|
void |
moveLayerForward(Layer layer)
Moves the given layer forward within the stack of layers.
|
void |
moveLayerToBack(Layer layer)
Moves the given layer to the back so that the activities located on it
will be drawn first and all other activities on other layers will be
drawn on top of them.
|
void |
moveLayerToFront(Layer layer)
Moves the given layer to the front so that the activities located on it
will be drawn on top of all other activities.
|
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChangeFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChangeOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChangeProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChangeStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartHighValueChangeFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartHighValueChangeOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartHighValueChangeStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartLowValueChangeFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartLowValueChangeOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartLowValueChangeStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartValueChangeFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartValueChangeOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityChartValueChangeStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityDeletedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityDragDoneProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityDragFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityDragOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityDragStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityEndTimeChangeFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityEndTimeChangeOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityEndTimeChangeStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityHorizontalDragFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityHorizontalDragOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityHorizontalDragStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityPercentageChangeFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityPercentageChangeOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityPercentageChangeStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityStartTimeChangeFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityStartTimeChangeOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityStartTimeChangeStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityVerticalDragDoneProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityVerticalDragFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityVerticalDragOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> |
onActivityVerticalDragStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<LassoEvent>> |
onLassoSelectionFinishedProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<LassoEvent>> |
onLassoSelectionOngoingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<LassoEvent>> |
onLassoSelectionProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<LassoEvent>> |
onLassoSelectionStartedProperty() |
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
placeholderProperty() |
javafx.beans.property.ReadOnlyObjectProperty<ActivityRef<?>> |
pressedActivityProperty() |
void |
redraw()
Performs a redraw of the displayed activities.
|
void |
redraw(String reason)
Performs a redraw of the displayed activities and logs the given reason.
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase.RowControlsParameter<R>,javafx.scene.Node>> |
rowControlsFactoryProperty() |
javafx.beans.property.ObjectProperty<GraphicsBase.RowEditingMode> |
rowEditingModeProperty() |
javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase.RowEditorParameter<R>,javafx.scene.Node>> |
rowEditorFactoryProperty() |
javafx.beans.property.ObjectProperty<Predicate<R>> |
rowFilterProperty()
A predicate used to filter the rows.
|
javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase<R>,GraphicsBase.RowHeader<R>>> |
rowHeaderFactoryProperty()
A property used to store a callback for creating a node that will be
placed to the left of each row in the graphics view.
|
javafx.beans.property.DoubleProperty |
rowHeadersWidthProperty()
Specifies the width of the so-called "row headers".
|
javafx.beans.property.ListProperty<R> |
rowsProperty()
Returns the property used to store the list of rows.
|
javafx.beans.property.BooleanProperty |
safeRenderingProperty()
Returns the property that specifies whether the various canvas API-based rendering parts inside
this framework will always call
GraphicsContext.save() to save the current state of the
context before changing its state (followed by GraphicsContext.restore() to restore the
old state). |
javafx.beans.property.ObjectProperty<GraphicsBase.SelectionMode> |
selectionModeProperty()
A property used to store the currently supported selection mode.
|
void |
setActivityEditingCallback(Class<? extends MutableActivity> activityType,
javafx.util.Callback<GraphicsBase.EditingCallbackParameter,Boolean> callback)
Registers a callback used to determine if a given editing operation can
be used for a given activity.
|
void |
setActivityFilter(Predicate<Activity> filter)
Sets the value of
activityFilterProperty() . |
<A extends Activity> |
setActivityRenderer(Class<? extends A> activityType,
Class<? extends Layout> layoutType,
ActivityRenderer<? extends A> renderer)
Registers a renderer for the given activity and layout type.
|
void |
setAnimateRowEditor(boolean animate) |
void |
setAutoGridEnabled(boolean auto)
Sets the value of
autoGridEnabledProperty() . |
void |
setAutoMarkedTimeInterval(boolean auto)
Sets the value of
autoMarkedTimeIntervalProperty() . |
void |
setAutomaticRedraw(boolean automatic)
Sets the value of
automaticRedrawProperty() . |
void |
setCanvasBuffer(double canvasBuffer) |
void |
setContextMenuCallback(javafx.util.Callback<GraphicsBase.ContextMenuParameter<R>,javafx.scene.control.ContextMenu> callback)
Sets the value of
contextMenuCallbackProperty() . |
void |
setDebugMode(boolean debug)
Sets the value of
debugModeProperty() . |
void |
setDragAndDropFeedback(GraphicsBase.DragAndDropFeedback feedback) |
void |
setDragImageProvider(javafx.util.Callback<ActivityRef<?>,javafx.scene.image.Image> provider) |
void |
setDropLayerProvider(javafx.util.Callback<GraphicsBase.DragAndDropInfo,Layer> provider)
Sets the value of
dropLayerProviderProperty() . |
void |
setEditModeCallback(Class<? extends MutableActivity> activityType,
Class<? extends Layout> layoutType,
javafx.util.Callback<GraphicsBase.EditModeCallbackParameter,GraphicsBase.EditMode> callback) |
void |
setEnableRowResizing(boolean enableRowResizing) |
void |
setFadeInOutVisibilityChanges(boolean show) |
void |
setFadeInOutVisibilityChangesDuration(double duration) |
void |
setFixedCellSize(double size)
Sets the value of
fixedCellSizeProperty() . |
void |
setGridLineColor1(javafx.scene.paint.Paint color) |
void |
setGridLineColor2(javafx.scene.paint.Paint color) |
void |
setGridLineColor3(javafx.scene.paint.Paint color) |
void |
setHighlightDelay(long delay)
Sets the value of
highlightDelayProperty() . |
void |
setHorizontalDragEnabled(boolean enabled)
Sets the value of
horizontalDragEnabledProperty() . |
void |
setInnerLinesColor(javafx.scene.paint.Paint color) |
void |
setLassoEnabled(boolean enabled)
Sets the value of
lassoEnabledProperty() . |
void |
setLassoSelectionBehaviour(GraphicsBase.LassoSelectionBehaviour behaviour)
Sets the value of
lassoSelectionBehaviourProperty() . |
void |
setLassoSnapsToGrid(boolean snaps)
Sets the value of
lassoSnapsToGridProperty() . |
void |
setLinkRenderer(Class<? extends Activity> clazz,
LinkRenderer<?> renderer)
Sets a custom link renderer for the given type of activity link.
|
void |
setMaxGridLevel(int max)
Sets the value of
maxGridLevelProperty() . |
void |
setOnActivityChange(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChangeFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChangeOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChangeStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartHighValueChangeFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartHighValueChangeOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartHighValueChangeStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartLowValueChangeFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartLowValueChangeOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartLowValueChangeStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartValueChangeFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartValueChangeOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityChartValueChangeStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityDeleted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityDragDone(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityDragFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityDragOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityDragStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityEndTimeChangeFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityEndTimeChangeOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityEndTimeChangeStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityHorizontalDragFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityHorizontalDragOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityHorizontalDragStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityPercentageChangeFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityPercentageChangeOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityPercentageChangeStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityStartTimeChangeFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityStartTimeChangeOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityStartTimeChangeStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityVerticalDragDone(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityVerticalDragFinished(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityVerticalDragOngoing(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnActivityVerticalDragStarted(javafx.event.EventHandler<ActivityEvent> value) |
void |
setOnLassoSelection(javafx.event.EventHandler<LassoEvent> value) |
void |
setOnLassoSelectionFinished(javafx.event.EventHandler<LassoEvent> value) |
void |
setOnLassoSelectionOngoing(javafx.event.EventHandler<LassoEvent> value) |
void |
setOnLassoSelectionStarted(javafx.event.EventHandler<LassoEvent> value) |
void |
setPlaceholder(javafx.scene.Node node) |
void |
setRowControlsFactory(javafx.util.Callback<GraphicsBase.RowControlsParameter<R>,javafx.scene.Node> factory) |
void |
setRowDragAndDropCallback(Class<? extends Row> rowType,
javafx.util.Callback<GraphicsBase.DragAndDropInfo,Boolean> callback)
Specifies a callback that will be invoked when the user drags an activity
over a row of the given type.
|
void |
setRowEditingMode(GraphicsBase.RowEditingMode mode) |
void |
setRowEditorFactory(javafx.util.Callback<GraphicsBase.RowEditorParameter<R>,javafx.scene.Node> factory) |
void |
setRowFilter(Predicate<R> predicate)
Sets the value of
rowFilterProperty() . |
void |
setRowHeaderFactory(javafx.util.Callback<GraphicsBase<R>,GraphicsBase.RowHeader<R>> factory)
Sets the value of
rowHeaderFactoryProperty() . |
void |
setRowHeadersWidth(double rowHeadersWidth) |
void |
setRows(javafx.collections.ObservableList<R> rows)
Sets the value of the
rowsProperty() . |
void |
setSafeRendering(boolean safe)
Sets the value of
safeRenderingProperty() . |
void |
setSelectionMode(GraphicsBase.SelectionMode mode)
Sets the value of
selectionModeProperty() . |
void |
setShowAgendaLinesLayer(boolean show) |
void |
setShowCalendarLayer(boolean show) |
void |
setShowChartLinesLayer(boolean show) |
void |
setShowDSTLineLayer(boolean show) |
void |
setShowGridLineLayer(boolean show) |
void |
setShowHorizontalCursor(boolean show)
Sets the value of
showHorizontalCursorProperty() . |
void |
setShowHoverTimeIntervalLayer(boolean show) |
void |
setShowInnerLinesLayer(boolean show) |
void |
setShowLayoutLayer(boolean show) |
void |
setShowLinks(boolean showLinks) |
void |
setShowMarkedTimeInterval(boolean show)
Sets the value of
showMarkedTimeIntervalProperty() . |
void |
setShowNowLineLayer(boolean show) |
void |
setShowRowHeaders(boolean showRowHeaders) |
void |
setShowRowLayer(boolean show) |
void |
setShowSelectedTimeIntervalsLayer(boolean show) |
void |
setShowVerticalCursor(boolean show)
Sets the value of
showVerticalCursorProperty() . |
void |
setShowZoneId(boolean show) |
void |
setShowZoomTimeIntervalLayer(boolean show) |
void |
setTimeline(Timeline timeline)
Sets the value of
timelineProperty() . |
void |
setTimeNowColor(javafx.scene.paint.Paint color) |
void |
setVirtualGrid(VirtualGrid<?> grid) |
void |
setWeekendColor(javafx.scene.paint.Paint color) |
javafx.beans.property.BooleanProperty |
showAgendaLinesLayerProperty() |
void |
showAllActivities()
Makes the
Timeline show a time range starting with the earliest
time used and ending with the latest time used by all currently loaded
rows. |
javafx.beans.property.BooleanProperty |
showCalendarLayerProperty() |
javafx.beans.property.BooleanProperty |
showChartLinesLayerProperty() |
javafx.beans.property.BooleanProperty |
showDSTLineLayerProperty() |
void |
showEarliestActivities()
Makes the
Timeline start with the earliest time used by the
currently loaded rows. |
javafx.beans.property.BooleanProperty |
showGridLineLayerProperty() |
javafx.beans.property.BooleanProperty |
showHorizontalCursorProperty()
A property used to control wether a horizontal cursor line will be shown
by the graphics view.
|
javafx.beans.property.BooleanProperty |
showHoverTimeIntervalLayerProperty() |
javafx.beans.property.BooleanProperty |
showInnerLinesLayerProperty() |
void |
showLatestActivities()
Makes the
Timeline show the latest time used by the currently
loaded rows. |
javafx.beans.property.BooleanProperty |
showLayoutLayerProperty() |
javafx.beans.property.BooleanProperty |
showLinksProperty()
Controls whether the
LinksCanvas will be visible and links will be drawn. |
javafx.beans.property.BooleanProperty |
showMarkedTimeIntervalProperty()
A property used to control whether vertical lines will be shown for a
marked time interval (e.g.
|
javafx.beans.property.BooleanProperty |
showNowLineLayerProperty() |
javafx.beans.property.BooleanProperty |
showRowHeadersProperty()
Determines if the row headers will be shown to the user or not.
|
javafx.beans.property.BooleanProperty |
showRowLayerProperty() |
javafx.beans.property.BooleanProperty |
showSelectedTimeIntervalsLayerProperty() |
javafx.beans.property.BooleanProperty |
showVerticalCursorProperty()
A property used to control wether a vertical cursor line will be shown by
the graphics view.
|
javafx.beans.property.BooleanProperty |
showZoneIdProperty() |
javafx.beans.property.BooleanProperty |
showZoomTimeIntervalLayerProperty() |
void |
startRowEditing(R row) |
void |
stopRowEditing() |
void |
stopRowEditing(R row) |
javafx.beans.property.ObjectProperty<Timeline> |
timelineProperty()
A property used to store a reference to the timeline control above the
graphics.
|
javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> |
timeNowColorProperty() |
javafx.beans.property.ObjectProperty<VirtualGrid<?>> |
virtualGridProperty() |
javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> |
weekendColorProperty() |
getUserAgentStylesheet
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, executeAccessibleAction, getBaselineOffset, getContextMenu, getCssMetaData, getSkin, getTooltip, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinClassNameProperty, skinProperty, tooltipProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthProperty
getChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBounds
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visibleProperty
public GraphicsBase()
public String getUserAgentStylesheet()
getUserAgentStylesheet
in class javafx.scene.layout.Region
public final javafx.beans.property.ObjectProperty<Predicate<R>> rowFilterProperty()
public final void setRowFilter(Predicate<R> predicate)
rowFilterProperty()
.predicate
- the filter predicatepublic final Predicate getRowFilter()
rowFilterProperty()
.public final javafx.beans.property.ObjectProperty<Predicate<Activity>> activityFilterProperty()
public final Predicate<Activity> getActivityFilter()
activityFilterProperty()
.public final void setActivityFilter(Predicate<Activity> filter)
activityFilterProperty()
.filter
- the filter functionpublic final javafx.beans.property.BooleanProperty lassoEnabledProperty()
public final void setLassoEnabled(boolean enabled)
lassoEnabledProperty()
.enabled
- if true the lasso will be usable by the userpublic final boolean isLassoEnabled()
lassoEnabledProperty()
.public final javafx.beans.property.ReadOnlyBooleanProperty automaticRedrawProperty()
public final boolean isAutomaticRedraw()
automaticRedrawProperty()
.public final void setAutomaticRedraw(boolean automatic)
automaticRedrawProperty()
.automatic
- if true then the graphics redraw after every repository change
eventpublic final double getCanvasBuffer()
public final javafx.beans.property.DoubleProperty canvasBufferProperty()
public final void setCanvasBuffer(double canvasBuffer)
public final javafx.beans.property.ReadOnlyBooleanProperty lassoActiveProperty()
public final boolean isLassoActive()
lassoActiveProperty()
.public final javafx.beans.property.BooleanProperty lassoSnapsToGridProperty()
public final boolean isLassoSnapsToGrid()
lassoSnapsToGridProperty()
.public final void setLassoSnapsToGrid(boolean snaps)
lassoSnapsToGridProperty()
.snaps
- if true the lasso will obey the gridpublic final IntervalTree<ActivityLink> getLinks()
public final javafx.collections.ObservableList<Layer> getLayers()
public final javafx.beans.property.ListProperty<R> rowsProperty()
public final void setRows(javafx.collections.ObservableList<R> rows)
rowsProperty()
.rows
- the new rows to displaypublic final javafx.collections.ObservableList<R> getRows()
public final javafx.beans.property.ObjectProperty<Timeline> timelineProperty()
public final void setTimeline(Timeline timeline)
timelineProperty()
.timeline
- the timeline control above the graphicspublic final Timeline getTimeline()
timelineProperty()
.public final javafx.beans.property.DoubleProperty fixedCellSizeProperty()
ListViewGraphics
public final double getFixedCellSize()
fixedCellSizeProperty()
.public final void setFixedCellSize(double size)
fixedCellSizeProperty()
.size
- the fixed cell size, -1 to disable fixed cell sizepublic final double getLocation(Instant time)
time
- the time for which to lookup a coordinategetTimeAt(double)
,
TimelineModel.calculateLocationForTime(Instant)
public final Instant getTimeAt(double location)
location
- the x-coordinate for which to retrieve the timepublic final LocalTime getLocalTimeAt(double y)
AgendaLayout
is being used at the
given location (in graphics view coordinate space).y
- the y-coordinate in the coordinate space of the graphics viewAgendaLayout
public final R getRowAt(double y)
y
- the y-coordinate in the coordinate space of the graphics view
for which to return a row model objectpublic final Layout getLayoutAt(double y)
y
- the y-coordinate in the coordinate space of the graphics view
for which to return the layoutpublic final ActivityBounds getActivityBoundsAt(double x, double y)
x
- the x-coordinate in the coordinate space of the graphics viewy
- the y-coordinate in the coordinate space of the graphics viewpublic final ActivityRef<?> getActivityRefAt(double x, double y)
x
- the x-coordinate in the coordinate space of the graphics viewy
- the y-coordinate in the coordinate space of the graphics viewpublic final List<ActivityBounds> getAllActivityBoundsAt(double x, double y)
x
- the x-coordinate in the coordinate space of the graphics viewy
- the y-coordinate in the coordinate space of the graphics viewpublic final List<ActivityRef<?>> getAllActivityRefsAt(double x, double y)
x
- the x-coordinate in the coordinate space of the graphics viewy
- the y-coordinate in the coordinate space of the graphics viewpublic final List<CalendarActivity> getAllCalendarActivitiesAt(double x, double y)
x
- the x-coordinate in the coordinate space of the graphics viewy
- the y-coordinate in the coordinate space of the graphics viewpublic final void moveLayerToFront(Layer layer)
layer
- the layer to movegetLayers()
public final void moveLayerToBack(Layer layer)
layer
- the layer to movegetLayers()
public final void moveLayerForward(Layer layer)
layer
- the layer to movegetLayers()
public final void moveLayerBackward(Layer layer)
layer
- the layer to movegetLayers()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityDeletedProperty()
public final void setOnActivityDeleted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityDeleted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChangeProperty()
public final void setOnActivityChange(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChange()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChangeStartedProperty()
public final void setOnActivityChangeStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChangeStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChangeOngoingProperty()
public final void setOnActivityChangeOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChangeOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChangeFinishedProperty()
public final void setOnActivityChangeFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChangeFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityDragStartedProperty()
public final void setOnActivityDragStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityDragStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityDragOngoingProperty()
public final void setOnActivityDragOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityDragOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityDragFinishedProperty()
public final void setOnActivityDragFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityDragFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityDragDoneProperty()
public final void setOnActivityDragDone(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityDragDone()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartValueChangeStartedProperty()
public final void setOnActivityChartValueChangeStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartValueChangeStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartValueChangeOngoingProperty()
public final void setOnActivityChartValueChangeOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartValueChangeOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartValueChangeFinishedProperty()
public final void setOnActivityChartValueChangeFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartValueChangeFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartHighValueChangeStartedProperty()
public final void setOnActivityChartHighValueChangeStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartHighValueChangeStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartHighValueChangeOngoingProperty()
public final void setOnActivityChartHighValueChangeOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartHighValueChangeOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartHighValueChangeFinishedProperty()
public final void setOnActivityChartHighValueChangeFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartHighValueChangeFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartLowValueChangeStartedProperty()
public final void setOnActivityChartLowValueChangeStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartLowValueChangeStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartLowValueChangeOngoingProperty()
public final void setOnActivityChartLowValueChangeOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartLowValueChangeOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityChartLowValueChangeFinishedProperty()
public final void setOnActivityChartLowValueChangeFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityChartLowValueChangeFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityHorizontalDragStartedProperty()
public final void setOnActivityHorizontalDragStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityHorizontalDragStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityHorizontalDragOngoingProperty()
public final void setOnActivityHorizontalDragOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityHorizontalDragOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityHorizontalDragFinishedProperty()
public final void setOnActivityHorizontalDragFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityHorizontalDragFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityVerticalDragStartedProperty()
public final void setOnActivityVerticalDragStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityVerticalDragStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityVerticalDragOngoingProperty()
public final void setOnActivityVerticalDragOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityVerticalDragOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityVerticalDragFinishedProperty()
public final void setOnActivityVerticalDragFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityVerticalDragFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityVerticalDragDoneProperty()
public final void setOnActivityVerticalDragDone(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityVerticalDragDone()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityEndTimeChangeStartedProperty()
public final void setOnActivityEndTimeChangeStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityEndTimeChangeStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityEndTimeChangeOngoingProperty()
public final void setOnActivityEndTimeChangeOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityEndTimeChangeOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityEndTimeChangeFinishedProperty()
public final void setOnActivityEndTimeChangeFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityEndTimeChangeFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityPercentageChangeStartedProperty()
public final void setOnActivityPercentageChangeStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityPercentageChangeStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityPercentageChangeOngoingProperty()
public final void setOnActivityPercentageChangeOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityPercentageChangeOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityPercentageChangeFinishedProperty()
public final void setOnActivityPercentageChangeFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityPercentageChangeFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityStartTimeChangeStartedProperty()
public final void setOnActivityStartTimeChangeStarted(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityStartTimeChangeStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityStartTimeChangeOngoingProperty()
public final void setOnActivityStartTimeChangeOngoing(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityStartTimeChangeOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<ActivityEvent>> onActivityStartTimeChangeFinishedProperty()
public final void setOnActivityStartTimeChangeFinished(javafx.event.EventHandler<ActivityEvent> value)
public final javafx.event.EventHandler<ActivityEvent> getOnActivityStartTimeChangeFinished()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<LassoEvent>> onLassoSelectionProperty()
public final void setOnLassoSelection(javafx.event.EventHandler<LassoEvent> value)
public final javafx.event.EventHandler<LassoEvent> getOnLassoSelection()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<LassoEvent>> onLassoSelectionStartedProperty()
public final void setOnLassoSelectionStarted(javafx.event.EventHandler<LassoEvent> value)
public final javafx.event.EventHandler<LassoEvent> getOnLassoSelectionStarted()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<LassoEvent>> onLassoSelectionOngoingProperty()
public final void setOnLassoSelectionOngoing(javafx.event.EventHandler<LassoEvent> value)
public final javafx.event.EventHandler<LassoEvent> getOnLassoSelectionOngoing()
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<LassoEvent>> onLassoSelectionFinishedProperty()
public final void setOnLassoSelectionFinished(javafx.event.EventHandler<LassoEvent> value)
public final javafx.event.EventHandler<LassoEvent> getOnLassoSelectionFinished()
public final javafx.beans.property.ReadOnlyObjectProperty<GraphicsBase.EditMode> editModeProperty()
setActivityEditingCallback(Class, Callback)
for
mapping mouse events to editing operations.public final GraphicsBase.EditMode getEditMode()
editModeProperty()
.public final javafx.collections.ObservableSet<Row<?,?,?>> getHighlightedRows()
setHighlightDelay(long)
public final javafx.collections.ObservableSet<ActivityRef<?>> getHighlightedActivities()
setHighlightDelay(long)
public final javafx.beans.property.LongProperty highlightDelayProperty()
public final void setHighlightDelay(long delay)
highlightDelayProperty()
.delay
- the highlight delay in millisecondspublic final long getHighlightDelay()
highlightDelayProperty()
.public final javafx.beans.property.ReadOnlyBooleanProperty highlightedProperty()
public final boolean isHighlighted()
highlightedProperty()
.public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase.ContextMenuParameter<R>,javafx.scene.control.ContextMenu>> contextMenuCallbackProperty()
Control.setContextMenu(ContextMenu)
but using this callback saves
you from collecting all the information and objects that can be found at
the location of the context menu trigger event.public final void setContextMenuCallback(javafx.util.Callback<GraphicsBase.ContextMenuParameter<R>,javafx.scene.control.ContextMenu> callback)
contextMenuCallbackProperty()
.callback
- a callback for creating a parameterized context menupublic final javafx.util.Callback<GraphicsBase.ContextMenuParameter<R>,javafx.scene.control.ContextMenu> getContextMenuCallback()
contextMenuCallbackProperty()
.public final javafx.beans.property.BooleanProperty autoMarkedTimeIntervalProperty()
Eventline
will be automatically set when the user performs
certain editing operations (e.g. move an activity horizontally). The
default is "true".Eventline.markedTimeIntervalProperty()
public final boolean isAutoMarkedTimeInterval()
autoMarkedTimeIntervalProperty()
.public final void setAutoMarkedTimeInterval(boolean auto)
autoMarkedTimeIntervalProperty()
.auto
- if true the marked time interval will be updated automaticallypublic final javafx.beans.property.IntegerProperty maxGridLevelProperty()
Dateline.getScaleResolutions()
). If the dateline is
currently showing two scales (e.g. days and weeks) then the graphics view
and the GridLinesLayer
can also display two different grid lines,
for example a light gray one for days and a dark gray one for weeks.public final int getMaxGridLevel()
maxGridLevelProperty()
.public final void setMaxGridLevel(int max)
maxGridLevelProperty()
.max
- the maximum number of grid levels, a value between 1 and 5public final javafx.beans.property.BooleanProperty showVerticalCursorProperty()
public final boolean isShowVerticalCursor()
showVerticalCursorProperty()
.public final void setShowVerticalCursor(boolean show)
showVerticalCursorProperty()
.show
- if true a vertical cursor line will be shownpublic final javafx.beans.property.BooleanProperty showHorizontalCursorProperty()
public final boolean isShowHorizontalCursor()
showHorizontalCursorProperty()
.public final void setShowHorizontalCursor(boolean show)
showHorizontalCursorProperty()
.show
- if true a horizontal cursor line will be shownpublic final javafx.beans.property.BooleanProperty showMarkedTimeIntervalProperty()
Eventline.markedTimeIntervalProperty()
public final boolean isShowMarkedTimeInterval()
showMarkedTimeIntervalProperty()
.Eventline.markedTimeIntervalProperty()
public final void setShowMarkedTimeInterval(boolean show)
showMarkedTimeIntervalProperty()
.show
- if true marker lines will be drawn for the currently marked
time intervalEventline.markedTimeIntervalProperty()
public final javafx.beans.property.BooleanProperty debugModeProperty()
public final boolean isDebugMode()
debugModeProperty()
.public final void setDebugMode(boolean debug)
debugModeProperty()
.debug
- if true the debug mode is enabledpublic final javafx.beans.property.BooleanProperty autoGridEnabledProperty()
public final boolean isAutoGridEnabled()
autoGridEnabledProperty()
.public final void setAutoGridEnabled(boolean auto)
autoGridEnabledProperty()
.auto
- if true the autogrid mode is enabledpublic final javafx.beans.property.ReadOnlyBooleanProperty gridEnabledProperty()
autoGridEnabledProperty()
,
getVirtualGrid()
public final boolean isGridEnabled()
gridEnabledProperty()
.public final javafx.beans.property.ObjectProperty<GraphicsBase.SelectionMode> selectionModeProperty()
public final GraphicsBase.SelectionMode getSelectionMode()
selectionModeProperty()
.public final void setSelectionMode(GraphicsBase.SelectionMode mode)
selectionModeProperty()
.mode
- the new selection modepublic final javafx.collections.ObservableList<ActivityRef<?>> getSelectedActivities()
public final javafx.beans.property.ObjectProperty<GraphicsBase.LassoSelectionBehaviour> lassoSelectionBehaviourProperty()
public final void setLassoSelectionBehaviour(GraphicsBase.LassoSelectionBehaviour behaviour)
lassoSelectionBehaviourProperty()
.behaviour
- the lasso selection behaviour to usepublic final GraphicsBase.LassoSelectionBehaviour getLassoSelectionBehaviour()
lassoSelectionBehaviourProperty()
.public final javafx.collections.ObservableList<Calendar<? extends CalendarActivity>> getCalendars()
CalendarLayer.setCalendarActivityRenderer(Class,
com.flexganttfx.view.graphics.renderer.CalendarActivityRenderer)
public final void showEarliestActivities()
Timeline
start with the earliest time used by the
currently loaded rows.getEarliestTimeUsed()
,
Timeline.showTime(Instant, boolean)
,
ActivityRepository.getEarliestTimeUsed()
public final void showLatestActivities()
Timeline
show the latest time used by the currently
loaded rows.getLatestTimeUsed()
,
Timeline.showTime(Instant, boolean)
,
ActivityRepository.getLatestTimeUsed()
public final void showAllActivities()
Timeline
show a time range starting with the earliest
time used and ending with the latest time used by all currently loaded
rows.public final Instant getEarliestTimeUsed()
Row.getEarliestTimeUsed()
,
ActivityRepository.getEarliestTimeUsed()
public final Instant getLatestTimeUsed()
Row.getLatestTimeUsed()
,
ActivityRepository.getLatestTimeUsed()
public final javafx.beans.property.ReadOnlyObjectProperty<ActivityRef<?>> hoverActivityProperty()
public final ActivityRef<?> getHoverActivity()
public final javafx.beans.property.ReadOnlyObjectProperty<R> hoverRowProperty()
public final R getHoverRow()
public final javafx.beans.property.ReadOnlyObjectProperty<Layout> hoverLayoutProperty()
public final Layout getHoverLayout()
public final javafx.beans.property.ReadOnlyObjectProperty<ActivityRef<?>> editedActivityProperty()
public final ActivityRef<?> getEditedActivity()
public final javafx.beans.property.ReadOnlyObjectProperty<ActivityRef<?>> pressedActivityProperty()
public final ActivityRef<?> getPressedActivity()
public final javafx.beans.property.ObjectProperty<VirtualGrid<?>> virtualGridProperty()
public final VirtualGrid<?> getVirtualGrid()
public final void setVirtualGrid(VirtualGrid<?> grid)
public final javafx.collections.ObservableList<VirtualGrid<?>> getVirtualGrids()
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> placeholderProperty()
public final javafx.scene.Node getPlaceholder()
public final void setPlaceholder(javafx.scene.Node node)
public void redraw()
LinksCanvas
.public void redraw(String reason)
LinksCanvas
.public void drawLinks(String reason)
public final List<ActivityRenderer<?>> getAllActivityRenderers()
public final <A extends Activity> void setActivityRenderer(Class<? extends A> activityType, Class<? extends Layout> layoutType, ActivityRenderer<? extends A> renderer)
A
- the type of the activityactivityType
- the type of the activitylayoutType
- the type of the layoutrenderer
- the renderer instancepublic final <A extends Activity> ActivityRenderer<? extends A> getActivityRenderer(Class<? extends A> activityType, Class<? extends Layout> layoutType)
public final void setLinkRenderer(Class<? extends Activity> clazz, LinkRenderer<?> renderer)
clazz
- the activity typerenderer
- the rendererpublic final <AL extends ActivityLink<?>> LinkRenderer<AL> getLinkRenderer(Class<AL> clazz)
AL
- the activity link typeclazz
- the activity link typepublic final void setActivityEditingCallback(Class<? extends MutableActivity> activityType, javafx.util.Callback<GraphicsBase.EditingCallbackParameter,Boolean> callback)
activityType
- the type of the activity for which to use the callbackcallback
- the callbackpublic final <A extends Activity> javafx.util.Callback<GraphicsBase.EditingCallbackParameter,Boolean> getActivityEditingCallback(Class<A> activityType)
public final void setRowDragAndDropCallback(Class<? extends Row> rowType, javafx.util.Callback<GraphicsBase.DragAndDropInfo,Boolean> callback)
rowType
- the type of the row for which the callback gets registeredcallback
- the callback implementationpublic final javafx.util.Callback<GraphicsBase.DragAndDropInfo,Boolean> getRowDragAndDropCallback(Class<? extends Row> rowType)
rowType
- the type of the row for which the callback gets registeredpublic final javafx.beans.property.ReadOnlyObjectProperty<GraphicsBase.DragAndDropInfo> dragAndDropInfoProperty()
public final GraphicsBase.DragAndDropInfo getDragAndDropInfo()
dragAndDropInfoProperty()
.public final javafx.beans.property.ObjectProperty<javafx.util.Callback<ActivityRef<?>,javafx.scene.image.Image>> dragImageProviderProperty()
public final void setDragImageProvider(javafx.util.Callback<ActivityRef<?>,javafx.scene.image.Image> provider)
public final javafx.util.Callback<ActivityRef<?>,javafx.scene.image.Image> getDragImageProvider()
public final <SL extends SystemLayer<R>> SL getBackgroundSystemLayer(Class<SL> layerType)
public final <SL extends SystemLayer<R>> SL getForegroundSystemLayer(Class<SL> layerType)
public final <SL extends SystemLayer<R>> SL getSystemLayer(Class<SL> layerType)
public final javafx.collections.ObservableList<SystemLayer<R>> getBackgroundSystemLayers()
public final javafx.collections.ObservableList<SystemLayer<R>> getForegroundSystemLayers()
public final javafx.beans.property.BooleanProperty showAgendaLinesLayerProperty()
public final void setShowAgendaLinesLayer(boolean show)
public final boolean isShowAgendaLinesLayer()
public final javafx.beans.property.BooleanProperty showCalendarLayerProperty()
public final void setShowCalendarLayer(boolean show)
public final boolean isShowCalendarLayer()
public final javafx.beans.property.BooleanProperty showLayoutLayerProperty()
public final void setShowLayoutLayer(boolean show)
public final boolean isShowLayoutLayer()
public final javafx.beans.property.BooleanProperty showChartLinesLayerProperty()
public final void setShowChartLinesLayer(boolean show)
public final boolean isShowChartLinesLayer()
public final javafx.beans.property.BooleanProperty showGridLineLayerProperty()
public final void setShowGridLineLayer(boolean show)
public final boolean isShowGridLineLayer()
public final javafx.beans.property.BooleanProperty showHoverTimeIntervalLayerProperty()
public final void setShowHoverTimeIntervalLayer(boolean show)
public final boolean isShowHoverTimeIntervalLayer()
public final javafx.beans.property.BooleanProperty showInnerLinesLayerProperty()
public final void setShowInnerLinesLayer(boolean show)
public final boolean isShowInnerLinesLayer()
public final javafx.beans.property.BooleanProperty showNowLineLayerProperty()
public final void setShowNowLineLayer(boolean show)
public final boolean isShowNowLineLayer()
public final javafx.beans.property.BooleanProperty showDSTLineLayerProperty()
public final void setShowDSTLineLayer(boolean show)
public final boolean isShowDSTLineLayer()
public final javafx.beans.property.BooleanProperty showRowLayerProperty()
public final void setShowRowLayer(boolean show)
public final boolean isShowRowLayer()
public final javafx.beans.property.BooleanProperty showSelectedTimeIntervalsLayerProperty()
public final void setShowSelectedTimeIntervalsLayer(boolean show)
public final boolean isShowSelectedTimeIntervalsLayer()
public final javafx.beans.property.BooleanProperty showZoomTimeIntervalLayerProperty()
public final void setShowZoomTimeIntervalLayer(boolean show)
public final boolean isShowZoomTimeIntervalLayer()
public final javafx.beans.property.BooleanProperty showZoneIdProperty()
public final void setShowZoneId(boolean show)
public final boolean isShowZoneId()
public final javafx.beans.property.BooleanProperty fadeInOutVisibilityChangesProperty()
public final boolean isFadeInOutVisibilityChanges()
public final void setFadeInOutVisibilityChanges(boolean show)
public final javafx.beans.property.DoubleProperty fadeInOutVisibilityChangesDurationProperty()
public final double getFadeInOutVisibilityChangesDuration()
public final void setFadeInOutVisibilityChangesDuration(double duration)
public final boolean isShowLinks()
public final javafx.beans.property.BooleanProperty showLinksProperty()
LinksCanvas
will be visible and links will be drawn.public final void setShowLinks(boolean showLinks)
public final javafx.beans.property.ObjectProperty<GraphicsBase.DragAndDropFeedback> dragAndDropFeedbackProperty()
public final void setDragAndDropFeedback(GraphicsBase.DragAndDropFeedback feedback)
public final GraphicsBase.DragAndDropFeedback getDragAndDropFeedback()
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase.RowControlsParameter<R>,javafx.scene.Node>> rowControlsFactoryProperty()
public final void setRowControlsFactory(javafx.util.Callback<GraphicsBase.RowControlsParameter<R>,javafx.scene.Node> factory)
public final javafx.util.Callback<GraphicsBase.RowControlsParameter<R>,javafx.scene.Node> getRowControlsFactory()
public final javafx.beans.property.BooleanProperty enableRowResizingProperty()
public final boolean isEnableRowResizing()
public final void setEnableRowResizing(boolean enableRowResizing)
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase<R>,GraphicsBase.RowHeader<R>>> rowHeaderFactoryProperty()
public final void setRowHeaderFactory(javafx.util.Callback<GraphicsBase<R>,GraphicsBase.RowHeader<R>> factory)
rowHeaderFactoryProperty()
.factory
- the factory used for creating the row header nodespublic final javafx.util.Callback<GraphicsBase<R>,GraphicsBase.RowHeader<R>> getRowHeaderFactory()
rowHeaderFactoryProperty()
.public final javafx.beans.property.BooleanProperty showRowHeadersProperty()
public final boolean isShowRowHeaders()
public final void setShowRowHeaders(boolean showRowHeaders)
public final javafx.beans.property.DoubleProperty rowHeadersWidthProperty()
setRowHeaderFactory(Callback)
public final double getRowHeadersWidth()
public final void setRowHeadersWidth(double rowHeadersWidth)
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase.RowEditorParameter<R>,javafx.scene.Node>> rowEditorFactoryProperty()
public final void setRowEditorFactory(javafx.util.Callback<GraphicsBase.RowEditorParameter<R>,javafx.scene.Node> factory)
public final javafx.util.Callback<GraphicsBase.RowEditorParameter<R>,javafx.scene.Node> getRowEditorFactory()
public final javafx.beans.property.ObjectProperty<GraphicsBase.RowEditingMode> rowEditingModeProperty()
public final void setRowEditingMode(GraphicsBase.RowEditingMode mode)
public final GraphicsBase.RowEditingMode getRowEditingMode()
public final javafx.collections.ObservableList<R> getRowsEditing()
public final void stopRowEditing()
public final void stopRowEditing(R row)
public final void startRowEditing(R row)
public final javafx.beans.property.BooleanProperty animateRowEditorProperty()
public final void setAnimateRowEditor(boolean animate)
public final boolean isAnimateRowEditor()
public final void setEditModeCallback(Class<? extends MutableActivity> activityType, Class<? extends Layout> layoutType, javafx.util.Callback<GraphicsBase.EditModeCallbackParameter,GraphicsBase.EditMode> callback)
public final javafx.util.Callback<GraphicsBase.EditModeCallbackParameter,GraphicsBase.EditMode> getEditModeCallback(Class<? extends MutableActivity> activityType, Class<? extends Layout> layoutType)
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GraphicsBase.DragAndDropInfo,Layer>> dropLayerProviderProperty()
public final javafx.util.Callback<GraphicsBase.DragAndDropInfo,Layer> getDropLayerProvider()
dropLayerProviderProperty()
.public final void setDropLayerProvider(javafx.util.Callback<GraphicsBase.DragAndDropInfo,Layer> provider)
dropLayerProviderProperty()
.provider
- the drop layer provider used for DnD operationspublic final javafx.beans.property.BooleanProperty horizontalDragEnabledProperty()
public final void setHorizontalDragEnabled(boolean enabled)
horizontalDragEnabledProperty()
.enabled
- if true the user can perform horizontal scrollingpublic final boolean isHorizontalDragEnabled()
horizontalDragEnabledProperty()
.public final javafx.beans.property.BooleanProperty safeRenderingProperty()
GraphicsContext.save()
to save the current state of the
context before changing its state (followed by GraphicsContext.restore()
to restore the
old state).
Using save / restore will ensure that the pluggable system layers and activity renderers will not have any side effects on each other. Setting this property to true has an impact on performance. The default value of this property is false.
GraphicsContext gc = canvas.getGraphicsContext2D(); if (graphics.isSafeRendering()) { gc.save(); } gc.setTransform(...); gc.strokeLine(...); if (graphics.isSafeRendering()) { gc.restore(); }
public final void setSafeRendering(boolean safe)
safeRenderingProperty()
.safe
- if true the safe rendering mode will be used (the graphics context state will
be saved before invoking renderers or drawing system layers).public final boolean isSafeRendering()
safeRenderingProperty()
.public final javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> gridLineColor1Property()
public final javafx.scene.paint.Paint getGridLineColor1()
public void setGridLineColor1(javafx.scene.paint.Paint color)
public final javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> gridLineColor2Property()
public final javafx.scene.paint.Paint getGridLineColor2()
public void setGridLineColor2(javafx.scene.paint.Paint color)
public final javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> gridLineColor3Property()
public final javafx.scene.paint.Paint getGridLineColor3()
public void setGridLineColor3(javafx.scene.paint.Paint color)
public final javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> weekendColorProperty()
public final javafx.scene.paint.Paint getWeekendColor()
public void setWeekendColor(javafx.scene.paint.Paint color)
public final javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> timeNowColorProperty()
public final javafx.scene.paint.Paint getTimeNowColor()
public void setTimeNowColor(javafx.scene.paint.Paint color)
public final javafx.css.StyleableObjectProperty<javafx.scene.paint.Paint> innerLinesColorProperty()
public final javafx.scene.paint.Paint getInnerLinesColor()
public void setInnerLinesColor(javafx.scene.paint.Paint color)
public static List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getClassCssMetaData()
public final List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getControlCssMetaData()
getControlCssMetaData
in class javafx.scene.control.Control
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.