Java Platform 1.2
Beta 4

Uses of Class
java.awt.Component

Packages that use Component
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.border Provides classes and interface for drawing specialized borders around a Swing component.  
com.sun.java.swing.event Provides for events fired by Swing components.  
com.sun.java.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.  
com.sun.java.swing.table Provides classes and interfaces for dealing with java.awt.swing. 
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. 
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 Provides interfaces and classes for supporting drag-and-drop operations.  
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components.  
java.awt.im Provides classes and an interface for the input method framework.  
java.beans Contains classes related to Java Beans development.  
 

Uses of Component in com.sun.java.swing
 

Subclasses of Component in com.sun.java.swing
  AbstractButton
          Defines the common behaviors for the JButton, JToggleButton, JCheckbox, and the JRadioButton classes.
  Box
          A lightweight container that uses a BoxLayout object as its layout manager.
static  Box.Filler
          An implementation of a lightweight component that participates in layout but has no view.
  CellRendererPane
          This class is inserted in between cell renderers and the components that use them.
  DefaultListCellRenderer
          Renders an item in a list.
static  DefaultListCellRenderer.UIResource
          A subclass of DefaultListCellRenderer that implements UIResource.
  JApplet
          An extended version of java.applet.
  JButton
          An implementation of a "push" button.
  JCheckBox
          An implementation of a CheckBox -- an item that can be selected or deselected, and which displays its state to the user.
  JCheckBoxMenuItem
          A menu item that can be selected or deselected.
  JColorChooser
          JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
  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.
  JComponent
          The base class for the Swing components.
  JDesktopPane
          A container used to create a multiple-document interface or a virtual desktop.
  JDialog
          The main class for creating a dialog window.
  JEditorPane
          A text pane to edit various kinds of content, such as html and rtf.
  JFileChooser
          JFileChooser provides a simple mechanism for the user to chooser a file.
  JFrame
          An extended version of java.awt.
  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  JInternalFrame.JDesktopIcon
          This component represents an iconified version of a JInternalFrame.
  JLabel
          A display area for a short text string or an image, or both.
  JLayeredPane
          JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
  JList
          A component that allows the user to select one or more objects from a list.
  JMenu
          An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
  JMenuBar
          An implementation of a MenuBar.
  JMenuItem
          An implementation of a MenuItem.
  JOptionPane
          JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
  JPanel
          JPanel is a generic lightweight container.
  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.
  JPopupMenu
          An implementation of a Popup Menu -- a small window which pops up and displays a series of choices.
static  JPopupMenu.Separator
          A popupmenu-specific separator.
  JProgressBar
          A component that displays an integer value within a bounded interval.
  JRadioButton
          An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
  JRadioButtonMenuItem
          An implementation of a RadioButtonMenuItem.
  JRootPane
          The fundamental component in the container hierarchy.
  JScrollBar
          An implementation of a scrollbar.
  JScrollPane
          A specialized container that manages a viewport, optional vertical and horizontal scrollbars, and optional row and column heading viewports.
protected   JScrollPane.ScrollBar
          By default JScrollPane creates scrollbars that are instances of this class.
  JSeparator
          An implementation of a Menu Separator -- a divider between menu items that breaks them up into logical groupings.
  JSlider
          A component that lets the user graphically select a value by slding a knob within a bounded interval.
  JSplitPane
          JSplitPane is used to divide two (and only two) Components.
  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.
  JTable
          JTable is a user-interface component that presents data in a two-dimensional table format.
  JTextArea
          A TextArea is a multi-line area that displays plain text.
  JTextField
          JTextField is a lightweight component that allows the editing of a single line of text.
  JTextPane
          A text component that can be marked up with attributes that are represented graphically.
  JToggleButton
          An implementation of a two-state button.
  JToolBar
          JToolBar provides a component which is useful for displaying commonly used Actions or controls.
static  JToolBar.Separator
          A toolbar-specific separator.
  JToolTip
          Used to display a "Tip" for a Component.
  JTree
          A control that displays a set of hierarchical data as an outline.
  JViewport
          The "viewport" or "porthole" through which you see the underlying information.
  JWindow
          A JWindow is a container that can be displayed anywhere on the user's desktop.
 

Fields in com.sun.java.swing declared as Component
protected  Component JTable.editorComp
          If editing, Component that is handling the editing.
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 JLabel.labelFor
           
