public final class TreeViewMenu extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
VIEW_CROSS_REF_TABLE |
static String |
VIEW_PAGES |
static String |
VIEW_STRUCTURE |
| Modifier and Type | Method and Description |
|---|---|
void |
addMenuListeners(ActionListener listener)
Add the ActionListener for the menu items.
|
static TreeViewMenu |
getInstance()
Provides the TreeViewMenu instance.
|
JMenu |
getMenu()
Provide the JMenu instance of the ZoomMenu.
|
String |
getTreeViewSelection()
Provide the current tree view selection.
|
static boolean |
isValidViewMode(String viewMode)
Checks if the given viewMode value is a valid one.
|
void |
setEnableMenu(boolean isEnable)
Set if the menu should be enabled or disabled.
|
void |
setTreeViewSelection(String selection)
Set the tree view selection.
|
public static final String VIEW_PAGES
public static final String VIEW_STRUCTURE
public static final String VIEW_CROSS_REF_TABLE
public static TreeViewMenu getInstance()
public void setTreeViewSelection(String selection)
selection - String instance.public String getTreeViewSelection()
public static boolean isValidViewMode(String viewMode)
viewMode - the view mode to be checkedpublic JMenu getMenu()
public void setEnableMenu(boolean isEnable)
isEnable - boolean instance.public void addMenuListeners(ActionListener listener)
listener - ActionListener.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.