Package com.googlecode.wicket.kendo.ui
Class KendoBehaviorFactory
- java.lang.Object
-
- com.googlecode.wicket.kendo.ui.KendoBehaviorFactory
-
public final class KendoBehaviorFactory extends Object
Factory that providesJQueryBehavior
s
, which may be used in widgets.- Author:
- Sebastien Briquet - sebfz1
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getHideStatement(String selector)
Gets the jQuery 'hide' statement for the component specified by the given selectorstatic String
getShowStatement(String selector)
Gets the jQuery 'show' statement for the component specified by the given selectorstatic void
hide(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler, String selector)
Hides the kendo-ui widget using its selectorstatic void
hide(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler, org.apache.wicket.Component component)
Hides the kendo-ui widget using its referencestatic com.googlecode.wicket.jquery.core.JQueryBehavior
newHideBehavior(String selector)
Gets a newJQueryBehavior
that hides the kendo-ui widgetstatic com.googlecode.wicket.jquery.core.JQueryBehavior
newHideBehavior(org.apache.wicket.Component component)
Gets a newJQueryBehavior
that hides the kendo-ui widgetstatic com.googlecode.wicket.jquery.core.JQueryBehavior
newShowBehavior(String selector)
Gets a newJQueryBehavior
that shows the kendo-ui widgetstatic com.googlecode.wicket.jquery.core.JQueryBehavior
newShowBehavior(org.apache.wicket.Component component)
Gets a newJQueryBehavior
that shows the kendo-ui widgetstatic void
show(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler, String selector)
Shows the kendo-ui widget using its selectorstatic void
show(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler, org.apache.wicket.Component component)
Shows the kendo-ui widget using its reference
-
-
-
Method Detail
-
show
public static void show(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler, org.apache.wicket.Component component)
Shows the kendo-ui widget using its reference- Parameters:
handler
- theIPartialPageRequestHandler
component
- theComponent
reference
-
show
public static void show(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler, String selector)
Shows the kendo-ui widget using its selector- Parameters:
handler
- theIPartialPageRequestHandler
selector
- the html selector (ie: '#myId')
-
hide
public static void hide(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler, org.apache.wicket.Component component)
Hides the kendo-ui widget using its reference- Parameters:
handler
- theIPartialPageRequestHandler
component
- theComponent
reference
-
hide
public static void hide(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler, String selector)
Hides the kendo-ui widget using its selector- Parameters:
handler
- theIPartialPageRequestHandler
selector
- the html selector (ie: '#myId')
-
newShowBehavior
public static com.googlecode.wicket.jquery.core.JQueryBehavior newShowBehavior(org.apache.wicket.Component component)
Gets a newJQueryBehavior
that shows the kendo-ui widget- Parameters:
component
- theComponent
- Returns:
- the
JQueryBehavior
-
newShowBehavior
public static com.googlecode.wicket.jquery.core.JQueryBehavior newShowBehavior(String selector)
Gets a newJQueryBehavior
that shows the kendo-ui widget- Parameters:
selector
- the html selector (ie: '#myId')- Returns:
- the
JQueryBehavior
-
newHideBehavior
public static com.googlecode.wicket.jquery.core.JQueryBehavior newHideBehavior(org.apache.wicket.Component component)
Gets a newJQueryBehavior
that hides the kendo-ui widget- Parameters:
component
- theComponent
- Returns:
- the
JQueryBehavior
-
newHideBehavior
public static com.googlecode.wicket.jquery.core.JQueryBehavior newHideBehavior(String selector)
Gets a newJQueryBehavior
that hides the kendo-ui widget- Parameters:
selector
- the html selector (ie: '#myId')- Returns:
- the
JQueryBehavior
-
getShowStatement
public static String getShowStatement(String selector)
Gets the jQuery 'show' statement for the component specified by the given selector- Parameters:
selector
- the html selector (ie: '#myId')- Returns:
- the statement
-
-