|
|||||||||
| 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.TableModelgetRowCount()public int getRowCount()
getRowCount in interface javax.swing.table.TableModelgetColumnCount()
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
columnIndex and
rowIndex.
getValueAt in interface javax.swing.table.TableModelrowIndex - 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.TableModelgetColumnClass in class javax.swing.table.AbstractTableModelcolumnIndex - the column being queried
public java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelcolumn - the column being queried
column
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModel
public void digipeaterAdded(java.lang.String digipeat,
int index)
digipeaterAdded in interface DigipeatListenerpublic void digipeaterUsedAgain(java.lang.String digipeat)
digipeaterUsedAgain in interface DigipeatListenerpublic boolean isSaveable()
isSaveable in interface SaveableFilterpublic javax.swing.filechooser.FileNameExtensionFilter getPreferredFileType()
getPreferredFileType in interface SaveableFilter
public void saveFilterToFile(java.io.BufferedOutputStream out)
throws java.io.IOException
saveFilterToFile in interface SaveableFilterout - DataOutput implementing object for writing the file contents in its preferred format
java.io.IOException - if the write failed for some reason
public void close()
throws java.io.IOException
close in interface java.io.Closeablejava.io.IOException - if an I/O error occurs
public void filterSettingsChanged(Filter changedFilter,
boolean changedByUser)
filterSettingsChanged in interface FilterChangeListenerchangedFilter - 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 | ||||||||