Package fr.soleil.comete.definition.widget

Examples of fr.soleil.comete.definition.widget.IComponent


        }
        return "";
    }

    public void setBackgroundButton(Color colorButton) {
        IComponent component = getComponent();
        if (component != null && component instanceof TextFieldButton) {
            ((TextFieldButton) component)
                    .setBackgroundButton(ColorTool.getCometeColor(colorButton));
        }
    }
View Full Code Here


                    .setBackgroundButton(ColorTool.getCometeColor(colorButton));
        }
    }

    public Color getBackgroundButton() {
        IComponent component = getComponent();
        if (component != null && component instanceof TextFieldButton) {
            CometeColor color = ((TextFieldButton) component).getBackgroundButton();
            return ColorTool.getColor(color);
        }
        return null;
View Full Code Here

        }
        return null;
    }

    public void setBackgroundTextField(Color colorButton) {
        IComponent component = getComponent();
        if (component != null && component instanceof TextFieldButton) {
            ((TextFieldButton) component).setBackgroundTextField(ColorTool
                    .getCometeColor(colorButton));
        }
    }
View Full Code Here

                    .getCometeColor(colorButton));
        }
    }

    public Color getBackgroundTextField() {
        IComponent component = getComponent();
        if (component != null && component instanceof TextFieldButton) {
            CometeColor color = ((TextFieldButton) component).getBackgroundTextField();
            return ColorTool.getColor(color);
        }
        return null;
View Full Code Here

        result.addTangoWidgetListener(this);
        return result;
    }

    public void setText(String text) {
        IComponent component = getComponent();
        if (component != null && component instanceof IButton) {
            ((IButton) component).setText(text);
        }
    }
View Full Code Here

            ((IButton) component).setText(text);
        }
    }

    public String getText() {
        IComponent component = getComponent();
        if (component != null && component instanceof IButton) {
            return ((IButton) component).getText();
        }
        return "";
    }
View Full Code Here

        button.setUpdateAllowed(true);
        return button;
    }

    public void setBrowserType(int browserType) {
        IComponent component = getComponent();
        if (component != null && component instanceof FileBrowser) {
            ((FileBrowser) component).setBrowserType(browserType);
        }
    }
View Full Code Here

            ((FileBrowser) component).setBrowserType(browserType);
        }
    }

    public int getBrowserType() {
        IComponent component = getComponent();
        if (component != null && component instanceof FileBrowser) {
            return ((FileBrowser) component).getBrowserType();
        }
        return IFileBrowser.FULLNAME;
    }
View Full Code Here

        }
        return IFileBrowser.FULLNAME;
    }

    public void addFileBrowserListener(IFileBrowserListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof IFileBrowser) {
            ((IFileBrowser) component).addFileBrowserListener(listener);
        }
    }
View Full Code Here

            ((IFileBrowser) component).addFileBrowserListener(listener);
        }
    }

    public void removeFileBrowserListener(IFileBrowserListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof IFileBrowser) {
            ((IFileBrowser) component).removeFileBrowserListener(listener);
        }
    }
View Full Code Here

TOP

Related Classes of fr.soleil.comete.definition.widget.IComponent

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.