public 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()
).
Background layers are drawn "behind" activities, foreground layers are drawn "in front of" activities. Each one of these lists are already pre-populated but can be changed by the application. For more information on the available system layers, please refer to their individual documentation.
System layers can be turned on and off directly via the API of
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.
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.
contextMenu, skinClassName, skin, tooltip
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width
impl_traversalEngine, needsLayout
blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, impl_showMnemonics, impl_treeVisible, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, visible
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 |
static class |
GraphicsBase.LassoSelectionBehaviour
An enumerator used to control the selection behaviour of the lasso.
|
static class |
GraphicsBase.RowControlsParameter<R extends Row<?,?,?>> |
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<?,?,?>> |
static class |
GraphicsBase.SelectionMode
An enumerator used to control the selection behaviour of the graphics
view.
|
USE_COMPUTED_SIZE, USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
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.
|
Modifier and Type | Method and Description |
---|---|
BooleanProperty |
animateRowEditorProperty() |
BooleanProperty |
autoGridEnabledProperty()
A property used to enable / disable the autogrid mode.
|
ObjectProperty<Callback<GraphicsBase.ContextMenuParameter<R>,ContextMenu>> |
contextMenuCallbackProperty()
A property used to store a callback which is used for creating a context
menu.
|
BooleanProperty |
debugModeProperty()
A property used to enable / disable the debug mode.
|
ObjectProperty<GraphicsBase.DragAndDropFeedback> |
dragAndDropFeedbackProperty() |
ReadOnlyObjectProperty<GraphicsBase.DragAndDropInfo> |
dragAndDropInfoProperty()
A property used to store the current drag and drop information.
|
ObjectProperty<Callback<ActivityRef<?>,Image>> |
dragImageProviderProperty() |
ReadOnlyObjectProperty<ActivityRef<?>> |
editedActivityProperty() |
ReadOnlyObjectProperty<GraphicsBase.EditMode> |
editModeProperty()
A property used to store the currently active editing mode, e.g.
|
IntegerProperty |
extraPixelsProperty()
A property used to instruct the graphics view to query the activity
repositories also for activities that are ending right in front of the
visible area or starting right after the visible area.
|
DoubleProperty |
fadeInOutVisibilityChangesDurationProperty() |
BooleanProperty |
fadeInOutVisibilityChangesProperty() |
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) |
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<CalendarActivity> |
getAllCalendarActivitiesAt(double x,
double y)
Finds all calendar activities at the given location.
|
<SL extends SystemLayer<R>> |
getBackgroundSystemLayer(Class<SL> layerType) |
ObservableList<SystemLayer<R>> |
getBackgroundSystemLayers() |
ObservableList<Calendar<? extends CalendarActivity>> |
getCalendars()
Returns the list of calendars that are registered with the graphics view.
|
Callback<GraphicsBase.ContextMenuParameter<R>,ContextMenu> |
getContextMenuCallback()
Returns the value of
contextMenuCallbackProperty() . |
GraphicsBase.DragAndDropFeedback |
getDragAndDropFeedback()
Gets the value of the property dragAndDropFeedback.
|
GraphicsBase.DragAndDropInfo |
getDragAndDropInfo()
Returns the value of
dragAndDropInfoProperty() . |
Callback<ActivityRef<?>,Image> |
getDragImageProvider()
Gets the value of the property dragImageProvider.
|
Instant |
getEarliestTimeUsed()
Calculates and returns the earliest time used by all rows in the model.
|
ActivityRef<?> |
getEditedActivity()
Gets the value of the property editedActivity.
|
GraphicsBase.EditMode |
getEditMode()
Returns the value of
editModeProperty() . |
Callback<GraphicsBase.EditModeCallbackParameter,GraphicsBase.EditMode> |
getEditModeCallback(Class<? extends MutableActivity> activityType,
Class<? extends Layout> layoutType) |
int |
getExtraPixels()
Returns the value of
extraPixelsProperty() . |
double |
getFadeInOutVisibilityChangesDuration()
Gets the value of the property fadeInOutVisibilityChangesDuration.
|
double |
getFixedCellSize()
Returns the value of
fixedCellSizeProperty() . |
<SL extends SystemLayer<R>> |
getForegroundSystemLayer(Class<SL> layerType) |
ObservableList<SystemLayer<R>> |
getForegroundSystemLayers() |
long |
getHighlightDelay()
Returns the value of
highlightDelayProperty() . |
ObservableSet<ActivityRef<?>> |
getHighlightedActivities()
Returns a set that is used to store the currently highighted activities.
|
ObservableSet<Row<?,?,?>> |
getHighlightedRows()
Returns a set that is used to store the currently highlighted rows.
|
ActivityRef<?> |
getHoverActivity()
Gets the value of the property hoverActivity.
|
R |
getHoverRow()
Gets the value of the property hoverRow.
|
GraphicsBase.LassoSelectionBehaviour |
getLassoSelectionBehaviour()
Returns the value of the
lassoSelectionBehaviourProperty() . |
Instant |
getLatestTimeUsed()
Calculates and returns the latest time used by all rows in the model.
|
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.
|
ObservableList<ActivityLink<?>> |
getLinks()
Returns the list 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() . |
EventHandler<ActivityEvent> |
getOnActivityChange()
Gets the value of the property onActivityChange.
|
EventHandler<ActivityEvent> |
getOnActivityChangeFinished()
Gets the value of the property onActivityChangeFinished.
|
EventHandler<ActivityEvent> |
getOnActivityChangeOngoing()
Gets the value of the property onActivityChangeOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityChangeStarted()
Gets the value of the property onActivityChangeStarted.
|
EventHandler<ActivityEvent> |
getOnActivityChartHighValueChangeFinished()
Gets the value of the property onActivityChartHighValueChangeFinished.
|
EventHandler<ActivityEvent> |
getOnActivityChartHighValueChangeOngoing()
Gets the value of the property onActivityChartHighValueChangeOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityChartHighValueChangeStarted()
Gets the value of the property onActivityChartHighValueChangeStarted.
|
EventHandler<ActivityEvent> |
getOnActivityChartLowValueChangeFinished()
Gets the value of the property onActivityChartLowValueChangeFinished.
|
EventHandler<ActivityEvent> |
getOnActivityChartLowValueChangeOngoing()
Gets the value of the property onActivityChartLowValueChangeOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityChartLowValueChangeStarted()
Gets the value of the property onActivityChartLowValueChangeStarted.
|
EventHandler<ActivityEvent> |
getOnActivityChartValueChangeFinished()
Gets the value of the property onActivityChartValueChangeFinished.
|
EventHandler<ActivityEvent> |
getOnActivityChartValueChangeOngoing()
Gets the value of the property onActivityChartValueChangeOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityChartValueChangeStarted()
Gets the value of the property onActivityChartValueChangeStarted.
|
EventHandler<ActivityEvent> |
getOnActivityDeleted()
Gets the value of the property onActivityDeleted.
|
EventHandler<ActivityEvent> |
getOnActivityDragFinished()
Gets the value of the property onActivityDragFinished.
|
EventHandler<ActivityEvent> |
getOnActivityDragOngoing()
Gets the value of the property onActivityDragOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityDragStarted()
Gets the value of the property onActivityDragStarted.
|
EventHandler<ActivityEvent> |
getOnActivityEndTimeChangeFinished()
Gets the value of the property onActivityEndTimeChangeFinished.
|
EventHandler<ActivityEvent> |
getOnActivityEndTimeChangeOngoig() |
EventHandler<ActivityEvent> |
getOnActivityEndTimeChangeStarted()
Gets the value of the property onActivityEndTimeChangeStarted.
|
EventHandler<ActivityEvent> |
getOnActivityHorizontalDragFinished()
Gets the value of the property onActivityHorizontalDragFinished.
|
EventHandler<ActivityEvent> |
getOnActivityHorizontalDragOngoing()
Gets the value of the property onActivityHorizontalDragOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityHorizontalDragStarted()
Gets the value of the property onActivityHorizontalDragStarted.
|
EventHandler<ActivityEvent> |
getOnActivityPercentageChangeFinished()
Gets the value of the property onActivityPercentageChangeFinished.
|
EventHandler<ActivityEvent> |
getOnActivityPercentageChangeOngoing()
Gets the value of the property onActivityPercentageChangeOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityPercentageChangeStarted()
Gets the value of the property onActivityPercentageChangeStarted.
|
EventHandler<ActivityEvent> |
getOnActivityStartTimeChangeFinished()
Gets the value of the property onActivityStartTimeChangeFinished.
|
EventHandler<ActivityEvent> |
getOnActivityStartTimeChangeOngoing()
Gets the value of the property onActivityStartTimeChangeOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityStartTimeChangeStarted()
Gets the value of the property onActivityStartTimeChangeStarted.
|
EventHandler<ActivityEvent> |
getOnActivityVerticalDragFinished()
Gets the value of the property onActivityVerticalDragFinished.
|
EventHandler<ActivityEvent> |
getOnActivityVerticalDragOngoing()
Gets the value of the property onActivityVerticalDragOngoing.
|
EventHandler<ActivityEvent> |
getOnActivityVerticalDragStarted()
Gets the value of the property onActivityVerticalDragStarted.
|
EventHandler<LassoEvent> |
getOnLassoSelection()
Gets the value of the property onLassoSelection.
|
EventHandler<LassoEvent> |
getOnLassoSelectionFinished()
Gets the value of the property onLassoSelectionFinished.
|
EventHandler<LassoEvent> |
getOnLassoSelectionOngoing()
Gets the value of the property onLassoSelectionOngoing.
|
EventHandler<LassoEvent> |
getOnLassoSelectionStarted()
Gets the value of the property onLassoSelectionStarted.
|
Node |
getPlaceholder()
Gets the value of the property placeholder.
|
ActivityRef<?> |
getPressedActivity()
Gets the value of the property pressedActivity.
|
List<org.controlsfx.control.PropertySheet.Item> |
getPropertySheetItems() |
R |
getRowAt(double y)
Finds the row at the given y-coordinate.
|
Callback<GraphicsBase.RowControlsParameter<R>,Node> |
getRowControlsFactory()
Gets the value of the property rowControlsFactory.
|
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()
Gets the value of the property rowEditingMode.
|
Callback<GraphicsBase.RowEditorParameter<R>,Node> |
getRowEditorFactory()
Gets the value of the property rowEditorFactory.
|
ObservableList<impl.com.flexganttfx.skin.graphics.RowPane<R>> |
getRowPanes() |
ObservableList<R> |
getRows()
Returns the list that is used to store all rows of the model.
|
ObservableList<R> |
getRowsEditing() |
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() . |
VirtualGrid<?> |
getVirtualGrid()
Gets the value of the property virtualGrid.
|
ObservableList<VirtualGrid<?>> |
getVirtualGrids() |
LongProperty |
highlightDelayProperty()
A property used to store the delay between two "blinks" of highlighted
rows or activities.
|
ReadOnlyBooleanProperty |
highlightedProperty()
A read-only property used to control the highlighting effect.
|
ReadOnlyObjectProperty<ActivityRef<?>> |
hoverActivityProperty() |
ReadOnlyObjectProperty<R> |
hoverRowProperty() |
boolean |
isAnimateRowEditor()
Gets the value of the property animateRowEditor.
|
boolean |
isAutoGridEnabled()
Returns the value of
autoGridEnabledProperty() . |
boolean |
isDebugMode()
Returns the value of
debugModeProperty() . |
boolean |
isFadeInOutVisibilityChanges()
Gets the value of the property fadeInOutVisibilityChanges.
|
boolean |
isHighlighted()
Returns the value of
highlightedProperty() . |
boolean |
isLassoActive()
Returns the value of
lassoActiveProperty() . |
boolean |
isLassoSnapsToGrid()
Returns the value of
lassoSnapsToGridProperty() . |
boolean |
isShowAgendaLinesLayer()
Gets the value of the property showAgendaLinesLayer.
|
boolean |
isShowCalendarLayer()
Gets the value of the property showCalendarLayer.
|
boolean |
isShowChartLinesLayer()
Gets the value of the property showChartLinesLayer.
|
boolean |
isShowGridLineLayer()
Gets the value of the property showGridLineLayer.
|
boolean |
isShowHorizontalCursor()
Returns the value of
showHorizontalCursorProperty() . |
boolean |
isShowHoverTimeIntervalLayer()
Gets the value of the property showHoverTimeIntervalLayer.
|
boolean |
isShowInnerLinesLayer()
Gets the value of the property showInnerLinesLayer.
|
boolean |
isShowLayoutLayer()
Gets the value of the property showLayoutLayer.
|
boolean |
isShowMarkedTimeInterval()
Returns the value of
showMarkedTimeIntervalProperty() . |
boolean |
isShowNowLineLayer()
Gets the value of the property showNowLineLayer.
|
boolean |
isShowRowLayer()
Gets the value of the property showRowLayer.
|
boolean |
isShowScaleLayer()
Gets the value of the property showScaleLayer.
|
boolean |
isShowSelectedTimeIntervalsLayer()
Gets the value of the property showSelectedTimeIntervalsLayer.
|
boolean |
isShowVerticalCursor()
Returns the value of
showVerticalCursorProperty() . |
boolean |
isShowZoneId()
Gets the value of the property showZoneId.
|
boolean |
isShowZoomTimeIntervalLayer()
Gets the value of the property showZoomTimeIntervalLayer.
|
ReadOnlyBooleanProperty |
lassoActiveProperty()
A boolean property used to indicate whether the lasso selection tool is
currently in use or not.
|
ObjectProperty<GraphicsBase.LassoSelectionBehaviour> |
lassoSelectionBehaviourProperty()
A property used to store the currently used lasso selection behaviour.
|
BooleanProperty |
lassoSnapsToGridProperty()
A boolean property used to indicate whether the lasso selection tool is
using the currently active grid settings.
|
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.
|
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChangeFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChangeOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChangeProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChangeStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartHighValueChangeFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartHighValueChangeOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartHighValueChangeStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartLowValueChangeFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartLowValueChangeOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartLowValueChangeStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartValueChangeFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartValueChangeOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityChartValueChangeStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityDeletedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityDragFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityDragOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityDragStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityEndTimeChangeFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityEndTimeChangeOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityEndTimeChangeStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityHorizontalDragFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityHorizontalDragOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityHorizontalDragStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityPercentageChangeFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityPercentageChangeOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityPercentageChangeStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityStartTimeChangeFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityStartTimeChangeOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityStartTimeChangeStartedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityVerticalDragFinishedProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityVerticalDragOngoingProperty() |
ObjectProperty<EventHandler<ActivityEvent>> |
onActivityVerticalDragStartedProperty() |
ObjectProperty<EventHandler<LassoEvent>> |
onLassoSelectionFinishedProperty() |
ObjectProperty<EventHandler<LassoEvent>> |
onLassoSelectionOngoingProperty() |
ObjectProperty<EventHandler<LassoEvent>> |
onLassoSelectionProperty() |
ObjectProperty<EventHandler<LassoEvent>> |
onLassoSelectionStartedProperty() |
ObjectProperty<Node> |
placeholderProperty() |
ReadOnlyObjectProperty<ActivityRef<?>> |
pressedActivityProperty() |
void |
redraw() |
ObjectProperty<Callback<GraphicsBase.RowControlsParameter<R>,Node>> |
rowControlsFactoryProperty() |
ObjectProperty<GraphicsBase.RowEditingMode> |
rowEditingModeProperty() |
ObjectProperty<Callback<GraphicsBase.RowEditorParameter<R>,Node>> |
rowEditorFactoryProperty() |
ObjectProperty<GraphicsBase.SelectionMode> |
selectionModeProperty()
A property used to store the currently supported selection mode.
|
void |
setActivityEditingCallback(Class<? extends MutableActivity> activityType,
Callback<GraphicsBase.EditingCallbackParameter,Boolean> callback)
Registers a callback used to determine if a given editing operation can
be used for a given activity.
|
<A extends Activity> |
setActivityRenderer(Class<? extends A> activityType,
Class<? extends Layout> layoutType,
ActivityRenderer<? extends A> renderer) |
void |
setAnimateRowEditor(boolean animate)
Sets the value of the property animateRowEditor.
|
void |
setAutoGridEnabled(boolean auto)
Sets the value of
autoGridEnabledProperty() . |
void |
setContextMenuCallback(Callback<GraphicsBase.ContextMenuParameter<R>,ContextMenu> callback)
Sets the value of
contextMenuCallbackProperty() . |
void |
setDebugMode(boolean debug)
Sets the value of
debugModeProperty() . |
void |
setDragAndDropFeedback(GraphicsBase.DragAndDropFeedback feedback)
Sets the value of the property dragAndDropFeedback.
|
void |
setDragImageProvider(Callback<ActivityRef<?>,Image> provider)
Sets the value of the property dragImageProvider.
|
void |
setEditModeCallback(Class<? extends MutableActivity> activityType,
Class<? extends Layout> layoutType,
Callback<GraphicsBase.EditModeCallbackParameter,GraphicsBase.EditMode> callback) |
void |
setExtraPixels(int pixels)
Sets the value of
extraPixelsProperty() . |
void |
setFadeInOutVisibilityChanges(boolean show)
Sets the value of the property fadeInOutVisibilityChanges.
|
void |
setFadeInOutVisibilityChangesDuration(double duration)
Sets the value of the property fadeInOutVisibilityChangesDuration.
|
void |
setFixedCellSize(double size)
Sets the value of
fixedCellSizeProperty() . |
void |
setHighlightDelay(long delay)
Sets the value of
highlightDelayProperty() . |
void |
setLassoSelectionBehaviour(GraphicsBase.LassoSelectionBehaviour behaviour)
Sets the value of
lassoSelectionBehaviourProperty() . |
void |
setLassoSnapsToGrid(boolean snaps)
Sets the value of
lassoSnapsToGridProperty() . |
void |
setMaxGridLevel(int max)
Sets the value of
maxGridLevelProperty() . |
void |
setOnActivityChange(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChange.
|
void |
setOnActivityChangeFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChangeFinished.
|
void |
setOnActivityChangeOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChangeOngoing.
|
void |
setOnActivityChangeStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChangeStarted.
|
void |
setOnActivityChartHighValueChangeFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartHighValueChangeFinished.
|
void |
setOnActivityChartHighValueChangeOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartHighValueChangeOngoing.
|
void |
setOnActivityChartHighValueChangeStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartHighValueChangeStarted.
|
void |
setOnActivityChartLowValueChangeFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartLowValueChangeFinished.
|
void |
setOnActivityChartLowValueChangeOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartLowValueChangeOngoing.
|
void |
setOnActivityChartLowValueChangeStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartLowValueChangeStarted.
|
void |
setOnActivityChartValueChangeFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartValueChangeFinished.
|
void |
setOnActivityChartValueChangeOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartValueChangeOngoing.
|
void |
setOnActivityChartValueChangeStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityChartValueChangeStarted.
|
void |
setOnActivityDeleted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityDeleted.
|
void |
setOnActivityDragFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityDragFinished.
|
void |
setOnActivityDragOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityDragOngoing.
|
void |
setOnActivityDragStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityDragStarted.
|
void |
setOnActivityEndTimeChangeFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityEndTimeChangeFinished.
|
void |
setOnActivityEndTimeChangeOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityEndTimeChangeOngoing.
|
void |
setOnActivityEndTimeChangeStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityEndTimeChangeStarted.
|
void |
setOnActivityHorizontalDragFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityHorizontalDragFinished.
|
void |
setOnActivityHorizontalDragOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityHorizontalDragOngoing.
|
void |
setOnActivityHorizontalDragStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityHorizontalDragStarted.
|
void |
setOnActivityPercentageChangeFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityPercentageChangeFinished.
|
void |
setOnActivityPercentageChangeOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityPercentageChangeOngoing.
|
void |
setOnActivityPercentageChangeStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityPercentageChangeStarted.
|
void |
setOnActivityStartTimeChangeFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityStartTimeChangeFinished.
|
void |
setOnActivityStartTimeChangeOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityStartTimeChangeOngoing.
|
void |
setOnActivityStartTimeChangeStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityStartTimeChangeStarted.
|
void |
setOnActivityVerticalDragFinished(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityVerticalDragFinished.
|
void |
setOnActivityVerticalDragOngoing(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityVerticalDragOngoing.
|
void |
setOnActivityVerticalDragStarted(EventHandler<ActivityEvent> value)
Sets the value of the property onActivityVerticalDragStarted.
|
void |
setOnLassoSelection(EventHandler<LassoEvent> value)
Sets the value of the property onLassoSelection.
|
void |
setOnLassoSelectionFinished(EventHandler<LassoEvent> value)
Sets the value of the property onLassoSelectionFinished.
|
void |
setOnLassoSelectionOngoing(EventHandler<LassoEvent> value)
Sets the value of the property onLassoSelectionOngoing.
|
void |
setOnLassoSelectionStarted(EventHandler<LassoEvent> value)
Sets the value of the property onLassoSelectionStarted.
|
void |
setPlaceholder(Node node)
Sets the value of the property placeholder.
|
void |
setRowControlsFactory(Callback<GraphicsBase.RowControlsParameter<R>,Node> factory)
Sets the value of the property rowControlsFactory.
|
void |
setRowDragAndDropCallback(Class<? extends Row> rowType,
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)
Sets the value of the property rowEditingMode.
|
void |
setRowEditorFactory(Callback<GraphicsBase.RowEditorParameter<R>,Node> factory)
Sets the value of the property rowEditorFactory.
|
void |
setSelectionMode(GraphicsBase.SelectionMode mode)
Sets the value of
selectionModeProperty() . |
void |
setShowAgendaLinesLayer(boolean show)
Sets the value of the property showAgendaLinesLayer.
|
void |
setShowCalendarLayer(boolean show)
Sets the value of the property showCalendarLayer.
|
void |
setShowChartLinesLayer(boolean show)
Sets the value of the property showChartLinesLayer.
|
void |
setShowGridLineLayer(boolean show)
Sets the value of the property showGridLineLayer.
|
void |
setShowHorizontalCursor(boolean show)
Sets the value of
showHorizontalCursorProperty() . |
void |
setShowHoverTimeIntervalLayer(boolean show)
Sets the value of the property showHoverTimeIntervalLayer.
|
void |
setShowInnerLinesLayer(boolean show)
Sets the value of the property showInnerLinesLayer.
|
void |
setShowLayoutLayer(boolean show)
Sets the value of the property showLayoutLayer.
|
void |
setShowMarkedTimeInterval(boolean show)
Sets the value of
showMarkedTimeIntervalProperty() . |
void |
setShowNowLineLayer(boolean show)
Sets the value of the property showNowLineLayer.
|
void |
setShowRowLayer(boolean show)
Sets the value of the property showRowLayer.
|
void |
setShowScaleLayer(boolean show)
Sets the value of the property showScaleLayer.
|
void |
setShowSelectedTimeIntervalsLayer(boolean show)
Sets the value of the property showSelectedTimeIntervalsLayer.
|
void |
setShowVerticalCursor(boolean show)
Sets the value of
showVerticalCursorProperty() . |
void |
setShowZoneId(boolean show)
Sets the value of the property showZoneId.
|
void |
setShowZoomTimeIntervalLayer(boolean show)
Sets the value of the property showZoomTimeIntervalLayer.
|
void |
setTimeline(Timeline timeline)
Sets the value of
timelineProperty() . |
void |
setVirtualGrid(VirtualGrid<?> grid)
Sets the value of the property virtualGrid.
|
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. |
BooleanProperty |
showCalendarLayerProperty() |
BooleanProperty |
showChartLinesLayerProperty() |
void |
showEarliestActivities()
Makes the
Timeline start with the earliest time used by the
currently loaded rows. |
BooleanProperty |
showGridLineLayerProperty() |
BooleanProperty |
showHorizontalCursorProperty()
A property used to control wether a horizontal cursor line will be shown
by the graphics view.
|
BooleanProperty |
showHoverTimeIntervalLayerProperty() |
BooleanProperty |
showInnerLinesLayerProperty() |
void |
showLatestActivities()
Makes the
Timeline show the latest time used by the currently
loaded rows. |
BooleanProperty |
showLayoutLayerProperty() |
BooleanProperty |
showMarkedTimeIntervalProperty()
A property used to control whether vertical lines will be shown for a
marked time interval (e.g. while dragging the marked interval will
display the new location of the dragged activity).
|
BooleanProperty |
showNowLineLayerProperty() |
BooleanProperty |
showRowLayerProperty() |
BooleanProperty |
showScaleLayerProperty() |
BooleanProperty |
showSelectedTimeIntervalsLayerProperty() |
BooleanProperty |
showVerticalCursorProperty()
A property used to control wether a vertical cursor line will be shown by
the graphics view.
|
BooleanProperty |
showZoneIdProperty() |
BooleanProperty |
showZoomTimeIntervalLayerProperty() |
void |
startRowEditing(R row) |
void |
stopRowEditing() |
void |
stopRowEditing(R row) |
ObjectProperty<Timeline> |
timelineProperty()
A property used to store a reference to the timeline control above the
graphics.
|
void |
updatePropertySheet() |
ObjectProperty<VirtualGrid<?>> |
virtualGridProperty() |
getUserAgentStylesheet
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getSkin, getTooltip, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, 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
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, 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, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, 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, screenToLocal, screenToLocal, screenToLocal, 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 final ReadOnlyBooleanProperty lassoActiveProperty
isLassoActive()
public final BooleanProperty lassoSnapsToGridProperty
isLassoSnapsToGrid()
,
setLassoSnapsToGrid(boolean)
public final ObjectProperty<Timeline> timelineProperty
getTimeline()
,
setTimeline(Timeline)
public final DoubleProperty fixedCellSizeProperty
getFixedCellSize()
,
setFixedCellSize(double)
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityDeletedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChangeProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChangeStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChangeOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChangeFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityDragStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityDragOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityDragFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartValueChangeStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartValueChangeOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartValueChangeFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartHighValueChangeStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartHighValueChangeOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartHighValueChangeFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartLowValueChangeStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartLowValueChangeOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartLowValueChangeFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityHorizontalDragStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityHorizontalDragOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityHorizontalDragFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityVerticalDragStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityVerticalDragOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityVerticalDragFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityEndTimeChangeStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityEndTimeChangeOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityEndTimeChangeFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityPercentageChangeStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityPercentageChangeOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityPercentageChangeFinishedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityStartTimeChangeStartedProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityStartTimeChangeOngoingProperty
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityStartTimeChangeFinishedProperty
public final ObjectProperty<EventHandler<LassoEvent>> onLassoSelectionProperty
public final ObjectProperty<EventHandler<LassoEvent>> onLassoSelectionStartedProperty
public final ObjectProperty<EventHandler<LassoEvent>> onLassoSelectionOngoingProperty
public final ObjectProperty<EventHandler<LassoEvent>> onLassoSelectionFinishedProperty
public final ReadOnlyObjectProperty<GraphicsBase.EditMode> editModeProperty
setActivityEditingCallback(Class, Callback)
for
mapping mouse events to editing operations.getEditMode()
public final LongProperty highlightDelayProperty
getHighlightDelay()
,
setHighlightDelay(long)
public final ReadOnlyBooleanProperty highlightedProperty
isHighlighted()
public final ObjectProperty<Callback<GraphicsBase.ContextMenuParameter<R extends Row<?,?,?>>,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.getContextMenuCallback()
,
setContextMenuCallback(Callback)
public final IntegerProperty extraPixelsProperty
getExtraPixels()
,
setExtraPixels(int)
public final 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.getMaxGridLevel()
,
setMaxGridLevel(int)
public final BooleanProperty showVerticalCursorProperty
isShowVerticalCursor()
,
setShowVerticalCursor(boolean)
public final BooleanProperty showHorizontalCursorProperty
isShowHorizontalCursor()
,
setShowHorizontalCursor(boolean)
public final BooleanProperty showMarkedTimeIntervalProperty
isShowMarkedTimeInterval()
,
setShowMarkedTimeInterval(boolean)
public final BooleanProperty debugModeProperty
isDebugMode()
,
setDebugMode(boolean)
public final BooleanProperty autoGridEnabledProperty
isAutoGridEnabled()
,
setAutoGridEnabled(boolean)
public final ObjectProperty<GraphicsBase.SelectionMode> selectionModeProperty
getSelectionMode()
,
setSelectionMode(SelectionMode)
public final ObjectProperty<GraphicsBase.LassoSelectionBehaviour> lassoSelectionBehaviourProperty
getLassoSelectionBehaviour()
,
setLassoSelectionBehaviour(LassoSelectionBehaviour)
public final ReadOnlyObjectProperty<ActivityRef<?>> hoverActivityProperty
getHoverActivity()
public final ReadOnlyObjectProperty<R extends Row<?,?,?>> hoverRowProperty
getHoverRow()
public final ReadOnlyObjectProperty<ActivityRef<?>> editedActivityProperty
getEditedActivity()
public final ReadOnlyObjectProperty<ActivityRef<?>> pressedActivityProperty
getPressedActivity()
public final ObjectProperty<VirtualGrid<?>> virtualGridProperty
getVirtualGrid()
,
setVirtualGrid(VirtualGrid)
public final ObjectProperty<Node> placeholderProperty
getPlaceholder()
,
setPlaceholder(Node)
public final ReadOnlyObjectProperty<GraphicsBase.DragAndDropInfo> dragAndDropInfoProperty
getDragAndDropInfo()
public final ObjectProperty<Callback<ActivityRef<?>,Image>> dragImageProviderProperty
public final BooleanProperty showAgendaLinesLayerProperty
public final BooleanProperty showCalendarLayerProperty
public final BooleanProperty showLayoutLayerProperty
isShowLayoutLayer()
,
setShowLayoutLayer(boolean)
public final BooleanProperty showChartLinesLayerProperty
public final BooleanProperty showGridLineLayerProperty
public final BooleanProperty showHoverTimeIntervalLayerProperty
public final BooleanProperty showInnerLinesLayerProperty
public final BooleanProperty showNowLineLayerProperty
isShowNowLineLayer()
,
setShowNowLineLayer(boolean)
public final BooleanProperty showRowLayerProperty
isShowRowLayer()
,
setShowRowLayer(boolean)
public final BooleanProperty showScaleLayerProperty
isShowScaleLayer()
,
setShowScaleLayer(boolean)
public final BooleanProperty showSelectedTimeIntervalsLayerProperty
public final BooleanProperty showZoomTimeIntervalLayerProperty
public final BooleanProperty showZoneIdProperty
isShowZoneId()
,
setShowZoneId(boolean)
public final BooleanProperty fadeInOutVisibilityChangesProperty
public final DoubleProperty fadeInOutVisibilityChangesDurationProperty
public final ObjectProperty<GraphicsBase.DragAndDropFeedback> dragAndDropFeedbackProperty
public final ObjectProperty<Callback<GraphicsBase.RowControlsParameter<R extends Row<?,?,?>>,Node>> rowControlsFactoryProperty
public final ObjectProperty<Callback<GraphicsBase.RowEditorParameter<R extends Row<?,?,?>>,Node>> rowEditorFactoryProperty
public final ObjectProperty<GraphicsBase.RowEditingMode> rowEditingModeProperty
public final BooleanProperty animateRowEditorProperty
isAnimateRowEditor()
,
setAnimateRowEditor(boolean)
public GraphicsBase()
public void updatePropertySheet()
public final ReadOnlyBooleanProperty lassoActiveProperty()
isLassoActive()
public final boolean isLassoActive()
lassoActiveProperty()
.public final BooleanProperty lassoSnapsToGridProperty()
isLassoSnapsToGrid()
,
setLassoSnapsToGrid(boolean)
public final boolean isLassoSnapsToGrid()
lassoSnapsToGridProperty()
.public final void setLassoSnapsToGrid(boolean snaps)
lassoSnapsToGridProperty()
.snaps
- if true the lasso will obey the gridpublic final ObservableList<ActivityLink<?>> getLinks()
public final ObservableList<Layer> getLayers()
public final ObservableList<R> getRows()
public final ObjectProperty<Timeline> timelineProperty()
getTimeline()
,
setTimeline(Timeline)
public final void setTimeline(Timeline timeline)
timelineProperty()
.timeline
- the timeline control above the graphicspublic final Timeline getTimeline()
timelineProperty()
.public final DoubleProperty fixedCellSizeProperty()
getFixedCellSize()
,
setFixedCellSize(double)
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 ObjectProperty<EventHandler<ActivityEvent>> onActivityDeletedProperty()
public final void setOnActivityDeleted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityDeleted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChangeProperty()
public final void setOnActivityChange(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChange()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChangeStartedProperty()
public final void setOnActivityChangeStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChangeStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChangeOngoingProperty()
public final void setOnActivityChangeOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChangeOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChangeFinishedProperty()
public final void setOnActivityChangeFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChangeFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityDragStartedProperty()
public final void setOnActivityDragStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityDragStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityDragOngoingProperty()
public final void setOnActivityDragOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityDragOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityDragFinishedProperty()
public final void setOnActivityDragFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityDragFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartValueChangeStartedProperty()
public final void setOnActivityChartValueChangeStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartValueChangeStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartValueChangeOngoingProperty()
public final void setOnActivityChartValueChangeOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartValueChangeOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartValueChangeFinishedProperty()
public final void setOnActivityChartValueChangeFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartValueChangeFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartHighValueChangeStartedProperty()
public final void setOnActivityChartHighValueChangeStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartHighValueChangeStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartHighValueChangeOngoingProperty()
public final void setOnActivityChartHighValueChangeOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartHighValueChangeOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartHighValueChangeFinishedProperty()
public final void setOnActivityChartHighValueChangeFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartHighValueChangeFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartLowValueChangeStartedProperty()
public final void setOnActivityChartLowValueChangeStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartLowValueChangeStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartLowValueChangeOngoingProperty()
public final void setOnActivityChartLowValueChangeOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartLowValueChangeOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityChartLowValueChangeFinishedProperty()
public final void setOnActivityChartLowValueChangeFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityChartLowValueChangeFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityHorizontalDragStartedProperty()
public final void setOnActivityHorizontalDragStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityHorizontalDragStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityHorizontalDragOngoingProperty()
public final void setOnActivityHorizontalDragOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityHorizontalDragOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityHorizontalDragFinishedProperty()
public final void setOnActivityHorizontalDragFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityHorizontalDragFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityVerticalDragStartedProperty()
public final void setOnActivityVerticalDragStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityVerticalDragStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityVerticalDragOngoingProperty()
public final void setOnActivityVerticalDragOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityVerticalDragOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityVerticalDragFinishedProperty()
public final void setOnActivityVerticalDragFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityVerticalDragFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityEndTimeChangeStartedProperty()
public final void setOnActivityEndTimeChangeStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityEndTimeChangeStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityEndTimeChangeOngoingProperty()
public final void setOnActivityEndTimeChangeOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityEndTimeChangeOngoig()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityEndTimeChangeFinishedProperty()
public final void setOnActivityEndTimeChangeFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityEndTimeChangeFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityPercentageChangeStartedProperty()
public final void setOnActivityPercentageChangeStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityPercentageChangeStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityPercentageChangeOngoingProperty()
public final void setOnActivityPercentageChangeOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityPercentageChangeOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityPercentageChangeFinishedProperty()
public final void setOnActivityPercentageChangeFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityPercentageChangeFinished()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityStartTimeChangeStartedProperty()
public final void setOnActivityStartTimeChangeStarted(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityStartTimeChangeStarted()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityStartTimeChangeOngoingProperty()
public final void setOnActivityStartTimeChangeOngoing(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityStartTimeChangeOngoing()
public final ObjectProperty<EventHandler<ActivityEvent>> onActivityStartTimeChangeFinishedProperty()
public final void setOnActivityStartTimeChangeFinished(EventHandler<ActivityEvent> value)
public final EventHandler<ActivityEvent> getOnActivityStartTimeChangeFinished()
public final ObjectProperty<EventHandler<LassoEvent>> onLassoSelectionProperty()
public final void setOnLassoSelection(EventHandler<LassoEvent> value)
public final EventHandler<LassoEvent> getOnLassoSelection()
public final ObjectProperty<EventHandler<LassoEvent>> onLassoSelectionStartedProperty()
public final void setOnLassoSelectionStarted(EventHandler<LassoEvent> value)
public final EventHandler<LassoEvent> getOnLassoSelectionStarted()
public final ObjectProperty<EventHandler<LassoEvent>> onLassoSelectionOngoingProperty()
public final void setOnLassoSelectionOngoing(EventHandler<LassoEvent> value)
public final EventHandler<LassoEvent> getOnLassoSelectionOngoing()
public final ObjectProperty<EventHandler<LassoEvent>> onLassoSelectionFinishedProperty()
public final void setOnLassoSelectionFinished(EventHandler<LassoEvent> value)
public final EventHandler<LassoEvent> getOnLassoSelectionFinished()
public final ReadOnlyObjectProperty<GraphicsBase.EditMode> editModeProperty()
setActivityEditingCallback(Class, Callback)
for
mapping mouse events to editing operations.getEditMode()
public final GraphicsBase.EditMode getEditMode()
editModeProperty()
.public final ObservableSet<Row<?,?,?>> getHighlightedRows()
setHighlightDelay(long)
public final ObservableSet<ActivityRef<?>> getHighlightedActivities()
setHighlightDelay(long)
public final LongProperty highlightDelayProperty()
getHighlightDelay()
,
setHighlightDelay(long)
public final void setHighlightDelay(long delay)
highlightDelayProperty()
.delay
- the highlight delay in millisecondspublic final long getHighlightDelay()
highlightDelayProperty()
.public final ReadOnlyBooleanProperty highlightedProperty()
isHighlighted()
public final boolean isHighlighted()
highlightedProperty()
.public final ObjectProperty<Callback<GraphicsBase.ContextMenuParameter<R>,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.getContextMenuCallback()
,
setContextMenuCallback(Callback)
public final void setContextMenuCallback(Callback<GraphicsBase.ContextMenuParameter<R>,ContextMenu> callback)
contextMenuCallbackProperty()
.callback
- a callback for creating a parameterized context menupublic final Callback<GraphicsBase.ContextMenuParameter<R>,ContextMenu> getContextMenuCallback()
contextMenuCallbackProperty()
.public final IntegerProperty extraPixelsProperty()
getExtraPixels()
,
setExtraPixels(int)
public final int getExtraPixels()
extraPixelsProperty()
.public final void setExtraPixels(int pixels)
extraPixelsProperty()
.pixels
- the number of extra pixels added to the visible areapublic final 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.getMaxGridLevel()
,
setMaxGridLevel(int)
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 BooleanProperty showVerticalCursorProperty()
isShowVerticalCursor()
,
setShowVerticalCursor(boolean)
public final boolean isShowVerticalCursor()
showVerticalCursorProperty()
.public final void setShowVerticalCursor(boolean show)
showVerticalCursorProperty()
.show
- if true a vertical cursor line will be shownpublic final BooleanProperty showHorizontalCursorProperty()
isShowHorizontalCursor()
,
setShowHorizontalCursor(boolean)
public final boolean isShowHorizontalCursor()
showHorizontalCursorProperty()
.public final void setShowHorizontalCursor(boolean show)
showHorizontalCursorProperty()
.show
- if true a horizontal cursor line will be shownpublic final BooleanProperty showMarkedTimeIntervalProperty()
isShowMarkedTimeInterval()
,
setShowMarkedTimeInterval(boolean)
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 BooleanProperty debugModeProperty()
isDebugMode()
,
setDebugMode(boolean)
public final boolean isDebugMode()
debugModeProperty()
.public final void setDebugMode(boolean debug)
debugModeProperty()
.debug
- if true the debug mode is enabledpublic final BooleanProperty autoGridEnabledProperty()
isAutoGridEnabled()
,
setAutoGridEnabled(boolean)
public final boolean isAutoGridEnabled()
autoGridEnabledProperty()
.public final void setAutoGridEnabled(boolean auto)
autoGridEnabledProperty()
.auto
- if true the autogrid mode is enabledpublic final ObjectProperty<GraphicsBase.SelectionMode> selectionModeProperty()
getSelectionMode()
,
setSelectionMode(SelectionMode)
public final GraphicsBase.SelectionMode getSelectionMode()
selectionModeProperty()
.public final void setSelectionMode(GraphicsBase.SelectionMode mode)
selectionModeProperty()
.mode
- the new selection modepublic final ObservableList<ActivityRef<?>> getSelectedActivities()
public final ObjectProperty<GraphicsBase.LassoSelectionBehaviour> lassoSelectionBehaviourProperty()
getLassoSelectionBehaviour()
,
setLassoSelectionBehaviour(LassoSelectionBehaviour)
public final void setLassoSelectionBehaviour(GraphicsBase.LassoSelectionBehaviour behaviour)
lassoSelectionBehaviourProperty()
.behaviour
- the lasso selection behaviour to usepublic final GraphicsBase.LassoSelectionBehaviour getLassoSelectionBehaviour()
lassoSelectionBehaviourProperty()
.public final 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 ReadOnlyObjectProperty<ActivityRef<?>> hoverActivityProperty()
getHoverActivity()
public final ActivityRef<?> getHoverActivity()
public final ReadOnlyObjectProperty<R> hoverRowProperty()
getHoverRow()
public final R getHoverRow()
public final ReadOnlyObjectProperty<ActivityRef<?>> editedActivityProperty()
getEditedActivity()
public final ActivityRef<?> getEditedActivity()
public final ReadOnlyObjectProperty<ActivityRef<?>> pressedActivityProperty()
getPressedActivity()
public final ActivityRef<?> getPressedActivity()
public final ObjectProperty<VirtualGrid<?>> virtualGridProperty()
getVirtualGrid()
,
setVirtualGrid(VirtualGrid)
public final VirtualGrid<?> getVirtualGrid()
public final void setVirtualGrid(VirtualGrid<?> grid)
public final ObservableList<VirtualGrid<?>> getVirtualGrids()
public final ObjectProperty<Node> placeholderProperty()
getPlaceholder()
,
setPlaceholder(Node)
public final Node getPlaceholder()
public final void setPlaceholder(Node node)
public final ObservableList<impl.com.flexganttfx.skin.graphics.RowPane<R>> getRowPanes()
public final void redraw()
public final <A extends Activity> void setActivityRenderer(Class<? extends A> activityType, Class<? extends Layout> layoutType, ActivityRenderer<? extends A> renderer)
public final <A extends Activity> ActivityRenderer<? extends A> getActivityRenderer(Class<? extends A> activityType, Class<? extends Layout> layoutType)
public final void setActivityEditingCallback(Class<? extends MutableActivity> activityType, Callback<GraphicsBase.EditingCallbackParameter,Boolean> callback)
activityType
- the type of the activity for which to use the callbackcallback
- the callbackpublic final <A extends Activity> Callback<GraphicsBase.EditingCallbackParameter,Boolean> getActivityEditingCallback(Class<A> activityType)
public final void setRowDragAndDropCallback(Class<? extends Row> rowType, Callback<GraphicsBase.DragAndDropInfo,Boolean> callback)
rowType
- the type of the row for which the callback gets registeredcallback
- the callback implementationpublic final Callback<GraphicsBase.DragAndDropInfo,Boolean> getRowDragAndDropCallback(Class<? extends Row> rowType)
rowType
- the type of the row for which the callback gets registeredpublic final ReadOnlyObjectProperty<GraphicsBase.DragAndDropInfo> dragAndDropInfoProperty()
getDragAndDropInfo()
public final GraphicsBase.DragAndDropInfo getDragAndDropInfo()
dragAndDropInfoProperty()
.public final ObjectProperty<Callback<ActivityRef<?>,Image>> dragImageProviderProperty()
public final void setDragImageProvider(Callback<ActivityRef<?>,Image> provider)
public final Callback<ActivityRef<?>,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 ObservableList<SystemLayer<R>> getBackgroundSystemLayers()
public final ObservableList<SystemLayer<R>> getForegroundSystemLayers()
public final BooleanProperty showAgendaLinesLayerProperty()
public final void setShowAgendaLinesLayer(boolean show)
public final boolean isShowAgendaLinesLayer()
public final BooleanProperty showCalendarLayerProperty()
public final void setShowCalendarLayer(boolean show)
public final boolean isShowCalendarLayer()
public final BooleanProperty showLayoutLayerProperty()
isShowLayoutLayer()
,
setShowLayoutLayer(boolean)
public final void setShowLayoutLayer(boolean show)
public final boolean isShowLayoutLayer()
public final BooleanProperty showChartLinesLayerProperty()
public final void setShowChartLinesLayer(boolean show)
public final boolean isShowChartLinesLayer()
public final BooleanProperty showGridLineLayerProperty()
public final void setShowGridLineLayer(boolean show)
public final boolean isShowGridLineLayer()
public final BooleanProperty showHoverTimeIntervalLayerProperty()
public final void setShowHoverTimeIntervalLayer(boolean show)
public final boolean isShowHoverTimeIntervalLayer()
public final BooleanProperty showInnerLinesLayerProperty()
public final void setShowInnerLinesLayer(boolean show)
public final boolean isShowInnerLinesLayer()
public final BooleanProperty showNowLineLayerProperty()
isShowNowLineLayer()
,
setShowNowLineLayer(boolean)
public final void setShowNowLineLayer(boolean show)
public final boolean isShowNowLineLayer()
public final BooleanProperty showRowLayerProperty()
isShowRowLayer()
,
setShowRowLayer(boolean)
public final void setShowRowLayer(boolean show)
public final boolean isShowRowLayer()
public final BooleanProperty showScaleLayerProperty()
isShowScaleLayer()
,
setShowScaleLayer(boolean)
public final void setShowScaleLayer(boolean show)
public final boolean isShowScaleLayer()
public final BooleanProperty showSelectedTimeIntervalsLayerProperty()
public final void setShowSelectedTimeIntervalsLayer(boolean show)
public final boolean isShowSelectedTimeIntervalsLayer()
public final BooleanProperty showZoomTimeIntervalLayerProperty()
public final void setShowZoomTimeIntervalLayer(boolean show)
public final boolean isShowZoomTimeIntervalLayer()
public final BooleanProperty showZoneIdProperty()
isShowZoneId()
,
setShowZoneId(boolean)
public final void setShowZoneId(boolean show)
public final boolean isShowZoneId()
public final BooleanProperty fadeInOutVisibilityChangesProperty()
public final boolean isFadeInOutVisibilityChanges()
public final void setFadeInOutVisibilityChanges(boolean show)
public final DoubleProperty fadeInOutVisibilityChangesDurationProperty()
public final double getFadeInOutVisibilityChangesDuration()
public final void setFadeInOutVisibilityChangesDuration(double duration)
public final ObjectProperty<GraphicsBase.DragAndDropFeedback> dragAndDropFeedbackProperty()
public final void setDragAndDropFeedback(GraphicsBase.DragAndDropFeedback feedback)
public final GraphicsBase.DragAndDropFeedback getDragAndDropFeedback()
public final ObjectProperty<Callback<GraphicsBase.RowControlsParameter<R>,Node>> rowControlsFactoryProperty()
public final void setRowControlsFactory(Callback<GraphicsBase.RowControlsParameter<R>,Node> factory)
public final Callback<GraphicsBase.RowControlsParameter<R>,Node> getRowControlsFactory()
public final ObjectProperty<Callback<GraphicsBase.RowEditorParameter<R>,Node>> rowEditorFactoryProperty()
public final void setRowEditorFactory(Callback<GraphicsBase.RowEditorParameter<R>,Node> factory)
public final Callback<GraphicsBase.RowEditorParameter<R>,Node> getRowEditorFactory()
public final ObjectProperty<GraphicsBase.RowEditingMode> rowEditingModeProperty()
public final void setRowEditingMode(GraphicsBase.RowEditingMode mode)
public final GraphicsBase.RowEditingMode getRowEditingMode()
public final ObservableList<R> getRowsEditing()
public final void stopRowEditing()
public final void stopRowEditing(R row)
public final void startRowEditing(R row)
public final BooleanProperty animateRowEditorProperty()
isAnimateRowEditor()
,
setAnimateRowEditor(boolean)
public final void setAnimateRowEditor(boolean animate)
public final boolean isAnimateRowEditor()
public final void setEditModeCallback(Class<? extends MutableActivity> activityType, Class<? extends Layout> layoutType, Callback<GraphicsBase.EditModeCallbackParameter,GraphicsBase.EditMode> callback)
public final Callback<GraphicsBase.EditModeCallbackParameter,GraphicsBase.EditMode> getEditModeCallback(Class<? extends MutableActivity> activityType, Class<? extends Layout> layoutType)
public final List<org.controlsfx.control.PropertySheet.Item> getPropertySheetItems()
Copyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.