Package Framework

Examples of Framework.IntegerData


        this.setATextData(new TextData("Heli"));
        this.setAToggleBoolean(true);
        this.setAString("hello");
        this.setAScrollListTextData(new TextData("Four"));
        this.setAScrollListString("Two");
        this.setAScrollListIntegerData(new IntegerData(4));
        this.setAScrollListInteger(3);
        this.setAScrollIntegerData(new IntegerData(50));
        this.setAScrollInteger(60);
        this.setARadioTextData(new TextData("Three"));
        this.setARadioString("Four");
        this.setARadioIntegerData(new IntegerData(4));
        this.setARadioInteger(2);
        this.setAPhone("0212345678");
        this.setAIntegerData(new IntegerData(56));
        this.setAInteger(7);
        this.setAFillInTextdata(new TextData("Two"));
        this.setAFillInString("Three");
        this.setADropListTextData(new TextData("Three"));
        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());
View Full Code Here


    public int getARadioInteger() {
        return this.aRadioInteger;
    }

    public void setARadioIntegerData(IntegerData aRadioIntegerData) {
        IntegerData oldValue = this.aRadioIntegerData;
        this.aRadioIntegerData = aRadioIntegerData;
        this.qq_Listeners.firePropertyChange("ARadioIntegerData", oldValue, this.aRadioIntegerData);
    }
View Full Code Here

    public int getADropListInteger() {
        return this.aDropListInteger;
    }

    public void setADropListIntegerData(IntegerData aDropListIntegerData) {
        IntegerData oldValue = this.aDropListIntegerData;
        this.aDropListIntegerData = aDropListIntegerData;
        this.qq_Listeners.firePropertyChange("ADropListIntegerData", oldValue, this.aDropListIntegerData);
    }
View Full Code Here

    public int getAScrollListInteger() {
        return this.aScrollListInteger;
    }

    public void setAScrollListIntegerData(IntegerData aScrollListIntegerData) {
        IntegerData oldValue = this.aScrollListIntegerData;
        this.aScrollListIntegerData = aScrollListIntegerData;
        this.qq_Listeners.firePropertyChange("AScrollListIntegerData", oldValue, this.aScrollListIntegerData);
    }
View Full Code Here

    public int getAScrollInteger() {
        return this.aScrollInteger;
    }

    public void setAScrollIntegerData(IntegerData aScrollIntegerData) {
        IntegerData oldValue = this.aScrollIntegerData;
        this.aScrollIntegerData = aScrollIntegerData;
        this.qq_Listeners.firePropertyChange("AScrollIntegerData", oldValue, this.aScrollIntegerData);
    }
View Full Code Here

    public int getAInteger() {
        return this.aInteger;
    }

    public void setAIntegerData(IntegerData aIntegerData) {
        IntegerData oldValue = this.aIntegerData;
        this.aIntegerData = aIntegerData;
        this.qq_Listeners.firePropertyChange("AIntegerData", oldValue, this.aIntegerData);
    }
View Full Code Here

     * populateMock<p>
     * <p>
     */
    public void populateMock() {
        for (int i = 1; i <= 100; i++) {
            IntegerData intg = new IntegerData(i);
            Bra b = new Bra();
            b.setName(intg.getTextValue().getValue());
            b.setCost(i);
            b.getMarkup().setIsNull(true);
            b.setStyle(2);
            this.getList().add(b);
        }
View Full Code Here

        if (Integer.class.equals(this.mapType)) {
            return new Integer(element.getIntegerValue());
        }
        else if (IntegerData.class.isAssignableFrom(mapType)) {
            try {
                IntegerData newValue = (IntegerData)mapType.newInstance();
                newValue.setValue(element.getIntegerValue());
                return newValue;
            }
            catch (Exception e) {
                // Shouldn't get here, let's keep the compiler happy
                return new IntegerData(element.getIntegerValue());
            }
        }
        else if (TextData.class.isAssignableFrom(mapType))
            try {
                TextData newValue = (TextData)mapType.newInstance();
                newValue.setValue(element.getTextValue());
                return newValue;
            }
            catch (Exception e) {
                // Shouldn't get here, let's keep the compiler happy
                return element == null ? null : element.getTextValue();
View Full Code Here

    public JButton getLastCMD() {
        return this.lastCMD;
    }

    public void setMode(IntegerData mode) {
        IntegerData oldValue = this.mode;
        this.mode = mode;
        this.qq_Listeners.firePropertyChange("mode", oldValue, this.mode);
    }
View Full Code Here

            int num;
            if (value instanceof Number) {
              num = ((Number)value).intValue();
            }
            else {
              IntegerData anInt = (IntegerData)value;

              if (anInt.isNull()) {
                // If it is null, then clear out the radio list.  CraigM: 08/08/2007
                this.radioList.clearSelection();

                return this.radioList;
              }
              else {
                num = anInt.intValue();
              }
            }
            this.radioList.setSelectedIndex(num-1);
          }
          // must be s string or textdata
View Full Code Here

TOP

Related Classes of Framework.IntegerData

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.