Package VASSAL.counters
Class DragBuffer
java.lang.Object
VASSAL.counters.DragBuffer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addDropTarget(Component c, MouseListener l)
asList()
void
clear()
boolean
boolean
contents()
createDragCursor(Component comp)
static DragBuffer
static void
init(DragBuffer db)
Deprecated, for removal: This API element is subject to removal in a future version.No Replacementboolean
isEmpty()
static void
void
void
sort(Comparator<GamePiece> comp)
void
sort(Sort.Comparator comp)
Deprecated, for removal: This API element is subject to removal in a future version.Usesort(Comparator)
instead.
-
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
-
sort
Deprecated, for removal: This API element is subject to removal in a future version.Usesort(Comparator)
instead. -
init
Deprecated, for removal: This API element is subject to removal in a future version.No Replacement
-