⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reportpropertiesframe.java

📁 优秀的打印控件全源代码,类似水晶表的设计器!
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
     */    public void setRightMargin(int rightMargin) {        this.rightMargin = rightMargin;        jComboBoxRightMarginUnitActionPerformed(new java.awt.event.ActionEvent(jComboBoxRightMarginUnit,0,""));    }        /** Getter for property topMargin.     * @return Value of property topMargin.     *     */    public int getTopMargin() {        return topMargin;    }        /** Setter for property topMargin.     * @param topMargin New value of property topMargin.     *     */    public void setTopMargin(int topMargin) {        this.topMargin = topMargin;        jComboBoxTopMarginUnitActionPerformed(new java.awt.event.ActionEvent(jComboBoxTopMarginUnit,0,""));    }        /** Getter for property leftMargin.     * @return Value of property leftMargin.     *     */    public int getLeftMargin() {        return leftMargin;    }        /** Setter for property leftMargin.     * @param leftMargin New value of property leftMargin.     *     */    public void setLeftMargin(int leftMargin) {        this.leftMargin = leftMargin;        jComboBoxLeftMarginUnitActionPerformed(new java.awt.event.ActionEvent(jComboBoxLeftMarginUnit,0,""));    }        /** Getter for property bottomMargin.     * @return Value of property bottomMargin.     *     */    public int getBottomMargin() {        return bottomMargin;    }        /** Setter for property bottomMargin.     * @param bottomMargin New value of property bottomMargin.     *     */    public void setBottomMargin(int bottomMargin) {        this.bottomMargin = bottomMargin;        jComboBoxBottomMarginUnitActionPerformed(new java.awt.event.ActionEvent(jComboBoxBottomMarginUnit,0,""));    }        /** Getter for property orientation.     * @return Value of property orientation.     *     */    public java.lang.String getOrientation() {        return orientation;    }        /** Setter for property orientation.     * @param orientation New value of property orientation.     *     */    public void setOrientation(java.lang.String orientation) {        jComboBoxOrientation.setSelectedItem(orientation);        this.orientation = orientation;    }        /** Getter for property scriptletClass.     * @return Value of property scriptletClass.     *     */    public java.lang.String getScriptletClass() {        return scriptletClass;    }        /** Setter for property scriptletClass.     * @param scriptletClass New value of property scriptletClass.     *     */    public void setScriptletClass(java.lang.String scriptletClass) {        jTextFieldScriptletClass.setText(Misc.nvl(scriptletClass,""));        this.scriptletClass = scriptletClass;            }        /** Getter for property reportName.     * @return Value of property reportName.     *     */    public java.lang.String getReportName() {        return reportName;    }        /** Setter for property reportName.     * @param reportName New value of property reportName.     *     */    public void setReportName(java.lang.String reportName) {        this.reportName = reportName;        this.jTextFieldName.setText(reportName);    }        /** Getter for property columns.     * @return Value of property columns.     *     */    public int getColumns() {        return columns;    }        /** Setter for property columns.     * @param columns New value of property columns.     *     */    public void setColumns(int columns) {        this.columns = columns;        try {            jNumberFieldColumns.setValue(columns);        } catch (Exception ex) {}    }        /** Getter for property columnsSpacing.     * @return Value of property columnsSpacing.     *     */    public int getColumnsSpacing() {                return columnsSpacing;    }        /** Setter for property columnsSpacing.     * @param columnsSpacing New value of property columnsSpacing.     *     */    public void setColumnsSpacing(int columnsSpacing) {        this.columnsSpacing = columnsSpacing;        jComboBoxColumnsSpacingUnitActionPerformed(new java.awt.event.ActionEvent(jComboBoxColumnsSpacingUnit,0,""));    }        /** Getter for property columnsWidth.     * @return Value of property columnsWidth.     *     */    public int getColumnsWidth() {        return columnsWidth;    }        /** Setter for property columnsWidth.     * @param columnsWidth New value of property columnsWidth.     *     */    public void setColumnsWidth(int columnsWidth) {        this.columnsWidth = columnsWidth;        jComboBoxColumnsWidthUnitActionPerformed(new java.awt.event.ActionEvent(jComboBoxColumnsWidthUnit,0,""));    }        /** Getter for property summaryOnNewPage.     * @return Value of property summaryOnNewPage.     *     */    public boolean isSummaryOnNewPage() {        return summaryOnNewPage;    }        /** Setter for property summaryOnNewPage.     * @param summaryOnNewPage New value of property summaryOnNewPage.     *     */    public void setSummaryOnNewPage(boolean summaryOnNewPage) {        jCheckBoxSummaryOnNewPage.setSelected(summaryOnNewPage);        this.summaryOnNewPage = summaryOnNewPage;    }        /** Getter for property titleOnNewPage.     * @return Value of property titleOnNewPage.     *     */    public boolean isTitleOnNewPage() {        return titleOnNewPage;    }        /** Setter for property titleOnNewPage.     * @param titleOnNewPage New value of property titleOnNewPage.     *     */    public void setTitleOnNewPage(boolean titleOnNewPage) {        jCheckBoxTitleOnNewPage.setSelected(titleOnNewPage);        this.titleOnNewPage = titleOnNewPage;    }        /** Getter for property whenNoDataType.     * @return Value of property whenNoDataType.     *     */    public java.lang.String getWhenNoDataType() {        return whenNoDataType;    }        /** Setter for property whenNoDataType.     * @param whenNoDataType New value of property whenNoDataType.     *     */    public void setWhenNoDataType(java.lang.String whenNoDataType) {        jComboBoxWhenNoData.setSelectedItem(whenNoDataType);        this.whenNoDataType = whenNoDataType;    }        /** Getter for property xmlEncoding.     * @return Value of property xmlEncoding.     *     */    public java.lang.String getXmlEncoding() {        return xmlEncoding;    }        /** Setter for property xmlEncoding.     * @param xmlEncoding New value of property xmlEncoding.     *     */    public void setXmlEncoding(java.lang.String xmlEncoding) {        this.jComboBoxXMLEncoding.setSelectedItem(xmlEncoding);        this.xmlEncoding = xmlEncoding;    }        /** Getter for property globalUnit.     * @return Value of property globalUnit.     *     */    public int getGlobalUnit() {        return globalUnit;    }        /** Setter for property globalUnit.     * @param globalUnit New value of property globalUnit.     *     */    public void setGlobalUnit(int globalUnit) {        if ( this.globalUnit != globalUnit) {            this.globalUnit = globalUnit;            jComboBoxWUnit.setSelectedIndex(globalUnit);            jComboBoxHUnit.setSelectedIndex(globalUnit);            jComboBoxTopMarginUnit.setSelectedIndex(globalUnit);            jComboBoxBottomMarginUnit.setSelectedIndex(globalUnit);            jComboBoxLeftMarginUnit.setSelectedIndex(globalUnit);            jComboBoxRightMarginUnit.setSelectedIndex(globalUnit);            jComboBoxColumnsSpacingUnit.setSelectedIndex(globalUnit);            jComboBoxColumnsWidthUnit.setSelectedIndex(globalUnit);                    }    }        /** Getter for property printOrder.     * @return Value of property printOrder.     *     */    public java.lang.String getPrintOrder() {        return printOrder;    }        /** Setter for property printOrder.     * @param printOrder New value of property printOrder.     *     */    public void setPrintOrder(java.lang.String printOrder) {        jComboBoxPrintOrder.setSelectedItem(printOrder);        this.printOrder = printOrder;    }        /** Getter for property reportFormat.     * @return Value of property reportFormat.     *     */    public java.lang.String getReportFormat() {        return reportFormat;    }        /** Setter for property reportFormat.     * @param reportFormat New value of property reportFormat.     *     */    public void setReportFormat(java.lang.String reportFormat) {        this.reportFormat = reportFormat;        this.jComboBoxSize.setSelectedItem(reportFormat);    }        /** Getter for property scriptletHandling.     * @return Value of property scriptletHandling.     *     */    public int getScriptletHandling() {        return scriptletHandling;    }        /** Setter for property scriptletHandling.   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -