Package fr.soleil.comete.definition.widget

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


        }
        return "";
    }

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


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

    public boolean isButtonLook() {
        IComponent component = getComponent();
        if (component != null && component instanceof IButton) {
            return ((IButton) component).isButtonLook();
        }
        return false;
    }
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

        NumberMatrixTable table = new NumberMatrixTable();
        return table;
    }

    public void addNumberTableListener(INumberTableListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof NumberMatrixTable) {
            ((NumberMatrixTable) component).addTableListener(listener);
        }
    }
View Full Code Here

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

    public void removeNumberTableListener(INumberTableListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof NumberMatrixTable) {
            ((NumberMatrixTable) component).removeTableListener(listener);
        }
    }
View Full Code Here

            ((NumberMatrixTable) component).removeTableListener(listener);
        }
    }

    public void getValueAtIndex(int index) {
        IComponent component = getComponent();
        if (component != null && component instanceof NumberMatrixTable) {
            ((NumberMatrixTable) component).getValueAtIndex(index);
        }
    }
View Full Code Here

            ((NumberMatrixTable) component).getValueAtIndex(index);
        }
    }

    public void getValueAtPoint(double[] point) {
        IComponent component = getComponent();
        if (component != null && component instanceof NumberMatrixTable) {
            ((NumberMatrixTable) component).getValueAtPoint(point);
        }
    }
View Full Code Here

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

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

        }
        return "";
    }

    public void setGroupName(String groupName) {
        IComponent component = getComponent();
        if (component != null && component instanceof IRadioButton) {
            ((IRadioButton) component).setGroupName(groupName);
        }
    }
View Full Code Here

        result.addTangoWidgetListener(this);
        return result;
    }

    public void addPeriodicTableListener(INumberPeriodicTableListener listener) {
        IComponent component = getComponent();
        if (component != null && component instanceof INumberPeriodicTable) {
            ((INumberPeriodicTable) component).addPeriodicTableListener(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.