Package Framework

Examples of Framework.DecimalData


    // ------------
    public FormattingTests() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.initialize();
        this.setCost(new DecimalData());
        this.setPercentage(3);

    }
View Full Code Here


        }
        return bindingManager;
    }

    public void setCost(DecimalData cost) {
        DecimalData oldValue = this.cost;
        this.cost = cost;
        this.qq_Listeners.firePropertyChange("cost", oldValue, this.cost);
    }
View Full Code Here

        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.initialize();

        this.setTemplatedate(new DateTimeNullable());
        this.setTestMask2(new DecimalData());

        this.setArrayMaskTester(new Array_Of_ContainerClass<ContainerClass>());

    }
View Full Code Here

    public float getTestMask1() {
        return this.testMask1;
    }

    public void setTestMask2(DecimalData testMask2) {
        DecimalData oldValue = this.testMask2;
        this.testMask2 = testMask2;
        this.qq_Listeners.firePropertyChange("testMask2", oldValue, this.testMask2);
    }
View Full Code Here

            try {
              // TF:10/4/08:Added in the scale of decimaldatas if necessary
              Object currentValue = this.docFilter.field.getValue();
          DataValue dataValue = FormatterUtils.createDataValueInstance(numericValueClass);
          if (currentValue instanceof DecimalData) {
            DecimalData originalValue = (DecimalData)currentValue;
            if (!originalValue.isNull() && dataValue instanceof DecimalData) {
              ((DecimalData)dataValue).setScale(originalValue.getScale());
            }
          }
          // TF:29 sept. 2008:Changed this to use the generic method to prevent numerics being
          // converted to strings, and hence losing international formatting characters
          FormatterUtils.setDataValue(dataValue, value);
View Full Code Here

        this.setADropListString("Four");
        this.setADropListIntegerData(new IntegerData(2));
        this.setADropListInteger(3);
        this.setADoubleData(new DoubleData(24.35));
        this.setADouble(100.5);
        this.setADecimalData(new DecimalData(24.35));
        this.setADate(new DateTimeData().setCurrent());
        this.setList(BraShop_proxy.getInstance().getAll());
        this.setTheBra(new Bra());
        File f = new File();
        f.setLocalName(new TextData("C:\\forte\\userapp\\forte\\cl0\\forte.hlp"));
View Full Code Here

    public String getAString() {
        return this.aString;
    }

    public void setADecimalData(DecimalData aDecimalData) {
        DecimalData oldValue = this.aDecimalData;
        this.aDecimalData = aDecimalData;
        this.qq_Listeners.firePropertyChange("ADecimalData", oldValue, this.aDecimalData);
    }
View Full Code Here

            format = new TextData("my name is %1 %2, age: %3, weight %4, married %5, born %6, ratio %7");
            text.replaceParameters(format, new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85), new BooleanData(true, BooleanData.qq_Resolver.cVALUE), new DateTimeData(new TextData("01-Jan-1960"), DateTimeData.qq_Resolver.cVALUE), new DoubleData(3.4));
            //
            //   with textdata format and 8 parameters
            format = new TextData("my name is %1 %2, age: %3, weight %4, married %5, born %6, ratio %7, income %8");
            text.replaceParameters(format, new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85), new BooleanData(true, BooleanData.qq_Resolver.cVALUE), new DateTimeData(new TextData("01-Jan-1960"), DateTimeData.qq_Resolver.cVALUE), new DoubleData(3.4), new DecimalData(50010.35));
            //
            //   with textdata format and 9 parameters
            format = new TextData("my name is %1 %2, age: %3, weight %4, married %5, born %6, ratio %7, income %8, happy %9");
            text.replaceParameters(format, new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85), new BooleanData(true, BooleanData.qq_Resolver.cVALUE), new DateTimeData(new TextData("01-Jan-1960"), DateTimeData.qq_Resolver.cVALUE), new DoubleData(3.4), new DecimalData(50010.35), new BooleanData(true, BooleanData.qq_Resolver.cVALUE));

            //
            //   with string format and 1 parameter
            text.replaceParameters("my name is %1", new TextData("Fred"));
            //
            //   with string format and 2 parameters
            text.replaceParameters("my name is %1 %2", new TextData("Fred"), new TextData("Jones"));
            //
            //   with string format and 3 parameters
            text.replaceParameters("my name is %1 %2, age: %3", new TextData("Fred"), new TextData("Jones"), new IntegerData(35));
            //
            //   with string format and 4 parameters
            text.replaceParameters("my name is %1 %2, age: %3, weight %4", new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85));
            //
            //   with string format and 5 parameters
            text.replaceParameters("my name is %1 %2, age: %3, weight %4, married %5", new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85), new BooleanData(true, BooleanData.qq_Resolver.cVALUE));
            //
            //   with string format and 6 parameters
            text.replaceParameters("my name is %1 %2, age: %3, weight %4, married %5, born %6", new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85), new BooleanData(true, BooleanData.qq_Resolver.cVALUE), new DateTimeData(new TextData("01-Jan-1960"), DateTimeData.qq_Resolver.cVALUE));
            //
            //   with string format and 7 parameters
            text.replaceParameters("my name is %1 %2, age: %3, weight %4, married %5, born %6, ratio %7", new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85), new BooleanData(true, BooleanData.qq_Resolver.cVALUE), new DateTimeData(new TextData("01-Jan-1960"), DateTimeData.qq_Resolver.cVALUE), new DoubleData(3.4));
            //
            //   with string format and 8 parameters
            text.replaceParameters("my name is %1 %2, age: %3, weight %4, married %5, born %6, ratio %7, income %8", new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85), new BooleanData(true, BooleanData.qq_Resolver.cVALUE), new DateTimeData(new TextData("01-Jan-1960"), DateTimeData.qq_Resolver.cVALUE), new DoubleData(3.4), new DecimalData(50010.35));
            //
            //   with string format and 9 parameters
            text.replaceParameters("my name is %1 %2, age: %3, weight %4, married %5, born %6, ratio %7, income %8, happy %9", new TextData("Fred"), new TextData("Jones"), new IntegerData(35), new IntegerData(85), new BooleanData(true, BooleanData.qq_Resolver.cVALUE), new DateTimeData(new TextData("01-Jan-1960"), DateTimeData.qq_Resolver.cVALUE), new DoubleData(3.4), new DecimalData(50010.35), new BooleanData(true, BooleanData.qq_Resolver.cVALUE));

        }

        int time = (int)sw.split();
        Logger.getLogger("task.part.logmgr").info( Integer.toString(time));
