Klasse GraphicsBaseSkin<C extends GraphicsBase<R>, R extends Row<?,?,?> >
java.lang.Object
javafx.scene.control.SkinBase<C>
impl.com.flexganttfx.skin.graphics.GraphicsBaseSkin<C,R>
- Alle implementierten Schnittstellen:
Skin<C>
- Bekannte direkte Unterklassen:
ListViewGraphicsSkin, SingleRowGraphicsSkin, SplitPaneGraphicsSkin, VBoxGraphicsSkin
public abstract class GraphicsBaseSkin<C extends GraphicsBase<R>, R extends Row<?,?,?>>
extends SkinBase<C>
Abstract base skin for graphics controls. It installs the shared overlays, listeners,
cursors, keyboard handling, lasso selection, and drag feedback used by concrete graphics
skins.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGraphicsBaseSkin(C graphics) Constructs a new skin for the given graphics control. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected DragCanvas<R> Creates the drag canvas.protected final LassoEvent.LassoInfoCreates lasso information for the given mouse event.protected LinksCanvas<R> Creates the links canvas.protected abstract Regionprotected abstract List<ActivityRef<?>> final Rectangle2DgetActivityBounds(ActivityRef<?> ref) Returns the activity bounds for the given activity reference.final ActivityBoundsgetActivityBoundsAt(double x, double y) Returns the activity bounds at the given coordinates.final ActivityRef<?> getActivityRefAt(double x, double y) Returns the activity reference at the given coordinates.final List<ActivityBounds> getAllActivityBoundsAt(double x, double y) Returns all activity bounds at the given coordinates.final List<ActivityRef<?>> getAllActivityRefsAt(double x, double y) Returns all activity references at the given coordinates.final List<CalendarActivity> getAllCalendarActivitiesAt(double x, double y) Returns all calendar activities at the given coordinates.protected NodeReturns the clipped content node.final DragCanvas<R> Returns the drag canvas.protected final RectanglegetLasso()Returns the lasso rectangle.final LayoutgetLayoutAt(double y) Returns the layout at the given y coordinate.protected final Rectangle2DgetLayoutBoundsAt(double y) Returns the layout bounds at the given y coordinate.protected final LinksCanvas<R> Returns the links canvas.final LocalTimegetLocalTimeAt(double y) Returns the local time at the given y coordinate.final RgetRowAt(double y) Returns the row at the given y coordinate.getRowCanvas(ActivityRef<?> ref) Returns the row canvas for the given activity reference.getRowCanvasAt(double y) Returns the row canvas at the given y coordinate.protected doubleReturns the row header width.getRowPane(ActivityRef<?> ref) Returns the row pane for the given activity reference.getRowPaneAt(double y) protected final TimelineReturns the timeline control.protected abstract booleanisRowAboveViewport(R row) protected voidlayoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) Lays out the children of this skin.Von Klasse geerbte Methoden SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
-
Konstruktordetails
-
GraphicsBaseSkin
Constructs a new skin for the given graphics control.- Parameter:
graphics- the graphics control
-
-
Methodendetails
-
getClippedContent
Returns the clipped content node.- Gibt zurück:
- the clipped content node
-
createDragCanvas
-
createLinksCanvas
Creates the links canvas.- Gibt zurück:
- the links canvas
-
getDragCanvas
-
getLasso
-
getLinksCanvas
Returns the links canvas.- Gibt zurück:
- the links canvas
-
createRowPaneRegion
-
findLassoSelectedRows
-
findLassoSelectedActivities
-
createLassoInfo
Creates lasso information for the given mouse event.- Parameter:
evt- the mouse event- Gibt zurück:
- the lasso information
-
getRowPane
Returns the row pane for the given activity reference.- Parameter:
ref- the activity reference- Gibt zurück:
- the row pane for the activity reference
-
getRowCanvas
Returns the row canvas for the given activity reference.- Parameter:
ref- the activity reference- Gibt zurück:
- the row canvas for the activity reference
-
getActivityBounds
Returns the activity bounds for the given activity reference.- Parameter:
ref- the activity reference- Gibt zurück:
- the activity bounds for the activity reference
-
getActivityBoundsAt
Returns the activity bounds at the given coordinates.- Parameter:
x- the x coordinatey- the y coordinate- Gibt zurück:
- the activity bounds at the given coordinates
-
getActivityRefAt
Returns the activity reference at the given coordinates.- Parameter:
x- the x coordinatey- the y coordinate- Gibt zurück:
- the activity reference at the given coordinates
-
getAllActivityBoundsAt
Returns all activity bounds at the given coordinates.- Parameter:
x- the x coordinatey- the y coordinate- Gibt zurück:
- the activity bounds at the given coordinates
-
getAllActivityRefsAt
Returns all activity references at the given coordinates.- Parameter:
x- the x coordinatey- the y coordinate- Gibt zurück:
- the activity references at the given coordinates
-
getAllCalendarActivitiesAt
Returns all calendar activities at the given coordinates.- Parameter:
x- the x coordinatey- the y coordinate- Gibt zurück:
- the calendar activities at the given coordinates
-
getRowAt
Returns the row at the given y coordinate.- Parameter:
y- the y coordinate- Gibt zurück:
- the row at the given y coordinate
-
getRowPaneAt
-
isRowAboveViewport
-
getRowCanvasAt
-
getLayoutAt
Returns the layout at the given y coordinate.- Parameter:
y- the y coordinate- Gibt zurück:
- the layout at the given y coordinate
-
getLayoutBoundsAt
Returns the layout bounds at the given y coordinate.- Parameter:
y- the y coordinate- Gibt zurück:
- the layout bounds at the given y coordinate
-
getLocalTimeAt
Returns the local time at the given y coordinate.- Parameter:
y- the y coordinate- Gibt zurück:
- the local time at the given y coordinate
-
getRowHeaderWidth
protected double getRowHeaderWidth()Returns the row header width.- Gibt zurück:
- the row header width
-
layoutChildren
protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) Lays out the children of this skin.- Setzt außer Kraft:
layoutChildrenin KlasseSkinBase<C extends GraphicsBase<R>>- Parameter:
contentX- the content x coordinatecontentY- the content y coordinatecontentWidth- the content widthcontentHeight- the content height
-
getTimeline
Returns the timeline control.- Gibt zurück:
- the timeline control
-