Enterprise Information Portal APIs

com.ibm.mm.beans.gui
Class CMBFolderPopupEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.mm.beans.gui.CMBFolderPopupEvent
All Implemented Interfaces:
java.io.Serializable

public class CMBFolderPopupEvent
extends java.util.EventObject

Generated by CMBSearchResultsViewer and CMBFolderViewer when a right mouse click is performed on a folder in the tree pane.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CMBFolderPopupEvent(java.lang.Object source, CMBItem folder, int x, int y)
          constructs the event.
 
Method Summary
 CMBItem getFolder()
          returns the CMBItem representing the selected folder.
 int getX()
          returns the x coordinate of the mouse.
 int getY()
          returns the y coordinate of the mouse.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMBFolderPopupEvent

public CMBFolderPopupEvent(java.lang.Object source,
                           CMBItem folder,
                           int x,
                           int y)
constructs the event.
Parameters:
source - the source of the event.
folder - the CMBItem representing the folder.
x - the x coordinate of the mouse.
y - the y coordinate of the mouse.
Method Detail

getFolder

public CMBItem getFolder()
returns the CMBItem representing the selected folder.

getX

public int getX()
returns the x coordinate of the mouse.

getY

public int getY()
returns the y coordinate of the mouse.

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.