Package fr.soleil.comete.definition.widget

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


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

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


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

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

        result.addTangoWidgetListener(this);
        return result;
    }

    public void setFalseIconId(int id) {
        IComponent component = getComponent();
        if (component != null && component instanceof IconButton) {
            ((IconButton) component).setFalseIconId(id);
        }
    }
View Full Code Here

            ((IconButton) component).setFalseIconId(id);
        }
    }

    public int getFalseIconId() {
        IComponent component = getComponent();
        if (component != null && component instanceof IconButton) {
            return ((IconButton) component).getFalseIconId();
        }
        return IconButton.LED_KO;
    }
View Full Code Here

        }
        return IconButton.LED_KO;
    }

    public void setTrueIconId(int id) {
        IComponent component = getComponent();
        if (component != null && component instanceof IconButton) {
            ((IconButton) component).setTrueIconId(id);
        }
    }
View Full Code Here

            ((IconButton) component).setTrueIconId(id);
        }
    }

    public int getTrueIconId() {
        IComponent component = getComponent();
        if (component != null && component instanceof IconButton) {
            return ((IconButton) component).getTrueIconId();
        }
        return IconButton.LED_GREEN;
    }
View Full Code Here

        }
        return IconButton.LED_GREEN;
    }

    public void setTrueLabel(String label) {
        IComponent component = getComponent();
        if (component != null && component instanceof IconButton) {
            ((IconButton) component).setTrueLabel(label);
        }
    }
View Full Code Here

            ((IconButton) component).setTrueLabel(label);
        }
    }

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

        }
        return "";
    }

    public void setFalseLabel(String label) {
        IComponent component = getComponent();
        if (component != null && component instanceof IconButton) {
            ((IconButton) component).setFalseLabel(label);
        }
    }
View Full Code Here

            ((IconButton) component).setFalseLabel(label);
        }
    }

    public String getFalseLabel() {
        IComponent component = getComponent();
        if (component != null && component instanceof IconButton) {
            return ((IconButton) component).getFalseLabel();
        }
        return "";
    }
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.