Package de.fuhagen.sttp.demo

Examples of de.fuhagen.sttp.demo.DemoAction


    /**
     * Test method for {@link de.fuhagen.sttp.gui.FlatToggleButton#setState(boolean)}.
     */
    @Test
    public void testSetOn() {
        Action on = new DemoAction("on");
        Action off = new DemoAction("off");
        FlatToggleButton button = new FlatToggleButton(on, off, 20, 80);

        button.setState(true);
        assertTrue("is on", button.isOn());

View Full Code Here

TOP

Related Classes of de.fuhagen.sttp.demo.DemoAction

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.