org.openpermis.editor.policy.view
Class ActionEditor.ParametersModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.openpermis.editor.policy.view.ActionEditor.ParametersModel
All Implemented Interfaces:
Serializable, TableModel
Enclosing class:
ActionEditor

 class ActionEditor.ParametersModel
extends AbstractTableModel

A model for the table representing the action's parameters.

Since:
0.1.0

Field Summary
private  String[] columnHeader
          Column headers.
private  org.jdesktop.observablecollections.ObservableListListener listener
          Updates the model when the ParameterList.Parameter ObservableList is changed.
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ActionEditor.ParametersModel()
           
 
Method Summary
private  void configureListeners()
           
 Class<?> getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setValueAt(Object value, int rowIndex, int columnIndex)
           
private  void unconfigureListeners()
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnHeader

private final String[] columnHeader
Column headers.


listener

private final org.jdesktop.observablecollections.ObservableListListener listener
Updates the model when the ParameterList.Parameter ObservableList is changed.

Since:
0.1.0
Constructor Detail

ActionEditor.ParametersModel

ActionEditor.ParametersModel()
Method Detail

configureListeners

private void configureListeners()
Since:
0.1.0

unconfigureListeners

private void unconfigureListeners()
Since:
0.1.0

getColumnCount

public int getColumnCount()
Since:
0.1.0

getRowCount

public int getRowCount()
Since:
0.1.0

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Since:
0.1.0

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel
Since:
0.1.0

setValueAt

public void setValueAt(Object value,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel
Since:
0.1.0

getColumnName

public String getColumnName(int columnIndex)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel
Since:
0.1.0

getColumnClass

public Class<?> getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:22
Copyright (c) 2002-2007 Ergon Informatik AG