|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.ka2ddo.yaac.gui.filter.LastDigipeatFilterUI
public class LastDigipeatFilterUI
This filter accepts or rejects messages based on the last station to transmit the message.
Field Summary |
---|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
LastDigipeatFilterUI(Filter myFilter)
Create a UI for controlling a LastDigipeatFilter |
Method Summary | |
---|---|
void |
close()
Closes this stream and releases any system resources associated with it. |
void |
digipeaterAdded(java.lang.String digipeat,
int index)
|
void |
digipeaterUsedAgain(java.lang.String digipeat)
|
void |
filterSettingsChanged(Filter changedFilter,
boolean changedByUser)
Called when the specified Filter's matching criteria have been changed. |
java.lang.Class<?> |
getColumnClass(int columnIndex)
Returns the data Class for the specified column. |
int |
getColumnCount()
Returns the number of columns in the model. |
java.lang.String |
getColumnName(int column)
Returns the localized name for the column. |
javax.swing.filechooser.FileNameExtensionFilter |
getPreferredFileType()
Specify the preferred filetype for files saving this Filter's data set. |
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)
|
boolean |
isSaveable()
Indicate if this Filter is saveable. |
void |
saveFilterToFile(java.io.BufferedOutputStream out)
Save the contents of the Filter to the specified DataOutput object. |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
|
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LastDigipeatFilterUI(Filter myFilter)
myFilter
- the LastDigipeatFilter instance to controlLastDigipeatFilter
Method Detail |
---|
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
getRowCount()
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
getColumnCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
columnIndex
and
rowIndex
.
getValueAt
in interface javax.swing.table.TableModel
rowIndex
- the row whose value is to be queriedcolumnIndex
- the column whose value is to be queried
public java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
columnIndex
- the column being queried
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
column
- the column being queried
column
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
public void digipeaterAdded(java.lang.String digipeat, int index)
digipeaterAdded
in interface DigipeatListener
public void digipeaterUsedAgain(java.lang.String digipeat)
digipeaterUsedAgain
in interface DigipeatListener
public boolean isSaveable()
isSaveable
in interface SaveableFilter
public javax.swing.filechooser.FileNameExtensionFilter getPreferredFileType()
getPreferredFileType
in interface SaveableFilter
public void saveFilterToFile(java.io.BufferedOutputStream out) throws java.io.IOException
saveFilterToFile
in interface SaveableFilter
out
- DataOutput implementing object for writing the file contents in its preferred format
java.io.IOException
- if the write failed for some reasonpublic void close() throws java.io.IOException
close
in interface java.io.Closeable
java.io.IOException
- if an I/O error occurspublic void filterSettingsChanged(Filter changedFilter, boolean changedByUser)
filterSettingsChanged
in interface FilterChangeListener
changedFilter
- Filter that has changedchangedByUser
- boolean true if change was manually made by user, false if
change was made automatically by dynamic filter logic
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |