|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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_XML
XML 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 JSCInt indicating whether exit Dialog should be
shown. |
int |
getRowCount()
|
JSCInt |
getSaveLastState()
Gets JSCInt indicating whether save last state is on. |
JSCInt |
getSControlEdit()
Gets JSCInt indicating whether the symbol table data table
elements should be editable. |
JSCInt |
getShowExplorer()
Gets JSCInt indicating 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 SettingsElement to 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 ofMethod Detail |
---|
public void setElement()
SettingsElement
SettingsElement
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 SettingsElement
public JSCInt getSaveLastState()
JSCInt
indicating whether save last state is on.
JSCInt
public JSCInt getSControlEdit()
JSCInt
indicating whether the symbol table data table
elements should be editable.
JSCInt
public JSCInt getExitDialog()
JSCInt
indicating whether exit Dialog should be
shown.
JSCInt
public JSCInt getShowExplorer()
JSCInt
indicating whether explorer panel should be
shown.
JSCInt
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
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.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |