Class TabsAdapter

java.lang.Object
com.googlecode.wicket.jquery.ui.widget.tabs.TabsAdapter
All Implemented Interfaces:
ITabsListener, Serializable, org.apache.wicket.util.io.IClusterable

public class TabsAdapter extends Object implements ITabsListener
Adapter class for ITabsListener
Author:
Sebastien Briquet - sebfz1
See Also:
  • Constructor Details

    • TabsAdapter

      public TabsAdapter()
  • Method Details

    • isCreateEventEnabled

      public boolean isCreateEventEnabled()
      Description copied from interface: ITabsListener
      Indicates whether the 'create' event is enabled.
      If true, the ITabsListener.onActivate(AjaxRequestTarget, int, ITab) event will be triggered on 'create'
      Specified by:
      isCreateEventEnabled in interface ITabsListener
      Returns:
      true by default
    • isActivateEventEnabled

      public boolean isActivateEventEnabled()
      Description copied from interface: ITabsListener
      Indicates whether the 'activate' event is enabled.
      If true, the ITabsListener.onActivate(AjaxRequestTarget, int, ITab) event will be triggered on 'activate'
      Specified by:
      isActivateEventEnabled in interface ITabsListener
      Returns:
      true by default
    • isActivatingEventEnabled

      public boolean isActivatingEventEnabled()
      Description copied from interface: ITabsListener
      Indicates whether the 'beforeActivate' event is enabled.
      If true, the ITabsListener.onActivating(AjaxRequestTarget, int, ITab) event will be triggered.
      Specified by:
      isActivatingEventEnabled in interface ITabsListener
      Returns:
      false by default
    • onActivate

      public void onActivate(org.apache.wicket.ajax.AjaxRequestTarget target, int index, org.apache.wicket.extensions.markup.html.tabs.ITab tab)
      Description copied from interface: ITabsListener
      Triggered when a tab has been activated ('create' and 'activate' event).
      Specified by:
      onActivate in interface ITabsListener
      Parameters:
      target - the AjaxRequestTarget
      index - the tab index that triggered this event
      tab - the ITab that corresponds to the index
    • onActivating

      public void onActivating(org.apache.wicket.ajax.AjaxRequestTarget target, int index, org.apache.wicket.extensions.markup.html.tabs.ITab tab)
      Description copied from interface: ITabsListener
      Triggered when a tab is being activated ('beforeActivate' event).
      Specified by:
      onActivating in interface ITabsListener
      Parameters:
      target - the AjaxRequestTarget
      index - the previously selected tab index
      tab - the ITab that corresponds to the index