JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.awt.Component

Packages that use Component
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.awt.im Provides classes and interfaces for the input method framework. 
java.beans Contains classes related to developing beans -- components based on the JavaBeansTM architecture. 
java.beans.beancontext Provides classes and interfaces relating to bean context. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.border Provides classes and interface for drawing specialized borders around a Swing component. 
javax.swing.colorchooser Contains classes and interfaces used by the JColorChooser component. 
javax.swing.event Provides for events fired by Swing components. 
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. 
javax.swing.table Provides classes and interfaces for dealing with javax.swing.JTable
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
javax.swing.tree Provides classes and interfaces for dealing with javax.swing.JTree
 

Uses of Component in java.applet
 

Subclasses of Component in java.applet
 class Applet
          An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application.
 

Uses of Component in java.awt
 

Subclasses of Component in java.awt
 class Button
          This class creates a labeled button.
 class Canvas
          A Canvas component represents a blank rectangular area of the screen onto which the application can draw or from which the application can trap input events from the user.
 class Checkbox
          A check box is a graphical component that can be in either an "on" (true) or "off" (false) state.
 class Choice
          The Choice class presents a pop-up menu of choices.
 class Container
          A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.
 class Dialog
          A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.
 class FileDialog
          The FileDialog class displays a dialog window from which the user can select a file.
 class Frame
          A Frame is a top-level window with a title and a border.
 class Label
          A Label object is a component for placing text in a container.
 class List
          The List component presents the user with a scrolling list of text items.
 class Panel
          Panel is the simplest container class.
 class Scrollbar
          The Scrollbar class embodies a scroll bar, a familiar user-interface object.
 class ScrollPane
          A container class which implements automatic horizontal and/or vertical scrolling for a single child component.
 class TextArea
          A TextArea object is a multi-line region that displays text.
 class TextComponent
          The TextComponent class is the superclass of any component that allows the editing of some text.
 class TextField
          A TextField object is a text component that allows for the editing of a single line of text.
 class Window
          A Window object is a top-level window with no borders and no menubar.
 

Methods in java.awt that return Component
 Component KeyboardFocusManager.getFocusOwner()
          Returns the focus owner, if the focus owner is in the same context as the calling thread.
protected  Component KeyboardFocusManager.getGlobalFocusOwner()
          Returns the focus owner, even if the calling thread is in a different context than the focus owner.
 Component KeyboardFocusManager.getPermanentFocusOwner()
          Returns the permanent focus owner, if the permanent focus owner is in the same context as the calling thread.
protected  Component KeyboardFocusManager.getGlobalPermanentFocusOwner()
          Returns the permanent focus owner, even if the calling thread is in a different context than the permanent focus owner.
 Component ContainerOrderFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
 Component ContainerOrderFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
 Component ContainerOrderFocusTraversalPolicy.getFirstComponent(Container focusCycleRoot)
          Returns the first Component in the traversal cycle.
 Component ContainerOrderFocusTraversalPolicy.getLastComponent(Container focusCycleRoot)
          Returns the last Component in the traversal cycle.
 Component ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container focusCycleRoot)
          Returns the default Component to focus.
 Component Window.getFocusOwner()
          Returns the child Component of this Window that has focus if this Window is focused; returns null otherwise.
 Component Window.getMostRecentFocusOwner()
          Returns the child Component of this Window that will receive the focus when this Window is focused.
abstract  Component FocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
abstract  Component FocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
abstract  Component FocusTraversalPolicy.getFirstComponent(Container focusCycleRoot)
          Returns the first Component in the traversal cycle.
abstract  Component FocusTraversalPolicy.getLastComponent(Container focusCycleRoot)
          Returns the last Component in the traversal cycle.
abstract  Component FocusTraversalPolicy.getDefaultComponent(Container focusCycleRoot)
          Returns the default Component to focus.
 Component FocusTraversalPolicy.getInitialComponent(Window window)
          Returns the Component that should receive the focus when a Window is made visible for the first time.
 Component Container.getComponent(int n)
          Gets the nth component in this container.
 Component[] Container.getComponents()
          Gets all the components in this container.
 Component Container.add(Component comp)
          Appends the specified component to the end of this container.
 Component Container.add(String name, Component comp)
          Adds the specified component to this container.
 Component Container.add(Component comp, int index)
          Adds the specified component to this container at the given position.
 Component Container.getComponentAt(int x, int y)
          Locates the component that contains the x,y position.
 Component Container.locate(int x, int y)
          Deprecated. As of JDK version 1.1, replaced by getComponentAt(int, int).
 Component Container.getComponentAt(Point p)
          Gets the component that contains the specified point.
 Component Container.findComponentAt(int x, int y)
          Locates the visible child component that contains the specified position.
 Component Container.findComponentAt(Point p)
          Locates the visible child component that contains the specified point.
 Component Component.getComponentAt(int x, int y)
          Determines if this component or one of its immediate subcomponents contains the (xy) location, and if so, returns the containing component.
 Component Component.locate(int x, int y)
          Deprecated. As of JDK version 1.1, replaced by getComponentAt(int, int).
 Component Component.getComponentAt(Point p)
          Returns the component or subcomponent that contains the specified point.
 

Methods in java.awt with parameters of type Component
protected  void KeyboardFocusManager.setGlobalFocusOwner(Component focusOwner)
          Sets the focus owner.
protected  void KeyboardFocusManager.setGlobalPermanentFocusOwner(Component permanentFocusOwner)
          Sets the permanent focus owner.
 void KeyboardFocusManager.redispatchEvent(Component target, AWTEvent e)
          Redispatches an AWTEvent in such a way that the AWT event dispatcher will not recursively request that the KeyboardFocusManager, or any installed KeyEventDispatchers, dispatch the event again.
abstract  void KeyboardFocusManager.processKeyEvent(Component focusedComponent, KeyEvent e)
          This method initiates a focus traversal operation if and only if the KeyEvent represents a focus traversal key for the specified focusedComponent.
protected abstract  void KeyboardFocusManager.enqueueKeyEvents(long after, Component untilFocused)
          Called by the AWT to notify the KeyboardFocusManager that it should delay dispatching of KeyEvents until the specified Component becomes the focus owner.
protected abstract  void KeyboardFocusManager.dequeueKeyEvents(long after, Component untilFocused)
          Called by the AWT to notify the KeyboardFocusManager that it should cancel delayed dispatching of KeyEvents.
protected abstract  void KeyboardFocusManager.discardKeyEvents(Component comp)
          Called by the AWT to notify the KeyboardFocusManager that it should cancel delayed dispatching of KeyEvents.
abstract  void KeyboardFocusManager.focusNextComponent(Component aComponent)
          Focuses the Component after aComponent, typically based on a FocusTraversalPolicy.
abstract  void KeyboardFocusManager.focusPreviousComponent(Component aComponent)
          Focuses the Component before aComponent, typically based on a FocusTraversalPolicy.
abstract  void KeyboardFocusManager.upFocusCycle(Component aComponent)
          Moves the focus up one focus traversal cycle.
 void DefaultKeyboardFocusManager.processKeyEvent(Component focusedComponent, KeyEvent e)
          This method initiates a focus traversal operation if and only if the KeyEvent represents a focus traversal key for the specified focusedComponent.
protected  void DefaultKeyboardFocusManager.enqueueKeyEvents(long after, Component untilFocused)
          Delays dispatching of KeyEvents until the specified Component becomes the focus owner.
protected  void DefaultKeyboardFocusManager.dequeueKeyEvents(long after, Component untilFocused)
          Releases for normal dispatching to the current focus owner all KeyEvents which were enqueued because of a call to enqueueKeyEvents with the same timestamp and Component.
protected  void DefaultKeyboardFocusManager.discardKeyEvents(Component comp)
          Discards all KeyEvents which were enqueued because of one or more calls to enqueueKeyEvents with the specified Component, or one of its descendants.
 void DefaultKeyboardFocusManager.focusPreviousComponent(Component aComponent)
          Focuses the Component before aComponent, typically based on a FocusTraversalPolicy.
 void DefaultKeyboardFocusManager.focusNextComponent(Component aComponent)
          Focuses the Component after aComponent, typically based on a FocusTraversalPolicy.
 void DefaultKeyboardFocusManager.upFocusCycle(Component aComponent)
          Moves the focus up one focus traversal cycle.
protected  boolean DefaultFocusTraversalPolicy.accept(Component aComponent)
          Determines whether a Component is an acceptable choice as the new focus owner.
 Component ContainerOrderFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
 Component ContainerOrderFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