View Full Code Here

        this.setMDateTimeData2(new DateTimeData());
        this.setMDateTimeData3(new DateTimeData());
        this.setMDateTimeNullable1(new DateTimeNullable());
        this.setMDateTimeNullable2(new DateTimeNullable());
        this.setMDateTimeNullable3(new DateTimeNullable());
        this.setMDecimalData1(new DecimalData());
        this.setMDecimalData2(new DecimalData());
        this.setMDecimalData3(new DecimalData());
        this.setMDecimalData4(new DecimalData());
        this.setMDecimalData5(new DecimalData());
        this.setMDecimalNullable1(new DecimalNullable());
        this.setMDecimalNullable2(new DecimalNullable());
        this.setMDecimalNullable3(new DecimalNullable());
        this.setMDecimalNullable4(new DecimalNullable());
        this.setMDecimalNullable5(new DecimalNullable());
View Full Code Here

    public DateTimeNullable getMDateTimeNullable3() {
        return this.mDateTimeNullable3;
    }

    public void setMDecimalData1(DecimalData mDecimalData1) {
        DecimalData oldValue = this.mDecimalData1;
        this.mDecimalData1 = mDecimalData1;
        this.qq_Listeners.firePropertyChange("MDecimalData1", oldValue, this.mDecimalData1);
    }
View Full Code Here

TOP

Related Classes of Framework.DecimalData

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.