Пример #1
0
 /**
  * Sets the valueAt attribute of the BPMsList object
  *
  * @param aValue The new valueAt value
  * @param row The new valueAt value
  * @param column The new valueAt value
  */
 public void setValueAt(Object aValue, int row, int column) {
   if (column == 1) {
     BPM_Element elm = listModel.elementAt(row);
     elm.setActive(!elm.isActive());
     fireTableCellUpdated(row, column);
   }
 }
Пример #2
0
 /**
  * Returns the valueAt attribute of the BPMsList object
  *
  * @param row The Parameter
  * @param column The Parameter
  * @return The valueAt value
  */
 public Object getValueAt(int row, int column) {
   BPM_Element elm = listModel.elementAt(row);
   if (column == 0) {
     return elm.getName();
   }
   return elm.isActiveObj();
 }