Package VASSAL.counters
Class DragBuffer
java.lang.Object
VASSAL.counters.DragBuffer
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidasList()voidclear()booleanbooleancontents()createDragCursor(Component comp) static DragBufferbooleanisEmpty()static voidvoidvoidsort(Comparator<GamePiece> comp)
-
Method Details
-
getBuffer
-
add
-
getFromMap
-
clear
public void clear() -
addDragSource
-
addDropTarget
-
remove
-
contains
-
containsAllMembers
- Parameters:
s- Stack to test.- Returns:
- true if the DragBuffer contains all members of Stack s
-
asList
- Returns:
- an unmodifiable
ListofGamePieces contained in thisDragBuffer
-
getIterator
-
isEmpty
public boolean isEmpty() -
contents
-
main
-
createDragCursor
-
sort
-