Class SplitterAdapter
- java.lang.Object
-
- com.googlecode.wicket.kendo.ui.widget.splitter.SplitterAdapter
-
- All Implemented Interfaces:
ISplitterListener
,Serializable
,org.apache.wicket.util.io.IClusterable
public class SplitterAdapter extends Object implements ISplitterListener
Adapter class forISplitterListener
- Author:
- Sebastien Briquet - sebfz1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SplitterAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCollapseEventEnabled()
Indicates whether the 'collapse' event is enabled.
If true, theISplitterListener.onCollapse(AjaxRequestTarget, String)
event will be triggered.boolean
isExpandEventEnabled()
Indicates whether the 'expand' event is enabled.
If true, theISplitterListener.onExpand(AjaxRequestTarget, String)
event will be triggered.void
onCollapse(org.apache.wicket.ajax.AjaxRequestTarget target, String paneId)
Triggered when a panel collapsesvoid
onExpand(org.apache.wicket.ajax.AjaxRequestTarget target, String paneId)
Triggered when a panel expands
-
-
-
Method Detail
-
isExpandEventEnabled
public boolean isExpandEventEnabled()
Description copied from interface:ISplitterListener
Indicates whether the 'expand' event is enabled.
If true, theISplitterListener.onExpand(AjaxRequestTarget, String)
event will be triggered.- Specified by:
isExpandEventEnabled
in interfaceISplitterListener
- Returns:
- false by default
-
isCollapseEventEnabled
public boolean isCollapseEventEnabled()
Description copied from interface:ISplitterListener
Indicates whether the 'collapse' event is enabled.
If true, theISplitterListener.onCollapse(AjaxRequestTarget, String)
event will be triggered.- Specified by:
isCollapseEventEnabled
in interfaceISplitterListener
- Returns:
- false by default
-
onExpand
public void onExpand(org.apache.wicket.ajax.AjaxRequestTarget target, String paneId)
Description copied from interface:ISplitterListener
Triggered when a panel expands- Specified by:
onExpand
in interfaceISplitterListener
- Parameters:
target
- theAjaxRequestTarget
paneId
- the panel id (html-id)
-
onCollapse
public void onCollapse(org.apache.wicket.ajax.AjaxRequestTarget target, String paneId)
Description copied from interface:ISplitterListener
Triggered when a panel collapses- Specified by:
onCollapse
in interfaceISplitterListener
- Parameters:
target
- theAjaxRequestTarget
paneId
- the panel id (html-id)
-
-