jbcl.sql.monitor Package 

MonitorPanel component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----javax.swing.JComponent
                           +----javax.swing.JPanel
                                   +----com.borland.jbcl.sql.monitor.MonitorPanel

About the MonitorPanel component

Variables  Constructors  Properties  Methods  Event Listeners

Implements ActionListener, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

Note: This is a feature of JBuilder Enterprise.

MonitorPanel provides a simple UI for logging output from the JDBC DriverManager.

It contains a checkbox for enabling/disabling log output, a button for saving the current log output to a file, and a button for clearing the log. The save-to-file and clear log buttons will respect the current selected log text. If no log text has been selected, both buttons work on all the text in the log.

In some environments, an unlimited log file size will crash the TextArea used to display the log. Use setMaxLogSize() to adjust the max log size appropriate for your environment. The default size is 8K.


MonitorPanel variables

Variables implemented in this class

Variables implemented in java.awt.Component

Variables implemented in javax.swing.JComponent

MonitorPanel constructors

MonitorPanel properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

Properties implemented in javax.swing.JComponent

Properties implemented in javax.swing.JPanel

MonitorPanel methods

Methods implemented in this class

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.lang.Object

Methods implemented in javax.swing.JComponent

Methods implemented in javax.swing.JPanel

MonitorPanel event listeners


MonitorPanel variables

borderLayout1

  protected BorderLayout borderLayout1

buttonPanel

  protected JPanel buttonPanel

clearButton

  protected JButton clearButton

enableOutputCheckbox

  protected JCheckBox enableOutputCheckbox

gridLayout

  protected GridLayout gridLayout

hlpMonitorPanel

  public final int hlpMonitorPanel

hlpSourceDialog

  public final int hlpSourceDialog

outerButtonPanel

  protected JPanel outerButtonPanel

saveButton

  protected JButton saveButton

scrollPane

  protected JScrollPane scrollPane

southPanel

  protected JPanel southPanel

southPanelLayout

  protected BorderLayout southPanelLayout

textArea

  protected JTextArea textArea

textAreaStream

  protected TextAreaStream textAreaStream

MonitorPanel constructors

MonitorPanel()

  public MonitorPanel()
Constructs a MonitorPanel component.

MonitorPanel properties

maxLogSize

 public int getMaxLogSize()
 public void setMaxLogSize(int length)
Sets the default size of the output log displayed in the JDBC Monitor's TextArea component. Because of the large amount of log data generated, in some environments the TextArea component may crash.

Use maxLogSize to limit the size of the log appropriately for your environment. The default size of the log is 8k.

outputEnabled

 public boolean isOutputEnabled()
 public void setOutputEnabled(boolean outputEnabled)
Set the outputEnabled property true or false to specify whether the JDBC Monitor dialog initially has output logging enabled or disabled.

MonitorPanel methods

jbInit()

  public void jbInit()

MonitorPanel event listeners

This component is a source for the following event sets.

ancestor

 public void addAncestorListener(javax.swing.event.AncestorListener )
 public void removeAncestorListener(javax.swing.event.AncestorListener )

component

 public synchronized void addComponentListener(java.awt.event.ComponentListener )
 public synchronized void removeComponentListener(java.awt.event.ComponentListener )

container

 public synchronized void addContainerListener(java.awt.event.ContainerListener )
 public synchronized void removeContainerListener(java.awt.event.ContainerListener )

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener )
 public synchronized void removeFocusListener(java.awt.event.FocusListener )

inputMethod

 public synchronized void addInputMethodListener(java.awt.event.InputMethodListener )
 public synchronized void removeInputMethodListener(java.awt.event.InputMethodListener )

key

 public synchronized void addKeyListener(java.awt.event.KeyListener )
 public synchronized void removeKeyListener(java.awt.event.KeyListener )

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener )
 public synchronized void removeMouseListener(java.awt.event.MouseListener )

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener )
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener )

propertyChange

 public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener )
 public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener )

vetoableChange

 public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener )
 public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener )