Package org.odlabs.wiquery.ui.tabs

Examples of org.odlabs.wiquery.ui.tabs.Tabs$ITabsAjaxEvent


 
  private Label indexLabel;
 
  public TabsPanel(String id) {
    super(id);
    Tabs tabs = new Tabs("tabs");
    tabs.setAjaxBeforeActivateEvent(new Tabs.ITabsAjaxEvent() {
      private static final long serialVersionUID = 1L;

      @Override
      public void onEvent(AjaxRequestTarget target, Tabs tabs, int index) {
        TabsPanel.this.index = index;
        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

TOP

Related Classes of org.odlabs.wiquery.ui.tabs.Tabs$ITabsAjaxEvent

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.