Package Framework

Examples of Framework.TextData


        // ----------
        EventManager.startEventLoop();
        try {
            EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );
            File f = new File();
            f.setLocalName(new TextData("c:\\sdiWindow.txt"));
            f.open(Framework.Constants.SP_AM_WRITE, false);
            UIutils.traceWidget(this);
            f.close();

View Full Code Here


    public TextData getATextField() {
        return this.aTextField;
    }

    public void setATextEditField(TextData aTextEditField) {
        TextData oldValue = this.aTextEditField;
        this.aTextEditField = aTextEditField;
        this.qq_Listeners.firePropertyChange("ATextEditField", oldValue, this.aTextEditField);
    }
View Full Code Here

    public int getADropList() {
        return this.aDropList;
    }

    public void setAFillinFIeld(TextData aFillinFIeld) {
        TextData oldValue = this.aFillinFIeld;
        this.aFillinFIeld = aFillinFIeld;
        this.qq_Listeners.firePropertyChange("AFillinFIeld", oldValue, this.aFillinFIeld);
    }
View Full Code Here

        this.setToggle8(new BooleanData());
        this.setToggle9(new BooleanNullable());
        this.setToggle10(new BooleanNullable());

        this.setStaticScrollListSingleSelectIntegerData(new IntegerData());
        this.setStaticScrollListSingleSelectTextData(new TextData());

    }
View Full Code Here

    public IntegerData getStaticScrollListSingleSelectIntegerData() {
        return this.staticScrollListSingleSelectIntegerData;
    }

    public void setStaticScrollListSingleSelectTextData(TextData staticScrollListSingleSelectTextData) {
        TextData oldValue = this.staticScrollListSingleSelectTextData;
        this.staticScrollListSingleSelectTextData = staticScrollListSingleSelectTextData;
        this.qq_Listeners.firePropertyChange("staticScrollListSingleSelectTextData", oldValue, this.staticScrollListSingleSelectTextData);
    }
View Full Code Here

    public IntegerData getDynamicScrollListSingleSelectIntegerData() {
        return this.dynamicScrollListSingleSelectIntegerData;
    }

    public void setDynamicScrollListSingleSelectTextData(TextData dynamicScrollListSingleSelectTextData) {
        TextData oldValue = this.dynamicScrollListSingleSelectTextData;
        this.dynamicScrollListSingleSelectTextData = dynamicScrollListSingleSelectTextData;
        this.qq_Listeners.firePropertyChange("dynamicScrollListSingleSelectTextData", oldValue, this.dynamicScrollListSingleSelectTextData);
    }