protected static Component ImageIcon.component
           
protected  Component JRootPane.glassPane
          The glass pane that overlays the menu bar and content pane, so it can intercept mouse movements and such.
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  Component JSplitPane.leftComponent
          The left or top component.
protected  Component JSplitPane.rightComponent
           
 

Methods in com.sun.java.swing that return Component
 Component JComponent.getNextFocusableComponent()
          Return the next focusable component or null if the focus manager should choose the next focusable component automatically
 Component[] JLayeredPane.getComponentsInLayer(int layer)
          Returns an array of the components in the specified layer.
 Component JFrame.getGlassPane()
          Returns the glassPane object for this frame.
 Component JMenuItem.getComponent()
          This method returns the java.awt.
static Component SwingUtilities.getDeepestComponentAt(Component parent, int x, int y)
          Returns the deepest child Component of parent that is at the location x, y.
static Component SwingUtilities.findFocusOwner(Component c)
          Return the child component which has focus, if any.
static Component SwingUtilities.getRoot(Component c)
           
 Component JMenu.add(Component c)
          Appends a component to the end of this menu.
 Component JMenu.getMenuComponent(int n)
          Returns the component at position n
 Component[] JMenu.getMenuComponents()
          Returns an array of the menu's subcomponents
 Component JMenu.getComponent()
           
 Component MenuSelectionManager.componentForPoint(Component source, Point sourcePoint)
           
 Component JToolBar.getComponentAtIndex(int i)
           
 Component JWindow.getGlassPane()
          Returns the glassPane object for this window.
 Component ComboBoxEditor.getEditorComponent()
          Return the component that should be added to the tree hierarchy for this editor
 Component JTable.getEditorComponent()
          If the receiver is currently editing this will return the Component that was returned from the CellEditor.
 Component JTable.prepareRenderer(TableCellRenderer renderer, int row, int column)
          Prepares the specified renderer with an appropriate value from the dataModel, and an appropriate selection value from the selection models.
 Component JTable.prepareEditor(TableCellEditor editor, int row, int column)
          Prepares the specified editor using the value at the specified cell.
 Component JDialog.getGlassPane()
          Returns the glassPane object for this dialog.
 Component JScrollPane.getCorner(String key)
          Returns the component at the specified corner, where key is one of: JScrollPane.
 Component JLabel.getLabelFor()
          Get the component this is labelling.
 Component JPopupMenu.getInvoker()
          Returns the component which is the 'invoker' of this popup menu.
 Component JPopupMenu.getComponentAtIndex(int i)
          Returns the component at the specified index.
 Component JPopupMenu.getComponent()
           
 Component JMenuBar.getComponentAtIndex(int i)
          Returns the component at the specified index.
 Component JMenuBar.getComponent()
          Implemented to be a MenuElement.
 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.
 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.
 Component JViewport.getView()
          Returns the Viewport's one child or null.
 Component Renderer.getComponent()
           
 Component JInternalFrame.getGlassPane()
          Returns the glassPane object for this frame.
 Component JApplet.getGlassPane()
          Returns the glassPane object for this applet.
 Component RootPaneContainer.getGlassPane()
          Returns the glassPane.
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 DefaultFocusManager.getFirstComponent(Container aContainer)
          Return the first component that should receive the focus
 Component DefaultFocusManager.getLastComponent(Container aContainer)
          Return the last component that should receive the focus
 Component DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent)
          Return the component that should receive the focus before aComponent
 Component DefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent)
          Return the component the should receive the focus after aComponent
 Component DefaultListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 Component MenuElement.getComponent()
           
 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.
protected  Component ScrollPaneLayout.addSingletonComponent(Component oldC, Component newC)
          The method used to replace an existing component (if any) with a new one.
 Component ScrollPaneLayout.getCorner(String key)
           
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.
 Component DefaultCellEditor.getComponent()
           
 Component DefaultCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
           
 Component DefaultCellEditor.getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 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.
 

Methods in com.sun.java.swing with parameters of type Component
 void JComponent.setNextFocusableComponent(Component aComponent)
          Specifies the next component to get the focus after this one, for example, when the tab key is pressed.
