Ejemplo n.º 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());
 }
Ejemplo n.º 2
0
 public FieldParam(FieldParam p) {
   super((Param) p);
   field = p.field;
   fieldOwner = p.fieldOwner;
   // uiRepCopy = field.getUIRepCopy();//REMOVED 8/10/10
   // setUIRep(uiRepCopy.getComponent());//REMOVED 8/10/10
   ExpCoordinator.print(
       new String("FieldParam(" + label + ")(FieldParam) default:" + p.getDefaultValue()),
       TEST_FIELDPARAM);
 }
Ejemplo n.º 3
0
 public FieldParam(ParamSpec fps, ONLComponent pc, Command cs) {
   super((ParamSpec) fps, pc, cs);
   if (cs.getFieldOwner() == null && pc instanceof Field.Owner) fieldOwner = (Field.Owner) pc;
   else fieldOwner = cs.getFieldOwner();
   getField();
   setDefaultValue(fps.getDefaultValue());
   ExpCoordinator.print(
       new String(
           "FieldParam("
               + label
               + ")(ParamSpec, ONLComponent, Command) command:"
               + cs.getLabel()
               + " default:"
               + fps.getDefaultValue()),
       TEST_FIELDPARAM);
 }