|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
wt.clients.lifecycle.administrator.ProcessTableModel
Field Summary | |
private static int |
CABINET
|
(package private) WTContainerRef |
container
|
private static int |
CONTEXT
|
private static int |
ENABLED
|
private static int |
ICON
|
private static int |
ICON_BASIC
|
(package private) IconCache |
iconCache
|
private static int |
NAME
|
private static int |
ROUTING
|
(package private) Vector |
templates
|
(package private) ThreadGroup |
threadGroup
|
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
(package private) |
ProcessTableModel()
Construct the ProcessTableModel. |
(package private) |
ProcessTableModel(WTContainerRef context)
Construct the ProcessTableModel for this container passed. |
Method Summary | |
protected void |
deleteTemplate(LifeCycleTemplate template)
Deletes the Process Template from the list. |
private String |
getCabinet(int row)
Get the cabinet the template is in. |
Class |
getColumnClass(int col)
JTable uses this method to determine the default renderer/ editor for each cell. |
int |
getColumnCount()
Get the number of columns in the table. |
String |
getColumnName(int col)
Get the column name for the specified column. |
WTContainerRef |
getContext(int row)
Get the context the template is in. |
String |
getContextName(int row)
Get the name of the context the template is in. |
private Boolean |
getEnabled(int row)
Get the Enabled state for the specified row. |
private ImageIcon |
getImageIcon_basic(int row)
Get the Image Icon for the specified row. |
private ImageIcon |
getImageIcon(int row)
Get the Image Icon for the specified row. |
String |
getMasterOid(LifeCycleTemplate template)
|
private String |
getName(int row)
Get the Name for the specified row. |
String |
getOrganization(int row)
Get the organization the template is in. |
private Boolean |
getRouting(int row)
Get the Routing state for the specified row. |
int |
getRowCount()
Get the number of rows in the table. |
private LifeCycleTemplate |
getTemplate(int row)
Get the Process Template for the specified row. |
LifeCycleTemplate |
getTemplate(String name,
String org_name)
Get the Process Template for the specified name. |
LifeCycleTemplate |
getTemplate(String name,
WTContainerRef context)
Get the LifeCycle Template for the specified name. |
private Vector |
getTemplates()
Get all Process Templates. |
Object |
getValueAt(int row,
int col)
Returns the value of the specified row and column. |
boolean |
isCellEditable(int row,
int col)
Don't need to implement this method unless your table's editable. |
void |
refreshObject(RefreshEvent evt)
Implements the RefreshListener. |
private void |
setEnabled(Boolean enabled,
int row)
Set the specified Enabled state for the specified row. |
private void |
setRouting(Boolean routing,
int row)
Set the specified Enabled state for the specified row. |
private void |
setTemplate(LifeCycleTemplate template,
int row)
Set the Process Template for the specified row. |
void |
setValueAt(Object value,
int row,
int col)
Set the specified value at the specified row and column. |
protected void |
updateTemplate(LifeCycleTemplate template)
Updates the Process Template to the list. |
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 |
private static final int ICON_BASIC
private static final int ICON
private static final int NAME
private static final int CABINET
private static final int ENABLED
private static final int ROUTING
private static final int CONTEXT
Vector templates
IconCache iconCache
ThreadGroup threadGroup
WTContainerRef container
Constructor Detail |
ProcessTableModel()
ProcessTableModel(WTContainerRef context)
Method Detail |
public int getColumnCount()
getColumnCount
in interface TableModel
public int getRowCount()
getRowCount
in interface TableModel
public String getColumnName(int col)
getColumnName
in interface TableModel
public Object getValueAt(int row, int col)
getValueAt
in interface TableModel
public Class getColumnClass(int col)
getColumnClass
in interface TableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface TableModel
public void setValueAt(Object value, int row, int col)
setValueAt
in interface TableModel
private ImageIcon getImageIcon_basic(int row)
private ImageIcon getImageIcon(int row)
private String getName(int row)
private Boolean getEnabled(int row)
private Boolean getRouting(int row)
private String getCabinet(int row)
public String getContextName(int row) throws WTException
WTException
public WTContainerRef getContext(int row) throws WTException
WTException
public String getOrganization(int row) throws WTException
WTException
public String getMasterOid(LifeCycleTemplate template)
private void setEnabled(Boolean enabled, int row)
private void setRouting(Boolean routing, int row)
private LifeCycleTemplate getTemplate(int row)
public LifeCycleTemplate getTemplate(String name, String org_name) throws WTException
WTException
public LifeCycleTemplate getTemplate(String name, WTContainerRef context) throws WTException
WTException
private void setTemplate(LifeCycleTemplate template, int row)
protected void updateTemplate(LifeCycleTemplate template)
protected void deleteTemplate(LifeCycleTemplate template)
private Vector getTemplates()
public void refreshObject(RefreshEvent evt)
refreshObject
in interface RefreshListener
evt
- the referesh event.RefreshEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |