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()); }
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); }
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); }