Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.bean
Class JRClientViewer

    java.lang.Object
      java.awt.Component
          java.awt.Container
              java.awt.Panel
                  jet.bean.JRClientViewer

All Implemented Interfaces:
  java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Externalizable, java.io.Serializable, javax.accessibility.Accessible

    public class JRClientViewer

extends java.awt.Panel
implements java.io.Externalizable

See Also:
  Serialized Form

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
`JRClientViewer()` The default constructor.

Method Summary
`void` | `exit()`
`java.lang.String` | `getFullPath()` Gets the full path for JReport Enterprise Servlet.
`java.awt.Dimension` | `getMinimumSize()`
`java.lang.String` | `getPassword()` Gets the password to log in JReport Enterprise Server.
`java.lang.String` | `getPort()` Gets the port number.
`java.awt.Dimension` | `getPreferredSize()`
`java.lang.String` | `getReportHome()` Gets the report home path where the report.ini and other JReport system files exist.
`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` | `readExternal(java.io.ObjectInput in)`
`void` | `run()` Launches to run JReport Viewer Bean.
`void` | `setFullPath(java.lang.String fullPath)` Sets the full path for JReport Enterprise Servlet.
`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` | `setPort(java.lang.String port)` Sets the port number.
`void` | `setReportHome(java.lang.String reportHome)` Sets the report home path where the report.ini and other JReport system files exist.
`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, getLocale, 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, setLocale, 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

### vOff

    public static final int vOff

  Indicates to close the debug.

### vDebug

    public static final int vDebug

  Indicates to open the debug.

### vError

    public static final int vError

  Indicates to open the error.

Constructor Detail

### JRClientViewer

    public JRClientViewer()

  The default constructor.

Method Detail

### getReportHome

    public java.lang.String getReportHome()

  Gets the report home path where the report.ini and other JReport system files exist.

  Returns:
    the report home path where the report.ini and other JReport system files exist.

### setReportHome

    public void setReportHome(java.lang.String reportHome)

  Sets the report home path where the report.ini and other JReport system files exist.

  Parameters:
    `reportHome` - the home path where the report.ini and other JReport system files exist.

### setServerName

    public void setServerName(java.lang.String serverName)

  Sets the server name or IP address.

  Parameters:
    `serverName` - the name of the server where the report runs.

### getServerName

    public java.lang.String getServerName()

  Gets the server name or IP address where the report runs.

  Returns:
    serverName the name or address of current server.

### setPort

    public void setPort(java.lang.String port)

  Sets the port number.

  Parameters:
    `port` - the port number.

### getPort

    public java.lang.String getPort()

  Gets the port number.

  Returns:
    the port number.

### setFullPath

    public void setFullPath(java.lang.String fullPath)

  Sets the full path for JReport Enterprise Servlet.

  Parameters:
    `fullPath` - if you access JReport Enterprise Servlet, you must set the servlet path also, for example: setFullPath("/Jinfonet_Sybase/JReport");

### getFullPath

    public java.lang.String getFullPath()

  Gets the full path for JReport Enterprise Servlet.

  Returns:
    the full path.

### setUserName

    public void setUserName(java.lang.String userName)

  Sets the user name to log in JReport Enterprise Server.

  Parameters:
    `userName` - the user name to log in JReport Enterprise Server.

### getUserName

    public java.lang.String getUserName()

  Gets the user name to log in JReport Enterprise Server.

  Returns:
    the user name to log in JReport Enterprise Server.

### setPassword

    public void setPassword(java.lang.String password)

  Sets the password to log in JReport Enterprise Server.

  Parameters:
    `password` - the password to log in JReport Enterprise Server.

### getPassword

    public java.lang.String getPassword()

  Gets the password to log in JReport Enterprise Server.

  Returns:
    the password to log in JReport Enterprise Server.

### run

    public void run()

  Launches to run JReport Viewer Bean.

### getMinimumSize

    public java.awt.Dimension getMinimumSize()

  Overrides:
    `getMinimumSize` in class `java.awt.Container`

### getPreferredSize

    public java.awt.Dimension getPreferredSize()

  Overrides:
    `getPreferredSize` in class `java.awt.Container`

### writeExternal

    public void writeExternal(java.io.ObjectOutput out)
                       throws java.io.IOException

  Specified by:
    `writeExternal` in interface `java.io.Externalizable`
  Throws:
    `java.io.IOException`

### readExternal

    public void readExternal(java.io.ObjectInput in)
                      throws java.io.IOException,
                             java.lang.ClassNotFoundException

  Specified by:
    `readExternal` in interface `java.io.Externalizable`
  Throws:
    `java.io.IOException`
    `java.lang.ClassNotFoundException`

### exit

    public void exit()

### getStatus

    public java.lang.String getStatus()

  Gets the status after an action.

### setShowInfoLevel

    public void setShowInfoLevel(int level)

  Enables/disables output error and debug message.

  Parameters:
    `level` - the debug level, for example: vDebug | vError

### setLogFile

    public boolean setLogFile(java.lang.String fileName)

  Sets the log file.

  Parameters:
    `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

  Returns:
    true if successful

### setSSL

    public void setSSL(boolean SSL)

  Set the connection to use SSL or not

  Parameters:
    `SSL` - boolean, indicate whether to use SSL connection

### getSSL

    public boolean getSSL()

  Get current SSL states

  Returns:
    boolean, indicate the current SSL states

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD