| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
com.jstatcom.component.AppSettings
public final class AppSettings
Holds user set properties. This can be used together with the
 AppSettings dialog to edit user settings.
| Field Summary | |
|---|---|
| static javolution.xml.XmlFormat<AppSettings> | AppSettings_XMLXML format field for (de)serialization. | 
| Constructor Summary | |
|---|---|
| AppSettings()Default constructor. | |
| AppSettings(AppSettings appSettings)Copy constructor. | |
| Method Summary | |
|---|---|
|  int | getColumnCount() | 
|  java.lang.String | getColumnName(int col) | 
|  JSCInt | getExitDialog()Gets JSCIntindicating whether exit Dialog should be
 shown. | 
|  int | getRowCount() | 
|  JSCInt | getSaveLastState()Gets JSCIntindicating whether save last state is on. | 
|  JSCInt | getSControlEdit()Gets JSCIntindicating whether the symbol table data table
 elements should be editable. | 
|  JSCInt | getShowExplorer()Gets JSCIntindicating whether explorer panel should be
 shown. | 
|  java.lang.Object | getValueAt(int row,
           int col) | 
|  boolean | isCellEditable(int row,
               int col) | 
|  void | setElement()Implementations of this method should use the information stored in this SettingsElementto set the state of components at runtime. | 
|  void | setValueAt(java.lang.Object value,
           int row,
           int col) | 
| Methods inherited from class javax.swing.table.AbstractTableModel | 
|---|
| addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final javolution.xml.XmlFormat<AppSettings> AppSettings_XML
| Constructor Detail | 
|---|
public AppSettings()
public AppSettings(AppSettings appSettings)
appSettings - the instance to create a copy of| Method Detail | 
|---|
public void setElement()
SettingsElementSettingsElement to set the state of components at runtime.
 For example, one implementation of this interface, the
 ProjectTreeNode, adds itself to the
 ProjectTree when this method is called. Before that, it
 has been restored from its serialization in an XML file.
setElement in interface SettingsElementpublic JSCInt getSaveLastState()
JSCInt indicating whether save last state is on.
JSCIntpublic JSCInt getSControlEdit()
JSCInt indicating whether the symbol table data table
 elements should be editable.
JSCIntpublic JSCInt getExitDialog()
JSCInt indicating whether exit Dialog should be
 shown.
JSCIntpublic JSCInt getShowExplorer()
JSCInt indicating whether explorer panel should be
 shown.
JSCIntpublic int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelpublic int getRowCount()
getRowCount in interface javax.swing.table.TableModel
public boolean isCellEditable(int row,
                              int col)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelpublic java.lang.String getColumnName(int col)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row,
                                   int col)
getValueAt in interface javax.swing.table.TableModel
public void setValueAt(java.lang.Object value,
                       int row,
                       int col)
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModel| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||