-
- All Superinterfaces:
org.refcodes.mixin.Clearable
,PixGridPanel
,VisibleAccessor
,VisibleAccessor.VisibleMutator
,VisibleAccessor.VisibleProperty
public interface PixGridBannerPanel extends PixGridPanel
ThePixGridBannerPanel
extends thePixGridPanel
and manages aRgbPixmap
to be painted on a grid panel (such as an LED matrix) and moved or faded over that grid panel. The panel is divided into pixels of a defined x and y position, a defined size and definedPixelShape
. The underlyingRgbPixmap
is projected onto that grid pane by applying any of the various operations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.VisibleAccessor
VisibleAccessor.VisibleBuilder<B extends VisibleAccessor.VisibleBuilder<B>>, VisibleAccessor.VisibleMutator, VisibleAccessor.VisibleProperty
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
moveEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the east.void
moveNorth(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the north.void
moveNorthEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the north east.void
moveNorthWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the north west.void
moveSouth(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the south.void
moveSouthEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the south east.void
moveSouthWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the south west.void
moveWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the west.void
rndFadeToPixmap(RgbPixmap.RgbPixmapBuilder aFadeToPixmap, int aOffsetX, int aOffsetY, float aPixelPropability, int aPixelDelayMillis)
Rnd fade to pixmap.void
stepFadeToPixmap(RgbPixmap.RgbPixmapBuilder aFadeToPixmap, int aOffsetX, int aOffsetY, int aStepWidth, int aPixelDelayMillis)
Step fade to pixmap.-
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 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
-
-
-
-
Method Detail
-
moveNorth
void moveNorth(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the north.- Parameters:
aSteps
- the a stepsaStartDelayInMillis
- the a start delay in millisecondsaEndDelayInMillis
- the a end delay in milliseconds
-
moveNorthEast
void moveNorthEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the north east.- Parameters:
aSteps
- the a stepsaStartDelayInMillis
- the a start delay in millisecondsaEndDelayInMillis
- the a end delay in milliseconds
-
moveEast
void moveEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the east.- Parameters:
aSteps
- the a stepsaStartDelayInMillis
- the a start delay in millisecondsaEndDelayInMillis
- the a end delay in milliseconds
-
moveSouthEast
void moveSouthEast(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the south east.- Parameters:
aSteps
- the a stepsaStartDelayInMillis
- the a start delay in millisecondsaEndDelayInMillis
- the a end delay in milliseconds
-
moveSouth
void moveSouth(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the south.- Parameters:
aSteps
- the a stepsaStartDelayInMillis
- the a start delay in millisecondsaEndDelayInMillis
- the a end delay in milliseconds
-
moveSouthWest
void moveSouthWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the south west.- Parameters:
aSteps
- the a stepsaStartDelayInMillis
- the a start delay in millisecondsaEndDelayInMillis
- the a end delay in milliseconds
-
moveWest
void moveWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the west.- Parameters:
aSteps
- the a stepsaStartDelayInMillis
- the a start delay in millisecondsaEndDelayInMillis
- the a end delay in milliseconds
-
moveNorthWest
void moveNorthWest(int aSteps, int aStartDelayInMillis, int aEndDelayInMillis)
Move theRgbPixmap
to the north west.- Parameters:
aSteps
- the a stepsaStartDelayInMillis
- the a start delay in millisecondsaEndDelayInMillis
- the a end delay in milliseconds
-
stepFadeToPixmap
void stepFadeToPixmap(RgbPixmap.RgbPixmapBuilder aFadeToPixmap, int aOffsetX, int aOffsetY, int aStepWidth, int aPixelDelayMillis)
Step fade to pixmap.- Parameters:
aFadeToPixmap
- the a fade to pixmapaOffsetX
- the a offset XaOffsetY
- the a offset YaStepWidth
- the a step widthaPixelDelayMillis
- the a pixel delay milliseconds
-
rndFadeToPixmap
void rndFadeToPixmap(RgbPixmap.RgbPixmapBuilder aFadeToPixmap, int aOffsetX, int aOffsetY, float aPixelPropability, int aPixelDelayMillis)
Rnd fade to pixmap.- Parameters:
aFadeToPixmap
- the a fade to pixmapaOffsetX
- the a offset XaOffsetY
- the a offset YaPixelPropability
- the a pixel probabilityaPixelDelayMillis
- the a pixel delay milliseconds
-
-