static boolean JComponent.isLightweightComponent(Component c)
          Returns true if this component is a lightweight, i.e. if it doesn't have a native window system peer.
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 it's current layer (position 0).
 void JLayeredPane.moveToBack(Component c)
          Moves the component to the bottom of the components in it's current layer (position -1).
 void JLayeredPane.setPosition(Component c, int position)
          Moves the component to position within it's 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.
protected  void JFrame.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 JFrame.setGlassPane(Component glassPane)
          Sets the glassPane property.
static Rectangle SwingUtilities.getLocalBounds(Component aComponent)
          Return the rectangle (0,0,bounds.width,bounds.height) for the component aComponent
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)
          Convience 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)
          Convience 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 child Component of parent that is at 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)
           
static void SwingUtilities.convertPointFromScreen(Point p, Component c)
           
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)
          Paint a component c on an abitrary graphics g in the specified rectangle.
static void SwingUtilities.paintComponent(Graphics g, Component c, Container p, Rectangle r)
           
static void SwingUtilities.updateComponentTreeUI(Component c)
          A simple minded look and feel change: ask each node in the tree to updateUI(), i.e. 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)
          Return the child component which has focus, if any.
static JRootPane SwingUtilities.getRootPane(Component c)
          If c is a JRootPane descendant return its JRootPane ancestor.
static Component SwingUtilities.getRoot(Component c)
           
 Component JMenu.add(Component c)
          Appends a component to the end of this menu.
 void JMenu.remove(Component c)
          Removes the Component from this menu.
 boolean JMenu.isMenuComponent(Component c)
          Returns true if the specified component exists in the submenu hierarchy.
 Component MenuSelectionManager.componentForPoint(Component source, Point sourcePoint)
           
 boolean MenuSelectionManager.isComponentPartOfCurrentMenu(Component c)
          Return true if c is part of the currently used menu
 int JToolBar.getComponentIndex(Component c)
           
protected  void JToolBar.addImpl(Component comp, Object constraints, int index)
           
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.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.
abstract  void FocusManager.processKeyEvent(Component focusedComponent, KeyEvent anEvent)
          This method is called by JComponents when a key event occurs.
abstract  void FocusManager.focusNextComponent(Component aComponent)
          Cause the focus manager to set the focus on the next focusable component You can call this method to cause the focus manager to focus the next component
abstract  void FocusManager.focusPreviousComponent(Component aComponent)
          Cause the focus manager to set the focus on the previous focusable component You can call this methid to cause the focus manager to focus the previous component
protected  void JDialog.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 JDialog.setGlassPane(Component glassPane)
          Sets the glassPane property.
 void JDialog.setLocationRelativeTo(Component c)
          Sets the location of the dialog relative to the specified component.
 void JScrollPane.setViewportView(Component view)
          Creates a viewport if neccessary and then sets its view.
 void JScrollPane.setRowHeaderView(Component view)
          Creates a row-header viewport if neccessary, sets its view and then adds the row-header viewport to the scrollpane.
 void JScrollPane.setColumnHeaderView(Component view)
          Creates a column-header viewport if neccessary, 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.
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, 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 a confirmation dialog -- a modal information-message dialog titled "Confirm".
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 modal 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 modal 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 modal 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 modal 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 modal dialog with a specified icon, where the initial choice is dermined 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 dermined 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 JLabel.setLabelFor(Component c)
          Set the component this is labelling.
 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 popupmenu -- the component in which the popupmenu menu is to be displayed.
 void JPopupMenu.show(Component invoker, int x, int y)
          Display the popupmenu 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.
 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.
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"
 void ImageIcon.paintIcon(Component c, Graphics g, int x, int y)
          Paints the Icon
 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.
 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 tab which corresponds to the specified component.
 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.
protected  void JViewport.addImpl(Component child, Object constraints, int index)
          Sets the Viewport's one lightweight child, which can be null.
 void JViewport.remove(Component child)
          Removes the Viewport's one lightweight child.
 void JViewport.setView(Component view)
          Sets the Viewport's one lightweight child (view), which can be null.
protected  void JInternalFrame.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 JInternalFrame.setGlassPane(Component glass)
          Sets this JInternalFrame's glassPane property.
 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  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.setGlassPane(Component glassPane)
          Sets the glassPane property.
