|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeSupport
JTree subclasses can implement this interface to provide additional information to AjaxSwing
| Field Summary | |
|---|---|
static java.lang.String[] |
DEFAULT_NODE_IMAGE_NAMES
|
static int |
IMG_BLANK
|
static int |
IMG_FOLDER_COLLAPSED
|
static int |
IMG_FOLDER_EXPANDED
|
static int |
IMG_ITEM
|
static int |
IMG_LAST_FOLDER_COLLAPSED
|
static int |
IMG_LAST_FOLDER_EXPANDED
|
static int |
IMG_LAST_ITEM
|
static int |
IMG_LINE
|
static int |
IMG_ROOT_FOLDER_COLLAPSED
|
static int |
IMG_ROOT_FOLDER_EXPANDED
|
static int |
IMG_ROOT_LAST_FOLDER_COLLAPSED
|
static int |
IMG_ROOT_LAST_FOLDER_EXPANDED
|
| Method Summary | |
|---|---|
javax.swing.JPopupMenu |
getNodeContextMenu(javax.swing.tree.TreeNode node)
Returns context menu associated with the given row |
java.lang.String |
getNodeImageBundleName(javax.swing.tree.TreeNode node)
Returns the name of the image bundle that will be used in rendering of the node |
java.lang.String |
getNodeImagePath(javax.swing.tree.TreeNode node,
int imageIndex)
Returns the relative path to the theme docs URL of the image that should be used for the node |
| Field Detail |
|---|
static final int IMG_BLANK
static final int IMG_LINE
static final int IMG_ITEM
static final int IMG_LAST_ITEM
static final int IMG_FOLDER_EXPANDED
static final int IMG_FOLDER_COLLAPSED
static final int IMG_LAST_FOLDER_EXPANDED
static final int IMG_LAST_FOLDER_COLLAPSED
static final int IMG_ROOT_FOLDER_EXPANDED
static final int IMG_ROOT_FOLDER_COLLAPSED
static final int IMG_ROOT_LAST_FOLDER_EXPANDED
static final int IMG_ROOT_LAST_FOLDER_COLLAPSED
static final java.lang.String[] DEFAULT_NODE_IMAGE_NAMES
| Method Detail |
|---|
javax.swing.JPopupMenu getNodeContextMenu(javax.swing.tree.TreeNode node)
node - node being rendered
java.lang.String getNodeImageBundleName(javax.swing.tree.TreeNode node)
node - node being rendered
java.lang.String getNodeImagePath(javax.swing.tree.TreeNode node,
int imageIndex)
node - node being rendered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||