Package test.comp.html

Source Code of test.comp.html.TestHTMLModalLayer

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package test.comp.html;

import org.itsnat.comp.ItsNatComponentManager;
import org.itsnat.comp.button.ItsNatButton;
import org.itsnat.comp.button.toggle.ItsNatHTMLInputCheckBox;
import org.itsnat.core.html.ItsNatHTMLDocument;
import test.shared.TestHTMLModalLayerBase;

/**
*
* @author jmarranz
*/
public class TestHTMLModalLayer extends TestHTMLModalLayerBase
{
    protected ItsNatButton button;

    public TestHTMLModalLayer(ItsNatHTMLDocument itsNatDoc)
    {
        super(itsNatDoc);

        load();
    }

    public void load()
    {
        ItsNatComponentManager compMgr = itsNatDoc.getItsNatComponentManager();
        ItsNatButton button = (ItsNatButton)compMgr.findItsNatComponentById("testModalLayerId");
        this.button = button;
        button.addEventListener("click",this);

        this.cleanModeCheck1 = (ItsNatHTMLInputCheckBox)compMgr.findItsNatComponentById("cleanModeId1");
        cleanModeCheck1.setSelected(false);
        this.cleanModeCheck2 = (ItsNatHTMLInputCheckBox)compMgr.findItsNatComponentById("cleanModeId2");
        cleanModeCheck2.setSelected(false);
    }

    public boolean isMobile()
    {
        return false;
    }
}
TOP

Related Classes of test.comp.html.TestHTMLModalLayer

TOP
Copyright © 2018 www.massapi.com. 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.