public class FieldAreas extends java.util.Vector<FieldArea>
Constructor and Description |
---|
FieldAreas() |
Modifier and Type | Method and Description |
---|---|
void |
move(FieldArea fa,
int to)
Change ordering
|
void |
move(int from,
int to)
Change ordering
|
void |
sortByPosition()
Sorts areas in initial positions
|
java.lang.String |
toString()
Generates basic string dump for field areas (useful for debug purposes)
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, trimToSize
public void sortByPosition()
public void move(int from, int to)
from
- from position indexto
- to position indexpublic void move(FieldArea fa, int to)
fa
- field areato
- to position indexpublic java.lang.String toString()
Generates basic string dump for field areas (useful for debug purposes)
toString
in class java.util.Vector<FieldArea>
Copyright (c)2006-2014 Simplicite Software. All Rights Reserved.