Package VASSAL.build.module.map
Class CounterDetailViewer.Visitor
java.lang.Object
VASSAL.counters.PieceFinder.Movable
VASSAL.build.module.map.CounterDetailViewer.Visitor
- All Implemented Interfaces:
DeckVisitor,PieceFinder,PieceVisitor
- Enclosing class:
- CounterDetailViewer
-
Nested Class Summary
Nested classes/interfaces inherited from interface VASSAL.counters.PieceFinder
PieceFinder.DeckOrPieceInStack, PieceFinder.Movable, PieceFinder.PieceInStack, PieceFinder.StackOnly -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CompoundPieceCollectionprotected CounterDetailViewer.Filterprotected Pointprotected intprotected intprotected booleanFields inherited from class VASSAL.counters.PieceFinder.Movable
dispatcher, map, pt, shapesFields inherited from interface VASSAL.counters.PieceFinder
DECK_OR_PIECE_IN_STACK, MOVABLE, PIECE_IN_STACK, STACK_ONLY -
Constructor Summary
ConstructorsConstructorDescriptionVisitor(CounterDetailViewer.Filter filter, Map map, Point pt)Deprecated, for removal: This API element is subject to removal in a future version.Visitor(CounterDetailViewer.Filter filter, Map map, Point pt, boolean showOverlap) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPerform the operation on a DeckGamePieces that are not handled by one of the type-specific methods (e.g.visitStack(Stack s)Perform the operation on a StackMethods inherited from class VASSAL.counters.PieceFinder.Movable
select
-
Field Details
-
pieces
-
filter
-
collection
-
lastLayer
protected int lastLayer -
insertPos
protected int insertPos -
foundPieceAt
-
showingOverlap
protected boolean showingOverlap
-
-
Constructor Details
-
Visitor
@Deprecated(since="2020-08-06", forRemoval=true) public Visitor(CounterDetailViewer.Filter filter, Map map, Point pt)Deprecated, for removal: This API element is subject to removal in a future version. -
Visitor
-
-
Method Details
-
visitDeck
Description copied from interface:DeckVisitorPerform the operation on a Deck- Specified by:
visitDeckin interfaceDeckVisitor- Overrides:
visitDeckin classPieceFinder.Movable
-
visitStack
Description copied from interface:PieceVisitorPerform the operation on a Stack- Specified by:
visitStackin interfacePieceVisitor- Overrides:
visitStackin classPieceFinder.Movable
-
visitDefault
Description copied from interface:PieceVisitorGamePieces that are not handled by one of the type-specific methods (e.g.PieceVisitor.visitStack(VASSAL.counters.Stack)) are handled here- Specified by:
visitDefaultin interfacePieceVisitor- Overrides:
visitDefaultin classPieceFinder.Movable
-
apply
-
getPieces
-