Class DragBuffer
java.lang.Object
VASSAL.counters.DragBuffer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
asList()
void
clear()
boolean
boolean
contents()
createDragCursor
(Component comp) static DragBuffer
boolean
isEmpty()
static void
void
void
sort
(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
List
ofGamePiece
s contained in thisDragBuffer
-
getIterator
-
isEmpty
public boolean isEmpty() -
contents
-
main
-
createDragCursor
-
sort
-