Enterprise Information Portal APIs

com.ibm.mm.viewer.annotation
Class CMBAnnotationDeletedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.mm.viewer.annotation.CMBAnnotationDeletedEvent
All Implemented Interfaces:
java.io.Serializable

public class CMBAnnotationDeletedEvent
extends java.util.EventObject

Generated by the annotation services when new annotation is deleted.

Since:
8.1
See Also:
CMBAnnotationDeletedListener, CMBAnnotationSet, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CMBAnnotationDeletedEvent(java.lang.Object source, CMBAnnotationView view, CMBPageAnnotation annotation, CMBPageAnnotation nextAnno)
          Constructs the event.
 
Method Summary
 CMBPageAnnotation getAnnotation()
          Returns the annotation object that was deleted.
 CMBAnnotationSet getAnnotationModel()
          Returns the annotation model that changed.
 CMBAnnotationView getAnnotationView()
          Returns the annotation view that needs to be refreshed due to the change.
 CMBPageAnnotation getNextAnnotation()
          Returns the annotation object that must be selected.
 
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

CMBAnnotationDeletedEvent

public CMBAnnotationDeletedEvent(java.lang.Object source,
                                 CMBAnnotationView view,
                                 CMBPageAnnotation annotation,
                                 CMBPageAnnotation nextAnno)
Constructs the event.
Parameters:
source - the source of the event.
annotation - the CMBPageAnnotation of the annotation.
nextAnno - the CMBPageAnnotation that must be selected next.
Method Detail

getAnnotationModel

public CMBAnnotationSet getAnnotationModel()
Returns the annotation model that changed.
Returns:
CMBAnnotationSet the annotation model.

getAnnotationView

public CMBAnnotationView getAnnotationView()
Returns the annotation view that needs to be refreshed due to the change.
Returns:
CMBAnnotationView the annotation view.

getAnnotation

public CMBPageAnnotation getAnnotation()
Returns the annotation object that was deleted.
Returns:
CMBPageAnnotation the annotation that deleted.

getNextAnnotation

public CMBPageAnnotation getNextAnnotation()
Returns the annotation object that must be selected.
Returns:
CMBPageAnnotation the annotation that must have the selection due to the removal of the annotation.

EIP JavaBeans

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