public class

VMPanel

extends JTabbedPane
implements PropertyChangeListener
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JTabbedPane
           ↳ sun.tools.jconsole.VMPanel

Summary

[Expand]
Inherited Constants
From class javax.swing.JTabbedPane
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
From interface javax.swing.SwingConstants
[Expand]
Inherited Fields
From class javax.swing.JTabbedPane
From class javax.swing.JComponent
Public Methods
void cleanUp()
void connect()
void disconnect()
String getConnectionName()
String getDisplayName()
String getHostName()
String getPassword()
int getPort()
ProxyClient getProxyClient()
static TabInfo[] getTabInfos()
String getToolTipText(MouseEvent event)
Returns the tooltip text for the component determined by the mouse event location.
int getUpdateInterval()
String getUrl()
String getUserName()
void propertyChange(PropertyChangeEvent ev)
This method gets called when a bound property is changed.
synchronized void removeTabAt(int index)
Removes the tab at index.
void setUI(TabbedPaneUI ui)
Sets the UI object which implements the L&F for this component.
Protected Methods
void paintComponent(Graphics g)
Calls the UI delegate's paint method, if the UI delegate is non-null.
[Expand]
Inherited Methods
From class javax.swing.JTabbedPane
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.image.ImageObserver
From interface java.beans.PropertyChangeListener
From interface javax.accessibility.Accessible

Public Methods

public void cleanUp ()

public void connect ()

public void disconnect ()

public String getConnectionName ()

public String getDisplayName ()

public String getHostName ()

public String getPassword ()

public int getPort ()

public ProxyClient getProxyClient ()

public static TabInfo[] getTabInfos ()

public String getToolTipText (MouseEvent event)

Returns the tooltip text for the component determined by the mouse event location.

Parameters
event the MouseEvent that tells where the cursor is lingering
Returns
  • the String containing the tooltip text

public int getUpdateInterval ()

public String getUrl ()

public String getUserName ()

public void propertyChange (PropertyChangeEvent ev)

This method gets called when a bound property is changed.

Parameters
ev A PropertyChangeEvent object describing the event source and the property that has changed.

public synchronized void removeTabAt (int index)

Removes the tab at index. After the component associated with index is removed, its visibility is reset to true to ensure it will be visible if added to other containers.

Parameters
index the index of the tab to be removed

public void setUI (TabbedPaneUI ui)

Sets the UI object which implements the L&F for this component.

Parameters
ui the new UI object

Protected Methods

protected void paintComponent (Graphics g)

Calls the UI delegate's paint method, if the UI delegate is non-null. We pass the delegate a copy of the Graphics object to protect the rest of the paint code from irrevocable changes (for example, Graphics.translate).

If you override this in a subclass you should not make permanent changes to the passed in Graphics. For example, you should not alter the clip Rectangle or modify the transform. If you need to do these operations you may find it easier to create a new Graphics from the passed in Graphics and manipulate it. Further, if you do not invoker super's implementation you must honor the opaque property, that is if this component is opaque, you must completely fill in the background in a non-opaque color. If you do not honor the opaque property you will likely see visual artifacts.

The passed in Graphics object might have a transform other than the identify transform installed on it. In this case, you might get unexpected results if you cumulatively apply another transform.

Parameters
g the Graphics object to protect