Package com.googlecode.wicket.kendo.ui
Class KendoDataSource.HierarchicalDataSource
- java.lang.Object
-
- com.googlecode.wicket.jquery.core.Options
-
- com.googlecode.wicket.kendo.ui.KendoDataSource
-
- com.googlecode.wicket.kendo.ui.KendoDataSource.HierarchicalDataSource
-
- All Implemented Interfaces:
IKendoDataSource
,Serializable
,org.apache.wicket.util.io.IClusterable
- Enclosing class:
- KendoDataSource
public static class KendoDataSource.HierarchicalDataSource extends KendoDataSource
Provide the hierarchical data-source- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.googlecode.wicket.kendo.ui.KendoDataSource
KendoDataSource.HierarchicalDataSource
-
-
Field Summary
-
Fields inherited from class com.googlecode.wicket.kendo.ui.KendoDataSource
transport, TYPE
-
-
Constructor Summary
Constructors Constructor Description HierarchicalDataSource(String name)
Constructor which create a JSON based data-sourceHierarchicalDataSource(String name, String type)
ConstructorHierarchicalDataSource(org.apache.wicket.Component component)
ConstructorHierarchicalDataSource(org.apache.wicket.Component component, String type)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toScript()
Gets the data-source jQuery statement.-
Methods inherited from class com.googlecode.wicket.kendo.ui.KendoDataSource
build, getName, getReadCallbackFunction, getReadCallbackFunction, nameOf, setTransportCreate, setTransportDelete, setTransportRead, setTransportReadUrl, setTransportUpdate
-
-
-
-
Constructor Detail
-
HierarchicalDataSource
public HierarchicalDataSource(String name)
Constructor which create a JSON based data-source- Parameters:
name
- the data-source name
-
HierarchicalDataSource
public HierarchicalDataSource(org.apache.wicket.Component component)
Constructor- Parameters:
component
- the hosting component (used to get the name)
-
HierarchicalDataSource
public HierarchicalDataSource(String name, String type)
Constructor- Parameters:
name
- the data-source nametype
- the response type (json, xml)
-
HierarchicalDataSource
public HierarchicalDataSource(org.apache.wicket.Component component, String type)
Constructor- Parameters:
component
- the hosting component (used to get the name)type
- the response data type (json, xml)
-
-
Method Detail
-
toScript
public String toScript()
Description copied from interface:IKendoDataSource
Gets the data-source jQuery statement.- Specified by:
toScript
in interfaceIKendoDataSource
- Overrides:
toScript
in classKendoDataSource
- Returns:
- the jQuery statement
-
-