Package org.odlabs.wiquery.ui.options

Examples of org.odlabs.wiquery.ui.options.EffectOptionObject


    log.info(expectedJavascript);
    log.info(generatedJavascript);
    assertEquals(generatedJavascript, expectedJavascript);
   
    // Object param
    snap.setObjectParam(new EffectOptionObject()
        .setEasing("linear")
        .setDelay(50)
        .setDuration(200)
        .setEffect("blind")
    );
View Full Code Here


   */
  @Test
  public void testGetHide()
  {
    assertNull(tabs.getHide());
    tabs.setHide(new TabsAnimateOption(new EffectOptionObject()
        .setEffect("anEffect")
        .setEasing("swing")
        .setDelay(50)
    ));
    assertNotNull(tabs.getHide());
View Full Code Here

   */
  @Test
  public void testGetShow()
  {
    assertNull(tabs.getShow());
    tabs.setShow(new TabsAnimateOption(new EffectOptionObject()
        .setEffect("anEffect")
        .setDuration(200)
    ));
    assertNotNull(tabs.getShow());
    assertEquals(tabs.getShow().getJavascriptOption().toString(),
View Full Code Here

        target.add(indexLabel);
      }
    });
    tabs.setCollapsible(true);
    tabs.setActive(false);
    tabs.setHide(new TabsAnimateOption(new EffectOptionObject()
        .setEffect("drop")
        .setDuration(200)
    ));
    tabs.setShow(new TabsAnimateOption(new EffectOptionObject()
        .setEffect("slide")
        .setDuration(200)
    ));
    add(tabs);
   
View Full Code Here

    assertNull(dialog.getHide());
    dialog.setHide(new DialogAnimateOption(200));
    assertEquals(dialog.getHide().getJavascriptOption().toString(), "200");
    dialog.setHide(new DialogAnimateOption("fold"));
    assertEquals(dialog.getHide().getJavascriptOption().toString(), "'fold'");
    dialog.setHide(new DialogAnimateOption(new EffectOptionObject()
        .setEffect("blind")
        .setDuration(200)
        .setEasing("linear")
    ));
    assertEquals(dialog.getHide().getJavascriptOption().toString(),
View Full Code Here

    assertNull(dialog.getShow());
    dialog.setShow(new DialogAnimateOption(200));
    assertEquals(dialog.getShow().getJavascriptOption().toString(), "200");
    dialog.setShow(new DialogAnimateOption("fold"));
    assertEquals(dialog.getShow().getJavascriptOption().toString(), "'fold'");
    dialog.setShow(new DialogAnimateOption(new EffectOptionObject()
        .setEffect("blind")
        .setDuration(200)
        .setEasing("linear")
    ));
    assertEquals(dialog.getShow().getJavascriptOption().toString(),
View Full Code Here

TOP

Related Classes of org.odlabs.wiquery.ui.options.EffectOptionObject

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.