protected  boolean ContainerOrderFocusTraversalPolicy.accept(Component aComponent)
          Determines whether a Component is an acceptable choice as the new focus owner.
 void GridBagLayout.setConstraints(Component comp, GridBagConstraints constraints)
          Sets the constraints for the specified component in this layout.
 GridBagConstraints GridBagLayout.getConstraints(Component comp)
          Gets the constraints for the specified component.
protected  GridBagConstraints GridBagLayout.lookupConstraints(Component comp)
          Retrieves the constraints for the specified component.
 void GridBagLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void GridBagLayout.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraints object.
 void GridBagLayout.removeLayoutComponent(Component comp)
          Removes the specified component from this layout.
 void CardLayout.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to this card layout's internal table of names.
 void CardLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
 void CardLayout.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void FlowLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component to the layout.
 void FlowLayout.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void GridLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void GridLayout.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void BorderLayout.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraint object.
 void BorderLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
 void BorderLayout.removeLayoutComponent(Component comp)
          Removes the specified component from this border layout.
 void LayoutManager2.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraint object.
 void Window.setLocationRelativeTo(Component c)
          Sets the location of the window relative to the specified component.
protected  void ScrollPane.addImpl(Component comp, Object constraints, int index)
          Adds the specified component to this scroll pane container.
abstract  Component FocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
abstract  Component FocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
 void LayoutManager.addLayoutComponent(String name, Component comp)
          If the layout manager uses a per-component string, adds the component comp to the layout, associating it with the string specified by name.
 void LayoutManager.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void PopupMenu.show(Component origin, int x, int y)
          Shows the popup menu at the x, y position relative to an origin component.
protected  java.awt.peer.LightweightPeer Toolkit.createComponent(Component target)
          Creates a peer for a component or container.
protected static Container Toolkit.getNativeContainer(Component c)
          Give native peers the ability to query the native container given a native component (eg the direct parent may be lightweight).
 DragGestureRecognizer Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
          Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified.
 Component Container.add(Component comp)
          Appends the specified component to the end of this container.
 Component Container.add(String name, Component comp)
          Adds the specified component to this container.
 Component Container.add(Component comp, int index)
          Adds the specified component to this container at the given position.
 void Container.add(Component comp, Object constraints)
          Adds the specified component to the end of this container.
 void Container.add(Component comp, Object constraints, int index)
          Adds the specified component to this container with the specified constraints at the specified index.
protected  void Container.addImpl(Component comp, Object constraints, int index)
          Adds the specified component to this container at the specified index.
 void Container.remove(Component comp)
          Removes the specified component from this container.
 boolean Container.isAncestorOf(Component c)
          Checks if the component is contained in the component hierarchy of this container.
 

Constructors in java.awt with parameters of type Component
MediaTracker(Component comp)
          Creates a media tracker to track images for a given component.
 

Uses of Component in java.awt.dnd
 

Fields in java.awt.dnd declared as Component
protected  Component DragGestureRecognizer.component
          The Component associated with this DragGestureRecognizer.
 

Methods in java.awt.dnd that return Component
 Component DragSourceContext.getComponent()
          Returns the Component associated with this DragSourceContext.
 Component DragGestureRecognizer.getComponent()
          This method returns the Component that is to be "observed" by the DragGestureRecognizer for drag initiating gestures.
 Component DragGestureEvent.getComponent()
          Returns the Component associated with this DragGestureEvent.
 Component DropTargetContext.getComponent()
          This method returns the Component associated with this DropTargetContext.
 Component DropTarget.getComponent()
          Gets the Component associated with this DropTarget.
 

Methods in java.awt.dnd with parameters of type Component
 void DragGestureRecognizer.setComponent(Component c)
          set the Component that the DragGestureRecognizer is associated with registerListeners() and unregisterListeners() are called as a side effect as appropriate.
 DragGestureRecognizer DragSource.createDragGestureRecognizer(Class recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
          Creates a new DragGestureRecognizer that implements the specified abstract subclass of DragGestureRecognizer, and sets the specified Component and DragGestureListener on the newly created object.
 DragGestureRecognizer DragSource.createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
          Creates a new DragGestureRecognizer that implements the default abstract subclass of DragGestureRecognizer for this DragSource, and sets the specified Component and DragGestureListener on the newly created object.
 void DropTarget.setComponent(Component c)
          Note: this interface is required to permit the safe association of a DropTarget with a Component in one of two ways, either: component.setDropTarget(droptarget); or droptarget.setComponent(component);
protected  DropTarget.DropTargetAutoScroller DropTarget.createDropTargetAutoScroller(Component c, Point p)
          create an embedded autoscroller
 

Constructors in java.awt.dnd with parameters of type Component
MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, the Component to observe, the action(s) permitted for this drag operation, and the DragGestureListener to notify when a drag gesture is detected.
MouseDragGestureRecognizer(DragSource ds, Component c, int act)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, the Component to observe, and the action(s) permitted for this drag operation.
MouseDragGestureRecognizer(DragSource ds, Component c)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, and the Component to observe.
DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, the Component this DragGestureRecognizer should "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and the DragGestureListener to notify once a drag initiating gesture has been detected.
DragGestureRecognizer(DragSource ds, Component c, int sa)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, the Component this DragGestureRecognizer should "observe" for drag initiating gestures, and the action(s) supported for this Drag and Drop operation.
DragGestureRecognizer(DragSource ds, Component c)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, and the Component this DragGestureRecognizer should "observe" for drag initiating gestures.
DropTarget(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm)
          Creates a new DropTarget given the Component to associate itself with, an int representing the default acceptable action(s) to support, a DropTargetListener to handle event processing, a boolean indicating if the DropTarget is currently accepting drops, and a FlavorMap to use (or null for the default FlavorMap).
DropTarget(Component c, int ops, DropTargetListener dtl, boolean act)
          Creates a DropTarget given the Component to associate itself with, an int representing the default acceptable action(s) to support, a DropTargetListener to handle event processing, and a boolean indicating if the DropTarget is currently accepting drops.
DropTarget(Component c, DropTargetListener dtl)
          Creates a DropTarget given the Component to associate itself with, and the DropTargetListener to handle event processing.
DropTarget(Component c, int ops, DropTargetListener dtl)
          Creates a DropTarget given the Component to associate itself with, an int representing the default acceptable action(s) to support, and a DropTargetListener to handle event processing.
DropTarget.DropTargetAutoScroller(Component c, Point p)
          construct a DropTargetAutoScroller
 

Uses of Component in java.awt.event
 

Methods in java.awt.event that return Component
 Component ContainerEvent.getChild()
          Returns the component that was affected by the event.
 Component HierarchyEvent.getComponent()
          Returns the originator of the event.
 Component HierarchyEvent.getChanged()
          Returns the Component at the top of the hierarchy which was changed.
 Component FocusEvent.getOppositeComponent()
          Returns the other Component involved in this focus change.
 Component ComponentEvent.getComponent()
          Returns the originator of the event.
 

Constructors in java.awt.event with parameters of type Component
ContainerEvent(Component source, int id, Component child)
          Constructs a ContainerEvent object.
PaintEvent(Component source, int id, Rectangle updateRect)
          Constructs a PaintEvent object with the specified source component and type.
HierarchyEvent(Component source, int id, Component changed, Container changedParent)
          Constructs an HierarchyEvent object to identify a change in the Component hierarchy.
HierarchyEvent(Component source, int id, Component changed, Container changedParent, long changeFlags)
          Constructs an HierarchyEvent object to identify a change in the Component hierarchy.
InputMethodEvent(Component source, int id, long when, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
          Constructs an InputMethodEvent with the specified source component, type, time, text, caret, and visiblePosition.
InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
          Constructs an InputMethodEvent with the specified source component, type, text, caret, and visiblePosition.
InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition)
          Constructs an InputMethodEvent with the specified source component, type, caret, and visiblePosition.
FocusEvent(Component source, int id, boolean temporary, Component opposite)
          Constructs a FocusEvent object with the specified temporary state and opposite Component.
FocusEvent(Component source, int id, boolean temporary)
          Constructs a FocusEvent object and identifies whether or not the change is temporary.
FocusEvent(Component source, int id)
          Constructs a FocusEvent object and identifies it as a permanent change in focus.
MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button)
          Constructs a MouseEvent object with the specified source component, type, modifiers, coordinates, and click count.
MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger)
          Constructs a MouseEvent object with the specified source component, type, modifiers, coordinates, and click count.
MouseWheelEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation)
          Constructs a MouseWheelEvent object with the specified source component, type, modifiers, coordinates, scroll type, scroll amount, and wheel rotation.
ComponentEvent(Component source, int id)
          Constructs a ComponentEvent object.
KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation)
           
KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar)
          Constructs a KeyEvent object.
KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
          Deprecated. as of JDK1.1
 

Uses of Component in java.awt.im
 

Methods in java.awt.im with parameters of type Component
 void InputContext.removeNotify(Component client)
          Notifies the input context that a client component has been removed from its containment hierarchy, or that input method support has been disabled for the component.
 

Uses of Component in java.beans
 

Methods in java.beans that return Component
 Component PropertyEditorSupport.getCustomEditor()
          A PropertyEditor may chose to make available a full custom Component that edits its property value.
 Component PropertyEditor.getCustomEditor()
          A PropertyEditor may choose to make available a full custom Component that edits its property value.
 

Uses of Component in java.beans.beancontext
 

Methods in java.beans.beancontext that return Component
 Component BeanContextChildComponentProxy.getComponent()
          Gets the java.awt.Component associated with this BeanContextChild.
 

Uses of Component in javax.swing
 

Subclasses of Component in javax.swing
 class AbstractButton
          Defines common behaviors for buttons and menu items.
 class Box
          A lightweight container that uses a BoxLayout object as its layout manager.
static class Box.Filler
          An implementation of a lightweight component that participates in layout but has no view.
 class CellRendererPane
          This class is inserted in between cell renderers and the components that use them.
 class DefaultListCellRenderer
          Renders an item in a list.
static class DefaultListCellRenderer.UIResource
          A subclass of DefaultListCellRenderer that implements UIResource.
 class JApplet
          An extended version of java.applet.Applet that adds support for the JFC/Swing component architecture.
 class JButton
          An implementation of a "push" button.
 class JCheckBox
          An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.
 class JCheckBoxMenuItem
          A menu item that can be selected or deselected.
 class JColorChooser
          JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
 class JComboBox
          A component that combines a button or editable field and a drop-down list.
 class JComponent
          The base class for all Swing components except top-level containers.
 class JDesktopPane
          A container used to create a multiple-document interface or a virtual desktop.
 class JDialog
          The main class for creating a dialog window.
 class JEditorPane
          A text component to edit various kinds of content.
 class JFileChooser
          JFileChooser provides a simple mechanism for the user to choose a file.
 class JFormattedTextField
          JFormattedTextField extends JTextField adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.
 class JFrame
          An extended version of java.awt.Frame that adds support for the JFC/Swing component architecture.
 class JInternalFrame
          A lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.
static class JInternalFrame.JDesktopIcon
          This component represents an iconified version of a JInternalFrame.
 class JLabel
          A display area for a short text string or an image, or both.
 class JLayeredPane
          JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
 class JList
          A component that allows the user to select one or more objects from a list.
 class JMenu
          An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
 class JMenuBar
          An implementation of a menu bar.
 class JMenuItem
          An implementation of an item in a menu.
 class JOptionPane
          JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
 class JPanel
          JPanel is a generic lightweight container.
 class JPasswordField
          JPasswordField is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.
 class JPopupMenu
          An implementation of a popup menu -- a small window that pops up and displays a series of choices.
static class JPopupMenu.Separator
          A popup menu-specific separator.
 class JProgressBar
          A component that, by default, displays an integer value within a bounded interval.
 class JRadioButton
          An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
 class JRadioButtonMenuItem
          An implementation of a radio button menu item.
 class JRootPane
          A lightweight container used behind the scenes by JFrame, JDialog, JWindow, JApplet, and JInternalFrame.
 class JScrollBar
          An implementation of a scrollbar.
 class JScrollPane
          Provides a scrollable view of a lightweight component.
protected  class JScrollPane.ScrollBar
          By default JScrollPane creates scrollbars that are instances of this class.
 class JSeparator
          JSeparator provides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks them up into logical groupings.
 class JSlider
          A component that lets the user graphically select a value by sliding a knob within a bounded interval.
 class JSpinner
          A single line input field that lets the user select a number or an object value from an ordered sequence.
static class JSpinner.DateEditor
          An editor for a JSpinner whose model is a SpinnerDateModel.
static class JSpinner.DefaultEditor
          A simple base class for more specialized editors that displays a read-only view of the model's current value with a JFormattedTextField.
static class JSpinner.ListEditor
          An editor for a JSpinner whose model is a SpinnerListModel.
static class JSpinner.NumberEditor
          An editor for a JSpinner whose model is a SpinnerNumberModel.
 class JSplitPane
          JSplitPane is used to divide two (and only two) Components.
 class JTabbedPane
          A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
 class JTable
          The JTable is used to display and edit regular two-dimensional tables of cells.
 class JTextArea
          A JTextArea is a multi-line area that displays plain text.
 class JTextField
          JTextField is a lightweight component that allows the editing of a single line of text.
 class JTextPane
          A text component that can be marked up with attributes that are represented graphically.
 class JToggleButton
          An implementation of a two-state button.
 class JToolBar
          JToolBar provides a component that is useful for displaying commonly used Actions or controls.
static class JToolBar.Separator
          A toolbar-specific separator.
 class JToolTip
          Used to display a "Tip" for a Component.
 class JTree
           A control that displays a set of hierarchical data as an outline.
 class JViewport
          The "viewport" or "porthole" through which you see the underlying information.
 class JWindow
          A JWindow is a container that can be displayed anywhere on the user's desktop.
 

Fields in javax.swing declared as Component
protected  Component JSplitPane.leftComponent
          The left or top component.
protected  Component JSplitPane.rightComponent
          The right or bottom component.
protected  Component ScrollPaneLayout.lowerLeft
          The component to display in the lower left corner.
protected  Component ScrollPaneLayout.lowerRight
          The component to display in the lower right corner.
protected  Component ScrollPaneLayout.upperLeft
          The component to display in the upper left corner.
protected  Component ScrollPaneLayout.upperRight
          The component to display in the upper right corner.
protected static Component ImageIcon.component
           
protected  Component JScrollPane.lowerLeft
          The component to display in the lower left corner.
protected  Component JScrollPane.lowerRight
          The component to display in the lower right corner.
protected  Component JScrollPane.upperLeft
          The component to display in the upper left corner.
protected  Component JScrollPane.upperRight
          The component to display in the upper right corner.
protected  Component JTable.editorComp
          If editing, the Component that is handling the editing.
protected  Component JLabel.labelFor
           
protected  Component JRootPane.glassPane
          The glass pane that overlays the menu bar and content pane, so it can intercept mouse movements and such.
 

Methods in javax.swing that return Component
 Component Renderer.getComponent()
          Returns the component used to render the value.
 Component JToolBar.getComponentAtIndex(int i)
          Returns the component at the specified index.
 Component JSplitPane.getLeftComponent()
          Returns the component to the left (or above) the divider.
 Component JSplitPane.getTopComponent()
          Returns the component above, or to the left of the divider.
 Component JSplitPane.getRightComponent()
          Returns the component to the right (or below) the divider.
 Component JSplitPane.getBottomComponent()
          Returns the component below, or to the right of the divider.
 Component DefaultListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 Component JTabbedPane.getSelectedComponent()
          Returns the currently selected component for this tabbedpane.
 Component JTabbedPane.add(Component component)
          Adds a component with a tab title defaulting to the name of the component which is the result of calling component.getName.
 Component JTabbedPane.add(String title, Component component)
          Adds a component with the specified tab title.
 Component JTabbedPane.add(Component component, int index)
          Adds a component at the specified tab index with a tab title defaulting to the name of the component.
 Component JTabbedPane.getComponentAt(int index)
          Returns the component at index.
static Component Box.createRigidArea(Dimension d)
          Creates an invisible component that's always the specified size.
static Component Box.createHorizontalStrut(int width)
          Creates an invisible, fixed-width component.
static Component Box.createVerticalStrut(int height)
          Creates an invisible, fixed-height component.
static Component Box.createGlue()
          Creates an invisible "glue" component that can be useful in a Box whose visible components have a maximum width (for a horizontal box) or height (for a vertical box).
static Component Box.createHorizontalGlue()
          Creates a horizontal glue component.
static Component Box.createVerticalGlue()
          Creates a vertical glue component.
protected  Component ScrollPaneLayout.addSingletonComponent(Component oldC, Component newC)
          Removes an existing component.
 Component ScrollPaneLayout.getCorner(String key)
          Returns the Component at the specified corner.
 Component JApplet.getGlassPane()
          Returns the glassPane object for this applet.
 Component JDialog.getGlassPane()
          Returns the glassPane object for this dialog.
 Component ComboBoxEditor.getEditorComponent()
          Return the component that should be added to the tree hierarchy for this editor
 Component ListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
          Return a component that has been configured to display the specified value.
 Component DefaultCellEditor.getComponent()
          Returns a reference to the editor component.
 Component DefaultCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          Implements the TreeCellEditor interface.
 Component DefaultCellEditor.getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
          Implements the TableCellEditor interface.
 Component JViewport.getView()
          Returns the JViewport's one child or null.
 Component JScrollPane.getCorner(String key)
          Returns the component at the specified corner.
 Component JTable.getEditorComponent()
          Returns the component that is handling the editing session.
 Component JTable.prepareRenderer(TableCellRenderer renderer, int row, int column)
          Prepares the renderer by querying the data model for the value and selection state of the cell at row, column.
 Component JTable.prepareEditor(TableCellEditor editor, int row, int column)
          Prepares the editor by querying the data model for the value and selection state of the cell at row, column.
 Component JLabel.getLabelFor()
          Get the component this is labelling.
 Component JInternalFrame.getGlassPane()
          Returns the glass pane for this internal frame.
 Component JInternalFrame.getFocusOwner()
          If this JInternalFrame is active, returns the child that has focus.
 Component JInternalFrame.getMostRecentFocusOwner()
          Returns the child component of this JInternalFrame that will receive the focus when this JInternalFrame is selected.
 Component InternalFrameFocusTraversalPolicy.getInitialComponent(JInternalFrame frame)
          Returns the Component that should receive the focus when a JInternalFrame is selected for the first time.
 Component SortingFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
 Component SortingFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
 Component SortingFocusTraversalPolicy.getFirstComponent(Container focusCycleRoot)
          Returns the first Component in the traversal cycle.
 Component SortingFocusTraversalPolicy.getLastComponent(Container focusCycleRoot)
          Returns the last Component in the traversal cycle.
 Component SortingFocusTraversalPolicy.getDefaultComponent(Container focusCycleRoot)
          Returns the default Component to focus.
 Component LayoutFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
 Component LayoutFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
 Component LayoutFocusTraversalPolicy.getFirstComponent(Container focusCycleRoot)
          Returns the first Component in the traversal cycle.
 Component LayoutFocusTraversalPolicy.getLastComponent(Container focusCycleRoot)
          Returns the last Component in the traversal cycle.
 Component DefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent)
           
 Component DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent)
           
 Component DefaultFocusManager.getFirstComponent(Container aContainer)
           
 Component DefaultFocusManager.getLastComponent(Container aContainer)
           
 Component JWindow.getGlassPane()
          Returns the glassPane Component for this window.
static Component SwingUtilities.getDeepestComponentAt(Component parent, int x, int y)
          Returns the deepest visible descendent Component of parent that contains the location x, y.
static Component SwingUtilities.findFocusOwner(Component c)
          Deprecated. As of 1.4, replaced by KeyboardFocusManager.getFocusOwner().
static Component SwingUtilities.getRoot(Component c)
          Returns the root component for the current component tree.
 Component JPopupMenu.getInvoker()
          Returns the component which is the 'invoker' of this popup menu.
 Component JPopupMenu.getComponentAtIndex(int i)
          Deprecated. replaced by getComponent(int i)
 Component JPopupMenu.getComponent()
          Returns this JPopupMenu component.
 Component MenuSelectionManager.componentForPoint(Component source, Point sourcePoint)
          Returns the component in the currently selected path which contains sourcePoint.
 Component JMenuItem.getComponent()
          Returns the java.awt.Component used to paint this object.
 Component JMenu.add(Component c)
          Appends a component to the end of this menu.
 Component JMenu.add(Component c, int index)
          Adds the specified component to this container at the given position.
 Component JMenu.getMenuComponent(int n)
          Returns the component at position n.
 Component[] JMenu.getMenuComponents()
          Returns an array of Components of the menu's subcomponents.
 Component JMenu.getComponent()
          Returns the java.awt.Component used to paint this MenuElement.
 Component[] JLayeredPane.getComponentsInLayer(int layer)
          Returns an array of the components in the specified layer.
 Component MenuElement.getComponent()
          This method should return the java.awt.Component used to paint the receiving element.
 Component JMenuBar.getComponentAtIndex(int i)
          Deprecated. replaced by getComponent(int i)
 Component JMenuBar.getComponent()
          Implemented to be a MenuElement.
 Component JComponent.getNextFocusableComponent()
          Deprecated. As of 1.4, replaced by FocusTraversalPolicy.
protected  Component JRootPane.createGlassPane()
          Called by the constructor methods to create the default glassPane.
 Component JRootPane.getGlassPane()
          Returns the current glass pane for this JRootPane.
 Component RootPaneContainer.getGlassPane()
          Returns the glassPane.
 Component JFrame.getGlassPane()
          Returns the glassPane object for this frame.
 

Methods in javax.swing with parameters of type Component
 void SpringLayout.addLayoutComponent(String name, Component c)
          Has no effect, since this layout manager does not use a per-component string.
 void SpringLayout.removeLayoutComponent(Component c)
          Removes the constraints associated with the specified component.
 void SpringLayout.addLayoutComponent(Component component, Object constraints)
          If constraints is an instance of SpringLayout.Constraints, associates the constraints with the specified component.
 void SpringLayout.putConstraint(String e1, Component c1, int pad, String e2, Component c2)
          Links edge e1 of component c1 to edge e2 of component c2, with a fixed distance between the edges.
 void SpringLayout.putConstraint(String e1, Component c1, Spring s, String e2, Component c2)
          Links edge e1 of component c1 to edge e2 of component c2.
 SpringLayout.Constraints SpringLayout.getConstraints(Component c)
          Returns the constraints for the specified component.
 Spring SpringLayout.getConstraint(String edgeName, Component c)
          Returns the spring controlling the distance between the specified edge of the component and the top or left edge of its parent.
 int JToolBar.getComponentIndex(Component c)
          Returns the index of the specified component.
protected  void JToolBar.addImpl(Component comp, Object constraints, int index)
          If a JButton is being added, it is initially set to be disabled.
 void JTextPane.insertComponent(Component c)
          Inserts a component into the document as a replacement for the currently selected content.
 void JSplitPane.setLeftComponent(Component comp)
          Sets the component to the left (or above) the divider.
 void JSplitPane.setTopComponent(Component comp)
          Sets the component above, or to the left of the divider.
 void JSplitPane.setRightComponent(Component comp)
          Sets the component to the right (or below) the divider.
 void JSplitPane.setBottomComponent(Component comp)
          Sets the component below, or to the right of the divider.
 void JSplitPane.remove(Component component)
          Removes the child component, component from the pane.
protected  void JSplitPane.addImpl(Component comp, Object constraints, int index)
          Adds the specified component to this split pane.
static Color JColorChooser.showDialog(Component component, String title, Color initialColor)
          Shows a modal color-chooser dialog and blocks until the dialog is hidden.
static JDialog JColorChooser.createDialog(Component c, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)
          Creates and returns a new dialog containing the specified ColorChooser pane along with "OK", "Cancel", and "Reset" buttons.
static String JOptionPane.showInputDialog(Component parentComponent, Object message)
          Shows a question-message dialog requesting input from the user parented to parentComponent.
static String JOptionPane.showInputDialog(Component parentComponent, Object message, Object initialSelectionValue)
          Shows a question-message dialog requesting input from the user and parented to parentComponent.
static String JOptionPane.showInputDialog(Component parentComponent, Object message, String title, int messageType)
          Shows a dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType.
static Object JOptionPane.showInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)
          Prompts the user for input in a blocking dialog where the initial selection, possible selections, and all other options can be specified.
static void JOptionPane.showMessageDialog(Component parentComponent, Object message)
          Brings up an information-message dialog titled "Message".
static void JOptionPane.showMessageDialog(Component parentComponent, Object message, String title, int messageType)
          Brings up a dialog that displays a message using a default icon determined by the messageType parameter.
static void JOptionPane.showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon)
          Brings up a dialog displaying a message, specifying all parameters.
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message)
          Brings up a dialog with the options Yes, No and Cancel; with the title, Select an Option.
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message, String title, int optionType)
          Brings up a dialog where the number of choices is determined by the optionType parameter.
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType)
          Brings up a dialog where the number of choices is determined by the optionType parameter, where the messageType parameter determines the icon to display.
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)
          Brings up a dialog with a specified icon, where the number of choices is determined by the optionType parameter.
static int JOptionPane.showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
          Brings up a dialog with a specified icon, where the initial choice is determined by the initialValue parameter and the number of choices is determined by the optionType parameter.
 JDialog JOptionPane.createDialog(Component parentComponent, String title)
          Creates and returns a new JDialog wrapping this centered on the parentComponent in the parentComponent's frame.
static void JOptionPane.showInternalMessageDialog(Component parentComponent, Object message)
          Brings up an internal confirmation dialog panel.
static void JOptionPane.showInternalMessageDialog(Component parentComponent, Object message, String title, int messageType)
          Brings up an internal dialog panel that displays a message using a default icon determined by the messageType parameter.
static void JOptionPane.showInternalMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon)
          Brings up an internal dialog panel displaying a message, specifying all parameters.
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message)
          Brings up an internal dialog panel with the options Yes, No and Cancel; with the title, Select an Option.
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType)
          Brings up a internal dialog panel where the number of choices is determined by the optionType parameter.
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType)
          Brings up an internal dialog panel where the number of choices is determined by the optionType parameter, where the messageType parameter determines the icon to display.
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)
          Brings up an internal dialog panel with a specified icon, where the number of choices is determined by the optionType parameter.
static int JOptionPane.showInternalOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
          Brings up an internal dialog panel with a specified icon, where the initial choice is determined by the initialValue parameter and the number of choices is determined by the optionType parameter.
static String JOptionPane.showInternalInputDialog(Component parentComponent, Object message)
          Shows an internal question-message dialog requesting input from the user parented to parentComponent.
static String JOptionPane.showInternalInputDialog(Component parentComponent, Object message, String title, int messageType)
          Shows an internal dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType.
static Object JOptionPane.showInternalInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)
          Prompts the user for input in a blocking internal dialog where the initial selection, possible selections, and all other options can be specified.
 JInternalFrame JOptionPane.createInternalFrame(Component parentComponent, String title)
          Creates and returns an instance of JInternalFrame.
static Frame JOptionPane.getFrameForComponent(Component parentComponent)
          Returns the specified component's Frame.
static JDesktopPane JOptionPane.getDesktopPaneForComponent(Component parentComponent)
          Returns the specified component's desktop pane.
 void JSpinner.DefaultEditor.addLayoutComponent(String name, Component child)
          This LayoutManager method does nothing.
 void JSpinner.DefaultEditor.removeLayoutComponent(Component child)
          This LayoutManager method does nothing.
 void JTabbedPane.setSelectedComponent(Component c)
          Sets the selected component for this tabbedpane.
 void JTabbedPane.insertTab(String title, Icon icon, Component component, String tip, int index)
          Inserts a component, at index, represented by a title and/or icon, either of which may be null.
 void JTabbedPane.addTab(String title, Icon icon, Component component, String tip)
          Adds a component and tip represented by a title and/or icon, either of which can be null.
 void JTabbedPane.addTab(String title, Icon icon, Component component)
          Adds a component represented by a title and/or icon, either of which can be null.
 void JTabbedPane.addTab(String title, Component component)
          Adds a component represented by a title and no icon.
 Component JTabbedPane.add(Component component)
          Adds a component with a tab title defaulting to the name of the component which is the result of calling component.getName.
 Component JTabbedPane.add(String title, Component component)
          Adds a component with the specified tab title.
 Component JTabbedPane.add(Component component, int index)
          Adds a component at the specified tab index with a tab title defaulting to the name of the component.
 void JTabbedPane.add(Component component, Object constraints)
          Adds a component to the tabbed pane.
 void JTabbedPane.add(Component component, Object constraints, int index)
          Adds a component at the specified tab index.
 void JTabbedPane.remove(Component component)
          Removes the specified Component from the JTabbedPane.
 void JTabbedPane.setComponentAt(int index, Component component)
          Sets the component at index to component.
 int JTabbedPane.indexOfComponent(Component component)
          Returns the index of the tab for the specified component.
 void BoxLayout.addLayoutComponent(String name, Component comp)
          Not used by this class.
 void BoxLayout.removeLayoutComponent(Component comp)
          Not used by this class.
 void BoxLayout.addLayoutComponent(Component comp, Object constraints)
          Not used by this class.
 int JFileChooser.showOpenDialog(Component parent)
          Pops up an "Open File" file chooser dialog.
 int JFileChooser.showSaveDialog(Component parent)
          Pops up a "Save File" file chooser dialog.
 int JFileChooser.showDialog(Component parent, String approveButtonText)
          Pops a custom file chooser dialog with a custom approve button.
protected  JDialog JFileChooser.createDialog(Component parent)
          Creates and returns a new JDialog wrapping this centered on the parent in the parent's frame.
 void ViewportLayout.addLayoutComponent(String name, Component c)
          Adds the specified component to the layout.
 void ViewportLayout.removeLayoutComponent(Component c)
          Removes the specified component from the layout.
protected  Component ScrollPaneLayout.addSingletonComponent(Component oldC, Component newC)
          Removes an existing component.
 void ScrollPaneLayout.addLayoutComponent(String s, Component c)
          Adds the specified component to the layout.
 void ScrollPaneLayout.removeLayoutComponent(Component c)
          Removes the specified component from the layout.
protected  void JApplet.addImpl(Component comp, Object constraints, int index)
          By default, children may not be added directly to a this component, they must be added to its contentPane instead.
 void JApplet.remove(Component comp)
          Removes the specified component from this container.
 void JApplet.setGlassPane(Component glassPane)
          Sets the glassPane property.
protected  void JDialog.addImpl(Component comp, Object constraints, int index)
          By default, children may not be added directly to this component, they must be added to its contentPane instead.
 void JDialog.remove(Component comp)
          Removes the specified component from this container.
 void JDialog.setGlassPane(Component glassPane)
          Sets the glassPane property.
 void OverlayLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component to the layout.
 void OverlayLayout.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void OverlayLayout.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraint object.
 void ImageIcon.paintIcon(Component c, Graphics g, int x, int y)
          Paints the icon.
protected  void JViewport.addImpl(Component child, Object constraints, int index)
          Sets the JViewport's one lightweight child, which can be null.
 void JViewport.remove(Component child)
          Removes the Viewports one lightweight child.
 void JViewport.setView(Component view)
          Sets the JViewport's one lightweight child (view), which can be null.
 void JScrollPane.setViewportView(Component view)
          Creates a viewport if necessary and then sets its view.
 void JScrollPane.setRowHeaderView(Component view)
          Creates a row-header viewport if necessary, sets its view and then adds the row-header viewport to the scrollpane.
 void JScrollPane.setColumnHeaderView(Component view)
          Creates a column-header viewport if necessary, sets its view, and then adds the column-header viewport to the scrollpane.
 void JScrollPane.setCorner(String key, Component corner)
          Adds a child that will appear in one of the scroll panes corners, if there's room.
 void JLabel.setLabelFor(Component c)
          Set the component this is labelling.
protected  void JInternalFrame.addImpl(Component comp, Object constraints, int index)
          Ensures that, by default, children cannot be added directly to this component.
 void JInternalFrame.remove(Component comp)
          Removes the specified component from this container.
 void JInternalFrame.setGlassPane(Component glass)
          Sets this JInternalFrame's glassPane property.
 Component SortingFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
 Component SortingFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
protected  boolean SortingFocusTraversalPolicy.accept(Component aComponent)
          Determines whether a Component is an acceptable choice as the new focus owner.
 Component LayoutFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
 Component LayoutFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
protected  boolean LayoutFocusTraversalPolicy.accept(Component aComponent)
          Determines whether the specified Component is an acceptable choice as the new focus owner.
 Component DefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent)
           
 Component DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent)
           
 boolean DefaultFocusManager.compareTabOrder(Component a, Component b)
           
static RepaintManager RepaintManager.currentManager(Component c)
          Return the RepaintManager for the calling thread given a Component.
 Image RepaintManager.getOffscreenBuffer(Component c, int proposedWidth, int proposedHeight)
          Return the offscreen buffer that should be used as a double buffer with the component c.
 Image RepaintManager.getVolatileOffscreenBuffer(Component c, int proposedWidth, int proposedHeight)
          Return a volatile offscreen buffer that should be used as a double buffer with the specified component c.
 void LookAndFeel.provideErrorFeedback(Component component)
          Invoked when the user attempts an invalid operation, such as pasting into an uneditable JTextField that has focus.
 Popup PopupFactory.getPopup(Component owner, Component contents, int x, int y)
          Creates a Popup for the Component owner containing the Component contents.
protected  void JWindow.addImpl(Component comp, Object constraints, int index)
          By default, children may not be added directly to a this component, they must be added to its contentPane instead.
 void JWindow.remove(Component comp)
          Removes the specified component from this container.
 void JWindow.setGlassPane(Component glassPane)
          Sets the glassPane property.
protected  void CellRendererPane.addImpl(Component x, Object constraints, int index)
          If the specified component is already a child of this then we don't bother doing anything - stacking order doesn't matter for cell renderer components (CellRendererPane doesn't paint anyway).<
 void CellRendererPane.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate)
          Paint a cell renderer component c on graphics object g.
 void CellRendererPane.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
          Calls this.paintComponent(g, c, p, x, y, w, h, false).
 void CellRendererPane.paintComponent(Graphics g, Component c, Container p, Rectangle r)
          Calls this.paintComponent() with the rectangles x,y,width,height fields.
static Rectangle SwingUtilities.getLocalBounds(Component aComponent)
          Return the rectangle (0,0,bounds.width,bounds.height) for the component aComponent
static Window SwingUtilities.getWindowAncestor(Component c)
           
static Point SwingUtilities.convertPoint(Component source, Point aPoint, Component destination)
          Convert a aPoint in source coordinate system to destination coordinate system.
static Point SwingUtilities.convertPoint(Component source, int x, int y, Component destination)
          Convert the point (x,y) in source coordinate system to destination coordinate system.
static Rectangle SwingUtilities.convertRectangle(Component source, Rectangle aRectangle, Component destination)
          Convert the rectangle aRectangle in source coordinate system to destination coordinate system.
static Container SwingUtilities.getAncestorOfClass(Class c, Component comp)
          Convenience method for searching above comp in the component hierarchy and returns the first object of class c it finds.
static Container SwingUtilities.getAncestorNamed(String name, Component comp)
          Convenience method for searching above comp in the component hierarchy and returns the first object of name it finds.
static Component SwingUtilities.getDeepestComponentAt(Component parent, int x, int y)
          Returns the deepest visible descendent Component of parent that contains the location x, y.
static MouseEvent SwingUtilities.convertMouseEvent(Component source, MouseEvent sourceEvent, Component destination)
          Returns a MouseEvent similar to sourceEvent except that its x and y members have been converted to destination's coordinate system.
static void SwingUtilities.convertPointToScreen(Point p, Component c)
          Convert a point from a component's coordinate system to screen coordinates.
static void SwingUtilities.convertPointFromScreen(Point p, Component c)
          Convert a point from a screen coordinates to a component's coordinate system
static Window SwingUtilities.windowForComponent(Component aComponent)
          Return aComponent's window
static boolean SwingUtilities.isDescendingFrom(Component a, Component b)
          Return true if a component a descends from a component b
static void SwingUtilities.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
          Paints a component c on an arbitrary graphics g in the specified rectangle, specifying the rectangle's upper left corner and size.
static void SwingUtilities.paintComponent(Graphics g, Component c, Container p, Rectangle r)
          Paints a component c on an arbitrary graphics g in the specified rectangle, specifying a Rectangle object.
static void SwingUtilities.updateComponentTreeUI(Component c)
          A simple minded look and feel change: ask each node in the tree to updateUI() -- that is, to initialize its UI property with the current look and feel.
static int SwingUtilities.getAccessibleIndexInParent(Component c)
          Get the index of this object in its accessible parent.
static Accessible SwingUtilities.getAccessibleAt(Component c, Point p)
          Returns the Accessible child contained at the local coordinate Point, if one exists.
static AccessibleStateSet SwingUtilities.getAccessibleStateSet(Component c)
          Get the state of this object.
static int SwingUtilities.getAccessibleChildrenCount(Component c)
          Returns the number of accessible children in the object.
static Accessible SwingUtilities.getAccessibleChild(Component c, int i)
          Return the nth Accessible child of the object.
static Component SwingUtilities.findFocusOwner(Component c)
          Deprecated. As of 1.4, replaced by KeyboardFocusManager.getFocusOwner().
static JRootPane SwingUtilities.getRootPane(Component c)
          If c is a JRootPane descendant return its JRootPane ancestor.
static Component SwingUtilities.getRoot(Component c)
          Returns the root component for the current component tree.
 void JPopupMenu.insert(Component component, int index)
          Inserts the specified component into the menu at a given position.
 void JPopupMenu.setInvoker(Component invoker)
          Sets the invoker of this popup menu -- the component in which the popup menu menu is to be displayed.
 void JPopupMenu.show(Component invoker, int x, int y)
          Displays the popup menu at the position x,y in the coordinate space of the component invoker.
 int JPopupMenu.getComponentIndex(Component c)
          Returns the index of the specified component.
 void JPopupMenu.setSelected(Component sel)
          Sets the currently selected component, This will result in a change to the selection model.
 void Icon.paintIcon(Component c, Graphics g, int x, int y)
          Draw the icon at the specified location.
 Component MenuSelectionManager.componentForPoint(Component source, Point sourcePoint)
          Returns the component in the currently selected path which contains sourcePoint.
 boolean MenuSelectionManager.isComponentPartOfCurrentMenu(Component c)
          Return true if c is part of the currently used menu
 Component JMenu.add(Component c)
          Appends a component to the end of this menu.
 Component JMenu.add(Component c, int index)
          Adds the specified component to this container at the given position.
 void JMenu.remove(Component c)
          Removes the component c from this menu.
 boolean JMenu.isMenuComponent(Component c)
          Returns true if the specified component exists in the submenu hierarchy.
protected  void JLayeredPane.addImpl(Component comp, Object constraints, int index)
           
static JLayeredPane JLayeredPane.getLayeredPaneAbove(Component c)
          Convenience method that returns the first JLayeredPane which contains the specified component.
 void JLayeredPane.setLayer(Component c, int layer)
          Sets the layer attribute on the specified component, making it the bottommost component in that layer.
 void JLayeredPane.setLayer(Component c, int layer, int position)
          Sets the layer attribute for the specified component and also sets its position within that layer.
 int JLayeredPane.getLayer(Component c)
          Returns the layer attribute for the specified Component.
 int JLayeredPane.getIndexOf(Component c)
          Returns the index of the specified Component.
 void JLayeredPane.moveToFront(Component c)
          Moves the component to the top of the components in its current layer (position 0).
 void JLayeredPane.moveToBack(Component c)
          Moves the component to the bottom of the components in its current layer (position -1).
 void JLayeredPane.setPosition(Component c, int position)
          Moves the component to position within its current layer, where 0 is the topmost position within the layer and -1 is the bottommost position.
 int JLayeredPane.getPosition(Component c)
          Get the relative position of the component within its layer.
 int JMenuBar.getComponentIndex(Component c)
          Returns the index of the specified component.
 void JMenuBar.setSelected(Component sel)
          Sets the currently selected component, producing a a change to the selection model.
 void JComponent.setNextFocusableComponent(Component aComponent)
          Deprecated. As of 1.4, replaced by FocusTraversalPolicy
static boolean JComponent.isLightweightComponent(Component c)
          Returns true if this component is lightweight, that is, if it doesn't have a native window system peer.
 void JRootPane.setGlassPane(Component glass)
          Sets a specified Component to be the glass pane for this root pane.
protected  void JRootPane.addImpl(Component comp, Object constraints, int index)
          Overridden to enforce the position of the glass component as the zero child.
 void JRootPane.RootLayout.addLayoutComponent(String name, Component comp)
           
 void JRootPane.RootLayout.removeLayoutComponent(Component comp)
           
 void JRootPane.RootLayout.addLayoutComponent(Component comp, Object constraints)
           
 void RootPaneContainer.setGlassPane(Component glassPane)
          The glassPane is always the first child of the rootPane and the rootPanes layout manager ensures that it's always as big as the rootPane.
protected  void JFrame.addImpl(Component comp, Object constraints, int index)
          By default, children may not be added directly to this component, they must be added to its contentPane instead.
 void JFrame.remove(Component comp)
          Removes the specified component from this container.
 void JFrame.setGlassPane(Component glassPane)
          Sets the glassPane property.
 

Constructors in javax.swing with parameters of type Component
ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in)
          Constructs an object to monitor the progress of an input stream.
ProgressMonitor(Component parentComponent, Object message, String note, int min, int max)
          Constructs a graphic object that shows progress, typically by filling in a rectangular bar as the process nears completion.
JSplitPane(int newOrientation, Component newLeftComponent, Component newRightComponent)
          Creates a new JSplitPane with the specified orientation and with the specified components that do not do continuous redrawing.
JSplitPane(int newOrientation, boolean newContinuousLayout, Component newLeftComponent, Component newRightComponent)
          Creates a new JSplitPane with the specified orientation and redrawing style, and with the specified components.
JScrollPane(Component view, int vsbPolicy, int hsbPolicy)
          Creates a JScrollPane that displays the view component in a viewport whose view position can be controlled with a pair of scrollbars.
JScrollPane(Component view)
          Creates a JScrollPane that displays the contents of the specified component, where both horizontal and vertical scrollbars appear whenever the component's contents are larger than the view.
Popup(Component owner, Component contents, int x, int y)
          Creates a Popup for the Component owner containing the Component contents.
 

Uses of Component in javax.swing.border
 

Methods in javax.swing.border with parameters of type Component
 void SoftBevelBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Paints the border for the specified component with the specified position and size.
 Insets SoftBevelBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets SoftBevelBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 void EtchedBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Paints the border for the specified component with the specified position and size.
 Insets EtchedBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets EtchedBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Color EtchedBorder.getHighlightColor(Component c)
          Returns the highlight color of the etched border when rendered on the specified component.
 Color EtchedBorder.getShadowColor(Component c)
          Returns the shadow color of the etched border when rendered on the specified component.
 void MatteBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Paints the matte border.
 Insets MatteBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets MatteBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 void BevelBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Paints the border for the specified component with the specified position and size.
 Insets BevelBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets BevelBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Color BevelBorder.getHighlightOuterColor(Component c)
          Returns the outer highlight color of the bevel border when rendered on the specified component.
 Color BevelBorder.getHighlightInnerColor(Component c)
          Returns the inner highlight color of the bevel border when rendered on the specified component.
 Color BevelBorder.getShadowInnerColor(Component c)
          Returns the inner shadow color of the bevel border when rendered on the specified component.
 Color BevelBorder.getShadowOuterColor(Component c)
          Returns the outer shadow color of the bevel border when rendered on the specified component.
protected  void BevelBorder.paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height)
           
protected  void BevelBorder.paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height)
           
 void LineBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Paints the border for the specified component with the specified position and size.
 Insets LineBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets LineBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 void EmptyBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Does no drawing by default.
 Insets EmptyBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets EmptyBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 void CompoundBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Paints the compound border by painting the outside border with the specified position and size and then painting the inside border at the specified position and size offset by the insets of the outside border.
 Insets CompoundBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Insets CompoundBorder.getBorderInsets(Component c)
          Returns the insets of the composite border by adding the insets of the outside border to the insets of the inside border.
 void TitledBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Paints the border for the specified component with the specified position and size.
 Insets TitledBorder.getBorderInsets(Component c)
          Returns the insets of the border.
 Insets TitledBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Dimension TitledBorder.getMinimumSize(Component c)
          Returns the minimum dimensions this border requires in order to fully display the border and title.
protected  Font TitledBorder.getFont(Component c)
           
 void AbstractBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          This default implementation does no painting.
 Insets AbstractBorder.getBorderInsets(Component c)
          This default implementation returns a new Insets instance where the top, left, bottom, and right fields are set to 0.
 Insets AbstractBorder.getBorderInsets(Component c, Insets insets)
          Reinitializes the insets parameter with this Border's current Insets.
 Rectangle AbstractBorder.getInteriorRectangle(Component c, int x, int y, int width, int height)
          This convenience method calls the static method.
static Rectangle AbstractBorder.getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)
          Returns a rectangle using the arguments minus the insets of the border.
 void Border.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          Paints the border for the specified component with the specified position and size.
 Insets Border.getBorderInsets(Component c)
          Returns the insets of the border.
 

Uses of Component in javax.swing.colorchooser
 

Subclasses of Component in javax.swing.colorchooser
 class AbstractColorChooserPanel
          This is the abstract superclass for color choosers.
 

Uses of Component in javax.swing.event
 

Constructors in javax.swing.event with parameters of type Component
MenuKeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, MenuElement[] p, MenuSelectionManager m)
          Constructs a MenuKeyEvent object.
MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m)
          Constructs a MenuDragMouseEvent object.
 

Uses of Component in javax.swing.plaf
 

Methods in javax.swing.plaf with parameters of type Component
 void BorderUIResource.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BorderUIResource.getBorderInsets(Component c)
           
 void IconUIResource.paintIcon(Component c, Graphics g, int x, int y)
           
 

Uses of Component in javax.swing.plaf.basic
 

Subclasses of Component in javax.swing.plaf.basic
 class BasicArrowButton
          JButton object that draws a scaled Arrow in one of the cardinal directions.
 class BasicComboBoxRenderer
          ComboBox renderer
static class BasicComboBoxRenderer.UIResource
          A subclass of BasicComboBoxRenderer that implements UIResource.
 class BasicComboPopup
          This is a basic implementation of the ComboPopup interface.
 class BasicInternalFrameTitlePane
          The class that manages a basic title bar
 class BasicInternalFrameTitlePane.SystemMenuBar
          This inner class is marked "public" due to a compiler bug.
 class BasicSplitPaneDivider
          Divider used by BasicSplitPaneUI.
protected  class BasicToolBarUI.DragWindow
           
 

Fields in javax.swing.plaf.basic declared as Component
protected  Component BasicTreeUI.editingComponent
          When editing, this will be the Component that is doing the actual editing.
protected  Component BasicTreeUI.MouseInputHandler.source
          Source that events are coming from.
protected  Component BasicTreeUI.MouseInputHandler.destination
          Destination that receives all events.
protected  Component BasicSplitPaneUI.nonContinuousLayoutDivider
          Instance for the shadow of the divider when non continuous layout is being used.
protected  Component[] BasicSplitPaneUI.BasicHorizontalLayoutManager.components
           
protected  Component BasicSplitPaneDivider.hiddenDivider
          Divider that is used for noncontinuous layout mode.
protected  Component BasicOptionPaneUI.initialFocusComponent
          Component to receive focus when messaged with selectInitialValue.
 Component BasicMenuUI.ChangeHandler.wasFocused
           
protected  Component BasicComboBoxUI.editor
           
 

Methods in javax.swing.plaf.basic that return Component
protected  Component BasicTabbedPaneUI.getVisibleComponent()
           
protected  Component BasicSpinnerUI.createPreviousButton()
          Create a component that will replace the spinner models value with the object returned by spinner.getPreviousValue.
protected  Component BasicSpinnerUI.createNextButton()
          Create a component that will replace the spinner models value with the object returned by spinner.getNextValue.
protected  Component BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider()
          Returns the default non continuous layout divider, which is an instanceof Canvas that fills the background in dark gray.
 Component BasicSplitPaneUI.getNonContinuousLayoutDivider()
          Returns the divider to use when the splitPane is configured to not continuously layout.
protected  Component BasicSliderUI.getLowestValueLabel()
          Returns the label that corresponds to the highest slider value in the label table.
protected  Component BasicSliderUI.getHighestValueLabel()
          Returns the label that corresponds to the lowest slider value in the label table.
 Component BasicComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 Component BasicComboBoxEditor.getEditorComponent()
           
 

Methods in javax.swing.plaf.basic with parameters of type Component
protected  void BasicTreeUI.drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)
           
protected  void BasicToolBarUI.setBorderToRollover(Component c)
          Sets the border of the component to have a rollover border which was created by createRolloverBorder.
protected  void BasicToolBarUI.setBorderToNonRollover(Component c)
          Sets the border of the component to have a non-rollover border which was created by createNonRolloverBorder.
protected  void BasicToolBarUI.setBorderToNormal(Component c)
          Sets the border of the component to have a normal border.
 boolean BasicToolBarUI.canDock(Component c, Point p)
           
