|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproper.gui.core.table.LoggerTableModel
public class LoggerTableModel
The model for the Logger.
Constructor Summary | |
---|---|
LoggerTableModel(java.lang.String filename)
initializes the object |
Method Summary | |
---|---|
void |
addTableModelListener(javax.swing.event.TableModelListener l)
adds a listener to the list that is notified each time a change to data model occurs |
void |
filter(java.lang.String searchString)
filters the display data with the given SearchString (case-insensitive) |
void |
filter(java.lang.String searchString,
boolean casesensitive)
filters the display data with the given SearchString |
void |
filter(java.lang.String searchString,
boolean casesensitive,
int col)
filters the display data with the given SearchString with the given col (-1 means all) |
void |
filter(java.lang.String searchString,
int col)
filters the display data with the given SearchString (case-insensitive) with the given column (-1 means all) |
java.lang.Class |
getColumnClass(int columnIndex)
returns the most specific superclass for all the cell values in the column (always String) |
int |
getColumnCount()
returns the number of columns in the model (always 2) |
java.lang.String |
getColumnName(int columnIndex)
returns the name of the column at columnIndex |
java.util.Vector |
getEntries(int[] indices)
returns the specified entries |
int |
getIndex(int line)
returns the index from the given line number, -1 if an error occurrs |
int |
getLineNumber(int index)
returns the "real" line number from the given index, -1 if an error occurrs |
int |
getRowCount()
returns the number of rows in the model |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
returns the value for the cell at columnindex and rowIndex |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
returns true if the cell at rowindex and columnindexis editable |
void |
removeTableModelListener(javax.swing.event.TableModelListener l)
removes a listener from the list that is notified each time a change to the data model occurs |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
sets the value in the cell at columnIndex and rowIndex to aValue. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggerTableModel(java.lang.String filename)
Method Detail |
---|
public void addTableModelListener(javax.swing.event.TableModelListener l)
addTableModelListener
in interface javax.swing.table.TableModel
public java.lang.Class getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
public void removeTableModelListener(javax.swing.event.TableModelListener l)
removeTableModelListener
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 filter(java.lang.String searchString)
public void filter(java.lang.String searchString, boolean casesensitive)
public void filter(java.lang.String searchString, int col)
public void filter(java.lang.String searchString, boolean casesensitive, int col)
public java.util.Vector getEntries(int[] indices)
public int getLineNumber(int index)
public int getIndex(int line)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |