com.openpcl.viewer.api
Interface IPluginHooksPosTree

All Known Implementing Classes:
PosTree

public interface IPluginHooksPosTree

The methods in this interface are designed to be overridden by a subclass of PosTree that is a plugin that adds additional features. Therefore, it is mandatory to not delete or rename these methods or else you'll break the plugin support that adds additional features.

Author:
DocMagic, Document Systems Inc, HowardH. 5/29/07

Method Summary
 void buildTreePopupMenu(JPopupMenu pJPopupMenu)
          Build the JPopupMenu to show when the user right clicks on tree nodes.
The items on this popup menu are in the String array mTreePopupMenuItems.
 void clearRightClickedNode()
          Clear the right clicked PosTreeNode.
 void clearRightClickedTreePath()
          Clear the right clicked TreePath.
 PosTreeNode getClickedNode()
          Get the left clicked PosTreeNode.
 PosTreeNode getRightClickedNode()
          Get the right clicked PosTreeNode.
 TreePath getRightClickedTreePath()
          Get the right clicked TreePath.
 

Method Detail

getClickedNode

PosTreeNode getClickedNode()
Get the left clicked PosTreeNode.


getRightClickedNode

PosTreeNode getRightClickedNode()
Get the right clicked PosTreeNode.


getRightClickedTreePath

TreePath getRightClickedTreePath()
Get the right clicked TreePath.


clearRightClickedNode

void clearRightClickedNode()
Clear the right clicked PosTreeNode.


clearRightClickedTreePath

void clearRightClickedTreePath()
Clear the right clicked TreePath.


buildTreePopupMenu

void buildTreePopupMenu(JPopupMenu pJPopupMenu)
Build the JPopupMenu to show when the user right clicks on tree nodes.
The items on this popup menu are in the String array mTreePopupMenuItems.



OpenPCL http://www.openpcl.com