protected  void BasicTabbedPaneUI.setVisibleComponent(Component component)
           
 void BasicTabbedPaneUI.TabbedPaneLayout.addLayoutComponent(String name, Component comp)
           
 void BasicTabbedPaneUI.TabbedPaneLayout.removeLayoutComponent(Component comp)
           
protected  void BasicSplitPaneUI.setNonContinuousLayoutDivider(Component newDivider)
          Sets the divider to use when the splitPane is configured to not continuously layout.
protected  void BasicSplitPaneUI.setNonContinuousLayoutDivider(Component newDivider, boolean rememberSizes)
          Sets the divider to use.
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(String place, Component component)
          Adds the component at place.
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.removeLayoutComponent(Component component)
          Removes the specified component from our knowledge.
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraint object.
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getPreferredSizeOfComponent(Component c)
          Returns the width of the passed in Components preferred size.
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getSizeOfComponent(Component c)
          Returns the width of the passed in component.
protected  void BasicSplitPaneUI.BasicHorizontalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
          Sets the width of the component c to be size, placing its x location at location, y to the insets.top and height to the containersize.height less the top and bottom insets.
 void BasicSplitPaneDivider.DividerLayout.removeLayoutComponent(Component c)
           
 void BasicSplitPaneDivider.DividerLayout.addLayoutComponent(String string, Component c)
           
protected  void BasicSliderUI.paintHorizontalLabel(Graphics g, int value, Component label)
          Called for every label in the label table.
protected  void BasicSliderUI.paintVerticalLabel(Graphics g, int value, Component label)
          Called for every label in the label table.
 void BasicScrollBarUI.addLayoutComponent(String name, Component child)
           
 void BasicScrollBarUI.removeLayoutComponent(Component child)
           
 void BasicOptionPaneUI.ButtonAreaLayout.addLayoutComponent(String string, Component comp)
           
 void BasicOptionPaneUI.ButtonAreaLayout.removeLayoutComponent(Component c)
           
 void BasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String name, Component c)
           
 void BasicInternalFrameUI.InternalFrameLayout.removeLayoutComponent(Component c)
           
 void BasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String name, Component c)
           
 void BasicInternalFrameTitlePane.TitlePaneLayout.removeLayoutComponent(Component c)
           
 void BasicComboBoxUI.ComboBoxLayoutManager.addLayoutComponent(String name, Component comp)
           
 void BasicComboBoxUI.ComboBoxLayoutManager.removeLayoutComponent(Component comp)
           
 void BasicBorders.RolloverButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void BasicBorders.ButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.ButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.ButtonBorder.getBorderInsets(Component c, Insets insets)
           
 void BasicBorders.ToggleButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.ToggleButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.ToggleButtonBorder.getBorderInsets(Component c, Insets insets)
           
 void BasicBorders.RadioButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.RadioButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.RadioButtonBorder.getBorderInsets(Component c, Insets insets)
           
 void BasicBorders.MenuBarBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.MenuBarBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.MenuBarBorder.getBorderInsets(Component c, Insets insets)
           
 Insets BasicBorders.MarginBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.MarginBorder.getBorderInsets(Component c, Insets insets)
           
 void BasicBorders.FieldBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.FieldBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.FieldBorder.getBorderInsets(Component c, Insets insets)
           
 void BasicBorders.SplitPaneBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.SplitPaneBorder.getBorderInsets(Component c)
           
 

Constructors in javax.swing.plaf.basic with parameters of type Component
BasicTreeUI.MouseInputHandler(Component source, Component destination, MouseEvent event)
           
 

Uses of Component in javax.swing.plaf.metal
 

Subclasses of Component in javax.swing.plaf.metal
 class MetalComboBoxButton
          JButton subclass to help out MetalComboBoxUI
 class MetalComboBoxUI.MetalComboPopup
          Deprecated. As of Java 2 platform v1.4.
protected  class MetalFileChooserUI.FileRenderer
           
 class MetalFileChooserUI.FilterComboBoxRenderer
          Render different type sizes and styles.
 class MetalInternalFrameTitlePane
          Class that manages a JLF title bar
 class MetalScrollButton
          JButton object for Metal scrollbar arrows.
 

Methods in javax.swing.plaf.metal that return Component
 Component MetalFileChooserUI.FileRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 Component MetalFileChooserUI.FilterComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 

Methods in javax.swing.plaf.metal with parameters of type Component
protected  void MetalToolBarUI.setBorderToNonRollover(Component c)
           
 void MetalLookAndFeel.provideErrorFeedback(Component component)
           Invoked when the user attempts an invalid operation, such as pasting into an uneditable JTextField that has focus.
 void MetalIconFactory.TreeControlIcon.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalIconFactory.TreeControlIcon.paintMe(Component c, Graphics g, int x, int y)
           
 void MetalIconFactory.PaletteCloseIcon.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalIconFactory.FolderIcon16.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalIconFactory.FileIcon16.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalCheckBoxIcon.paintIcon(Component c, Graphics g, int x, int y)
           
protected  void MetalCheckBoxIcon.drawCheck(Component c, Graphics g, int x, int y)
           
 void MetalComboBoxIcon.paintIcon(Component c, Graphics g, int x, int y)
          Paints the horizontal bars for the
 void MetalBorders.TableHeaderBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.TableHeaderBorder.getBorderInsets(Component c)
           
 void MetalBorders.ToggleButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.ScrollPaneBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.ScrollPaneBorder.getBorderInsets(Component c)
           
 void MetalBorders.TextFieldBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.ToolBarBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.ToolBarBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.ToolBarBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.RolloverButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.PopupMenuBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.PopupMenuBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.PopupMenuBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.MenuItemBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.MenuItemBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.MenuItemBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.MenuBarBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.MenuBarBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.MenuBarBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.OptionDialogBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.OptionDialogBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.OptionDialogBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.PaletteBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.PaletteBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.PaletteBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.Flush3DBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.Flush3DBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.Flush3DBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.ButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.ButtonBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.ButtonBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.InternalFrameBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.InternalFrameBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.InternalFrameBorder.getBorderInsets(Component c, Insets newInsets)
           
 

Uses of Component in javax.swing.table
 

Subclasses of Component in javax.swing.table
 class DefaultTableCellRenderer
          The standard class for rendering (displaying) individual cells in a JTable.
static class DefaultTableCellRenderer.UIResource
          A subclass of DefaultTableCellRenderer that implements UIResource.
 class JTableHeader
          This is the object which manages the header of the JTable.
 

Methods in javax.swing.table that return Component
 Component DefaultTableCellRenderer.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
          Returns the default table cell renderer.
 Component TableCellEditor.getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
          Sets an initial value for the editor.
 Component TableCellRenderer.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
          Returns the component used for drawing the cell.
 

Uses of Component in javax.swing.text
 

Subclasses of Component in javax.swing.text
 class JTextComponent
          JTextComponent is the base class for swing text components.
 

Methods in javax.swing.text that return Component
protected  Component ComponentView.createComponent()
          Create the component that is associated with this view.
 Component ComponentView.getComponent()
          Fetch the component associated with the view.
static Component StyleConstants.getComponent(AttributeSet a)
          Gets the component setting from the attribute list.
 

Methods in javax.swing.text with parameters of type Component
protected  void PlainView.damageLineRange(int line0, int line1, Shape a, Component host)
          Repaint the given line range.
static void StyleConstants.setComponent(MutableAttributeSet a, Component c)
          Sets the component attribute.
 

Uses of Component in javax.swing.text.html
 

Methods in javax.swing.text.html that return Component
protected  Component ObjectView.createComponent()
          Create the component.
protected  Component FormView.createComponent()
          Create the component.
 

Uses of Component in javax.swing.tree
 

Subclasses of Component in javax.swing.tree
 class DefaultTreeCellEditor.DefaultTextField
          TextField used when no editor is supplied.
 class DefaultTreeCellEditor.EditorContainer
          Container responsible for placing the editingComponent.
 class DefaultTreeCellRenderer
          Displays an entry in a tree.
 

Fields in javax.swing.tree declared as Component
protected  Component DefaultTreeCellEditor.editingComponent
          Component used in editing, obtained from the editingContainer.
 

Methods in javax.swing.tree that return Component
 Component DefaultTreeCellRenderer.getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
          Configures the renderer based on the passed in components.
 Component DefaultTreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          Configures the editor.
 Component TreeCellRenderer.getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
          Sets the value of the current tree cell to value.
 Component TreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          Sets an initial value for the editor.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.