public class NavigatorTree extends BaseTree implements java.awt.dnd.Autoscroll
The tree control used by the Navigator in the left part of the ReadyAPI GUI. Can be reused in other parts of the GUI, with any implementation of ModelItemFilter. For instance, to only show objects in one project, have the ModelItemFilter check that model items belong to this project.
| Modifiers | Name | Description |
|---|---|---|
static class |
NavigatorTree.TreeModelFactory |
| Modifiers | Name | Description |
|---|---|---|
static int |
TEST_CASE_MENU_Y_CORRECTION |
| Fields inherited from class | Fields |
|---|---|
class BaseTree |
INCORRECT_ROW_INDEX, ROW_HEIGHT |
| Constructor and description |
|---|
NavigatorTree(Workspace workspace, NavigatorModelItemFilter modelItemFilter) |
NavigatorTree(Workspace workspace, NavigatorModelItemFilter modelItemFilter, TreeModelFactory treeModelFactory) |
NavigatorTree(Workspace workspace, NavigatorModelItemFilter modelItemFilter, boolean restoreNodeExpansion, boolean hasHoverButtons) |
NavigatorTree(Workspace workspace, NavigatorModelItemFilter modelItemFilter, TreeModelFactory treeModelFactory, boolean restoreNodeExpansion, boolean hasHoverButtons) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
autoscroll(java.awt.Point pt) |
|
public void |
componentResized(java.awt.event.ComponentEvent e) |
|
public void |
expandCurrentlyVisibleNodes() |
|
public void |
expandLowerTreeNode(SoapUITreeNode currentNode) |
|
public java.awt.Insets |
getAutoscrollInsets()Calculate the insets for the JTree, not the viewport the tree is in. |
|
public int |
getHoverRow() |
|
public ModelItem |
getHoveredModelItem() |
|
public int |
getNodeCount() |
|
public ModelItem |
getSelectedModelItem() |
|
public java.lang.String |
getToolTipText(java.awt.event.MouseEvent e) |
|
public int |
getVerticalScrollbarWidth() |
|
public void |
handleProjectRemovedMessage(ProjectRemovedMessage projectRemovedMessage) |
|
public boolean |
hasHoverButtons() |
|
public boolean |
isMouseOverActionIcon() |
|
public void |
restoreNodeExpansion() |
|
public void |
run() |
|
public void |
run() |
|
public void |
scrollPathToVisible(javax.swing.tree.TreePath treePath) |
|
public void |
select(ModelItem modelItem) |
|
public void |
selectNode(SoapUITreeNode currentNode) |
|
public void |
setBackgroundColor(java.awt.Color backgroundColor) |
|
public void |
setForegroundColor(java.awt.Color foregroundColor) |
|
public void |
setHoverRow(int hoverRow) |
|
public void |
setMouseOverActionIcon(boolean mouseOverActionIcon) |
|
public void |
setSelectedBackgroundColor(java.awt.Color selectedBackgroundColor) |
|
public void |
setSelectedForegroundColor(java.awt.Color selectedForegroundColor) |
|
public void |
updateRightClickSelection(javax.swing.tree.TreePath treeNodePath) |
| Methods inherited from class | Name |
|---|---|
class BaseTree |
getSelectedRowIndex |
Calculate the insets for the JTree, not the viewport the tree is in. This makes it a bit messy.
ReadyAPI functional (soapui) SDK 3.65.0