P
- The type representing a Player
S
- The type which's instances represent a Player
state.CheckerboardObserver<P,S>
, CheckerboardViewer<P,S,ConsoleCheckerboardViewer<P,S>>
, org.refcodes.mixin.ColumnWidthAccessor
, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<ConsoleCheckerboardViewer<P,S>>
, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator
, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
, org.refcodes.component.Component
, org.refcodes.component.Destroyable
, org.refcodes.graphical.GridDimension
, org.refcodes.graphical.GridHeightAccessor
, org.refcodes.graphical.GridModeAccessor
, org.refcodes.graphical.GridWidthAccessor
, org.refcodes.component.Initializable
, org.refcodes.component.Initializable.InitializeBuilder<P>
, org.refcodes.component.InitializableComponent
, org.refcodes.graphical.MinViewportDimension
, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionBuilder<P>
, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionMutator
, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionProperty
, org.refcodes.observer.ObservableObserver<P>
, org.refcodes.graphical.ViewportDimension
, org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<P>
, org.refcodes.graphical.ViewportDimension.ViewportDimensionMutator
, org.refcodes.graphical.ViewportDimension.ViewportDimensionProperty
, org.refcodes.graphical.ViewportHeightAccessor
, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<P>
, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightMutator
, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightProperty
, org.refcodes.graphical.ViewportOffset
, org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<P>
, org.refcodes.graphical.ViewportOffset.ViewportOffsetMutator
, org.refcodes.graphical.ViewportOffset.ViewportOffsetProperty
, org.refcodes.graphical.ViewportOffsetXAccessor
, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<P>
, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXMutator
, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXProperty
, org.refcodes.graphical.ViewportOffsetYAccessor
, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<P>
, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYMutator
, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYProperty
, org.refcodes.graphical.ViewportWidthAccessor
, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<P>
, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthMutator
, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthProperty
ConsoleCheckerboardViewerImpl
public interface ConsoleCheckerboardViewer<P extends Player<P,S>,S> extends CheckerboardViewer<P,S,ConsoleCheckerboardViewer<P,S>>, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<ConsoleCheckerboardViewer<P,S>>
CheckerboardViewer
with functionality required
for console output.org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B extends org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthBuilder<B>>, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthMutator, org.refcodes.mixin.ColumnWidthAccessor.ColumnWidthProperty
org.refcodes.component.Destroyable.DestroyAutomaton
org.refcodes.graphical.GridDimension.GridDimensionBuilder<B extends org.refcodes.graphical.GridDimension.GridDimensionBuilder<B>>, org.refcodes.graphical.GridDimension.GridDimensionMutator, org.refcodes.graphical.GridDimension.GridDimensionProperty
org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B extends org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B>>, org.refcodes.graphical.GridHeightAccessor.GridHeightMutator, org.refcodes.graphical.GridHeightAccessor.GridHeightProperty
org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B extends org.refcodes.graphical.GridModeAccessor.GridModeBuilder<B>>, org.refcodes.graphical.GridModeAccessor.GridModeMutator, org.refcodes.graphical.GridModeAccessor.GridModeProperty
org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B extends org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B>>, org.refcodes.graphical.GridWidthAccessor.GridWidthMutator, org.refcodes.graphical.GridWidthAccessor.GridWidthProperty
org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializable
org.refcodes.graphical.MinViewportDimension.MinViewportDimensionBuilder<B extends org.refcodes.graphical.MinViewportDimension.MinViewportDimensionBuilder<B>>, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionMutator, org.refcodes.graphical.MinViewportDimension.MinViewportDimensionProperty
org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<B extends org.refcodes.graphical.ViewportDimension.ViewportDimensionBuilder<B>>, org.refcodes.graphical.ViewportDimension.ViewportDimensionMutator, org.refcodes.graphical.ViewportDimension.ViewportDimensionProperty
org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<B extends org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightBuilder<B>>, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightMutator, org.refcodes.graphical.ViewportHeightAccessor.ViewportHeightProperty
org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<B extends org.refcodes.graphical.ViewportOffset.ViewportOffsetBuilder<B>>, org.refcodes.graphical.ViewportOffset.ViewportOffsetMutator, org.refcodes.graphical.ViewportOffset.ViewportOffsetProperty
org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<B extends org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXBuilder<B>>, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXMutator, org.refcodes.graphical.ViewportOffsetXAccessor.ViewportOffsetXProperty
org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<B extends org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYBuilder<B>>, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYMutator, org.refcodes.graphical.ViewportOffsetYAccessor.ViewportOffsetYProperty
org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<B extends org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthBuilder<B>>, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthMutator, org.refcodes.graphical.ViewportWidthAccessor.ViewportWidthProperty
Modifier and Type | Method | Description |
---|---|---|
int |
getRedrawLoopTimeInMillis() |
Retrieves the refresh loop time between two redraw cycles of the
Checkerboard . |
boolean |
isRedrawOnEvent() |
Determines whether the
Checkerboard is printed out upon any
according events from the underlying Checkerboard or as of the
refresh loop time (see getRedrawLoopTimeInMillis() ). |
default ConsoleCheckerboardViewer<P,S> |
withColumnWidth(int aColumnWidth) |
onChangePositionEvent, onCheckerboardEvent, onDraggabilityChangedEvent, onGridDimensionChangedEvent, onGridModeChangedEvent, onPlayerAddedEvent, onPlayerEvent, onPlayerRemovedEvent, onPositionChangedEvent, onStateChangedEvent, onViewportDimensionChangedEvent, onViewportOffsetChangedEvent, onVisibilityChangedEvent
setColumnWidth
letColumnWidth
equals, isInBounds, isInBounds, isInHeight, isInWidth
initialize, initializeUnchecked
withInitialize, withInitializeUnchecked
getMinViewportDimension
withMinViewportDimension, withMinViewportDimension, withMinViewportDimension
setMinViewportDimension, setMinViewportDimension, setMinViewportDimension
letMinViewportDimension, letMinViewportDimension, letMinViewportDimension
onSubscribe, onUnsubscribe
withViewportDimension, withViewportDimension, withViewportDimension
setViewportDimension, setViewportDimension, setViewportDimension
withViewportHeight
setViewportHeight
letViewportHeight
withViewportOffset, withViewportOffset, withViewportOffset, withViewportOffset
setViewportOffset, setViewportOffset, setViewportOffset, setViewportOffset
withViewportOffsetX
setViewportOffsetX
letViewportOffsetX
withViewportOffsetY
setViewportOffsetY
letViewportOffsetY
withViewportWidth
int getRedrawLoopTimeInMillis()
Checkerboard
. This is the delay time between succeeding print
outs of the Checkerboard
states to the console. If the refresh
loop time is > 0, then the Checkerboard
is redrawn at most
with intervals of the given refresh loop time. Attention: The
Checkerboard
is only redrawn in case the Checkerboard
changed compared to the last redraw process.boolean isRedrawOnEvent()
Checkerboard
is printed out upon any
according events from the underlying Checkerboard
or as of the
refresh loop time (see getRedrawLoopTimeInMillis()
). Attention:
The Checkerboard
is only redrawn in case the Checkerboard
changed compared to the last redraw process.Checkerboard
is redrawn upon an event
from the Checkerboard
or upon the refresh loop time.Copyright © 2021. All rights reserved.