static RepaintManager RepaintManager.currentManager(Component c)
          Return the RepaintManager for the calling thread.
 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 By default there is a double buffer per RepaintManager.
 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.
 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.
 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 DefaultFocusManager.processKeyEvent(Component focusedComponent, KeyEvent anEvent)
          This method is called by JComponents when a key event occurs.
 void DefaultFocusManager.focusNextComponent(Component aComponent)
          Cause the focus manager to set the focus on the next focusable component
 void DefaultFocusManager.focusPreviousComponent(Component aComponent)
          Cause the focus manager to set the focus on the previous focusable component
 Component DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent)
          Return the component that should receive the focus before aComponent
 Component DefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent)
          Return the component the should receive the focus after aComponent
 boolean DefaultFocusManager.compareTabOrder(Component a, Component b)
          Return true if a should be before b in the "tab" order.
protected  Component ScrollPaneLayout.addSingletonComponent(Component oldC, Component newC)
          The method used to replace an existing component (if any) with a new one.
 void ScrollPaneLayout.addLayoutComponent(String s, Component c)
          Adds the specified component to the layout, identifying it as one of: JScrollPane.
 void ScrollPaneLayout.removeLayoutComponent(Component c)
          Removes the specified component from the layout.
 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 ApproveButton. e.g. filechooser.showDialog(parentWindow, "Run Application"); would pop up a filechooser with a "Run Application" button (instead of the normal "Save" or "Open" button).
 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 JTextPane.insertComponent(Component c)
          Inserts a component into the document as a replacement for the currently selected content.
 void Icon.paintIcon(Component c, Graphics g, int x, int y)
          Draw the icon at the specified location.
 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)
          If constraints identifies the left/top or right/bottom child component, and a component with that identifier was previously added, it will be removed and then comp will be added in its place.
 

Constructors in com.sun.java.swing with parameters of type Component
ProgressMonitor.ProgressMonitor(Component parentComponent, Object message, String note, int min, int max)
           
JScrollPane.JScrollPane(Component view, int vsbPolicy, int hsbPolicy)
          Create a JScrollPane that displays the view component in a viewport whose view position can be controlled with a pair of scrollbars.
JScrollPane.JScrollPane(Component view)
          Create 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.
ProgressMonitorInputStream.ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in)
           
JSplitPane.JSplitPane(int newOrientation, Component newLeftComponent, Component newRightComponent)
          Returns a new JSplitPane with the specified orientation and with the specifiied components that does not do continuous redrawing.
JSplitPane.JSplitPane(int newOrientation, boolean newContinuousLayout, Component newLeftComponent, Component newRightComponent)
          Returns a new JSplitPane with the specified orientation and redrawing style, and with the specifiied components.
 

Uses of Component in com.sun.java.swing.border
 

Methods in com.sun.java.swing.border with parameters of type Component
 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 the value of getBorderMargins.
 Insets AbstractBorder.getBorderInsets(Component c, Insets insets)
          Reinitialize the insets parameter with this Border's current Insets.
 Rectangle AbstractBorder.getInteriorRectangle(Component c, int x, int y, int width, int height)
          This is a convience method that calls the static method.
static Rectangle AbstractBorder.getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)
          This method returns a rectangle using the arguements minus the insets of the border.
 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.
 Color BevelBorder.getHighlightInnerColor(Component c)
          Returns the inner highlight color of the bevel border.
 Color BevelBorder.getShadowInnerColor(Component c)
          Returns the inner shadow color of the bevel border.
 Color BevelBorder.getShadowOuterColor(Component c)
          Returns the outer shadow color of the bevel border.
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 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.
 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.
 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.
 Color EtchedBorder.getShadowColor(Component c)
          Returns the shadow color of the etched border.
 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 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 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 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.
 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)
           
 

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

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

Uses of Component in com.sun.java.swing.plaf
 

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

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

Subclasses of Component in com.sun.java.swing.table
  DefaultTableCellRenderer
          The standard class for rendering (displaying) individual cells in a JTable.
static  DefaultTableCellRenderer.UIResource
          A subclass of DefaultTableCellRenderer that implements UIResource.
  JTableHeader
          This is the column header part of a JTable.
 

Methods in com.sun.java.swing.table that return Component
 Component TableCellRenderer.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
          This method is sent to the renderer by the drawing table to configure the renderer appropriately before drawing.
 Component DefaultTableCellRenderer.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
           
 Component TableCellEditor.getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
          Sets an initial value for the editor.
 

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

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

