jbcl.sql.monitor Package 

MonitorButton component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----javax.swing.JComponent
                           +----javax.swing.AbstractButton
                                   +----javax.swing.JButton
                                           +----com.borland.jbcl.sql.monitor.MonitorButton

About the MonitorButton component

Variables  Constructors  Properties  Methods  Event Listeners

Implements ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants

Note: This is a feature of JBuilder Enterprise.

MonitorButton is a button you can add to the UI of your database application to display JDBC Monitor log output. When the button is pressed, the JDBC Monitor appears as a separate, non-modal dialog box.

MonitorButton has two properties you can set to customize the JDBC Monitor:


MonitorButton variables

Variables implemented in java.awt.Component

Variables implemented in javax.swing.AbstractButton

Variables implemented in javax.swing.JComponent

MonitorButton constructors

MonitorButton 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.AbstractButton

Properties implemented in javax.swing.JButton

Properties implemented in javax.swing.JComponent

MonitorButton 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.AbstractButton

Methods implemented in javax.swing.JButton

Methods implemented in javax.swing.JComponent

MonitorButton event listeners


MonitorButton constructors

MonitorButton()

  public MonitorButton()
Constructs a MonitorButton component.

MonitorButton properties

maxLogSize

 public int getMaxLogSize()
 public void setMaxLogSize(int maxLogSize)
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.

At runtime, the user can check the dialog box's checkbox to toggle log output on or off.


MonitorButton event listeners

This component is a source for the following event sets.

action

 public void addActionListener(java.awt.event.ActionListener )
 public void removeActionListener(java.awt.event.ActionListener )

ancestor

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

change

 public void addChangeListener(javax.swing.event.ChangeListener )
 public void removeChangeListener(javax.swing.event.ChangeListener )

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 )

item

 public void addItemListener(java.awt.event.ItemListener )
 public void removeItemListener(java.awt.event.ItemListener )

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 )