Ejemplo n.º 1
0
 /**
  * Set the subject bean to check for properties.
  *
  * @param o the subject bean
  */
 public void setObject(Object o) {
   if (o != props.getObject()) {
     if (getTable().isEditing()) {
       getTable().editingStopped(new ChangeEvent(this));
     }
     getTable().editingCanceled(new ChangeEvent(this));
     props.setObject(o);
     getTableModel().fireTableStructureChanged();
     getTable().setRowHeightToMaximumPreferredHeight();
   }
 }
Ejemplo n.º 2
0
 /**
  * Gets the bound subject bean.
  *
  * @return the subject
  */
 public Object getObject() {
   return props.getObject();
 }