java.lang.Objectcom.crystaldecisions.report.web.ServerControl
com.crystaldecisions.report.web.viewer.ReportServerControl
com.crystaldecisions.report.web.viewer.CrystalReportViewerBase
This class provides listeners for the report viewer, as well as providing methods for getting and setting hyperlink targets.
Field Summary | |
static int |
BACKWARD
Reserved for future use. |
static int |
FORWARD
Search direction as forward. |
static int |
NOACTION
Reserved for future use. |
Constructor Summary | |
CrystalReportViewerBase()
|
Methods inherited from class com.crystaldecisions.report.web.ServerControl |
deserializeBase64ToObject, getHeight, getHtmlContent, getLeft, getName, getTop, getURI, getViewState, getWidth, isIgnoreViewStateOnLoad, isOwnForm, isOwnPage, processHttpRequest, setHeight, setIgnoreViewStateOnLoad, setLeft, setName, setOwnForm, setOwnPage, setTop, setViewState, setWidth |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FORWARD
Search direction as forward.
public static final int BACKWARD
Reserved for future use.
public static final int NOACTION
Reserved for future use.
Constructor Detail |
public CrystalReportViewerBase()
Method Detail |
public void addAfterRenderContentEventListener(AfterRenderContentEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
AfterRenderContentEvents
.
The event is fired after rendering the body of the report is complete.
listener
- The AfterRenderContentEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeAfterRenderContentEventListener()
public void addAfterRenderEventListener(AfterRenderEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
AfterRenderEvents
.
The event is fired after the rendering process is complete.
listener
- The AfterRenderEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeAfterRenderEventListener()
public void addAfterRenderObjectEventListener(AfterRenderObjectEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
AfterRenderObjectEvents
.
The event is fired after rendering the report object.
listener
- The AfterRenderObjectEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeAfterRenderObjectEventListener()
public void addAfterRenderViewItemEventListener(IAfterRenderViewItemEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
AfterRenderViewItemEvents
.
The event is fired after rendering a viewer item
(Toolbar, GroupTree, or Page).
listener
- The AfterRenderViewItemEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeAfterRenderViewItemEventListener()
public void addBeforeRenderContentEventListener(BeforeRenderContentEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
BeforeRenderContentEvents
.
The event is fired before rendering the body of the report is
complete.
listener
- The BeforeRenderContentEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeBeforeRenderContentEventListener()
public void addBeforeRenderEventListener(BeforeRenderEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
BeforeRenderEvents
.
The event is fired before the rendering process begins.
listener
- The BeforeRenderEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeBeforeRenderEventListener()
public void addBeforeRenderObjectEventListener(BeforeRenderObjectEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
BeforeRenderObjectEvents
.
The event is fired before rendering the report object.
listener
- The BeforeRenderObjectEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeBeforeRenderObjectEventListener()
public void addBeforeRenderViewItemEventListener(IBeforeRenderViewItemEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
BeforeRenderViewItemEvents
.
The event is fired before rendering a
viewer item (Toolbar, GroupTree, or Page).
listener
- The BeforeRenderViewItemEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeBeforeRenderViewItemEventListener()
public void addDrillEventListener(DrillEventListener listener) throws java.util.TooManyListenersException
Adds a listener for DrillEvents
.
The event is fired on drill down.
listener
- The DrillEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeDrillEventListener
public void addOnRenderScriptEventListener(OnRenderScriptEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
OnRenderScriptEvents
.
The event is fired before rendering the "SCRIPT" block.
listener
- The OnRenderScriptEvent
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeOnRenderScriptEventListener()
public void addOnRenderStyleEventListener(OnRenderStyleEventListener listener) throws java.util.TooManyListenersException
Adds a listener for
OnRenderStyleEvents
.
The event is fired before rendering the "STYLE" block.
listener
- OnRenderStyleEvents
listener.
TooManyListenersException
- This is thrown if you attempt to add more than
one listener on a particular event listener source concurrently.removeOnRenderStyleEventListener()
public java.lang.String getHyperlinkTarget()
Returns the hyperlink target for displaying the HTML.
The target _self
displays the HTML
document in the same frame,
the target _parent
displays the HTML document
in the same frame or window
that contains the current frameset, the target
_top
displays the HTML document in the entire browser window, and the target
_blank
to displays the HTML document in a new browser window.
String
. By default the target
is _self.setHyperlinkTarget
public void removeAfterRenderContentEventListener()
Removes the listener for
AfterRenderContentEvents
.
addAfterRenderContentEventListener(com.crystaldecisions.report.htmlrender.AfterRenderContentEventListener)
public void removeAfterRenderEventListener()
Removes the listener for
AfterRenderEvents
.
addAfterRenderEventListener(com.crystaldecisions.report.htmlrender.AfterRenderEventListener)
public void removeAfterRenderObjectEventListener()
Removes the listener for
AfterRenderObjectEvents
.
addAfterRenderObjectEventListener(com.crystaldecisions.report.htmlrender.AfterRenderObjectEventListener)
public void removeAfterRenderViewItemEventListener()
Removes the listener for
AfterRenderViewItemEvents
.
addAfterRenderViewItemEventListener(com.crystaldecisions.report.htmlrender.IAfterRenderViewItemEventListener)
public void removeBeforeRenderContentEventListener()
Removes the listener for
BeforeRenderContentEvents
.
addBeforeRenderContentEventListener(com.crystaldecisions.report.htmlrender.BeforeRenderContentEventListener)
public void removeBeforeRenderEventListener()
Removes the listener for
BeforeRenderEvents
.
addBeforeRenderEventListener(com.crystaldecisions.report.htmlrender.BeforeRenderEventListener)
public void removeBeforeRenderObjectEventListener()
Removes the listener for
BeforeRenderObjectEvents
.
addBeforeRenderObjectEventListener(com.crystaldecisions.report.htmlrender.BeforeRenderObjectEventListener)
public void removeBeforeRenderViewItemEventListener()
Removes the listener for
BeforeRenderViewItemEvents
.
addBeforeRenderViewItemEventListener(com.crystaldecisions.report.htmlrender.IBeforeRenderViewItemEventListener)
public void removeDrillEventListener()
Removes the listener for DrillEvents
.
addDrillEventListener
public void removeOnRenderScriptEventListener()
Removes the listener for
OnRenderScriptEvents
.
addOnRenderScriptEventListener(com.crystaldecisions.report.htmlrender.OnRenderScriptEventListener)
public void removeOnRenderStyleEventListener()
Removes the listener for
OnRenderStyleEvents
.
addOnRenderStyleEventListener(com.crystaldecisions.report.htmlrender.OnRenderStyleEventListener)
public void setHyperlinkTarget(java.lang.String target)
Sets the hyperlink target for displaying the HTML.
Use the target _self
to display the HTML document in the same frame,
_parent
to display HTML document in the same frame or window
that contains the current frameset,
_top
to display HTML document in the entire browser window, and
_blank
to display HTML document in a new browser window.
target
- A String
that specifies the target for the
hyperlink. By default the target is _self.getHyperlinkTarget