P
- the generic typeS
- the generic typeorg.refcodes.observer.ObservableObserver<Checkerboard<P,S>>
CheckerboardViewer<P,S,CBV>
, ConsoleCheckerboardViewer<P,S>
, GraphicalCheckerboardViewer<P,S,IMG,SF,BF,CBV>
AbstractCheckerboardViewer
, AbstractGraphicalCheckerboardViewer
, ConsoleCheckerboardViewerImpl
public interface CheckerboardObserver<P extends Player<P,S>,S> extends org.refcodes.observer.ObservableObserver<Checkerboard<P,S>>
Modifier and Type | Method | Description |
---|---|---|
void |
onChangePositionEvent(ChangePositionEvent<P> aPlayerEvent,
Checkerboard<P,S> aSource) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onCheckerboardEvent(CheckerboardEvent<P,S> aCheckerboardEvent) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onDraggabilityChangedEvent(DraggabilityChangedEvent<P> aPlayerEvent,
Checkerboard<P,S> aSource) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onGridDimensionChangedEvent(GridDimensionChangedEvent<P,S> aCheckerboardEvent) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onGridModeChangedEvent(GridModeChangedEvent<P,S> aCheckerboardEvent) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onPlayerAddedEvent(PlayerAddedEvent<P,S> aCheckerboardEvent) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onPlayerEvent(PlayerEvent<P> aPlayerEvent,
Checkerboard<P,S> aSource) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onPlayerRemovedEvent(PlayerRemovedEvent<P,S> aCheckerboardEvent) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onPositionChangedEvent(PositionChangedEvent<P> aPlayerEvent,
Checkerboard<P,S> aSource) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onStateChangedEvent(StateChangedEvent<P,S> aPlayerEvent,
Checkerboard<P,S> aSource) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onViewportDimensionChangedEvent(ViewportDimensionChangedEvent<P,S> aCheckerboardEvent) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onViewportOffsetChangedEvent(ViewportOffsetChangedEvent<P,S> aCheckerboardEvent) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void |
onVisibilityChangedEvent(VisibilityChangedEvent<P> aPlayerEvent,
Checkerboard<P,S> aSource) |
This method is called when information about an Checkerboard which was
previously requested using an asynchronous interface becomes available.
|
void onCheckerboardEvent(CheckerboardEvent<P,S> aCheckerboardEvent)
aCheckerboardEvent
- the checkerboard eventvoid onPlayerAddedEvent(PlayerAddedEvent<P,S> aCheckerboardEvent)
aCheckerboardEvent
- the checkerboard eventvoid onPlayerRemovedEvent(PlayerRemovedEvent<P,S> aCheckerboardEvent)
aCheckerboardEvent
- the checkerboard eventvoid onGridModeChangedEvent(GridModeChangedEvent<P,S> aCheckerboardEvent)
aCheckerboardEvent
- the checkerboard eventvoid onGridDimensionChangedEvent(GridDimensionChangedEvent<P,S> aCheckerboardEvent)
aCheckerboardEvent
- the checkerboard eventvoid onViewportOffsetChangedEvent(ViewportOffsetChangedEvent<P,S> aCheckerboardEvent)
aCheckerboardEvent
- the checkerboard eventvoid onViewportDimensionChangedEvent(ViewportDimensionChangedEvent<P,S> aCheckerboardEvent)
aCheckerboardEvent
- the checkerboard eventvoid onPlayerEvent(PlayerEvent<P> aPlayerEvent, Checkerboard<P,S> aSource)
aPlayerEvent
- the player eventaSource
- The according source (origin).void onChangePositionEvent(ChangePositionEvent<P> aPlayerEvent, Checkerboard<P,S> aSource) throws org.refcodes.exception.VetoException
aPlayerEvent
- the player eventaSource
- The according source (origin).org.refcodes.exception.VetoException
- the veto exceptionvoid onPositionChangedEvent(PositionChangedEvent<P> aPlayerEvent, Checkerboard<P,S> aSource)
aPlayerEvent
- the player eventaSource
- The according source (origin).void onStateChangedEvent(StateChangedEvent<P,S> aPlayerEvent, Checkerboard<P,S> aSource)
aPlayerEvent
- the player eventaSource
- The according source (origin).void onVisibilityChangedEvent(VisibilityChangedEvent<P> aPlayerEvent, Checkerboard<P,S> aSource)
aPlayerEvent
- the player eventaSource
- The according source (origin).void onDraggabilityChangedEvent(DraggabilityChangedEvent<P> aPlayerEvent, Checkerboard<P,S> aSource)
aPlayerEvent
- the player eventaSource
- The according source (origin).Copyright © 2021. All rights reserved.