/** * Display this control's data in print (view) format. * @return true if default params were found for this form. * @param out The http output stream. * @exception DBException File exception. */ public boolean printData(PrintWriter out, int iPrintOptions) { if (!this.isInputField()) return false; if (this.isToolbar()) return false; return this.getScreenFieldView().printData(out, iPrintOptions); } /**
/** * Display this control's data in print (view) format. * @return true if default params were found for this form. * @param out The http output stream. * @exception DBException File exception. */ public boolean printData(PrintWriter out, int iPrintOptions) { if (!this.isInputField()) return false; if (this.isToolbar()) return false; return this.getScreenFieldView().printData(out, iPrintOptions); } /**
/** * Move the HTML input to the screen record fields. * @param strSuffix Only move fields with the suffix. * @return true if one was moved. * @exception DBException File exception. */ public int setSFieldToProperty(String strSuffix, boolean bDisplayOption, int iMoveMode) { int iErrorCode = DBConstants.NORMAL_RETURN; if (this.isInputField()) { String strFieldName = this.getSFieldParam(strSuffix); String strParamValue = this.getSFieldProperty(strFieldName); if (strParamValue != null) iErrorCode = this.setSFieldValue(strParamValue, bDisplayOption, iMoveMode); } return iErrorCode; } /**
/** * Move the HTML input to the screen record fields. * @param strSuffix Only move fields with the suffix. * @return true if one was moved. * @exception DBException File exception. */ public int setSFieldToProperty(String strSuffix, boolean bDisplayOption, int iMoveMode) { int iErrorCode = Constant.NORMAL_RETURN; if (this.isInputField()) { String strFieldName = this.getSFieldParam(strSuffix); String strParamValue = this.getSFieldProperty(strFieldName); if (strParamValue != null) iErrorCode = this.setSFieldValue(strParamValue, bDisplayOption, iMoveMode); } return iErrorCode; } /**
if (!((ScreenField)field.getComponent(i)).isInputField()) continue; // Only need params for input fields (not buttons, etc) if (((ScreenField)field.getComponent(i)).getParentScreen() != this.getParentScreen())
if (!((ScreenField)field.getComponent(i)).isInputField()) continue; // Only need params for input fields (not buttons, etc) if (((ScreenField)field.getComponent(i)).getParentScreen() != this.getParentScreen())
if (screen == this) bPrintControl = false; // My children are the report detail (Not params). if (!sField.isInputField()) bPrintControl = false; if (!sField.isEnabled())
if (screen == this) bPrintControl = false; // My children are the report detail (Not params). if (!sField.isInputField()) bPrintControl = false; if (!sField.isEnabled())
if (!(this.getScreenField() instanceof BasePanel)) if (this.getScreenField().isInputField())
if (!(this.getScreenField() instanceof BasePanel)) if (this.getScreenField().isInputField())