Java Platform 1.2
Beta 4

Uses of Class
com.sun.java.swing.JComponent

Packages that use JComponent
com.sun.java.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
com.sun.java.swing.event Provides for events fired by Swing components. 
com.sun.java.swing.table Provides classes and interfaces for dealing with java.awt.swing.JTable. 
com.sun.java.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
com.sun.java.swing.tree Provides classes and interfaces for dealing with java.awt.swing.JTree. 
 

Uses of JComponent in com.sun.java.swing
 

Subclasses of JComponent in com.sun.java.swing
 class AbstractButton
          Defines the common behaviors for the JButton, JToggleButton, JCheckbox, and the JRadioButton classes.
 class DefaultListCellRenderer
          Renders an item in a list.
static class DefaultListCellRenderer.UIResource
          A subclass of DefaultListCellRenderer that implements UIResource.
 class JButton
          An implementation of a "push" button.
 class JCheckBox
          An implementation of a CheckBox -- 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
          Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it.
 class JDesktopPane
          A container used to create a multiple-document interface or a virtual desktop.
 class JEditorPane
          A text component to edit various kinds of content.
 class JFileChooser
          JFileChooser provides a simple mechanism for the user to chooser a file.
 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 MenuBar.
 class JMenuItem
          An implementation of a MenuItem.
 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 which pops up and displays a series of choices.
static class JPopupMenu.Separator
          A popupmenu-specific separator.
 class JProgressBar
          A component that 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 RadioButtonMenuItem.
 class JRootPane
          The fundamental component in the container hierarchy.
 class JScrollBar
          An implementation of a scrollbar.
 class JScrollPane
          A specialized container that manages a viewport, optional vertical and horizontal scrollbars, and optional row and column heading viewports.
protected  class JScrollPane.ScrollBar
          By default JScrollPane creates scrollbars that are instances of this class.
 class JSeparator
          An implementation of a Menu Separator -- 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 slding a knob within a bounded interval.
 class JSplitPane
          JSplitPane is used to divide two (and only two) Components.
 class JTabbedPane
          A component which lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
 class JTable
          JTable is a user-interface component that presents data in a two-dimensional table format.
 class JTextArea
          A TextArea 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 which 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.
 

Fields in com.sun.java.swing declared as JComponent
protected  JComponent DefaultCellEditor.editorComponent
           
 

Methods in com.sun.java.swing that return JComponent
 JComponent JColorChooser.getPreviewPanel()
          Returns the preview panel that shows a chosen color.
 JComponent JFileChooser.getAccessory()
          Return the accessory component.
 JComponent JToolTip.getComponent()
          Returns the component the tooltip applies to.
 

Methods in com.sun.java.swing with parameters of type JComponent
static void JLayeredPane.putLayer(JComponent c, int layer)
          Sets the layer property on a JComponent.
static int JLayeredPane.getLayer(JComponent c)
          Gets the layer property for a JComponent, it does not cause any side effects like setLayer().
static java.lang.String SwingUtilities.layoutCompoundLabel(JComponent c, java.awt.FontMetrics fm, java.lang.String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, java.awt.Rectangle viewR, java.awt.Rectangle iconR, java.awt.Rectangle textR, int textIconGap)
          Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string.
static com.sun.java.swing.plaf.ComponentUI UIManager.getUI(JComponent target)
          Returns the L&F object that renders the target component.
 void DefaultDesktopManager.beginDraggingFrame(JComponent f)
           
 void DefaultDesktopManager.dragFrame(JComponent f, int newX, int newY)
          Calls setBoundsForFrame() with the new values.
 void DefaultDesktopManager.endDraggingFrame(JComponent f)
           
 void DefaultDesktopManager.beginResizingFrame(JComponent f, int direction)
           
 void DefaultDesktopManager.resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
          Calls setBoundsForFrame() with the new values.
 void DefaultDesktopManager.endResizingFrame(JComponent f)
           
 void DefaultDesktopManager.setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
          This moves the JComponent and repaints the damaged areas.
 void JColorChooser.setPreviewPanel(JComponent preview)
          Sets the current preview panel.
 void ToolTipManager.registerComponent(JComponent component)
          Register a component for tooltip management.
 void ToolTipManager.unregisterComponent(JComponent component)
          Remove a component from tooltip control.
