net.sourceforge.fixagora.basis.client.model.editor
Class ComplexEventTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by net.sourceforge.fixagora.basis.client.model.editor.ComplexEventTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class ComplexEventTableModel
extends javax.swing.table.AbstractTableModel

The Class ComplexEventTableModel.

See Also:
Serialized Form

Constructor Summary
ComplexEventTableModel(FSecurityEditor securityEditor)
          Instantiates a new complex event table model.
 
Method Summary
 void addSecurityComplexEvent(SecurityComplexEvent securityComplexEvent)
          Adds the security complex event.
 SecurityComplexEvent 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(SecurityComplexEvent securityComplexEvent)
          Removes the.
 void save()
          Save.
 void updateSecurityComplexEvents(java.util.List<SecurityComplexEvent> list)
          Update security complex events.
 
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

ComplexEventTableModel

public ComplexEventTableModel(FSecurityEditor securityEditor)
Instantiates a new complex event table model.

Parameters:
securityEditor - the security editor
Method Detail

getColumnCount

public int getColumnCount()

getColumnName

public java.lang.String getColumnName(int column)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

getAbstractBusinessObjectEditor

public AbstractBusinessObjectEditor getAbstractBusinessObjectEditor()
Gets the abstract business object editor.

Returns:
the abstract business object editor

isDirty

public boolean isDirty()
Checks if is dirty.

Returns:
true, if is dirty

save

public void save()
Save.


updateSecurityComplexEvents

public void updateSecurityComplexEvents(java.util.List<SecurityComplexEvent> list)
Update security complex events.

Parameters:
list - the list

addSecurityComplexEvent

public void addSecurityComplexEvent(SecurityComplexEvent securityComplexEvent)
Adds the security complex event.

Parameters:
securityComplexEvent - the security complex event

remove

public void remove(SecurityComplexEvent securityComplexEvent)
Removes the.

Parameters:
securityComplexEvent - the security complex event

get

public SecurityComplexEvent get(int index)
Gets the.

Parameters:
index - the index
Returns:
the security complex event

modified

public void modified()
Modified.