|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel net.sourceforge.fixagora.basis.client.model.editor.SecurityLegTableModel
public class SecurityLegTableModel
The Class SecurityLegTableModel.
Constructor Summary | |
---|---|
SecurityLegTableModel(FSecurityEditor securityEditor)
Instantiates a new security leg table model. |
Method Summary | |
---|---|
void |
addSecurityLeg(SecurityLeg securityLeg)
Adds the security leg. |
SecurityLeg |
get(int index)
Gets the. |
AbstractBusinessObjectEditor |
getAbstractBusinessObjectEditor()
Gets the abstract business object editor. |
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 |
isDirty()
Checks if is dirty. |
void |
modified()
Modified. |
void |
remove(SecurityLeg securityLeg)
Removes the. |
void |
save()
Save. |
void |
setMinWidth(int minWidth)
Sets the min width. |
void |
setTable(javax.swing.JTable table)
Sets the table. |
void |
setTableWidth()
Sets the table width. |
void |
updateSecurityLegs(java.util.List<SecurityLeg> list)
Update security legs. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityLegTableModel(FSecurityEditor securityEditor)
securityEditor
- the security editorMethod Detail |
---|
public int getColumnCount()
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
public void setMinWidth(int minWidth)
minWidth
- the new min widthpublic void setTableWidth()
public void setTable(javax.swing.JTable table)
table
- the new tablepublic boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public AbstractBusinessObjectEditor getAbstractBusinessObjectEditor()
public boolean isDirty()
public void save()
public void updateSecurityLegs(java.util.List<SecurityLeg> list)
list
- the listpublic void addSecurityLeg(SecurityLeg securityLeg)
securityLeg
- the security legpublic void remove(SecurityLeg securityLeg)
securityLeg
- the security legpublic SecurityLeg get(int index)
index
- the index
public void modified()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |