示例#1
0
 public Object getUIRep() {
   if (uiRepCopy == null) {
     if (field == null)
       ExpCoordinator.print(
           new String("FieldParam(" + getLabel() + ").getUIRep field is null"), TEST_UIREP);
     else
       ExpCoordinator.print(
           new String("FieldParam(" + getLabel() + ").getUIRep field:" + field.toString()),
           TEST_UIREP);
     uiRepCopy = field.getUIRepCopy(isEditable());
     setUIRep(uiRepCopy.getComponent());
   }
   return (super.getUIRep());
 }
示例#2
0
 /**
  * ** Sets the field at the specified index ** @param ndx The index of the field to set ** @param
  * fld The field to set *
  */
 public void setField(int ndx, Field fld) {
   this.templateProps.setString(String.valueOf(ndx), fld.toString());
   this.fieldCount = -1;
 }