Package DisplayProject

Examples of DisplayProject.FixedLengthDocument


        if (qq_wDC == null) {
            // Mask type: Constants.MK_NUMERIC
            qq_wDC = DataFieldFactory.newDataField("wDC", 20, WeirdDC.class, Constants.MK_NUMERIC);
            qq_wDC.setOriginalFormatText(null);
            qq_wDC.setHorizontalAlignment(JTextField.LEFT);
            qq_wDC.setDocument( new FixedLengthDocument(12) ); // Max characters of 12
            getBindingManager().bindComponent(qq_wDC, "WDC");
            WidthPolicy.set(qq_wDC, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_wDC, Constants.SP_NATURAL);
            qq_wDC.setMinimumSize(new Dimension(129, 19));
            qq_wDC.setSize(new Dimension(129, 19));
View Full Code Here


        if (qq_statusTime_wed_dtnull == null) {
            // Mask type: MK_NONE
            qq_statusTime_wed_dtnull = DataFieldFactory.newDataField("statusTime_wed_dtnull", 22, DateTimeNullable.class, Constants.MK_NONE);
            qq_statusTime_wed_dtnull.setOriginalFormatText(null);
            qq_statusTime_wed_dtnull.setHorizontalAlignment(JTextField.LEFT);
            qq_statusTime_wed_dtnull.setDocument( new FixedLengthDocument(21) ); // Max characters of 21
            getBindingManager().bindComponent(qq_statusTime_wed_dtnull, "statusTime_wed_dtnull");
            WidthPolicy.set(qq_statusTime_wed_dtnull, Constants.SP_NATURAL);
            HeightPolicy.set(qq_statusTime_wed_dtnull, Constants.SP_NATURAL);
            qq_statusTime_wed_dtnull.setMinimumSize(new Dimension(141, 19));
            ColourChange.setBackground(qq_statusTime_wed_dtnull, Constants.C_GRAY2);
View Full Code Here

            // Mask type: MK_NONE
            qq_statusUserID_wed = DataFieldFactory.newDataField("statusUserID_wed", 11, TextData.class, Constants.MK_NONE);
            qq_statusUserID_wed.setValue("");
            qq_statusUserID_wed.setOriginalFormatText(null);
            qq_statusUserID_wed.setHorizontalAlignment(JTextField.LEFT);
            qq_statusUserID_wed.setDocument( new FixedLengthDocument(10) ); // Max characters of 10
            getBindingManager().bindComponent(qq_statusUserID_wed, "statusUserID_wed");
            WidthPolicy.set(qq_statusUserID_wed, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_statusUserID_wed, Constants.SP_NATURAL);
            qq_statusUserID_wed.setMinimumSize(new Dimension(79, 19));
            qq_statusUserID_wed.setSize(new Dimension(79, 19));
View Full Code Here

        if (qq_statusTime_wed == null) {
            // Mask type: MK_NONE
            qq_statusTime_wed = DataFieldFactory.newDataField("statusTime_wed", 19, DateTimeData.class, Constants.MK_NONE);
            qq_statusTime_wed.setOriginalFormatText(null);
            qq_statusTime_wed.setHorizontalAlignment(JTextField.LEFT);
            qq_statusTime_wed.setDocument( new FixedLengthDocument(19) ); // Max characters of 19
            getBindingManager().bindComponent(qq_statusTime_wed, "statusTime_wed");
            WidthPolicy.set(qq_statusTime_wed, Constants.SP_NATURAL);
            HeightPolicy.set(qq_statusTime_wed, Constants.SP_NATURAL);
            qq_statusTime_wed.setMinimumSize(new Dimension(124, 19));
            ColourChange.setBackground(qq_statusTime_wed, Constants.C_GRAY2);
View Full Code Here

        if (qq_aDoubleDomain == null) {
            // Mask type: Constants.MK_FLOAT
            qq_aDoubleDomain = DataFieldFactory.newDataField("aDoubleDomain", 20, DoubleDomain.class, Constants.MK_FLOAT);
            qq_aDoubleDomain.setOriginalFormatText(null);
            qq_aDoubleDomain.setHorizontalAlignment(JTextField.RIGHT);
            qq_aDoubleDomain.setDocument( new FixedLengthDocument(20) ); // Max characters of 20
            getBindingManager().bindComponent(qq_aDoubleDomain, "ADoubleDomain");
            WidthPolicy.set(qq_aDoubleDomain, Constants.SP_NATURAL);
            HeightPolicy.set(qq_aDoubleDomain, Constants.SP_NATURAL);
            qq_aDoubleDomain.setMinimumSize(new Dimension(129, 19));
            // HelpTopic
View Full Code Here

        if (qq_aIntegerDomain == null) {
            // Mask type: Constants.MK_INTEGER
            qq_aIntegerDomain = DataFieldFactory.newDataField("aIntegerDomain", 10, IntegerDomain.class, Constants.MK_INTEGER);
            qq_aIntegerDomain.setOriginalFormatText(null);
            qq_aIntegerDomain.setHorizontalAlignment(JTextField.RIGHT);
            qq_aIntegerDomain.setDocument( new FixedLengthDocument(10) ); // Max characters of 10
            getBindingManager().bindComponent(qq_aIntegerDomain, "AIntegerDomain");
            WidthPolicy.set(qq_aIntegerDomain, Constants.SP_NATURAL);
            HeightPolicy.set(qq_aIntegerDomain, Constants.SP_NATURAL);
            qq_aIntegerDomain.setMinimumSize(new Dimension(69, 19));
            // HelpTopic
View Full Code Here

    public MultiLineTextField getqq_aLongTextDomain() {
        if (qq_aLongTextDomain == null) {
            qq_aLongTextDomain = TextEditFactory.newTextField("aLongTextDomain", 10, 47);
            qq_aLongTextDomain.setWrapStyleWord( true );
            qq_aLongTextDomain.setLineWrap( true );
            qq_aLongTextDomain.setDocument( new FixedLengthDocument(250) ); // Max characters of 250
            getBindingManager().bindComponent(qq_aLongTextDomain, "ALongTextDomain");
            ExitOnTab.set(qq_aLongTextDomain, true);
            WidthPolicy.set(qq_aLongTextDomain, Constants.SP_NATURAL);
            HeightPolicy.set(qq_aLongTextDomain, Constants.SP_NATURAL);
            // HelpTopic
View Full Code Here

        if (qq_aTextDomain == null) {
            // Mask type: MK_NONE
            qq_aTextDomain = DataFieldFactory.newDataField("aTextDomain", 20, TextDomain.class, Constants.MK_NONE);
            qq_aTextDomain.setOriginalFormatText(null);
            qq_aTextDomain.setHorizontalAlignment(JTextField.LEFT);
            qq_aTextDomain.setDocument( new FixedLengthDocument(20) ); // Max characters of 20
            getBindingManager().bindComponent(qq_aTextDomain, "ATextDomain");
            WidthPolicy.set(qq_aTextDomain, Constants.SP_NATURAL);
            HeightPolicy.set(qq_aTextDomain, Constants.SP_NATURAL);
            qq_aTextDomain.setMinimumSize(new Dimension(129, 19));
            // HelpTopic
View Full Code Here

        if (qq_aInteger == null) {
            // Mask type: Constants.MK_INTEGER
            qq_aInteger = DataFieldFactory.newDataField("aInteger", 10, IntegerData.class, Constants.MK_INTEGER);
            qq_aInteger.setOriginalFormatText(null);
            qq_aInteger.setHorizontalAlignment(JTextField.RIGHT);
            qq_aInteger.setDocument( new FixedLengthDocument(10) ); // Max characters of 10
            getBindingManager().bindComponent(qq_aInteger, "AInteger");
            WidthPolicy.set(qq_aInteger, Constants.SP_NATURAL);
            HeightPolicy.set(qq_aInteger, Constants.SP_NATURAL);
            qq_aInteger.setMinimumSize(new Dimension(69, 19));
            // HelpTopic
View Full Code Here

        if (qq_aIntegerNullable == null) {
            // Mask type: Constants.MK_INTEGER
            qq_aIntegerNullable = DataFieldFactory.newDataField("aIntegerNullable", 10, IntegerNullable.class, Constants.MK_INTEGER);
            qq_aIntegerNullable.setOriginalFormatText(null);
            qq_aIntegerNullable.setHorizontalAlignment(JTextField.RIGHT);
            qq_aIntegerNullable.setDocument( new FixedLengthDocument(10) ); // Max characters of 10
            getBindingManager().bindComponent(qq_aIntegerNullable, "AIntegerNullable");
            WidthPolicy.set(qq_aIntegerNullable, Constants.SP_NATURAL);
            HeightPolicy.set(qq_aIntegerNullable, Constants.SP_NATURAL);
            qq_aIntegerNullable.setMinimumSize(new Dimension(69, 19));
            // HelpTopic
View Full Code Here

TOP

Related Classes of DisplayProject.FixedLengthDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.