Package jadex.bpmn
Class MultiColumnTable
- java.lang.Object
-
- jadex.bpmn.MultiColumnTable
-
- Direct Known Subclasses:
MultiColumnTableEx
public class MultiColumnTable extends java.lang.Object
SIMPLIFIED and ADAPTED Copy of editor common table!
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MultiColumnTable.MultiColumnTableRow
ADAPTED!!! Copy of common MultiColumnTableRow
-
Constructor Summary
Constructors Constructor Description MultiColumnTable(int rowCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, MultiColumnTable.MultiColumnTableRow row)
void
add(MultiColumnTable.MultiColumnTableRow row)
void
clear()
boolean
contains(java.lang.Object o)
boolean
equals(java.lang.Object o)
MultiColumnTable.MultiColumnTableRow
get(int index)
java.util.List<MultiColumnTable.MultiColumnTableRow>
getRowList()
Access the back-end row listint
getRowSize()
Get the size of a row elementint
hashCode()
int
indexOf(java.lang.Object o)
boolean
isEmpty()
java.util.Iterator<MultiColumnTable.MultiColumnTableRow>
iterator()
int
lastIndexOf(java.lang.Object o)
MultiColumnTable.MultiColumnTableRow
remove(int index)
boolean
remove(java.lang.Object o)
MultiColumnTable.MultiColumnTableRow
set(int index, MultiColumnTable.MultiColumnTableRow row)
int
size()
java.util.List<MultiColumnTable.MultiColumnTableRow>
subList(int fromIndex, int toIndex)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] a)
-
-
-
Method Detail
-
getRowList
public java.util.List<MultiColumnTable.MultiColumnTableRow> getRowList()
Access the back-end row list- Returns:
- the internal list of rows as unmodifiable list
-
getRowSize
public int getRowSize()
Get the size of a row element- Returns:
- the number of elements for a row in this table
-
add
public void add(int index, MultiColumnTable.MultiColumnTableRow row)
- Parameters:
index
-row
-- See Also:
List.add(int, java.lang.Object)
-
add
public void add(MultiColumnTable.MultiColumnTableRow row)
- Parameters:
row
-- See Also:
List.add(java.lang.Object)
-
clear
public void clear()
- See Also:
List.clear()
-
contains
public boolean contains(java.lang.Object o)
- See Also:
List.contains(java.lang.Object)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
- See Also:
List.equals(java.lang.Object)
-
get
public MultiColumnTable.MultiColumnTableRow get(int index)
- See Also:
List.get(int)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
List.hashCode()
-
indexOf
public int indexOf(java.lang.Object o)
- See Also:
List.indexOf(java.lang.Object)
-
isEmpty
public boolean isEmpty()
- See Also:
List.isEmpty()
-
iterator
public java.util.Iterator<MultiColumnTable.MultiColumnTableRow> iterator()
- See Also:
List.iterator()
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- See Also:
List.lastIndexOf(java.lang.Object)
-
remove
public MultiColumnTable.MultiColumnTableRow remove(int index)
- See Also:
List.remove(int)
-
remove
public boolean remove(java.lang.Object o)
- See Also:
List.remove(java.lang.Object)
-
set
public MultiColumnTable.MultiColumnTableRow set(int index, MultiColumnTable.MultiColumnTableRow row)
- See Also:
List.set(int, java.lang.Object)
-
size
public int size()
- See Also:
List.size()
-
subList
public java.util.List<MultiColumnTable.MultiColumnTableRow> subList(int fromIndex, int toIndex)
- See Also:
List.subList(int, int)
-
toArray
public java.lang.Object[] toArray()
- See Also:
List.toArray()
-
toArray
public <T> T[] toArray(T[] a)
- See Also:
java.util.List#toArray(T[])
-
-