/** * 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); } /**
if (this.getScreenField().isToolbar()) if ((!(this.getScreenField() instanceof DisplayToolbar)) && (!(this.getScreenField() instanceof MaintToolbar)) &&
if (this.getScreenField().isToolbar()) if ((!(this.getScreenField() instanceof DisplayToolbar)) && (!(this.getScreenField() instanceof MaintToolbar)) &&
if (this.getScreenField().isToolbar()) if ((!(this.getScreenField() instanceof DisplayToolbar)) && (!(this.getScreenField() instanceof MaintToolbar)) &&
/** * Display this screen's toolbars in html input format. * @param out The html out stream. * @return true if default params were found for this form. * @exception DBException File exception. */ public boolean printZmlToolbarData(PrintWriter out, int iHtmlOptions) { boolean bFieldsFound = false; int iNumCols = ((BasePanel)this.getScreenField()).getSFieldCount(); for (int iIndex = 0; iIndex < iNumCols; iIndex++) { ScreenField sField = ((BasePanel)this.getScreenField()).getSField(iIndex); if (sField.isToolbar()) { if (sField.printData(out, HtmlConstants.HTML_INPUT | HtmlConstants.HTML_ADD_DESC_COLUMN)) bFieldsFound = true; } } return bFieldsFound; } /**
/** * Display this screen's toolbars in html input format. * @param out The html out stream. * @return true if default params were found for this form. * @exception DBException File exception. */ public boolean printZmlToolbarControls(PrintWriter out, int iHtmlOptions) { boolean bFieldsFound = false; int iNumCols = ((BasePanel)this.getScreenField()).getSFieldCount(); for (int iIndex = 0; iIndex < iNumCols; iIndex++) { ScreenField sField = ((BasePanel)this.getScreenField()).getSField(iIndex); if (sField.isToolbar()) { if (sField.printControl(out, iHtmlOptions | HtmlConstants.HTML_INPUT | HtmlConstants.HTML_ADD_DESC_COLUMN)) bFieldsFound = true; } } return bFieldsFound; } /**
/** * Display this screen's toolbars in html input format. * @param out The html out stream. * @return true if default params were found for this form. * @exception DBException File exception. */ public boolean printZmlToolbarData(PrintWriter out, int iHtmlOptions) { boolean bFieldsFound = false; int iNumCols = ((BasePanel)this.getScreenField()).getSFieldCount(); for (int iIndex = 0; iIndex < iNumCols; iIndex++) { ScreenField sField = ((BasePanel)this.getScreenField()).getSField(iIndex); if (sField.isToolbar()) { if (sField.printData(out, HtmlConstants.HTML_INPUT | HtmlConstants.HTML_ADD_DESC_COLUMN)) bFieldsFound = true; } } return bFieldsFound; } /**
/** * Display this screen's toolbars in html input format. * @param out The html out stream. * @return true if default params were found for this form. * @exception DBException File exception. */ public boolean printZmlToolbarControls(PrintWriter out, int iHtmlOptions) { boolean bFieldsFound = false; int iNumCols = ((BasePanel)this.getScreenField()).getSFieldCount(); for (int iIndex = 0; iIndex < iNumCols; iIndex++) { ScreenField sField = ((BasePanel)this.getScreenField()).getSField(iIndex); if (sField.isToolbar()) { if (sField.printControl(out, iHtmlOptions | HtmlConstants.HTML_INPUT | HtmlConstants.HTML_ADD_DESC_COLUMN)) bFieldsFound = true; } } return bFieldsFound; } /**
if (!sField.isToolbar()) if (sField.getConverter() != null) if (sField.getConverter().getField() != null)