View Full Code Here

     * display<p>
     * <p>
     */
    public void display() {
        Array_Of_ListElement<ListElement> aList = new Array_Of_ListElement<ListElement>();
        aList.add(new ListElement(1, new TextData("uno"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        aList.add(new ListElement(2, new TextData("dos"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        aList.add(new ListElement(3, new TextData("tres"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        aList.add(new ListElement(4, new TextData("cuatro"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        aList.add(new ListElement(5, new TextData("cinco"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        ElementList.set(this.getqq_DynamicDropListString(), aList);
        ElementList.set(this.getqq_DynamicDropListInteger(), aList);
        ElementList.set(this.getqq_RadioListDynamicInteger(), aList);
        ElementList.set(this.getqq_DynamicScrollListMultiSelectInteger(), aList);
        ElementList.set(this.getqq_DynamicScrollListSingleSelectInteger(), aList);

        aList.clear();
        aList.add(new ListElement(6, new TextData("seis"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        aList.add(new ListElement(7, new TextData("siete"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        aList.add(new ListElement(8, new TextData("ocho"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        aList.add(new ListElement(9, new TextData("nueve"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        aList.add(new ListElement(10, new TextData("dies"), ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE));
        this.getqq_DynamicFillinFieldString().setElementList(aList);
        ElementList.set(this.getqq_RadioListDynamicString(), aList);
        ElementList.set(this.getqq_DynamicScrollListSingleSelectIntegerData(), aList);
        ElementList.set(this.getqq_DynamicScrollListSingleSelectString(), aList);
        ElementList.set(this.getqq_DynamicScrollListSingleSelectTextData(), aList);

        UserWindow.open(this);

        // ----------
        // Event Loop
        // ----------
        EventManager.startEventLoop();
        try {
            EventRegistration PushButton_Click_getqq_SLPrintBtn = ClientEventManager.register( this.getqq_SLPrintBtn(), "Click" );
            EventRegistration PushButton_Click_getqq_SLSetBtn = ClientEventManager.register( this.getqq_SLSetBtn(), "Click" );
            EventRegistration PushButton_Click_getqq_PrintComboBoxesBtn = ClientEventManager.register( this.getqq_PrintComboBoxesBtn(), "Click" );
            EventRegistration PushButton_Click_getqq_SetComboBoxesBtn = ClientEventManager.register( this.getqq_SetComboBoxesBtn(), "Click" );
            EventRegistration PushButton_Click_getqq_RLPrintBtn = ClientEventManager.register( this.getqq_RLPrintBtn(), "Click" );
            EventRegistration PushButton_Click_getqq_RLSetBtn = ClientEventManager.register( this.getqq_RLSetBtn(), "Click" );
            EventRegistration PushButton_Click_getqq_ToggleSetBtn = ClientEventManager.register( this.getqq_ToggleSetBtn(), "Click" );
            EventRegistration PushButton_Click_getqq_TogglePrintBtn = ClientEventManager.register( this.getqq_TogglePrintBtn(), "Click" );
            EventRegistration ScrollBar_AfterValueChange_getqq_TestScrollBar = ClientEventManager.register( this.getqq_TestScrollBar(), "AfterValueChange" );
            EventRegistration PushButton_Click_getqq_SBSetBtn = ClientEventManager.register( this.getqq_SBSetBtn(), "Click" );
            EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );

            while (true) {

                UIutils.processGUIActions();
                EventHandle qq_currentEvent = EventManager.waitForEvent();
                if (qq_currentEvent == null)
                    break;

                // -----------------------
                // self.<SLPrintBtn>.Click
                // -----------------------
                if (qq_currentEvent.isEvent(PushButton_Click_getqq_SLPrintBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        TextData aMsg = new TextData();
                        aMsg.concat("StaticScrollListSingleSelectInteger = ").concat(this.getStaticScrollListSingleSelectInteger()).concat("\n");
                        aMsg.concat("StaticScrollListSingleSelectString = ").concat(this.getStaticScrollListSingleSelectString()).concat("\n");
                        aMsg.concat("StaticScrollListSingleSelectIntegerData = ").concat(this.getStaticScrollListSingleSelectIntegerData()).concat("\n");
                        aMsg.concat("StaticScrollListSingleSelectTextData = ").concat(this.getStaticScrollListSingleSelectTextData()).concat("\n");
                        aMsg.concat("StaticScrollListMultiSelectInteger = ").concat(this.getStaticScrollListMultiSelectInteger()).concat("\n");
                        aMsg.concat("DynamicScrollListSingleSelectInteger = ").concat(this.getDynamicScrollListSingleSelectInteger()).concat("\n");
                        aMsg.concat("DynamicScrollListSingleSelectString = ").concat(this.getDynamicScrollListSingleSelectString()).concat("\n");
                        aMsg.concat("DynamicScrollListSingleSelectIntegerData = ").concat(this.getDynamicScrollListSingleSelectIntegerData()).concat("\n");
                        aMsg.concat("DynamicScrollListSingleSelectTextData = ").concat(this.getDynamicScrollListSingleSelectTextData()).concat("\n");
                        aMsg.concat("DynamicScrollListMultiSelectInteger = ").concat(this.getDynamicScrollListMultiSelectInteger()).concat("\n");
                        Logger.getLogger("task.part.logmgr").info(aMsg);


                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ---------------------
                // self.<SLSetBtn>.Click
                // ---------------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_SLSetBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        this.setStaticScrollListSingleSelectInteger(2);
                        this.setStaticScrollListSingleSelectString("Three");
                        this.getStaticScrollListSingleSelectIntegerData().setValue(4);
                        this.setStaticScrollListSingleSelectTextData(new TextData("One"));
                        this.setStaticScrollListMultiSelectInteger(3);
                        this.setDynamicScrollListSingleSelectInteger(5);
                        this.setDynamicScrollListSingleSelectString("nueve");
                        this.setDynamicScrollListSingleSelectIntegerData(new IntegerData(9));
                        this.setDynamicScrollListSingleSelectTextData(new TextData("ocho"));
                        this.setDynamicScrollListMultiSelectInteger(8);


                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // -------------------------------
                // self.<PrintComboBoxesBtn>.Click
                // -------------------------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_PrintComboBoxesBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        TextData aMsg = new TextData();
                        aMsg.concat("StaticDropListString = ").concat(this.getStaticDropListString()).concat("\n");
                        aMsg.concat("StaticDropListInteger = ").concat(this.getStaticDropListInteger()).concat("\n");
                        aMsg.concat("DynamicDropListString = ").concat(this.getDynamicDropListString()).concat("\n");
                        aMsg.concat("DynamicDropListInteger = ").concat(this.getDynamicDropListInteger()).concat("\n");
                        aMsg.concat("StaticFillinFieldString = ").concat(this.getStaticFillinFieldString()).concat("\n");
                        aMsg.concat("DynamicFillinFieldString = ").concat(this.getDynamicFillinFieldString()).concat("\n");
                        Logger.getLogger("task.part.logmgr").info(aMsg);


                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // -----------------------------
                // self.<SetComboBoxesBtn>.Click
                // -----------------------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_SetComboBoxesBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        this.setStaticDropListString("One");
                        this.setStaticDropListInteger(2);
                        this.setDynamicDropListString("tres");
                        this.setDynamicDropListInteger(4);
                        this.setStaticFillinFieldString("Five");
                        this.setDynamicFillinFieldString("siete");

                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // -----------------------
                // self.<RLPrintBtn>.Click
                // -----------------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_RLPrintBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        TextData aMsg = new TextData();
                        aMsg.concat("RadioListInteger = ").concat(this.getRadioListInteger()).concat("\n");
                        aMsg.concat("RadioListIntegerNullable = ").concat(this.getRadioListIntegerNullable()).concat("\n");
                        aMsg.concat("RadioListString = ").concat(this.getRadioListString()).concat("\n");
                        aMsg.concat("RadioListTextData = ").concat(this.getRadioListTextData()).concat("\n");
                        aMsg.concat("RadioListDynamicInteger = ").concat(this.getRadioListDynamicInteger()).concat("\n");
                        aMsg.concat("RadioListDynamicString = ").concat(this.getRadioListDynamicString()).concat("\n");
                        Logger.getLogger("task.part.logmgr").info(aMsg);

                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ---------------------
                // self.<RLSetBtn>.Click
                // ---------------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_RLSetBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        this.setRadioListInteger(2);
                        this.setRadioListIntegerNullable(null);
                        this.setRadioListString("Four");
                        this.setRadioListTextData(3);
                        this.setRadioListDynamicInteger(4);
                        this.setRadioListDynamicString("siete");

                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // -------------------------
                // self.<ToggleSetBtn>.Click
                // -------------------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_ToggleSetBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        this.setToggle1(true);
                        this.setToggle6(false);
                        this.setToggle2(new BooleanData(true, BooleanData.qq_Resolver.cVALUE));
                        this.setToggle3(new BooleanNullable(true, BooleanNullable.qq_Resolver.cISNULL));
                        this.setToggle4(new BooleanData(false, BooleanData.qq_Resolver.cVALUE));
                        this.setToggle5(new BooleanNullable(true, BooleanNullable.qq_Resolver.cVALUE));
                        this.getToggle7().setValue(true);
                        this.getToggle8().setValue(false);
                        this.getToggle9().setValue(true);
                        this.getToggle10().setValue(false);

                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ---------------------------
                // self.<TogglePrintBtn>.Click
                // ---------------------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_TogglePrintBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        TextData aMsg = new TextData();
                        aMsg.concat("Toggle1 = ").concat(this.getToggle1()).concat("\n");
                        aMsg.concat("Toggle2 = ").concat(this.getToggle2().getValue()).concat("\n");
                        aMsg.concat("Toggle3 = ").concat(this.getToggle3().getValue()).concat("\n");
                        aMsg.concat("Toggle4 = ").concat(this.getToggle4().getValue()).concat("\n");
                        aMsg.concat("Toggle5 = ").concat(this.getToggle5().getValue()).concat("\n");
                        aMsg.concat("Toggle6 = ").concat(this.getToggle6()).concat("\n");
                        aMsg.concat("Toggle7 = ").concat(this.getToggle7().getValue()).concat("\n");
                        aMsg.concat("Toggle8 = ").concat(this.getToggle8().getValue()).concat("\n");
                        aMsg.concat("Toggle9 = ").concat(this.getToggle9().getValue()).concat("\n");
                        aMsg.concat("Toggle10 = ").concat(this.getToggle10().getValue()).concat("\n");
                        Logger.getLogger("task.part.logmgr").info(aMsg);

                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // -------------------------------------
                // self.<TestScrollBar>.AfterValueChange
                // -------------------------------------
                else if (qq_currentEvent.isEvent(ScrollBar_AfterValueChange_getqq_TestScrollBar)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        TextValue.set(this.getqq_SBValue(), (TextData)new TextData("Value: ").concat(this.getTestScrollBar()));

                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ---------------------
                // self.<SBSetBtn>.Click
                // ---------------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_SBSetBtn)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        this.setTestScrollBar(50);
                        TextValue.set(this.getqq_SBValue(), (TextData)new TextData("Value: ").concat(this.getTestScrollBar()));

                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
View Full Code Here

    // ------------
    public MoneyDomain() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();

        this.fmt = new NumericFormat(new TextData("$#,##0.00"), NumericFormat.qq_Resolver.cTEMPLATE);

    }
View Full Code Here

     * fillString<p>
     * <p>
     * @param target Type: TextData
     */
    public void fillString(TextData target) {
        TextData aMsg = new TextData();
        aMsg.concat("fillString(").concat(target).concat(");");
        Logger.getLogger("task.part.logmgr").info(aMsg);

        super.fillString(target);

        if (target != null) {
            target.setValue( this.fmt.formatNumeric(new DoubleData(target.getDoubleValue())) );
        }
        else {
            target = new TextData();
        }

        aMsg.clear();
        aMsg.concat("end fillString(").concat(target).concat(");");
        Logger.getLogger("task.part.logmgr").info(aMsg);
    }
View Full Code Here

     * <p>
     * @param pShowCents Type: boolean
     */
    public void setFormat(boolean pShowCents) {
        if (pShowCents) {
            this.fmt = new NumericFormat(new TextData("$#,##0.00"), NumericFormat.qq_Resolver.cTEMPLATE);
        }
        else {
            this.fmt = new NumericFormat(new TextData("$#,##0"), NumericFormat.qq_Resolver.cTEMPLATE);
        }
    }
View Full Code Here

TOP

Related Classes of Framework.TextData

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.