Package fr.soleil.comete.definition.widget

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


    public IComponent initWidget() {
        return new StringMatrixTable();
    }

    public void addStringTableListener(IStringTableListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof StringMatrixTable) {
            ((StringMatrixTable) component).addTableListener(listener);
        }
    }
View Full Code Here


            ((StringMatrixTable) component).addTableListener(listener);
        }
    }

    public void removeStringTableListener(IStringTableListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof StringMatrixTable) {
            ((StringMatrixTable) component).addTableListener(listener);
        }
    }
View Full Code Here

        result.addTangoWidgetListener(this);
        return result;
    }

    public void setEditable(boolean editable) {
        IComponent component = getComponent();
        if (component != null && component instanceof TextFieldButton) {
            ((TextFieldButton) component).setEditable(editable);
        }
    }
View Full Code Here

            ((TextFieldButton) component).setEditable(editable);
        }
    }

    public boolean isEditable() {
        IComponent component = getComponent();
        if (component != null && component instanceof TextFieldButton) {
            return ((TextFieldButton) component).isEditable();
        }
        return false;
    }
View Full Code Here

        }
        return false;
    }

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

            ((TextFieldButton) component).setTextButton(text);
        }
    }

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

        }
        return "";
    }

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

            ((TextFieldButton) component).setBackgroundButton(ColorTool.getCometeColor(color));
        }
    }

    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 color) {
        IComponent component = getComponent();
        if (component != null && component instanceof TextFieldButton) {
            ((TextFieldButton) component).setBackgroundTextField(ColorTool.getCometeColor(color));
        }
    }
View Full Code Here

            ((TextFieldButton) component).setBackgroundTextField(ColorTool.getCometeColor(color));
        }
    }

    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

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.