java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JInternalFrame
           ↳ sun.tools.jconsole.InternalDialog
             ↳ sun.tools.jconsole.ConnectDialog

Summary

[Expand]
Inherited Constants
From class javax.swing.JInternalFrame
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
From interface javax.swing.WindowConstants
[Expand]
Inherited Fields
From class sun.tools.jconsole.InternalDialog
From class javax.swing.JInternalFrame
From class javax.swing.JComponent
Public Constructors
ConnectDialog(JConsole jConsole)
Public Methods
void changedUpdate(DocumentEvent e)
Gives notification that an attribute or set of attributes changed.
void focusGained(FocusEvent e)
Invoked when a component gains the keyboard focus.
void focusLost(FocusEvent e)
Invoked when a component loses the keyboard focus.
static int getLabelWidth(String text)
void insertUpdate(DocumentEvent e)
Gives notification that there was an insert into the document.
void itemStateChanged(ItemEvent ev)
Invoked when an item has been selected or deselected by the user.
void keyPressed(KeyEvent e)
Invoked when a key has been pressed.
void keyReleased(KeyEvent e)
Invoked when a key has been released.
void keyTyped(KeyEvent e)
Invoked when a key has been typed.
void refresh()
void removeUpdate(DocumentEvent e)
Gives notification that a portion of the document has been removed.
void revalidate()
Supports deferred automatic layout.
void setConnectionParameters(String url, String host, int port, String userName, String password, String msg)
void setVisible(boolean b)
Makes the component visible or invisible.
void valueChanged(ListSelectionEvent e)
Called whenever the value of the selection changes.
[Expand]
Inherited Methods
From class sun.tools.jconsole.InternalDialog
From class javax.swing.JInternalFrame
From class javax.swing.JComponent
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.event.FocusListener
From interface java.awt.event.ItemListener
From interface java.awt.event.KeyListener
From interface java.awt.image.ImageObserver
From interface javax.accessibility.Accessible
From interface javax.swing.RootPaneContainer
From interface javax.swing.event.DocumentListener
From interface javax.swing.event.ListSelectionListener

Public Constructors

public ConnectDialog (JConsole jConsole)

Public Methods

public void changedUpdate (DocumentEvent e)

Gives notification that an attribute or set of attributes changed.

Parameters
e the document event

public void focusGained (FocusEvent e)

Invoked when a component gains the keyboard focus.

public void focusLost (FocusEvent e)

Invoked when a component loses the keyboard focus.

public static int getLabelWidth (String text)

public void insertUpdate (DocumentEvent e)

Gives notification that there was an insert into the document. The range given by the DocumentEvent bounds the freshly inserted region.

Parameters
e the document event

public void itemStateChanged (ItemEvent ev)

Invoked when an item has been selected or deselected by the user. The code written for this method performs the operations that need to occur when an item is selected (or deselected).

public void keyPressed (KeyEvent e)

Invoked when a key has been pressed. See the class description for KeyEvent for a definition of a key pressed event.

public void keyReleased (KeyEvent e)

Invoked when a key has been released. See the class description for KeyEvent for a definition of a key released event.

public void keyTyped (KeyEvent e)

Invoked when a key has been typed. See the class description for KeyEvent for a definition of a key typed event.

public void refresh ()

public void removeUpdate (DocumentEvent e)

Gives notification that a portion of the document has been removed. The range is given in terms of what the view last saw (that is, before updating sticky positions).

Parameters
e the document event

public void revalidate ()

Supports deferred automatic layout.

Calls invalidate and then adds this component's validateRoot to a list of components that need to be validated. Validation will occur after all currently pending events have been dispatched. In other words after this method is called, the first validateRoot (if any) found when walking up the containment hierarchy of this component will be validated. By default, JRootPane, JScrollPane, and JTextField return true from isValidateRoot.

This method will automatically be called on this component when a property value changes such that size, location, or internal layout of this component has been affected. This automatic updating differs from the AWT because programs generally no longer need to invoke validate to get the contents of the GUI to update.

public void setConnectionParameters (String url, String host, int port, String userName, String password, String msg)

public void setVisible (boolean b)

Makes the component visible or invisible. Overrides Component.setVisible.

Parameters
b true to make the component visible; false to make it invisible

public void valueChanged (ListSelectionEvent e)

Called whenever the value of the selection changes.

Parameters
e the event that characterizes the change.