Class FxPixGridMatrixPane

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.layout.Pane
org.refcodes.graphical.ext.javafx.FxPixGridMatrixPane
All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget, org.refcodes.graphical.PixGridPane, org.refcodes.graphical.VisibleAccessor, org.refcodes.graphical.VisibleAccessor.VisibleMutator, org.refcodes.graphical.VisibleAccessor.VisibleProperty, org.refcodes.mixin.Clearable
Direct Known Subclasses:
FxPixGridBannerPanel

public class FxPixGridMatrixPane extends javafx.scene.layout.Pane implements org.refcodes.graphical.PixGridPane
The FxPixGridMatrixPane uses a Pane to project a PixGridPane in a JvaFx application.
  • 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, width

    Properties inherited from class javafx.scene.Parent

    needsLayout

    Properties 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, 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.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
    Modifier and Type
    Field
    Description
    protected javafx.scene.paint.Color
     
    protected org.refcodes.graphical.RgbPixmap.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
    FxPixGridMatrixPane(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)
    Instantiates a new FxPixGridMatrixPane.
    FxPixGridMatrixPane(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)
    Instantiates a new FxPixGridMatrixPane.
    FxPixGridMatrixPane(int aMatrixWidth, int aMatrixHeight, javafx.scene.paint.Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, javafx.scene.paint.Color aPixelBorderColor, javafx.scene.paint.Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)
    Instantiates a new FxPixGridMatrixPane.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addBlankArea(int aXPosition, int aYPosition, int aWidth, int aHeight)
    boolean
    addBlankArea(org.refcodes.graphical.Rectangle aRectangle)
    void
    void
    int
    javafx.scene.paint.Color
    getColorAt(int aXPos, int aYPos)
    Gets the Color at the given position.
    int
    org.refcodes.graphical.RgbColor
    int
    int
    getMatrixDrawingHeight(boolean isWithBorder, boolean isWithPixelSpace, boolean isWithPixelHeight)
    int
    getMatrixDrawingWidth(boolean isWithBorder, boolean isWithPixelSpace, boolean isWithPixelWidth)
    int
    org.refcodes.graphical.Dimension
    int
    org.refcodes.graphical.RgbPixel
    getPixelAt(int aXPos, int aYPos)
    int
    org.refcodes.graphical.PixelShape
    int
    int
    int
    org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder
    org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder
    int
    int
    int
    boolean
    boolean
    boolean
    removeBlankArea(org.refcodes.graphical.Rectangle aRectangle)
    void
    void
    setColorAt(javafx.scene.paint.Color aColor, int aPosX, int aPosY)
    Paints the Color at the given position.
    void
    setPixelAtAt(org.refcodes.graphical.RgbPixel aPixel, int aPosX, int aPosY)
    void
    setPixmapOffset(int aPosX, int aPosY)
    protected static javafx.scene.paint.Color
    toFxColor(Color aAwtColor)
     
    protected static javafx.scene.paint.Color
    toFxColor(String aWebColor)
     
    protected static javafx.scene.paint.Color
    toFxColor(org.refcodes.graphical.RgbPixel aPixel)
     
    protected static org.refcodes.graphical.RgbPixel
    toRgbPixel(javafx.scene.paint.Color aFxColor)
     

    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.PixGridPane

    getMatrixDrawingHeight, getMatrixDrawingWidth

    Methods inherited from interface javafx.css.Styleable

    getStyleableNode

    Methods inherited from interface org.refcodes.graphical.VisibleAccessor

    isVisible

    Methods inherited from interface org.refcodes.graphical.VisibleAccessor.VisibleMutator

    hide, setVisible, show

    Methods inherited from interface org.refcodes.graphical.VisibleAccessor.VisibleProperty

    letVisible
  • Field Details

    • _rgbPixmapBuilder

      protected org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder _rgbPixmapBuilder
    • _inactivePixelColor

      protected javafx.scene.paint.Color _inactivePixelColor
  • Constructor Details

    • FxPixGridMatrixPane

      public FxPixGridMatrixPane(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)
      Instantiates a new FxPixGridMatrixPane.
      Parameters:
      aMatrixWidth - the a matrix width
      aMatrixHeight - the a matrix height
      aBackgroundColor - the a background color
      aPixelWidth - the a pixel width
      aPixelHeight - the a pixel height
      aPixelShape - the a pixel shape
      aPixelBorderWidth - the a pixel border width
      aPixelBorderColor - the a pixel border color
      aInactivePixelColor - the a inactive pixel color
      aTopBorder - the a top border
      aBottomBorder - the a bottom border
      aLeftBorder - the a left border
      aRightBorder - the a right border
      aHorizontalSpace - the a horizontal space
      aPixelWidthToHorizontalSpaceRatio - the a pixel width to horizontal space ratio
      isForceHorizontalSpace - the is force horizontal space
      aVerticalSpace - the a vertical space
      aPixelHeightToVerticalSpaceRatio - the a pixel height to vertical space ratio
      isForceVerticalSpace - the is force vertical space
    • FxPixGridMatrixPane

      public FxPixGridMatrixPane(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)
      Instantiates a new FxPixGridMatrixPane.
      Parameters:
      aMatrixWidth - the a matrix width
      aMatrixHeight - the a matrix height
      aBackgroundColor - the a background color
      aPixelWidth - the a pixel width
      aPixelHeight - the a pixel height
      aPixelShape - the a pixel shape
      aPixelBorderWidth - the a pixel border width
      aPixelBorderColor - the a pixel border color
      aInactivePixelColor - the a inactive pixel color
      aTopBorder - the a top border
      aBottomBorder - the a bottom border
      aLeftBorder - the a left border
      aRightBorder - the a right border
      aHorizontalSpace - the a horizontal space
      aPixelWidthToHorizontalSpaceRatio - the a pixel width to horizontal space ratio
      isForceHorizontalSpace - the is force horizontal space
      aVerticalSpace - the a vertical space
      aPixelHeightToVerticalSpaceRatio - the a pixel height to vertical space ratio
      isForceVerticalSpace - the is force vertical space
    • FxPixGridMatrixPane

      public FxPixGridMatrixPane(int aMatrixWidth, int aMatrixHeight, javafx.scene.paint.Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, javafx.scene.paint.Color aPixelBorderColor, javafx.scene.paint.Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)
      Instantiates a new FxPixGridMatrixPane.
      Parameters:
      aMatrixWidth - the a matrix width
      aMatrixHeight - the a matrix height
      aBackgroundColor - the a background color
      aPixelWidth - the a pixel width
      aPixelHeight - the a pixel height
      aPixelShape - the a pixel shape
      aPixelBorderWidth - the a pixel border width
      aPixelBorderColor - the a pixel border color
      aInactivePixelColor - the a inactive pixel color
      aTopBorder - the a top border
      aBottomBorder - the a bottom border
      aLeftBorder - the a left border
      aRightBorder - the a right border
      aHorizontalSpace - the a horizontal space
      aPixelWidthToHorizontalSpaceRatio - the a pixel width to horizontal space ratio
      isForceHorizontalSpace - the is force horizontal space
      aVerticalSpace - the a vertical space
      aPixelHeightToVerticalSpaceRatio - the a pixel height to vertical space ratio
      isForceVerticalSpace - the is force vertical space
  • Method Details

    • getColorAt

      public javafx.scene.paint.Color getColorAt(int aXPos, int aYPos) throws IndexOutOfBoundsException
      Gets the Color at the given position.
      Parameters:
      aXPos - the a X pos
      aYPos - the a Y pos
      Returns:
      the Color at the given position
      Throws:
      IndexOutOfBoundsException - the index out of bounds exception
    • getPixelAt

      public org.refcodes.graphical.RgbPixel getPixelAt(int aXPos, int aYPos) throws IndexOutOfBoundsException
      Specified by:
      getPixelAt in interface org.refcodes.graphical.PixGridPane
      Throws:
      IndexOutOfBoundsException
    • getTopBorder

      public int getTopBorder()
      Specified by:
      getTopBorder in interface org.refcodes.graphical.PixGridPane
    • getBottomBorder

      public int getBottomBorder()
      Specified by:
      getBottomBorder in interface org.refcodes.graphical.PixGridPane
    • getLeftBorder

      public int getLeftBorder()
      Specified by:
      getLeftBorder in interface org.refcodes.graphical.PixGridPane
    • getRightBorder

      public int getRightBorder()
      Specified by:
      getRightBorder in interface org.refcodes.graphical.PixGridPane
    • getHorizontalSpace

      public int getHorizontalSpace()
      Specified by:
      getHorizontalSpace in interface org.refcodes.graphical.PixGridPane
    • getVerticalSpace

      public int getVerticalSpace()
      Specified by:
      getVerticalSpace in interface org.refcodes.graphical.PixGridPane
    • getPixelWidth

      public int getPixelWidth()
      Specified by:
      getPixelWidth in interface org.refcodes.graphical.PixGridPane
    • getPixelHeight

      public int getPixelHeight()
      Specified by:
      getPixelHeight in interface org.refcodes.graphical.PixGridPane
    • getMatrixDrawingWidth

      public int getMatrixDrawingWidth(boolean isWithBorder, boolean isWithPixelSpace, boolean isWithPixelWidth)
      Specified by:
      getMatrixDrawingWidth in interface org.refcodes.graphical.PixGridPane
    • getMatrixDrawingHeight

      public int getMatrixDrawingHeight(boolean isWithBorder, boolean isWithPixelSpace, boolean isWithPixelHeight)
      Specified by:
      getMatrixDrawingHeight in interface org.refcodes.graphical.PixGridPane
    • getRgbPixmap

      public org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder getRgbPixmap()
      Specified by:
      getRgbPixmap in interface org.refcodes.graphical.PixGridPane
    • getPixmapOffsetX

      public int getPixmapOffsetX()
      Specified by:
      getPixmapOffsetX in interface org.refcodes.graphical.PixGridPane
    • getPixmapOffsetY

      public int getPixmapOffsetY()
      Specified by:
      getPixmapOffsetY in interface org.refcodes.graphical.PixGridPane
    • isHorizontalWrapEnabled

      public boolean isHorizontalWrapEnabled()
      Specified by:
      isHorizontalWrapEnabled in interface org.refcodes.graphical.PixGridPane
    • isVerticalWrapEnabled

      public boolean isVerticalWrapEnabled()
      Specified by:
      isVerticalWrapEnabled in interface org.refcodes.graphical.PixGridPane
    • getMatrixWidth

      public int getMatrixWidth()
      Specified by:
      getMatrixWidth in interface org.refcodes.graphical.PixGridPane
    • getMatrixHeight

      public int getMatrixHeight()
      Specified by:
      getMatrixHeight in interface org.refcodes.graphical.PixGridPane
    • getMatrixSize

      public org.refcodes.graphical.Dimension getMatrixSize()
      Specified by:
      getMatrixSize in interface org.refcodes.graphical.PixGridPane
    • getInactivePixelColor

      public org.refcodes.graphical.RgbColor getInactivePixelColor()
      Specified by:
      getInactivePixelColor in interface org.refcodes.graphical.PixGridPane
    • clear

      public void clear()
      Specified by:
      clear in interface org.refcodes.mixin.Clearable
    • getPixelShape

      public org.refcodes.graphical.PixelShape getPixelShape()
      Specified by:
      getPixelShape in interface org.refcodes.graphical.PixGridPane
    • addBlankArea

      public boolean addBlankArea(int aXPosition, int aYPosition, int aWidth, int aHeight)
      Specified by:
      addBlankArea in interface org.refcodes.graphical.PixGridPane
    • addBlankArea

      public boolean addBlankArea(org.refcodes.graphical.Rectangle aRectangle)
      Specified by:
      addBlankArea in interface org.refcodes.graphical.PixGridPane
    • removeBlankArea

      public boolean removeBlankArea(org.refcodes.graphical.Rectangle aRectangle)
      Specified by:
      removeBlankArea in interface org.refcodes.graphical.PixGridPane
    • clearBlankAreas

      public void clearBlankAreas()
      Specified by:
      clearBlankAreas in interface org.refcodes.graphical.PixGridPane
    • getPixmapSnapshot

      public org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder getPixmapSnapshot()
      Specified by:
      getPixmapSnapshot in interface org.refcodes.graphical.PixGridPane
    • setPixmapOffset

      public void setPixmapOffset(int aPosX, int aPosY)
      Specified by:
      setPixmapOffset in interface org.refcodes.graphical.PixGridPane
    • setColorAt

      public void setColorAt(javafx.scene.paint.Color aColor, int aPosX, int aPosY)
      Paints the Color at the given position.
      Parameters:
      aColor - the Color for the pixel at the given position.
      aPosX - the x position
      aPosY - the y position
    • setPixelAtAt

      public void setPixelAtAt(org.refcodes.graphical.RgbPixel aPixel, int aPosX, int aPosY)
      Specified by:
      setPixelAtAt in interface org.refcodes.graphical.PixGridPane
    • repaint

      public void repaint()
      Specified by:
      repaint in interface org.refcodes.graphical.PixGridPane
    • toFxColor

      protected static javafx.scene.paint.Color toFxColor(org.refcodes.graphical.RgbPixel aPixel)
    • toFxColor

      protected static javafx.scene.paint.Color toFxColor(Color aAwtColor)
    • toFxColor

      protected static javafx.scene.paint.Color toFxColor(String aWebColor)
    • toRgbPixel

      protected static org.refcodes.graphical.RgbPixel toRgbPixel(javafx.scene.paint.Color aFxColor)