Package Framework

Examples of Framework.TextData$qq_Resolver


    /**
     * Revert status text value to previous one.
     * @param component the component in window with status line.
     */
  public void resetStatusTextForComponent(JComponent component) {
        TextData mappedProperty = (TextData)UIutils.getForm((JFrame)component.getTopLevelAncestor()).getClientProperty(cSTATUS_WIDGET);
        if (mappedProperty != null){
          String oldText = oldValueCache.get(mappedProperty);
          setStatusText(mappedProperty, oldText);
        }
  }
View Full Code Here


        return "";
    }

    protected String dataValueToString(DataValue value) {
        TextData buffer = new TextData();
        value.fillString(buffer);
        return buffer.toString();
    }
View Full Code Here

        }
        return bindingManager;
    }

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

    /**
     * display<p>
     * <p>
     */
    public void display() {
        this.setDf(new TextData("No"));
        FloatOverText.set((JComponent)this.getqq_df(), "No");
        HelpTopic.set(this.getqq_df(), "No");
        Caption.set(this.getqq_gf(), "No");
        StatusText.set(this, "No");

View Full Code Here

    public TextData getCaption() {
        if (caption == null) {
            Border border = getBorder();
            if ((border != null) && (border instanceof TitledBorder)) {
                String title = ((TitledBorder) border).getTitle();
                caption = (title == null) ? null : new TextData(title);
            }
        }
        return caption;
    }
View Full Code Here

     * <p>
     */
    public void someMethod() {
        try {
            UsageException bob = new UsageException();
            bob.setMessageText(new TextData());
            GenericException.getMessageText(bob).replaceParameters("Hello %1", new TextData("sailor"));
            ErrorMgr.addError(bob);
            throw bob;
   
        }
        catch (ArithmeticException e) {
View Full Code Here

     */
    public void display() {
        UserWindow.open(this);

        Array_Of_ListElement<ListElement> list = new Array_Of_ListElement<ListElement>();
        list.add(new ListElement(new TextData("Some value"), ListElement.qq_Resolver.cTEXTVALUE));
        list.add(new ListElement(new TextData("Some other value"), ListElement.qq_Resolver.cTEXTVALUE));
        list.add(new ListElement(new TextData("Some other, even longer, value"), ListElement.qq_Resolver.cTEXTVALUE));
        ElementList.set(this.getqq_eFTRACategory(), list);

        WidgetState.set(this.getqq_Button1(), Constants.FS_INVISIBLE);
        WidgetState.set(this.getqq_Button3(), Constants.FS_INVISIBLE);

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


View Full Code Here

        case Constants.HTTP_SESSION_ENDED: {
            return "Ended";
        }

        default: {
            TextData txt = new TextData();
            txt.setValue("Unknown(");
            txt.concat(type);
            txt.concat(")");
            return txt.toString();
        }
        }
    }
View Full Code Here

        }

        if (invalidType) {
            // Lost the session - throw
            DistributedAccessException ex = new DistributedAccessException();
            TextData txt1 = new TextData();
            TextData txt2 = new TextData();

            txt1.setValue(this.sessionToString(this.applicationSession));
            txt2.setValue(this.sessionToString(type));

            if (LogMgr.getInstance().test(
                    Framework.Constants.SP_MT_DEBUG,
                    Constants.HTTP_SVC,
                    Constants.HTTP_TRACE, 5)) {
                Logger
                        .getLogger("task.part.logmgr")
                        .info(
                                "HTTPSession.setApplicationSession - current sesion type is ");
                Logger.getLogger("task.part.logmgr").info(
                        txt1.toString());
                Logger.getLogger("task.part.logmgr").info(
                        "therefore it cannot be changed to ");
                Logger.getLogger("task.part.logmgr").info(
                        txt2.toString());
            }

            ex
                    .setWithParams(
                            Framework.Constants.SP_ER_USER,
                            new TextData(
                                    Application
                                            .getMsgCatalog()
                                            .getString(
                                                    Constants.HTTP_SET,
                                                    Constants.HTTP_MSG_APPLICATION_SESSION_TYPE_INVALID)),
View Full Code Here

            this.baseMessage = null;
        } else if (((Object) message) instanceof HTTPBaseMessage) {
            this.baseMessage = (HTTPBaseMessage) message;
        } else {
            DistributedAccessException ex = new DistributedAccessException();
            TextData txt = new TextData();

            if (message != null) {
                txt.setValue(((Object) message).getClass().getName());
            }
            ex
                    .setWithParams(
                            Framework.Constants.SP_ER_USER,
                            new TextData(
                                    Application
                                            .getMsgCatalog()
                                            .getString(
                                                    Constants.HTTP_SET,
                                                    Constants.HTTP_MSG_NOT_HTTP_MESSAGE)),
View Full Code Here

TOP

Related Classes of Framework.TextData$qq_Resolver

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.