public class TreeNodeFactory extends Object implements org.apache.wicket.util.io.IClusterable
TreeNodes as JSON| Modifier and Type | Field and Description |
|---|---|
static String |
CHILDREN_FIELD |
static String |
ID_FIELD
node-id (also identifies the request parameter on ajax call
|
static String |
TEXT_FIELD |
static String |
URL_FIELD |
| Constructor and Description |
|---|
TreeNodeFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.wicket.ajax.json.JSONObject |
toJson(int index,
TreeNode<?> node)
Converts a
TreeNode to a JSONObject |
public static final String ID_FIELD
public static final String URL_FIELD
public static final String TEXT_FIELD
public static final String CHILDREN_FIELD
Copyright © 2021 7thWeb. All rights reserved.