|
EspressReport 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
quadbase.reportdesigner.ReportViewer.CApplet
quadbase.reportdesigner.ReportViewer.Viewer
public class Viewer
This class provides the mechanism for viewing a report object (one that
implements Interface IReport),
in either an application or an applet environment.
The most common use of this Viewer class is getting a Component Object from a IReport Object:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.applet.Applet |
|---|
java.applet.Applet.AccessibleApplet |
| Nested classes/interfaces inherited from class java.awt.Panel |
|---|
java.awt.Panel.AccessibleAWTPanel |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
Viewer()
|
|
| Method Summary | |
|---|---|
void |
destroy()
For internal use only |
java.awt.Component |
getComponent(IReport report)
Returns a Component that displays the report. |
java.awt.Component |
getComponent(IReport report,
int scrollBarOption)
Returns a Component that displays the report, with the specified scroll bar option |
ReportCanvas |
getReportCanvas()
Gets the ReportCanvas object associated with this viewer |
void |
init()
For internal use only |
static void |
main(java.lang.String[] argv)
internal use only |
void |
setBackMenuItemVisible(boolean b)
Sets the visibility of the Back Menu Item. |
void |
setCanvasBackgroundColor(java.awt.Color color)
Sets the Canvas Background color of the viewed application or applet. |
void |
setDynamicExport(boolean state,
java.lang.String serverName,
int serverPort,
java.lang.String servletDirectory)
Sets the attributes for a dynamic export (when using setExportServlet) |
void |
setExportServlet(java.lang.String url)
Sets the url to the ViewerExportServlet, which is used for exporting to a servlet that streams back content to the client via a browser url |
void |
setGoToMenuItemVisible(boolean b)
Sets the visibility of the Go To Menu Item. |
void |
setMenuVisible(boolean b)
Sets the visibility of the Menu. |
void |
setMouseListener(java.awt.event.MouseListener listener)
Allow the user to implement their own mouse listeners and trap all mouse events |
void |
setMouseMotionListener(java.awt.event.MouseMotionListener listener)
Sets a MouseMotionListener to be used with the Viewer. |
void |
setMultiDrillDownVisible(boolean b)
Sets the visibility of Multi Drill Down. |
void |
setOutputMenuItemVisible(java.lang.String[] menuItem,
boolean b)
Sets the visibility of some particular menu item(s) on the Output Menu. |
void |
setOutputMenuVisible(boolean b)
Sets the visibility of the Output Menu. |
void |
setPageMenuItemVisible(java.lang.String[] menuItem,
boolean b)
Sets the visibility of some particular menuitem(s) on the page Menu. |
void |
setPageMenuVisible(boolean b)
Sets the visibility of the Page Menu. |
void |
setRefreshMenuItemVisible(boolean b)
Sets the visibility of the Refresh Menu Item. |
void |
setReportMain(quadbase.reportdesigner.util.IReportMain reportMain)
internal use only. |
void |
setSectionMenuVisible(boolean b)
Sets the visibility of the Section Menu. |
void |
setSectionoMenuItemVisible(java.lang.String[] menuItem,
boolean b)
Sets the visibility of some particular menu item(s). |
void |
setSortMenuVisible(boolean b)
Sets the visibility of the Sort Menu. |
void |
setToolBarMenuVisible(boolean b)
sets the display status of toolbar menu item in popup menu |
void |
setZoomMenuItemVisible(boolean b)
Sets the visibility of the Zoom Menu Item. |
void |
start()
For internal use only |
void |
stop()
For internal use only |
| Methods inherited from class quadbase.reportdesigner.ReportViewer.CApplet |
|---|
getContentPane, setBorderLayout |
| Methods inherited from class java.applet.Applet |
|---|
getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus |
| Methods inherited from class java.awt.Panel |
|---|
addNotify |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Viewer()
| Method Detail |
|---|
public java.awt.Component getComponent(IReport report)
public java.awt.Component getComponent(IReport report,
int scrollBarOption)
public ReportCanvas getReportCanvas()
public void init()
init in class java.applet.Appletpublic void start()
start in class java.applet.Appletpublic void destroy()
destroy in class java.applet.Appletpublic void stop()
stop in class java.applet.Appletpublic static void main(java.lang.String[] argv)
public void setReportMain(quadbase.reportdesigner.util.IReportMain reportMain)
public void setMouseListener(java.awt.event.MouseListener listener)
public void setMouseMotionListener(java.awt.event.MouseMotionListener listener)
public void setCanvasBackgroundColor(java.awt.Color color)
public void setMenuVisible(boolean b)
public void setSectionMenuVisible(boolean b)
public void setSectionoMenuItemVisible(java.lang.String[] menuItem,
boolean b)
public void setPageMenuVisible(boolean b)
public void setPageMenuItemVisible(java.lang.String[] menuItem,
boolean b)
public void setOutputMenuVisible(boolean b)
public void setOutputMenuItemVisible(java.lang.String[] menuItem,
boolean b)
public void setBackMenuItemVisible(boolean b)
public void setRefreshMenuItemVisible(boolean b)
public void setGoToMenuItemVisible(boolean b)
public void setZoomMenuItemVisible(boolean b)
public void setSortMenuVisible(boolean b)
public void setMultiDrillDownVisible(boolean b)
public void setToolBarMenuVisible(boolean b)
public void setDynamicExport(boolean state,
java.lang.String serverName,
int serverPort,
java.lang.String servletDirectory)
state - whether to use dynamic exportserverName - the name of the server with the dynamic export servletsserverPort - the port number of the server with the dynamic export servletsservletDirectory - the servlet context to the server with the dynamic export servletspublic void setExportServlet(java.lang.String url)
url - the url to the servlet, for example: "http://localhost:8080/servlet/ViewerExportServlet"
|
EspressReport 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||