Package fr.soleil.comete.definition.widget

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


        for (IKey key : keys) {
            initSource(key);
            toolTip += key.getInformationKey() + "\n";
        }

        IComponent widget = getComponent();
        if (widget != null) {
            widget.setToolTipText(toolTip);
        }

        setRefreshingStrategy(RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD);
        updateRefreshingStrategy();
View Full Code Here


    }

    @Override
    protected DataTargetController<AbstractNumberMatrix<?>, ?> initController() {
        Class<?> componentClass = null;
        IComponent comp = getComponent();
        if (comp != null) {
            componentClass = comp.getClass();
        }
        return new NumberMatrixTangoController(componentClass);
    }
View Full Code Here

    protected Class<?> getTargetClass() {
        return TextFieldButton.class;
    }

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

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

    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 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

        }
        return null;
    }

    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

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.