public class

BorderedComponent

extends JPanel
implements ActionListener
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JPanel
           ↳ sun.tools.jconsole.BorderedComponent
Known Direct Subclasses
Known Indirect Subclasses

Summary

Nested Classes
class BorderedComponent.FocusBorder  
class BorderedComponent.LabeledBorder A subclass of TitledBorder which implements an arbitrary border with the addition of a JComponent (JLabel, JPanel, etc) in the default position. 
[Expand]
Inherited Constants
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
[Expand]
Inherited Fields
From class javax.swing.JComponent
Public Constructors
BorderedComponent(String text)
BorderedComponent(String text, JComponent comp)
BorderedComponent(String text, JComponent comp, boolean collapsible)
Public Methods
void actionPerformed(ActionEvent ev)
Invoked when an action occurs.
void doLayout()
Causes this container to lay out its components.
Dimension getMinimumSize()
If the minimum size has been set to a non-null value just returns it.
void setComponent(JComponent comp)
void setValueLabel(String str)
[Expand]
Inherited Methods
From class javax.swing.JPanel
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.ActionListener
From interface java.awt.image.ImageObserver
From interface javax.accessibility.Accessible

Public Constructors

public BorderedComponent (String text)

public BorderedComponent (String text, JComponent comp)

public BorderedComponent (String text, JComponent comp, boolean collapsible)

Public Methods

public void actionPerformed (ActionEvent ev)

Invoked when an action occurs.

public void doLayout ()

Causes this container to lay out its components. Most programs should not call this method directly, but should invoke the validate method instead.

public Dimension getMinimumSize ()

If the minimum size has been set to a non-null value just returns it. If the UI delegate's getMinimumSize method returns a non-null value then return that; otherwise defer to the component's layout manager.

Returns
  • the value of the minimumSize property

public void setComponent (JComponent comp)

public void setValueLabel (String str)