static void LookAndFeel.installColors(JComponent c, java.lang.String defaultBgName, java.lang.String defaultFgName)
          Convenience method for initializing a component's foreground and background color properties with values from the current defaults table.
static void LookAndFeel.installColorsAndFont(JComponent c, java.lang.String defaultBgName, java.lang.String defaultFgName, java.lang.String defaultFontName)
          Convenience method for initializing a components foreground background and font properties with values from the current defaults table.
static void LookAndFeel.installBorder(JComponent c, java.lang.String defaultBorderName)
          Convenience method for installing a component's default Border object on the specified component if either the border is currently null or already an instance of UIResource.
static void LookAndFeel.uninstallBorder(JComponent c)
          Convenience method for un-installing a component's default border on the specified component if the border is currently an instance of UIResource.
static RepaintManager RepaintManager.currentManager(JComponent c)
          Return the RepaintManager for the calling thread given a JComponent.
 void RepaintManager.addInvalidComponent(JComponent invalidComponent)
          Mark the component as in need of layout and queue a runnable for the event dispatching thread that will validate the components first isValidateRoot() ancestor.
 void RepaintManager.removeInvalidComponent(JComponent component)
          Remove a component from the list of invalid components.
 void RepaintManager.addDirtyRegion(JComponent c, int x, int y, int w, int h)
          Add a component in the list of components that should be refreshed.
 java.awt.Rectangle RepaintManager.getDirtyRegion(JComponent aComponent)
          Return the current dirty region for a component.
 void RepaintManager.markCompletelyDirty(JComponent aComponent)
          Mark a component completely dirty.
 void RepaintManager.markCompletelyClean(JComponent aComponent)
          Mark a component completely clean.
 boolean RepaintManager.isCompletelyDirty(JComponent aComponent)
          Convenience method that returns true if aComponent will be completely painted during the next paintDirtyRegions().
 void JFileChooser.setAccessory(JComponent newAccessory)
          Sets the accessory component.
 void DesktopManager.beginDraggingFrame(JComponent f)
          This method is normally called when the user has indicated that they will begin dragging a component around.
 void DesktopManager.dragFrame(JComponent f, int newX, int newY)
          The user has moved the frame.
 void DesktopManager.endDraggingFrame(JComponent f)
          This method signals the end of the dragging session.
 void DesktopManager.beginResizingFrame(JComponent f, int direction)
          This methods is normally called when the user has indicated that they will begin resizing the frame.
 void DesktopManager.resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
          The user has resized the component.
 void DesktopManager.endResizingFrame(JComponent f)
          This method signals the end of the resize session.
 void DesktopManager.setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
          This is a primative reshape method.
 void JToolTip.setComponent(JComponent c)
          Specifies the component that the tooltip describes.
 com.sun.java.swing.plaf.ComponentUI UIDefaults.getUI(JComponent target)
          Create an ComponentUI implementation for the specified component.
 

Constructors in com.sun.java.swing with parameters of type JComponent
JComponent.AccessibleJComponent.JComponent.AccessibleJComponent()
          Though the class is abstract, this should be called by all sub-classes.
DebugGraphics.DebugGraphics(java.awt.Graphics graphics, JComponent component)
          Constructs a debug graphics context from an existing graphics context that slows down drawing for the specified component.
 

Uses of JComponent in com.sun.java.swing.event
 

Methods in com.sun.java.swing.event that return JComponent
 JComponent AncestorEvent.getComponent()
          Returns the component that the listener was added to.
 

Constructors in com.sun.java.swing.event with parameters of type JComponent
AncestorEvent.AncestorEvent(JComponent source, int id, java.awt.Container ancestor, java.awt.Container ancestorParent)
          Constructs an AncestorEvent object to identify a change in an ancestor-component's display-status.
 

Uses of JComponent in com.sun.java.swing.table
 

Subclasses of JComponent in com.sun.java.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 column header part of a JTable.
 

Uses of JComponent in com.sun.java.swing.text
 

Subclasses of JComponent in com.sun.java.swing.text
 class JTextComponent
          JTextComponent is the base class for swing text components.
 

Uses of JComponent in com.sun.java.swing.tree
 

Subclasses of JComponent in com.sun.java.swing.tree
 class DefaultTreeCellEditor.DefaultTextField
          TextField used when no editor is supplied.
 class DefaultTreeCellRenderer
          Displays an entry in a tree.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.