Class FxPixGridBannerPanel
- java.lang.Object
-
- javafx.scene.Node
-
- javafx.scene.Parent
-
- javafx.scene.layout.Region
-
- javafx.scene.layout.Pane
-
- org.refcodes.graphical.ext.javafx.FxPixGridMatrixPanel
-
- org.refcodes.graphical.ext.javafx.FxPixGridBannerPanel
-
- All Implemented Interfaces:
Styleable
,EventTarget
,org.refcodes.graphical.PixGridBannerPanel
,org.refcodes.graphical.PixGridPanel
,org.refcodes.graphical.VisibleAccessor
,org.refcodes.graphical.VisibleAccessor.VisibleMutator
,org.refcodes.graphical.VisibleAccessor.VisibleProperty
,org.refcodes.mixin.Clearable
public class FxPixGridBannerPanel extends FxPixGridMatrixPanel implements org.refcodes.graphical.PixGridBannerPanel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.VisibleAccessor
org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B extends org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B>>, org.refcodes.graphical.VisibleAccessor.VisibleMutator, org.refcodes.graphical.VisibleAccessor.VisibleProperty
-
-
Field Summary
-
Fields inherited from class org.refcodes.graphical.ext.javafx.FxPixGridMatrixPanel
_inactivePixelColor, _rgbPixmapBuilder
-
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZE
-
Fields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT
-
-
Constructor Summary
Constructors Constructor Description FxPixGridBannerPanel(int aMatrixWidth, int aMatrixHeight, Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, Color aPixelBorderColor, Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)
FxPixGridBannerPanel(int aMatrixWidth, int aMatrixHeight, String aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, String aPixelBorderColor, String aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)
FxPixGridBannerPanel(int aMatrixWidth, int aMatrixHeight, Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, Color aPixelBorderColor, Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean aIsForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean aIsForceVerticalSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
moveEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
void
moveNorth(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
void
moveNorthEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
void
moveNorthWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
void
moveSouth(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
void
moveSouthEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
void
moveSouthWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
void
moveWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
protected void
paintPixelAt(org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder aFadeToColorMatrix, int aPosY, int aPosX, int aOffsetX, int aOffsetY, Color aInactiveColor)
void
rndFadeToPixmap(org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder aFadeToColorMatrix, int aOffsetX, int aOffsetY, float aPixelPropability, int aDelayMilliSec)
void
stepFadeToPixmap(org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder aFadeToColorMatrix, int aOffsetX, int aOffsetY, int aReplaceStepWidth, int aDelayMilliSec)
-
Methods inherited from class org.refcodes.graphical.ext.javafx.FxPixGridMatrixPanel
addBlankArea, addBlankArea, clear, clearBlankAreas, getBottomBorder, getColorAt, getHorizontalSpace, getInactivePixelColor, getLeftBorder, getMatrixDrawingHeight, getMatrixDrawingWidth, getMatrixHeight, getMatrixSize, getMatrixWidth, getPixelAt, getPixelHeight, getPixelShape, getPixelWidth, getPixmapOffsetX, getPixmapOffsetY, getPixmapSnapshot, getRgbPixmap, getRightBorder, getTopBorder, getVerticalSpace, isHorizontalWrapEnabled, isVerticalWrapEnabled, removeBlankArea, repaint, setColorAt, setPixelAtAt, setPixmapOffset, toFxColor, toFxColor, toFxColor, toRgbPixel
-
Methods inherited from class javafx.scene.layout.Pane
getChildren
-
Methods 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, widthProperty
-
Methods inherited from class javafx.scene.Parent
getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, layoutChildren, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
-
Methods 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, 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, 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, visibleProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.refcodes.graphical.PixGridPanel
addBlankArea, addBlankArea, clearBlankAreas, getBottomBorder, getHorizontalSpace, getInactivePixelColor, getLeftBorder, getMatrixDrawingHeight, getMatrixDrawingHeight, getMatrixDrawingWidth, getMatrixDrawingWidth, getMatrixHeight, getMatrixSize, getMatrixWidth, getPixelAt, getPixelHeight, getPixelShape, getPixelWidth, getPixmapOffsetX, getPixmapOffsetY, getPixmapSnapshot, getRgbPixmap, getRightBorder, getTopBorder, getVerticalSpace, isHorizontalWrapEnabled, isVerticalWrapEnabled, removeBlankArea, repaint, setPixelAtAt, setPixmapOffset
-
Methods inherited from interface javafx.css.Styleable
getStyleableNode
-
-
-
-
Constructor Detail
-
FxPixGridBannerPanel
public FxPixGridBannerPanel(int aMatrixWidth, int aMatrixHeight, Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, Color aPixelBorderColor, Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean aIsForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean aIsForceVerticalSpace)
-
FxPixGridBannerPanel
public FxPixGridBannerPanel(int aMatrixWidth, int aMatrixHeight, Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, Color aPixelBorderColor, Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)
-
FxPixGridBannerPanel
public FxPixGridBannerPanel(int aMatrixWidth, int aMatrixHeight, String aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, String aPixelBorderColor, String aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)
-
-
Method Detail
-
moveNorth
public void moveNorth(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
- Specified by:
moveNorth
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
moveNorthEast
public void moveNorthEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
- Specified by:
moveNorthEast
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
moveEast
public void moveEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
- Specified by:
moveEast
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
moveSouthEast
public void moveSouthEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
- Specified by:
moveSouthEast
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
moveSouth
public void moveSouth(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
- Specified by:
moveSouth
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
moveSouthWest
public void moveSouthWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
- Specified by:
moveSouthWest
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
moveWest
public void moveWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
- Specified by:
moveWest
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
moveNorthWest
public void moveNorthWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
- Specified by:
moveNorthWest
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
stepFadeToPixmap
public void stepFadeToPixmap(org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder aFadeToColorMatrix, int aOffsetX, int aOffsetY, int aReplaceStepWidth, int aDelayMilliSec)
- Specified by:
stepFadeToPixmap
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
rndFadeToPixmap
public void rndFadeToPixmap(org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder aFadeToColorMatrix, int aOffsetX, int aOffsetY, float aPixelPropability, int aDelayMilliSec)
- Specified by:
rndFadeToPixmap
in interfaceorg.refcodes.graphical.PixGridBannerPanel
-
paintPixelAt
protected void paintPixelAt(org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder aFadeToColorMatrix, int aPosY, int aPosX, int aOffsetX, int aOffsetY, Color aInactiveColor)
-
-