|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 Java Beans development. |
| 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 ``metal'' 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 |
Component.getComponentAt(int x,
int y)
Determines if this component or one of its immediate subcomponents contains the (x, y) 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 |
LayoutManager2.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified constraint object. |
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. |
protected void |
ScrollPane.addImpl(Component comp,
Object constraints,
int index)
Adds the specified component to this scroll pane container. |
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 |
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. |
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 |
void |
PopupMenu.show(Component origin,
int x,
int y)
Shows the popup menu at the x, y position relative to an origin component. |
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. |
| Constructors in java.awt with parameters of type Component | |
Component.AccessibleAWTComponent()
Though the class is abstract, this should be called by all sub-classes. |
|
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 |
DropTargetContext.getComponent()
This method returns the Component associated with
this DropTargetContext. |
Component |
DragGestureRecognizer.getComponent()
This method returns the Component
that is to be "observed" by the
DragGestureRecognizer
for drag initiating gestures. |
Component |
DragSourceContext.getComponent()
This method returns the Component associated with this
DragSourceContext. |
Component |
DragGestureEvent.getComponent()
This method returns the Component associated
with this DragGestureEvent. |
Component |
DropTarget.getComponent()
This method returns 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 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 |
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 | |
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. |
|
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. |
|
DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act,
FlavorMap fm)
Construct 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). |
|
DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act)
Construct 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)
Construct a DropTarget given the Component
to associate itself with, and the DropTargetListener
to handle event processing. |
|
DropTarget(Component c,
int ops,
DropTargetListener dtl)
Construct 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 |
HierarchyEvent.getComponent()
Returns the originator of the event. |
Component |
HierarchyEvent.getChanged()
Returns the Component at the top of the hierarchy which was changed. |
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 | |
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. |
|
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. |
|
ComponentEvent(Component source,
int id)
Constructs a ComponentEvent object. |
|
ContainerEvent(Component source,
int id,
Component child)
Constructs a ContainerEvent object. |
|
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. |
|
PaintEvent(Component source,
int id,
Rectangle updateRect)
Constructs a PaintEvent object with the specified source component and type. |
|
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. |
|
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)
|
|
| 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 |
PropertyEditor.getCustomEditor()
A PropertyEditor may choose to make available a full custom Component that edits its property value. |
Component |
PropertyEditorSupport.getCustomEditor()
A PropertyEditor may chose 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 text 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 |
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 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 component. |
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 that 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 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 |
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
The right or bottom component. |
protected Component |
JTable.editorComp
If editing, the Component that is handling the editing. |
protected Component |
JLabel.labelFor
|
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 |
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 |
JComponent.getNextFocusableComponent()
Returns the next focusable component or null if the focus manager should choose the next focusable component automatically. |
Component |
JViewport.getView()
Returns the JViewports one child or null. |
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 |
JMenuItem.getComponent()
This method returns the java.awt.Component used to paint this object. |
Component[] |
JLayeredPane.getComponentsInLayer(int layer)
Returns an array of the components in the specified layer. |
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 |
MenuSelectionManager.componentForPoint(Component source,
Point sourcePoint)
Returns the component in the currently selected path which contains sourcePoint. |
Component |
DefaultCellEditor.getComponent()
Returns the a reference to the editor component. |
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 |
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 |
JWindow.getGlassPane()
Returns the glassPane Component for this window. |
protected Component |
ScrollPaneLayout.addSingletonComponent(Component oldC,
Component newC)
The method used to remove 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. |
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)
Return the child component which has focus, if any. |
static Component |
SwingUtilities.getRoot(Component c)
Returns the root component for the current component tree. |
Component |
Renderer.getComponent()
Returns the component used to render the value. |
Component |
JInternalFrame.getGlassPane()
Returns the glassPane object for this frame. |
Component |
JInternalFrame.getFocusOwner()
If this JInternalFrame is active, return the child which has focus. |
Component |
JFrame.getGlassPane()
Returns the glassPane object for this frame. |
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 |
ComboBoxEditor.getEditorComponent()
Return the component that should be added to the tree hierarchy for this editor |
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 |
DefaultListCellRenderer.getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
|
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 |
JToolBar.getComponentAtIndex(int i)
Returns the component at the specified index. |
Component |
JMenuBar.getComponentAtIndex(int i)
Deprecated. replaced by getComponent(int i) |
Component |
JMenuBar.getComponent()
Implemented to be a MenuElement. |
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 |
RootPaneContainer.getGlassPane()
Returns the glassPane. |
Component |
JScrollPane.getCorner(String key)
Returns the component at the specified corner. |
Component |
MenuElement. |