|
|||||||||
| 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
jet.bean.JRCltPreViewer
public class JRCltPreViewer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.BaselineResizeBehavior |
| Field Summary | |
|---|---|
static int |
vDebug
Indicates to open the debug. |
static int |
vError
Indicates to open the error. |
static int |
vOff
Indicates to close the debug. |
| 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 | |
|---|---|
JRCltPreViewer()
The default constructor. |
|
| Method Summary | |
|---|---|
void |
exit()
|
java.lang.String |
getFullCatalogName()
Gets the full catalog name relative to the resource directory in JReport Enterprise Server. |
java.lang.String |
getFullPath()
Gets the full path for JReport Enterprise Servlet. |
java.util.Locale |
getLocale()
Gets the locale. |
java.awt.Dimension |
getMinimumSize()
|
java.lang.String |
getPassword()
Gets the password to log in JReport Enterprise Server. |
boolean |
getPopupErrorDialog()
Get the value about whether popup error message dialog. |
boolean |
getPopupParamDialog()
Gets the status whether to pop up the parameter dialog when running a report. |
java.lang.String |
getPort()
Gets the port number. |
java.awt.Dimension |
getPreferredSize()
|
java.lang.String |
getReportName()
Gets the report name relative to the catalog directory in JReport Enterprise Server. |
java.util.Vector |
getReportParams()
Gets the parameters of the current report. |
java.lang.String |
getServerName()
Gets the server name or IP address where the report runs. |
boolean |
getSSL()
Get current SSL states |
java.lang.String |
getStatus()
Gets the status after an action. |
java.lang.String |
getUserName()
Gets the user name to log in JReport Enterprise Server. |
void |
logout()
Enables to log out from JReport Enterprise Server. |
void |
prepareRun()
Launches to run JReport Viewer Bean. |
void |
readExternal(java.io.ObjectInput in)
|
void |
setFullPath(java.lang.String fullPath)
Sets the full path for JReport Enterprise Servlet. |
void |
setLanguage(java.lang.String rptLanguage)
Sets language and converts to a Locale object. |
void |
setLocale(java.util.Locale loc)
Sets the locale. |
boolean |
setLogFile(java.lang.String fileName)
Sets the log file. |
void |
setPassword(java.lang.String password)
Sets the password to log in JReport Enterprise Server. |
void |
setPopupErrorDialog(boolean isPopErrorDialog)
Allow user to set whether popup the error message dialog while Exception occur. |
void |
setPopupParamDialog(boolean bPopupDialog)
Indicates whether to pop up the parameter dialog when running a report. |
void |
setPort(java.lang.String port)
Sets the port number. |
void |
setServerName(java.lang.String serverName)
Sets the server name or IP address. |
void |
setShowInfoLevel(int level)
Enables/disables output error and debug message. |
void |
setSSL(boolean SSL)
Set the connection to use SSL or not |
void |
setUserName(java.lang.String userName)
Sets the user name to log in JReport Enterprise Server. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.awt.Panel |
|---|
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int vOff
public static final int vDebug
public static final int vError
| Constructor Detail |
|---|
public JRCltPreViewer()
| Method Detail |
|---|
public void setPopupParamDialog(boolean bPopupDialog)
bPopupDialog - if it is true, then the parameter dialog will be activated.public boolean getPopupParamDialog()
public void setPopupErrorDialog(boolean isPopErrorDialog)
isPopup, - the value is "true" indicate to popup error message dialog, otherwise don't popup.public boolean getPopupErrorDialog()
isPopup, - the value is "true" indicate to popup error message dialog, otherwise don't popup.public void setServerName(java.lang.String serverName)
serverName - the name of the server where the report runs.public java.lang.String getServerName()
public void setPort(java.lang.String port)
port - the port number.public java.lang.String getPort()
public void setLocale(java.util.Locale loc)
setLocale in class java.awt.Componentpublic void setLanguage(java.lang.String rptLanguage)
public java.util.Locale getLocale()
getLocale in class java.awt.Componentpublic void setFullPath(java.lang.String fullPath)
fullPath - if you access JReport Enterprise Servlet, you must set
the servlet path also, for example: setFullPath("/Jinfonet_Sybase/JReport");public java.lang.String getFullPath()
public void setUserName(java.lang.String userName)
userName - the user name to log in JReport Enterprise Server.public java.lang.String getUserName()
public void setPassword(java.lang.String password)
password - the password to log in JReport Enterprise Server.public java.lang.String getPassword()
public void prepareRun()
public java.util.Vector getReportParams()
public java.lang.String getFullCatalogName()
public java.lang.String getReportName()
public java.awt.Dimension getMinimumSize()
getMinimumSize in class java.awt.Containerpublic java.awt.Dimension getPreferredSize()
getPreferredSize in class java.awt.Container
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionpublic void exit()
public void logout()
public java.lang.String getStatus()
public void setShowInfoLevel(int level)
level - the debug level, for example: vDebug | vErrorpublic boolean setLogFile(java.lang.String fileName)
fileName - the log file name
LogFileName specifies where the debug, error and other information will go. LogFileName contains both the path and the file name. If no path is specified, the current path is used. If no file name is specified, the file jreport.log is used
public void setSSL(boolean SSL)
SSL - boolean, indicate whether to use SSL connectionpublic boolean getSSL()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||