Enterprise Information Portal APIs

com.ibm.mm.viewer.annotation
Interface CMBAnnotationPropertiesInterface

All Known Implementing Classes:
CMBPageAnnotation

public interface CMBAnnotationPropertiesInterface

CMBAnnotationPropertiesInterface is an interface that defines methods that allow the properties dialog to obtain the properties panel for each annotation type dynamically based on the selected annotation. Each derived instance of CMBPageAnnotation is required to implement these interfaces in order to display custom properties dialog.

Since:
8.1
See Also:
CMBPageAnnotation

Method Summary
 void addPropertyComponent(java.lang.String p, javax.swing.JComponent c)
           
 javax.swing.JPanel getPropertiesPanel()
          Returns the custom properties panel that is used to build the custom properties dialog for the annotation.
 void handlePropertyChange(java.lang.String s, javax.swing.JComponent c, int action)
           
 void updateValues(int action)
           
 

Method Detail

getPropertiesPanel

public javax.swing.JPanel getPropertiesPanel()
Returns the custom properties panel that is used to build the custom properties dialog for the annotation.
Returns:
JPanel the custom properties panel

updateValues

public void updateValues(int action)
Parameters:
int -  

handlePropertyChange

public void handlePropertyChange(java.lang.String s,
                                 javax.swing.JComponent c,
                                 int action)
Parameters:
String -  
JComponent -  
int -  

addPropertyComponent

public void addPropertyComponent(java.lang.String p,
                                 javax.swing.JComponent c)
Parameters:
String -  
JComponent -  

EIP JavaBeans

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