|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.table.AbstractTableModel | +--jpos.config.simple.editor.VendorPropsViewPanel.PropsTableModel
TableModel inner class for this VendorProsViewPanel
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
(package private) |
VendorPropsViewPanel.PropsTableModel()
Default ctor |
Method Summary | |
void |
add()
Adds an empty property |
void |
add(java.lang.String name,
java.lang.Object value)
Adds a new JposEntry.Prop to the model |
void |
cancelModifications()
Cancel all modifications |
void |
clearAll()
Clears all by setting jposEntry to null and clearing the JposEntry.Prop list |
void |
delete(int rowIndex)
Deletes the row index specified |
int |
getColumnCount()
|
java.lang.String |
getColumnName(int column)
|
int |
getRowCount()
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
|
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
boolean |
isJposEntryModified()
|
void |
setEditable(boolean b)
Sets whether the table model is editable or not |
void |
setJposEntry(JposEntry entry)
Sets the JposEntry to be edited |
void |
setValueAt(java.lang.Object value,
int rowIndex,
int columnIndex)
Sets the value at the |
void |
updateJposEntry()
Updates the JposEntry with added, removed and changed property |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
VendorPropsViewPanel.PropsTableModel()
Method Detail |
public void setJposEntry(JposEntry entry)
entry
- the entrypublic void add()
public void add(java.lang.String name, java.lang.Object value)
name
- the property name to addvalue
- the property value to addpublic void delete(int rowIndex)
rowIndex
- the row index to deletepublic void clearAll()
public void setEditable(boolean b)
b
- the boolean parameterpublic void updateJposEntry()
public void cancelModifications()
public boolean isJposEntryModified()
public java.lang.String getColumnName(int column)
getColumnName
in class javax.swing.table.AbstractTableModel
column
- the column numberpublic int getColumnCount()
getColumnCount
in class javax.swing.table.AbstractTableModel
public int getRowCount()
getRowCount
in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
setValueAt
in class javax.swing.table.AbstractTableModel
value
- the Object value to setrowIndex
- the row indexcolumnIndex
- the column indexpublic java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in class javax.swing.table.AbstractTableModel
rowIndex
- the row indexcolumnIndex
- the column indexpublic boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in class javax.swing.table.AbstractTableModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |