Package globalscreen.application

Examples of globalscreen.application.GlobalBean


        setStarted(true);
        initDeviceList();
        Enumeration<JComponent> enumeration = gbComponents.elements();
        while (enumeration.hasMoreElements())
        {
            GlobalBean element = (GlobalBean) enumeration.nextElement();
            element.start();           
        }      
    }
View Full Code Here


    public void stop() {
        setStarted(false);
        Enumeration<JComponent> enumeration = gbComponents.elements();
        while (enumeration.hasMoreElements())
        {
            GlobalBean element = (GlobalBean) enumeration.nextElement();
            element.stop();           
        }        
        removeAll();
    }
View Full Code Here

    public void setAtkPanelEnabled(boolean atkPanelEnabled) {
        this.atkPanelEnabled = atkPanelEnabled;
        Enumeration<JComponent> enumeration = gbComponents.elements();
        while (enumeration.hasMoreElements())
        {
            GlobalBean element = (GlobalBean) enumeration.nextElement();
            if(element instanceof MotorButton)
                ((MotorButton)element).setAtkPanelEnabled(atkPanelEnabled);           
        }          
    }
View Full Code Here

    public void setControlPanelBackground(Color controlPanelBackground) {
        this.controlPanelBackground = controlPanelBackground;
        Enumeration<JComponent> enumeration = gbComponents.elements();
        while (enumeration.hasMoreElements())
        {
            GlobalBean element = (GlobalBean) enumeration.nextElement();
            if(element instanceof MotorButton)
                ((MotorButton)element).setPanelBackgroundColor(controlPanelBackground);           
        }  
    }
View Full Code Here

    public void setControlPanelEnabled(boolean controlPanelEnabled) {
        this.controlPanelEnabled = controlPanelEnabled;
        Enumeration<JComponent> enumeration = gbComponents.elements();
        while (enumeration.hasMoreElements())
        {
            GlobalBean element = (GlobalBean) enumeration.nextElement();
            if(element instanceof MotorButton)
                ((MotorButton)element).setPanelEnabled(controlPanelEnabled);           
        }  
    }
View Full Code Here

TOP

Related Classes of globalscreen.application.GlobalBean

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.