Class 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
    • 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 interface org.refcodes.graphical.PixGridBannerPanel
      • moveNorthEast

        public void moveNorthEast​(int aSteps,
                                  int aStartDelayInMillis,
                                  int aEndDelayInMillis)
        Specified by:
        moveNorthEast in interface org.refcodes.graphical.PixGridBannerPanel
      • moveEast

        public void moveEast​(int aSteps,
                             int aStartDelayInMillis,
                             int aEndDelayInMillis)
        Specified by:
        moveEast in interface org.refcodes.graphical.PixGridBannerPanel
      • moveSouthEast

        public void moveSouthEast​(int aSteps,
                                  int aStartDelayInMillis,
                                  int aEndDelayInMillis)
        Specified by:
        moveSouthEast in interface org.refcodes.graphical.PixGridBannerPanel
      • moveSouth

        public void moveSouth​(int aSteps,
                              int aStartDelayInMillis,
                              int aEndDelayInMillis)
        Specified by:
        moveSouth in interface org.refcodes.graphical.PixGridBannerPanel
      • moveSouthWest

        public void moveSouthWest​(int aSteps,
                                  int aStartDelayInMillis,
                                  int aEndDelayInMillis)
        Specified by:
        moveSouthWest in interface org.refcodes.graphical.PixGridBannerPanel
      • moveWest

        public void moveWest​(int aSteps,
                             int aStartDelayInMillis,
                             int aEndDelayInMillis)
        Specified by:
        moveWest in interface org.refcodes.graphical.PixGridBannerPanel
      • moveNorthWest

        public void moveNorthWest​(int aSteps,
                                  int aStartDelayInMillis,
                                  int aEndDelayInMillis)
        Specified by:
        moveNorthWest in interface org.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 interface org.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 interface org.refcodes.graphical.PixGridBannerPanel
      • paintPixelAt

        protected void paintPixelAt​(org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder aFadeToColorMatrix,
                                    int aPosY,
                                    int aPosX,
                                    int aOffsetX,
                                    int aOffsetY,
                                    Color aInactiveColor)