com.crystaldecisions.ReportViewer
Class ViewChangeEvent
java.lang.Object
java.util.EventObject
com.crystaldecisions.ReportViewer.ViewChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ViewChangeEvent
- extends java.util.EventObject
An event which indicates that a report view
(for instance, a drill-down view or a subreport view)
has been opened, activated, or closed.
- See Also:
ViewChangeListener,
ViewChangeAdapter,
ReportViewerBean.addHyperlinkListener(com.crystaldecisions.ReportViewer.HyperlinkListener),
Serialized Form
|
Constructor Summary |
ViewChangeEvent(java.lang.Object source_,
java.lang.String viewName_)
Constructs a ViewChangeEvent object. |
|
Method Summary |
java.lang.String |
getViewName()
Returns the name of the view that has changed. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ViewChangeEvent
public ViewChangeEvent(java.lang.Object source_,
java.lang.String viewName_)
- Constructs a
ViewChangeEvent object.
- Parameters:
source_ - The particular ReportViewerBean containing the view.viewName_ - The name of the view that changed.
getViewName
public java.lang.String getViewName()
- Returns the name of the view that has changed.
- Returns:
- The name of the changed view.