|
OMS (v3.0.25) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oms3.io.MemoryTable
public class MemoryTable
Table, that can be managed.
Constructor Summary | |
---|---|
MemoryTable()
|
|
MemoryTable(CSTable src)
|
|
MemoryTable(CSTable src,
boolean skipContent)
|
Method Summary | |
---|---|
void |
addRow(java.lang.Object... row)
|
void |
addRows(java.util.List<java.lang.String[]> r)
|
void |
addTableModelListener(javax.swing.event.TableModelListener l)
|
void |
clearRows()
|
java.lang.Class<?> |
getColumnClass(int columnIndex)
|
int |
getColumnCount()
get the number of columns in the table |
java.util.Map<java.lang.String,java.lang.String> |
getColumnInfo(int column)
Get the info for a column. |
java.lang.String |
getColumnName(int column)
Get the column name. |
java.util.Map<java.lang.String,java.lang.String> |
getInfo()
Get the annotations for the table |
java.lang.String |
getName()
Get the name of the table |
int |
getRowCount()
|
java.util.List<java.lang.String[]> |
getRows()
|
java.util.List<java.lang.String[]> |
getRows(int from,
int to)
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
|
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
java.util.Iterator<java.lang.String[]> |
iterator()
|
void |
removeTableModelListener(javax.swing.event.TableModelListener l)
|
java.lang.Iterable<java.lang.String[]> |
rows()
get the row iterator. |
java.lang.Iterable<java.lang.String[]> |
rows(int skipRow)
get the row iterator and skip the first rows. |
void |
setColumns(java.lang.String... columns)
|
void |
setName(java.lang.String name)
|
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryTable(CSTable src, boolean skipContent)
public MemoryTable(CSTable src)
public MemoryTable()
Method Detail |
---|
public java.lang.String getName()
CSTable
getName
in interface CSTable
public java.util.Map<java.lang.String,java.lang.String> getInfo()
CSTable
getInfo
in interface CSTable
public int getColumnCount()
CSTable
getColumnCount
in interface javax.swing.table.TableModel
getColumnCount
in interface CSTable
public java.lang.String getColumnName(int column)
CSTable
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in interface CSTable
public void setColumns(java.lang.String... columns)
public java.util.Iterator<java.lang.String[]> iterator()
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
public void addTableModelListener(javax.swing.event.TableModelListener l)
addTableModelListener
in interface javax.swing.table.TableModel
public void removeTableModelListener(javax.swing.event.TableModelListener l)
removeTableModelListener
in interface javax.swing.table.TableModel
public void setName(java.lang.String name)
public void addRow(java.lang.Object... row)
public void addRows(java.util.List<java.lang.String[]> r)
public void clearRows()
public java.util.List<java.lang.String[]> getRows(int from, int to)
public java.util.List<java.lang.String[]> getRows()
public java.util.Map<java.lang.String,java.lang.String> getColumnInfo(int column)
CSTable
getColumnInfo
in interface CSTable
public java.lang.Iterable<java.lang.String[]> rows()
CSTable
rows
in interface CSTable
public java.lang.Iterable<java.lang.String[]> rows(int skipRow)
CSTable
rows
in interface CSTable
skipRow
- the # rows to skip
|
OMS (v3.0.25) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |