Class AbstractFxGridViewportPane<B extends AbstractFxGridViewportPane<B>>
java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.layout.Pane
org.refcodes.graphical.ext.javafx.AbstractFxGridViewportPane<B>
- All Implemented Interfaces:
javafx.css.Styleable,javafx.event.EventTarget,org.refcodes.graphical.DragOpacityAccessor,org.refcodes.graphical.DragOpacityAccessor.DragOpacityBuilder<B>,org.refcodes.graphical.DragOpacityAccessor.DragOpacityMutator,org.refcodes.graphical.DragOpacityAccessor.DragOpacityProperty,org.refcodes.graphical.FieldDimension,org.refcodes.graphical.FieldDimension.FieldDimensionAccessor,org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<B>,org.refcodes.graphical.FieldDimension.FieldDimensionMutator,org.refcodes.graphical.FieldDimension.FieldDimensionProperty,org.refcodes.graphical.FieldGapAccessor,org.refcodes.graphical.FieldGapAccessor.FieldGapBuilder<B>,org.refcodes.graphical.FieldGapAccessor.FieldGapMutator,org.refcodes.graphical.FieldGapAccessor.FieldGapProperty,org.refcodes.graphical.FieldHeightAccessor,org.refcodes.graphical.FieldHeightAccessor.FieldHeightBuilder<B>,org.refcodes.graphical.FieldHeightAccessor.FieldHeightMutator,org.refcodes.graphical.FieldHeightAccessor.FieldHeightProperty,org.refcodes.graphical.FieldWidthAccessor,org.refcodes.graphical.FieldWidthAccessor.FieldWidthBuilder<B>,org.refcodes.graphical.FieldWidthAccessor.FieldWidthMutator,org.refcodes.graphical.FieldWidthAccessor.FieldWidthProperty,org.refcodes.graphical.GridModeAccessor,org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B>,org.refcodes.graphical.GridModeAccessor.GridModeMutator,org.refcodes.graphical.GridModeAccessor.GridModeProperty,org.refcodes.graphical.GridViewportPane<javafx.scene.Node,,B> org.refcodes.graphical.MoveModeAccessor,org.refcodes.graphical.MoveModeAccessor.MoveModeBuilder<B>,org.refcodes.graphical.MoveModeAccessor.MoveModeMutator,org.refcodes.graphical.MoveModeAccessor.MoveModeProperty,org.refcodes.graphical.ViewportDimension,org.refcodes.graphical.ViewportDimension.ViewportDimensionAccessor,org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<B>,org.refcodes.graphical.ViewportDimension.ViewportDimensionMutator,org.refcodes.graphical.ViewportDimension.ViewportDimensionProperty,org.refcodes.graphical.ViewportHeightAccessor,org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<B>,org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightMutator,org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightProperty,org.refcodes.graphical.ViewportOffset,org.refcodes.graphical.ViewportOffset.ViewportOffsetAccessor,org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<B>,org.refcodes.graphical.ViewportOffset.ViewportOffsetMutator,org.refcodes.graphical.ViewportOffset.ViewportOffsetProperty,org.refcodes.graphical.ViewportOffsetXAccessor,org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<B>,org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXMutator,org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXProperty,org.refcodes.graphical.ViewportOffsetYAccessor,org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<B>,org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYMutator,org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYProperty,org.refcodes.graphical.ViewportWidthAccessor,org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<B>,org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthMutator,org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthProperty
- Direct Known Subclasses:
FxGridViewportPane
public abstract class AbstractFxGridViewportPane<B extends AbstractFxGridViewportPane<B>>
extends javafx.scene.layout.Pane
implements org.refcodes.graphical.GridViewportPane<javafx.scene.Node,B>
The
AbstractFxGridViewportPane is an abstract implementation of the
GridViewportPane interface.
Use the List.add(Object) method of Pane.getChildren()
to add sprites. You may want to make sure the initial sprites' position
matches the grid.-
Property Summary
Properties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, focusVisible, focusWithin, hover, id, 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, viewOrder, visible -
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.graphical.DragOpacityAccessor
org.refcodes.graphical.DragOpacityAccessor.DragOpacityBuilder<B extends org.refcodes.graphical.DragOpacityAccessor.DragOpacityBuilder<B>>, org.refcodes.graphical.DragOpacityAccessor.DragOpacityMutator, org.refcodes.graphical.DragOpacityAccessor.DragOpacityPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.FieldDimension
org.refcodes.graphical.FieldDimension.FieldDimensionAccessor, org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<B extends org.refcodes.graphical.FieldDimension.FieldDimensionBuilder<B>>, org.refcodes.graphical.FieldDimension.FieldDimensionMutator, org.refcodes.graphical.FieldDimension.FieldDimensionPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.FieldGapAccessor
org.refcodes.graphical.FieldGapAccessor.FieldGapBuilder<B extends org.refcodes.graphical.FieldGapAccessor.FieldGapBuilder<B>>, org.refcodes.graphical.FieldGapAccessor.FieldGapMutator, org.refcodes.graphical.FieldGapAccessor.FieldGapPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.FieldHeightAccessor
org.refcodes.graphical.FieldHeightAccessor.FieldHeightBuilder<B extends org.refcodes.graphical.FieldHeightAccessor.FieldHeightBuilder<B>>, org.refcodes.graphical.FieldHeightAccessor.FieldHeightMutator, org.refcodes.graphical.FieldHeightAccessor.FieldHeightPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.FieldWidthAccessor
org.refcodes.graphical.FieldWidthAccessor.FieldWidthBuilder<B extends org.refcodes.graphical.FieldWidthAccessor.FieldWidthBuilder<B>>, org.refcodes.graphical.FieldWidthAccessor.FieldWidthMutator, org.refcodes.graphical.FieldWidthAccessor.FieldWidthPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.GridModeAccessor
org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B extends org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B>>, org.refcodes.graphical.GridModeAccessor.GridModeMutator, org.refcodes.graphical.GridModeAccessor.GridModePropertyNested classes/interfaces inherited from interface org.refcodes.graphical.MoveModeAccessor
org.refcodes.graphical.MoveModeAccessor.MoveModeBuilder<B extends org.refcodes.graphical.MoveModeAccessor.MoveModeBuilder<B>>, org.refcodes.graphical.MoveModeAccessor.MoveModeMutator, org.refcodes.graphical.MoveModeAccessor.MoveModePropertyNested classes/interfaces inherited from interface org.refcodes.graphical.ViewportDimension
org.refcodes.graphical.ViewportDimension.ViewportDimensionAccessor, org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<B extends org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<B>>, org.refcodes.graphical.ViewportDimension.ViewportDimensionMutator, org.refcodes.graphical.ViewportDimension.ViewportDimensionPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.ViewportHeightAccessor
org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<B extends org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<B>>, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightMutator, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.ViewportOffset
org.refcodes.graphical.ViewportOffset.ViewportOffsetAccessor, org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<B extends org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<B>>, org.refcodes.graphical.ViewportOffset.ViewportOffsetMutator, org.refcodes.graphical.ViewportOffset.ViewportOffsetPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.ViewportOffsetXAccessor
org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<B extends org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<B>>, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXMutator, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.ViewportOffsetYAccessor
org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<B extends org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<B>>, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYMutator, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYPropertyNested classes/interfaces inherited from interface org.refcodes.graphical.ViewportWidthAccessor
org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<B extends org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<B>>, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthMutator, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthProperty -
Field Summary
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZEFields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor of theAbstractFxGridViewportPane.AbstractFxGridViewportPane(BiConsumer<Integer, Integer> aMouseClickedListener) Constructor of theAbstractFxGridViewportPanenotifying the provided listener upon mouser clicks (alongside the position in the grid of the click). -
Method Summary
Modifier and TypeMethodDescriptionprotected javafx.scene.NodedoubleintGets the drag viewport duration in milliseconds.intintintorg.refcodes.graphical.GridModeorg.refcodes.graphical.MoveModeintGets the move viewport duration in milliseconds.intintintintprotected voidonMouseClicked(BiConsumer<Integer, Integer> aMouseClickedListener) Sets the listener being notified upon mouse clicks (alongside the position in the grid of the click).voidsetDragOpacity(double aOpacity) voidsetDragViewportDurationMillis(int aDragViewportDurationMillis) Sets the drag viewport duration in milliseconds.voidsetFieldDimension(int aWidth, int aHeight) voidsetFieldDimension(int aWidth, int aHeight, int aGap) voidsetFieldDimension(org.refcodes.graphical.Dimension aDimension) voidsetFieldDimension(org.refcodes.graphical.FieldDimension aDimension) voidsetFieldGap(int aGap) voidsetFieldHeight(int aHeight) voidsetFieldWidth(int aWidth) voidsetGridMode(org.refcodes.graphical.GridMode aGridMode) voidsetMoveMode(org.refcodes.graphical.MoveMode aMoveMode) voidsetMoveViewportDurationMillis(int aMoveViewportDurationMillis) Sets the move viewport duration in milliseconds.protected voidsetRoot(javafx.scene.Node aContent) voidsetViewportDimension(int aWidth, int aHeight) voidsetViewportDimension(org.refcodes.graphical.Dimension aDimension) voidsetViewportDimension(org.refcodes.graphical.ViewportDimension aDimension) voidsetViewportHeight(int aHeight) voidsetViewportOffset(int aOffsetX, int aOffsetY) voidsetViewportOffset(org.refcodes.graphical.Offset aOffset) voidsetViewportOffset(org.refcodes.graphical.Position aOffset) voidsetViewportOffset(org.refcodes.graphical.ViewportOffset aOffset) voidsetViewportOffsetX(int aOffsetX) voidsetViewportOffsetY(int aOffsetY) voidsetViewportWidth(int aWidth) withDragViewportDurationMillis(int aDragViewportDurationMillis) With drag viewport duration in milliseconds.withMoveViewportDurationMillis(int aMoveViewportDurationMillis) With move viewport duration in milliseconds.Methods inherited from class javafx.scene.layout.Pane
getChildrenMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, getBackground, getBorder, getClassCssMetaData, getCssMetaData, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isResizable, 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, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, layoutChildren, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsMethods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, focusVisibleProperty, focusWithinProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, 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, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isFocusVisible, isFocusWithin, 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, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.graphical.DragOpacityAccessor.DragOpacityBuilder
withDragOpacityMethods inherited from interface org.refcodes.graphical.DragOpacityAccessor.DragOpacityProperty
letDragOpacityMethods inherited from interface org.refcodes.graphical.FieldDimension.FieldDimensionBuilder
withFieldDimension, withFieldDimension, withFieldDimension, withFieldDimensionMethods inherited from interface org.refcodes.graphical.FieldDimension.FieldDimensionProperty
letFieldDimension, letFieldDimension, letFieldDimension, letFieldDimensionMethods inherited from interface org.refcodes.graphical.FieldGapAccessor.FieldGapBuilder
withFieldGapMethods inherited from interface org.refcodes.graphical.FieldGapAccessor.FieldGapProperty
letFieldGapMethods inherited from interface org.refcodes.graphical.FieldHeightAccessor.FieldHeightBuilder
withFieldHeightMethods inherited from interface org.refcodes.graphical.FieldHeightAccessor.FieldHeightProperty
letFieldHeightMethods inherited from interface org.refcodes.graphical.FieldWidthAccessor.FieldWidthBuilder
withFieldWidthMethods inherited from interface org.refcodes.graphical.FieldWidthAccessor.FieldWidthProperty
letFieldWidthMethods inherited from interface org.refcodes.graphical.GridModeAccessor.GridModeBuilder
withGridModeMethods inherited from interface org.refcodes.graphical.GridModeAccessor.GridModeProperty
letGridModeMethods inherited from interface org.refcodes.graphical.MoveModeAccessor.MoveModeBuilder
withMoveModeMethods inherited from interface org.refcodes.graphical.MoveModeAccessor.MoveModeProperty
letMoveModeMethods inherited from interface javafx.css.Styleable
getStyleableNodeMethods inherited from interface org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder
withViewportDimension, withViewportDimension, withViewportDimensionMethods inherited from interface org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder
withViewportHeightMethods inherited from interface org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightProperty
letViewportHeightMethods inherited from interface org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder
withViewportOffset, withViewportOffset, withViewportOffset, withViewportOffsetMethods inherited from interface org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder
withViewportOffsetXMethods inherited from interface org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXProperty
letViewportOffsetXMethods inherited from interface org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder
withViewportOffsetYMethods inherited from interface org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYProperty
letViewportOffsetYMethods inherited from interface org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder
withViewportWidthMethods inherited from interface org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthProperty
letViewportWidth
-
Constructor Details
-
AbstractFxGridViewportPane
public AbstractFxGridViewportPane()Default constructor of theAbstractFxGridViewportPane. -
AbstractFxGridViewportPane
Constructor of theAbstractFxGridViewportPanenotifying the provided listener upon mouser clicks (alongside the position in the grid of the click).- Parameters:
aMouseClickedListener- The listener being provided with the grid positions of where the mouse was clicked.
-
-
Method Details
-
getViewportOffsetX
public int getViewportOffsetX()- Specified by:
getViewportOffsetXin interfaceorg.refcodes.graphical.ViewportOffsetXAccessor
-
getViewportOffsetY
public int getViewportOffsetY()- Specified by:
getViewportOffsetYin interfaceorg.refcodes.graphical.ViewportOffsetYAccessor
-
setViewportOffsetX
public void setViewportOffsetX(int aOffsetX) - Specified by:
setViewportOffsetXin interfaceorg.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXMutator
-
setViewportOffsetY
public void setViewportOffsetY(int aOffsetY) - Specified by:
setViewportOffsetYin interfaceorg.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYMutator
-
setViewportOffset
public void setViewportOffset(org.refcodes.graphical.ViewportOffset aOffset) - Specified by:
setViewportOffsetin interfaceorg.refcodes.graphical.ViewportOffset.ViewportOffsetMutator
-
setViewportOffset
public void setViewportOffset(org.refcodes.graphical.Offset aOffset) - Specified by:
setViewportOffsetin interfaceorg.refcodes.graphical.ViewportOffset.ViewportOffsetMutator
-
setViewportOffset
public void setViewportOffset(org.refcodes.graphical.Position aOffset) - Specified by:
setViewportOffsetin interfaceorg.refcodes.graphical.ViewportOffset.ViewportOffsetMutator
-
getViewportWidth
public int getViewportWidth()- Specified by:
getViewportWidthin interfaceorg.refcodes.graphical.ViewportWidthAccessor
-
getViewportHeight
public int getViewportHeight()- Specified by:
getViewportHeightin interfaceorg.refcodes.graphical.ViewportHeightAccessor
-
setViewportWidth
public void setViewportWidth(int aWidth) - Specified by:
setViewportWidthin interfaceorg.refcodes.graphical.ViewportWidthAccessor.ViewportWidthMutator
-
setViewportHeight
public void setViewportHeight(int aHeight) - Specified by:
setViewportHeightin interfaceorg.refcodes.graphical.ViewportHeightAccessor.ViewportHeightMutator
-
setViewportDimension
public void setViewportDimension(org.refcodes.graphical.ViewportDimension aDimension) - Specified by:
setViewportDimensionin interfaceorg.refcodes.graphical.ViewportDimension.ViewportDimensionMutator
-
setViewportDimension
public void setViewportDimension(org.refcodes.graphical.Dimension aDimension) - Specified by:
setViewportDimensionin interfaceorg.refcodes.graphical.ViewportDimension.ViewportDimensionMutator
-
setViewportDimension
public void setViewportDimension(int aWidth, int aHeight) - Specified by:
setViewportDimensionin interfaceorg.refcodes.graphical.ViewportDimension.ViewportDimensionMutator
-
getFieldWidth
public int getFieldWidth()- Specified by:
getFieldWidthin interfaceorg.refcodes.graphical.FieldWidthAccessor
-
getFieldHeight
public int getFieldHeight()- Specified by:
getFieldHeightin interfaceorg.refcodes.graphical.FieldHeightAccessor
-
getFieldGap
public int getFieldGap()- Specified by:
getFieldGapin interfaceorg.refcodes.graphical.FieldGapAccessor
-
setFieldWidth
public void setFieldWidth(int aWidth) - Specified by:
setFieldWidthin interfaceorg.refcodes.graphical.FieldWidthAccessor.FieldWidthMutator
-
setFieldHeight
public void setFieldHeight(int aHeight) - Specified by:
setFieldHeightin interfaceorg.refcodes.graphical.FieldHeightAccessor.FieldHeightMutator
-
setFieldDimension
public void setFieldDimension(org.refcodes.graphical.FieldDimension aDimension) - Specified by:
setFieldDimensionin interfaceorg.refcodes.graphical.FieldDimension.FieldDimensionMutator
-
setFieldDimension
public void setFieldDimension(org.refcodes.graphical.Dimension aDimension) - Specified by:
setFieldDimensionin interfaceorg.refcodes.graphical.FieldDimension.FieldDimensionMutator
-
getDragOpacity
public double getDragOpacity()- Specified by:
getDragOpacityin interfaceorg.refcodes.graphical.DragOpacityAccessor
-
getMoveMode
public org.refcodes.graphical.MoveMode getMoveMode()- Specified by:
getMoveModein interfaceorg.refcodes.graphical.MoveModeAccessor
-
getGridMode
public org.refcodes.graphical.GridMode getGridMode()- Specified by:
getGridModein interfaceorg.refcodes.graphical.GridModeAccessor
-
setGridMode
public void setGridMode(org.refcodes.graphical.GridMode aGridMode) - Specified by:
setGridModein interfaceorg.refcodes.graphical.GridModeAccessor.GridModeMutator
-
setDragOpacity
public void setDragOpacity(double aOpacity) - Specified by:
setDragOpacityin interfaceorg.refcodes.graphical.DragOpacityAccessor.DragOpacityMutator
-
setFieldDimension
public void setFieldDimension(int aWidth, int aHeight) - Specified by:
setFieldDimensionin interfaceorg.refcodes.graphical.FieldDimension.FieldDimensionMutator
-
setFieldDimension
public void setFieldDimension(int aWidth, int aHeight, int aGap) - Specified by:
setFieldDimensionin interfaceorg.refcodes.graphical.FieldDimension.FieldDimensionMutator
-
setFieldGap
public void setFieldGap(int aGap) - Specified by:
setFieldGapin interfaceorg.refcodes.graphical.FieldGapAccessor.FieldGapMutator
-
setMoveMode
public void setMoveMode(org.refcodes.graphical.MoveMode aMoveMode) - Specified by:
setMoveModein interfaceorg.refcodes.graphical.MoveModeAccessor.MoveModeMutator
-
setViewportOffset
public void setViewportOffset(int aOffsetX, int aOffsetY) - Specified by:
setViewportOffsetin interfaceorg.refcodes.graphical.ViewportOffset.ViewportOffsetMutator
-
getMoveViewportDurationMillis
public int getMoveViewportDurationMillis()Gets the move viewport duration in milliseconds.- Returns:
- the move viewport duration in milliseconds
-
setMoveViewportDurationMillis
public void setMoveViewportDurationMillis(int aMoveViewportDurationMillis) Sets the move viewport duration in milliseconds.- Parameters:
aMoveViewportDurationMillis- the new move viewport duration in milliseconds
-
withMoveViewportDurationMillis
public AbstractFxGridViewportPane<B> withMoveViewportDurationMillis(int aMoveViewportDurationMillis) With move viewport duration in milliseconds.- Parameters:
aMoveViewportDurationMillis- the move viewport duration in milliseconds- Returns:
- this instance as of the builder pattern.
-
getDragViewportDurationMillis
public int getDragViewportDurationMillis()Gets the drag viewport duration in milliseconds.- Returns:
- the drag viewport duration in milliseconds
-
setDragViewportDurationMillis
public void setDragViewportDurationMillis(int aDragViewportDurationMillis) Sets the drag viewport duration in milliseconds.- Parameters:
aDragViewportDurationMillis- the new drag viewport duration in milliseconds
-
withDragViewportDurationMillis
public AbstractFxGridViewportPane<B> withDragViewportDurationMillis(int aDragViewportDurationMillis) With drag viewport duration in milliseconds.- Parameters:
aDragViewportDurationMillis- the drag viewport duration in milliseconds- Returns:
- this instance as of the builder pattern.
-
onMouseClicked
Sets the listener being notified upon mouse clicks (alongside the position in the grid of the click).- Parameters:
aMouseClickedListener- The listener being provided with the grid positions of where the mouse was clicked.
-
getContent
protected javafx.scene.Node getContent() -
setRoot
protected void setRoot(javafx.scene.Node aContent)
-