Methods in com.sun.java.swing.text that return Component
static Component StyleConstants.getComponent(AttributeSet a)
          Gets the component setting from the attribute list.
 

Methods in com.sun.java.swing.text with parameters of type Component
static void StyleConstants.setComponent(MutableAttributeSet a, Component c)
          Sets the component attribute.
 

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

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

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

Methods in com.sun.java.swing.tree that return Component
 Component TreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          Sets an initial value for 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 DefaultTreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          Configures the editor.
 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.
 

Uses of Component in java.applet
 

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

Methods in java.awt that return Component
 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.
 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)
          Adds 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 Window.getFocusOwner()
          Returns the child component of this Window which has focus if and only if this Window is active.
 

Methods in java.awt with parameters of type Component
 Component Container.add(Component comp)
          Adds 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.
 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 LayoutManager2.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraint object.
 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.
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)
          create a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associate it with the DragSource, Component and DragGestureListener specified subclasses should override this to provide their own implementation
protected  void ScrollPane.addImpl(Component comp, Object constraints, int index)
          Adds the specified component to this scroll pane container.
 void PopupMenu.show(Component origin, int x, int y)
          Shows the popup menu at the x, y position relative to an origin component.
 void LayoutManager.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void LayoutManager.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 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 constraint object.
 void GridBagLayout.removeLayoutComponent(Component comp)
          Removes the specified component from this 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 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.
 

Constructors in java.awt with parameters of type Component
MediaTracker.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
           
 

Methods in java.awt.dnd that return Component
 Component DragGestureEvent.getComponent()
           
 Component DragGestureRecognizer.getComponent()
           
 Component DragSourceContext.getComponent()
           
 Component DropTarget.getComponent()
           
 Component DropTargetContext.getComponent()
           
 

Methods in java.awt.dnd with parameters of type Component
 DragGestureRecognizer DragSource.createDragGestureRecognizer(Class recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
          Creates a new DragSourceRecognizer 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 DragSourceRecognizer that implements the default abstract subclass of DragGestureRecognizer for this DragSource, and sets the specified Component and DragGestureListener on the newly created object.
 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.
 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); The caller must have AWTPermission.setDropTarget to succeed.
protected  DropTarget.DropTargetAutoScroller DropTarget.createDropTargetAutoScroller(Component c, Point p)
          create an embedded autoscroller
 

Constructors in java.awt.dnd with parameters of type Component
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
          construct a new DragGestureRecognizer
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c, int sa)
          construct a new DragGestureRecognizer
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c)
          construct a new DragGestureRecognizer
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
          construct a new MouseDragGestureRecognizer
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c, int act)
          construct a new MouseDragGestureRecognizer
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c)
          construct a new MouseDragGestureRecognizer
DropTarget.DropTarget(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm)
          Construct a DropTarget
DropTarget.DropTarget(Component c, int ops, DropTargetListener dtl, boolean act)
          Construct a DropTarget
DropTarget.DropTarget(Component c, DropTargetListener dtl)
          Construct a DropTarget
DropTarget.DropTarget(Component c, int ops, DropTargetListener dtl)
          Construct a DropTarget
DropTarget.DropTargetAutoScroller.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 ComponentEvent.getComponent()
          Returns the originator of the event.
 Component ContainerEvent.getChild()
          Returns the component that was affected by the event.
 

Constructors in java.awt.event with parameters of type Component
ComponentEvent.ComponentEvent(Component source, int id)
          Constructs a ComponentEvent object.
KeyEvent.KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar)
          Constructs a KeyEvent object.
KeyEvent.KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
           
MouseEvent.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.
ContainerEvent.ContainerEvent(Component source, int id, Component child)
          Constructs a ContainerEvent object.
PaintEvent.PaintEvent(Component source, int id, Rectangle updateRect)
          Constructs a PaintEvent object with the specified source component and type.
InputMethodEvent.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.InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition)
          Constructs an InputMethodEvent with the specified source component, type, caret, and visiblePosition.
FocusEvent.FocusEvent(Component source, int id, boolean temporary)
          Constructs a FocusEvent object and identifies whether or not the change is temporary.
FocusEvent.FocusEvent(Component source, int id)
          Constructs a FocusEvent object and identifies it as a permanent change in focus.
 

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.
 


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.
This documentation was generated with a post-Beta4 version of Javadoc.