Module com.flexganttfx.view
Class GraphicsBaseSkin<C extends GraphicsBase<R>,R extends Row<?,?,?>>
- java.lang.Object
-
- javafx.scene.control.SkinBase<C>
-
- impl.com.flexganttfx.skin.graphics.GraphicsBaseSkin<C,R>
-
- All Implemented Interfaces:
Skin<C>
- Direct Known Subclasses:
ListViewGraphicsSkin
,SingleRowGraphicsSkin
,SplitPaneGraphicsSkin
,VBoxGraphicsSkin
public abstract class GraphicsBaseSkin<C extends GraphicsBase<R>,R extends Row<?,?,?>> extends SkinBase<C>
-
-
Constructor Summary
Constructors Constructor Description GraphicsBaseSkin(C graphics)
-
Method Summary
-
Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
-
-
-
-
Constructor Detail
-
GraphicsBaseSkin
public GraphicsBaseSkin(C graphics)
-
-
Method Detail
-
getClippedContent
protected Node getClippedContent()
-
createDragCanvas
protected DragCanvas<R> createDragCanvas()
-
getDragCanvas
public final DragCanvas<R> getDragCanvas()
-
getLasso
protected final Rectangle getLasso()
-
createRowPaneRegion
protected abstract Region createRowPaneRegion()
-
findLassoSelectedActivities
protected abstract List<ActivityRef<?>> findLassoSelectedActivities()
-
createLassoInfo
protected final LassoEvent.LassoInfo createLassoInfo(MouseEvent evt)
-
getRowPane
protected final RowPane<R> getRowPane(ActivityRef<?> ref)
-
getRowCanvas
protected final RowCanvas<R> getRowCanvas(ActivityRef<?> ref)
-
getActivityBounds
protected final Rectangle2D getActivityBounds(ActivityRef<?> ref)
-
getActivityBoundsAt
public final ActivityBounds getActivityBoundsAt(double x, double y)
-
getActivityRefAt
public final ActivityRef<?> getActivityRefAt(double x, double y)
-
getAllActivityBoundsAt
public final List<ActivityBounds> getAllActivityBoundsAt(double x, double y)
-
getAllActivityRefsAt
public final List<ActivityRef<?>> getAllActivityRefsAt(double x, double y)
-
getAllCalendarActivitiesAt
public final List<CalendarActivity> getAllCalendarActivitiesAt(double x, double y)
-
getRowAt
public final R getRowAt(double y)
-
isRowAboveViewport
protected abstract boolean isRowAboveViewport(R row)
-
getLayoutAt
public final Layout getLayoutAt(double y)
-
getLayoutBoundsAt
protected final Rectangle2D getLayoutBoundsAt(double y)
-
getLocalTimeAt
public final LocalTime getLocalTimeAt(double y)
-
layoutChildren
protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)
- Overrides:
layoutChildren
in classSkinBase<C extends GraphicsBase<R>>
-
getTimeline
protected final Timeline getTimeline()
-
-