Package fr.soleil.comete.definition.widget

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


        result.addTangoWidgetListener(this);
        return result;
    }

    public void setButtonLook(boolean buttonLook) {
        IComponent component = getComponent();
        if (component != null && component instanceof IButton) {
            ((IButton) component).setButtonLook(false);
        }
    }
View Full Code Here


            ((IButton) component).setButtonLook(false);
        }
    }

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

        result.addTangoWidgetListener(this);
        return result;
    }

    public void setMode(int mode) {
        IComponent component = getComponent();
        if (component != null && component instanceof IStringPeriodicTable) {
            ((IStringPeriodicTable) component).setMode(mode);
        }
    }
View Full Code Here

            ((IStringPeriodicTable) component).setMode(mode);
        }
    }

    public void addPeriodicTableListener(IStringPeriodicTableListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof IStringPeriodicTable) {
            ((IStringPeriodicTable) component).addPeriodicTableListener(listener);
        }
    }
View Full Code Here

            ((IStringPeriodicTable) component).addPeriodicTableListener(listener);
        }
    }

    public void removePeriodicTableListener(IStringPeriodicTableListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof IStringPeriodicTable) {
            ((IStringPeriodicTable) component).removePeriodicTableListener(listener);
        }
    }
View Full Code Here

    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
        if (target instanceof IComponent) {
            IComponent comp = (IComponent) target;
            comp.setEnabled(enabled);
        }
    }
View Full Code Here

    public void setRetrieveCommandName(String retrieveCommandName) {
        m_cmdhelper.setCompleteEntityName(retrieveCommandName);
    }

    public void setNumberValueList(Number[] valueList) {
        IComponent widget = getComponent();
        if (widget != null && widget instanceof NumberComboBox) {
            ((NumberComboBox) widget).setNumberArray(valueList);
        }
    }
View Full Code Here

            ((NumberComboBox) widget).setNumberArray(valueList);
        }
    }

    public Object getNumberValueList() {
        IComponent widget = getComponent();
        if (widget != null && widget instanceof NumberComboBox) {
            return ((NumberComboBox) widget).getNumberArray();
        }
        return null;
    }
View Full Code Here

        }
        return null;
    }

    public void setOptionList(String[] optionList) {
        IComponent component = getComponent();
        if (component != null && component instanceof IComboBox) {
            ((IComboBox) component).setDisplayedList(optionList);
        }
    }
View Full Code Here

            ((IComboBox) component).setDisplayedList(optionList);
        }
    }

    public String[] getOptionList() {
        IComponent component = getComponent();
        if (component != null && component instanceof IComboBox) {
            return ((IComboBox) component).getDisplayedList();
        }
        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.