| Package | Description |
|---|---|
| java.applet |
Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.
|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
|
| java.awt.event |
Provides interfaces and classes for dealing with different types of events fired by AWT components.
|
| java.awt.im |
Provides classes and interfaces for the input method framework.
|
| java.beans |
Contains classes related to developing
beans -- components based on the JavaBeans™ architecture.
|
| java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.border |
Provides classes and interface for drawing specialized borders around a Swing component.
|
| javax.swing.colorchooser |
Contains classes and interfaces used by the
JColorChooser component.
|
| javax.swing.event |
Provides for events fired by Swing components.
|
| javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
|
| javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
| javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel (once codenamed
Metal), which is the default look and feel.
|
| javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected Hashtable |
GridBagLayout.comptable
This hashtable maintains the association between a component and its gridbag constraints.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
Container.add(Component
Appends the specified component to the end of this container.
|
Component |
Container.add(Component
Adds the specified component to this container at the given position.
|
Component |
Container.add(String
Adds the specified component to this container.
|
Component |
Container.findComponentAt(int x, int y)
Locates the visible child component that contains the specified position.
|
Component |
Container.findComponentAt(Point
Locates the visible child component that contains the specified point.
|
Component |
Container.getComponent(int n)
Gets the nth component in this container.
|
abstract Component |
FocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
ContainerOrderFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
Container.getComponentAt(int x, int y)
Locates the component that contains the x,y position.
|
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 |
Container.getComponentAt(Point
Gets the component that contains the specified point.
|
Component |
Component.getComponentAt(Point
Returns the component or subcomponent that contains the specified point.
|
abstract Component |
FocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
Component |
ContainerOrderFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
Component |
Container.getComponents()
Gets all the components in this container.
|
abstract Component |
FocusTraversalPolicy.getDefaultComponent(Container
Returns the default Component to focus.
|
Component |
ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container
Returns the default Component to focus.
|
abstract Component |
FocusTraversalPolicy.getFirstComponent(Container
Returns the first Component in the traversal cycle.
|
Component |
ContainerOrderFocusTraversalPolicy.getFirstComponent(Container
Returns the first Component in the traversal cycle.
|
Component |
Window.getFocusOwner()
Returns the child Component of this Window that has focus if this Window is focused; returns null otherwise.
|
Component |
KeyboardFocusManager.getFocusOwner()
Returns the focus owner, if the focus owner is in the same context as the calling thread.
|
protected Component |
KeyboardFocusManager.getGlobalFocusOwner()
Returns the focus owner, even if the calling thread is in a different context than the focus owner.
|
protected Component |
KeyboardFocusManager.getGlobalPermanentFocusOwner()
Returns the permanent focus owner, even if the calling thread is in a different context than the permanent focus owner.
|
Component |
FocusTraversalPolicy.getInitialComponent(Window
Returns the Component that should receive the focus when a Window is made visible for the first time.
|
abstract Component |
FocusTraversalPolicy.getLastComponent(Container
Returns the last Component in the traversal cycle.
|
Component |
ContainerOrderFocusTraversalPolicy.getLastComponent(Container
Returns the last Component in the traversal cycle.
|
Component |
BorderLayout.getLayoutComponent(Container
Returns the component that corresponds to the given constraint location based on the target
Container's component orientation.
|
Component |
BorderLayout.getLayoutComponent(Object
Gets the component that was added using the given constraint
|
Component |
Window.getMostRecentFocusOwner()
Returns the child Component of this Window that will receive the focus when this Window is focused.
|
Component |
KeyboardFocusManager.getPermanentFocusOwner()
Returns the permanent focus owner, if the permanent focus owner is in the same context as the calling thread.
|
Component |
Container.locate(int x, int y)
Deprecated.
As of JDK version 1.1, replaced by
getComponentAt(int, int).
|
Component |
Component.locate(int x, int y)
Deprecated.
As of JDK version 1.1, replaced by getComponentAt(int, int).
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultFocusTraversalPolicy.accept(Component
Determines whether a Component is an acceptable choice as the new focus owner.
|
protected boolean |
ContainerOrderFocusTraversalPolicy.accept(Component
Determines whether a Component is an acceptable choice as the new focus owner.
|
Component |
Container.add(Component
Appends the specified component to the end of this container.
|
Component |
Container.add(Component
Adds the specified component to this container at the given position.
|
void |
Container.add(Component
Adds the specified component to the end of this container.
|
void |
Container.add(Component
Adds the specified component to this container with the specified constraints at the specified index.
|
Component |
Container.add(String
Adds the specified component to this container.
|
protected void |
ScrollPane.addImpl(Component
Adds the specified component to this scroll pane container.
|
protected void |
Container.addImpl(Component
Adds the specified component to this container at the specified index.
|
void |
CardLayout.addLayoutComponent(Component
Adds the specified component to this card layout's internal table of names.
|
void |
LayoutManager2.addLayoutComponent(Component
Adds the specified component to the layout, using the specified constraint object.
|
void |
BorderLayout.addLayoutComponent(Component
Adds the specified component to the layout, using the specified constraint object.
|
void |
GridBagLayout.addLayoutComponent(Component
Adds the specified component to the layout, using the specified
constraints object.
|
void |
CardLayout.addLayoutComponent(String
Deprecated.
replaced by
addLayoutComponent(Component, Object).
|
void |
FlowLayout.addLayoutComponent(String
Adds the specified component to the layout.
|
void |
BorderLayout.addLayoutComponent(String
Deprecated.
replaced by
addLayoutComponent(Component, Object).
|
void |
GridBagLayout.addLayoutComponent(String
Has no effect, since this layout manager does not use a per-component string.
|
void |
GridLayout.addLayoutComponent(String
Adds the specified component with the specified name to the layout.
|
void |
LayoutManager.addLayoutComponent(String
If the layout manager uses a per-component string, adds the component
comp to the layout, associating it with the string specified by
name.
|
protected java |
Toolkit.createComponent(Component
Creates a peer for a component or container.
|
<T extends DragGestureRecognizer |
Toolkit.createDragGestureRecognizer(Class
Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified.
|
protected abstract void |
KeyboardFocusManager.dequeueKeyEvents(long after, Component
Called by the AWT to notify the KeyboardFocusManager that it should cancel delayed dispatching of KeyEvents.
|
protected void |
DefaultKeyboardFocusManager.dequeueKeyEvents(long after, Component
Releases for normal dispatching to the current focus owner all KeyEvents which were enqueued because of a call to
enqueueKeyEvents with the same timestamp and Component.
|
protected abstract void |
KeyboardFocusManager.discardKeyEvents(Component
Called by the AWT to notify the KeyboardFocusManager that it should cancel delayed dispatching of KeyEvents.
|
protected void |
DefaultKeyboardFocusManager.discardKeyEvents(Component
Discards all KeyEvents which were enqueued because of one or more calls to
enqueueKeyEvents with the specified Component, or one of its descendants.
|
protected abstract void |
KeyboardFocusManager.enqueueKeyEvents(long after, Component
Called by the AWT to notify the KeyboardFocusManager that it should delay dispatching of KeyEvents until the specified Component becomes the focus owner.
|
protected void |
DefaultKeyboardFocusManager.enqueueKeyEvents(long after, Component
Delays dispatching of KeyEvents until the specified Component becomes the focus owner.
|
abstract void |
KeyboardFocusManager.focusNextComponent(Component
Focuses the Component after aComponent, typically based on a FocusTraversalPolicy.
|
void |
DefaultKeyboardFocusManager.focusNextComponent(Component
Focuses the Component after aComponent, typically based on a FocusTraversalPolicy.
|
abstract void |
KeyboardFocusManager.focusPreviousComponent(Component
Focuses the Component before aComponent, typically based on a FocusTraversalPolicy.
|
void |
DefaultKeyboardFocusManager.focusPreviousComponent(Component
Focuses the Component before aComponent, typically based on a FocusTraversalPolicy.
|
abstract Component |
FocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
ContainerOrderFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
abstract Component |
FocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
Component |
ContainerOrderFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
int |
Container.getComponentZOrder(Component
Returns the z-order index of the component inside the container.
|
Object |
BorderLayout.getConstraints(Component
Gets the constraints for the specified component
|
GridBagConstraints |
GridBagLayout.getConstraints(Component
Gets the constraints for the specified component.
|
protected static Container |
Toolkit.getNativeContainer(Component
Give native peers the ability to query the native container given a native component (eg the direct parent may be lightweight).
|
boolean |
Container.isAncestorOf(Component
Checks if the component is contained in the component hierarchy of this container.
|
protected GridBagConstraints |
GridBagLayout.lookupConstraints(Component
Retrieves the constraints for the specified component.
|
abstract void |
KeyboardFocusManager.processKeyEvent(Component
This method initiates a focus traversal operation if and only if the KeyEvent represents a focus traversal key for the specified focusedComponent.
|
void |
DefaultKeyboardFocusManager.processKeyEvent(Component
This method initiates a focus traversal operation if and only if the KeyEvent represents a focus traversal key for the specified focusedComponent.
|
void |
KeyboardFocusManager.redispatchEvent(Component
Redispatches an AWTEvent in such a way that the AWT event dispatcher will not recursively request that the KeyboardFocusManager, or any installed KeyEventDispatchers, dispatch the event again.
|
void |
Container.remove(Component
Removes the specified component from this container.
|
void |
CardLayout.removeLayoutComponent(Component
Removes the specified component from the layout.
|
void |
FlowLayout.removeLayoutComponent(Component
Removes the specified component from the layout.
|
void |
BorderLayout.removeLayoutComponent(Component
Removes the specified component from this border layout.
|
void |
GridBagLayout.removeLayoutComponent(Component
Removes the specified component from this layout.
|
void |
GridLayout.removeLayoutComponent(Component
Removes the specified component from the layout.
|
void |
LayoutManager.removeLayoutComponent(Component
Removes the specified component from the layout.
|
void |
Container.setComponentZOrder(Component
Moves the specified component to the specified z-order index in the container.
|
void |
GridBagLayout.setConstraints(Component
Sets the constraints for the specified component in this layout.
|
protected void |
KeyboardFocusManager.setGlobalFocusOwner(Component
Sets the focus owner.
|
protected void |
KeyboardFocusManager.setGlobalPermanentFocusOwner(Component
Sets the permanent focus owner.
|
void |
Window.setLocationRelativeTo(Component
Sets the location of the window relative to the specified component according to the following scenarios.
|
void |
PopupMenu.show(Component
Shows the popup menu at the x, y position relative to an origin component.
|
abstract void |
KeyboardFocusManager.upFocusCycle(Component
Moves the focus up one focus traversal cycle.
|
void |
DefaultKeyboardFocusManager.upFocusCycle(Component
Moves the focus up one focus traversal cycle.
|
| Constructor and Description | |
|---|---|
MediaTracker(Component
Creates a media tracker to track images for a given component.
|
| Modifier and Type | Field and Description |
|---|---|
protected Component |
DragGestureRecognizer.component
The
Component associated with this
DragGestureRecognizer.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
DragGestureEvent.getComponent()
Returns the
Component associated with this
DragGestureEvent.
|
Component |
DropTarget.getComponent()
Gets the
Component associated with this
DropTarget.
|
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()
Returns the
Component associated with this
DragSourceContext.
|
| Modifier and Type | Method and Description |
|---|---|
DragGestureRecognizer |
DragSource.createDefaultDragGestureRecognizer(Component
Creates a new
DragGestureRecognizer that implements the default abstract subclass of
DragGestureRecognizer for this
DragSource, and sets the specified
Component and
DragGestureListener on the newly created object.
|
<T extends DragGestureRecognizer |
DragSource.createDragGestureRecognizer(Class
Creates a new
DragGestureRecognizer that implements the specified abstract subclass of
DragGestureRecognizer, and sets the specified
Component and
DragGestureListener on the newly created object.
|
protected DropTarget |
DropTarget.createDropTargetAutoScroller(Component
create an embedded autoscroller
|
void |
DropTarget.setComponent(Component
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);
|
void |
DragGestureRecognizer.setComponent(Component
set the Component that the DragGestureRecognizer is associated with registerListeners() and unregisterListeners() are called as a side effect as appropriate.
|
| Constructor and Description | |
|---|---|
DragGestureRecognizer(DragSource
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.
|
|
DragGestureRecognizer(DragSource
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
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.
|
|
DropTarget(Component
Creates a
DropTarget given the
Component to associate itself with, and the
DropTargetListener to handle event processing.
|
|
DropTarget(Component
Creates a
DropTarget given the
Component to associate itself with, an
int representing the default acceptable action(s) to support, and a
DropTargetListener to handle event processing.
|
|
DropTarget(Component
Creates a
DropTarget given the
Component to associate itself with, an
int representing the default acceptable action(s) to support, a
DropTargetListener to handle event processing, and a
boolean indicating if the
DropTarget is currently accepting drops.
|
|
DropTarget(Component
Creates a new DropTarget given the
Component to associate itself with, an
int representing the default acceptable action(s) to support, a
DropTargetListener to handle event processing, a
boolean indicating if the
DropTarget is currently accepting drops, and a
FlavorMap to use (or null for the default
FlavorMap).
|
|
DropTargetAutoScroller(Component
construct a DropTargetAutoScroller
|
|
MouseDragGestureRecognizer(DragSource
Construct a new
MouseDragGestureRecognizer given the
DragSource for the
Component c, and the
Component to observe.
|
|
MouseDragGestureRecognizer(DragSource
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
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.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
HierarchyEvent.getChanged()
Returns the Component at the top of the hierarchy which was changed.
|
Component |
ContainerEvent.getChild()
Returns the component that was affected by the event.
|
Component |
ComponentEvent.getComponent()
Returns the originator of the event.
|
Component |
HierarchyEvent.getComponent()
Returns the originator of the event.
|
Component |
FocusEvent.getOppositeComponent()
Returns the other Component involved in this focus change.
|
| Constructor and Description | |
|---|---|
ComponentEvent(Component
Constructs a
ComponentEvent object.
|
|
ContainerEvent(Component
Constructs a
ContainerEvent object.
|
|
FocusEvent(Component
Constructs a
FocusEvent object and identifies it as a permanent change in focus.
|
|
FocusEvent(Component
Constructs a
FocusEvent object and identifies whether or not the change is temporary.
|
|
FocusEvent(Component
Constructs a
FocusEvent object with the specified temporary state and opposite
Component.
|
|
HierarchyEvent(Component
Constructs an
HierarchyEvent object to identify a change in the
Component hierarchy.
|
|
HierarchyEvent(Component
Constructs an
HierarchyEvent object to identify a change in the
Component hierarchy.
|
|
InputMethodEvent(Component
Constructs an
InputMethodEvent with the specified source component, type, text, caret, and visiblePosition.
|
|
InputMethodEvent(Component
Constructs an
InputMethodEvent with the specified source component, type, time, text, caret, and visiblePosition.
|
|
InputMethodEvent(Component
Constructs an
InputMethodEvent with the specified source component, type, caret, and visiblePosition.
|
|
KeyEvent(Component
Deprecated.
as of JDK1.1
|
|
KeyEvent(Component
Constructs a
KeyEvent object.
|
|
KeyEvent(Component
Constructs a
KeyEvent object.
|
|
MouseEvent(Component
Constructs a
MouseEvent object with the specified source component, type, modifiers, coordinates, click count, and popupTrigger flag.
|
|
MouseEvent(Component
Constructs a
MouseEvent object with the specified source component, type, time, modifiers, coordinates, click count, popupTrigger flag, and button number.
|
|
MouseEvent(Component
Constructs a
MouseEvent object with the specified source component, type, time, modifiers, coordinates, absolute coordinates, click count, popupTrigger flag, and button number.
|
|
MouseWheelEvent(Component
Constructs a
MouseWheelEvent object with the specified source component, type, modifiers, coordinates, scroll type, scroll amount, and wheel rotation.
|
|
MouseWheelEvent(Component
Constructs a
MouseWheelEvent object with the specified source component, type, modifiers, coordinates, absolute coordinates, scroll type, scroll amount, and wheel rotation.
|
|
MouseWheelEvent(Component
Constructs a
MouseWheelEvent object with the specified source component, type, modifiers, coordinates, absolute coordinates, scroll type, scroll amount, and wheel rotation.
|
|
PaintEvent(Component
Constructs a
PaintEvent object with the specified source component and type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InputContext.removeNotify(Component
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
BeanContextChildComponentProxy.getComponent()
Gets the
java.awt.Component associated with this
BeanContextChild.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JLayer<V extends Component
JLayer is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of all
AWTEvents generated within its borders.
|
| Modifier and Type | Class and Description |
|---|---|
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
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
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<E>
A component that combines a button or editable field and a drop-down list.
|
class |
JComponent
The base class for all Swing components except top-level containers.
|
class |
JDesktopPane
A container used to create a multiple-document interface or a virtual desktop.
|
class |
JDialog
The main class for creating a dialog window.
|
class |
JEditorPane
A text component to edit various kinds of content.
|
class |
JFileChooser
JFileChooser provides a simple mechanism for the user to choose a file.
|
class |
JFormattedTextField
JFormattedTextField extends
JTextField adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.
|
class |
JFrame
An extended version of
java.awt.Frame that adds support for the JFC/Swing component architecture.
|
class |
JInternalFrame
A lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.
|
static class |
JInternalFrame
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 |
JLayer<V extends Component
JLayer is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of all
AWTEvents generated within its borders.
|
class |
JLayeredPane
JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
|
class |
JList<E>
A component that displays a list of objects and allows the user to select one or more items.
|
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
A popup menu-specific separator.
|
class |
JProgressBar
A component that visually displays the progress of some task.
|
class |
JRadioButton
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
|
class |
JRadioButtonMenuItem
An implementation of a radio button menu item.
|
class |
JRootPane
A lightweight container used behind the scenes by
JFrame,
JDialog,
JWindow,
JApplet, and
JInternalFrame.
|
class |
JScrollBar
An implementation of a scrollbar.
|
class |
JScrollPane
Provides a scrollable view of a lightweight component.
|
protected class |
JScrollPane
By default
JScrollPane creates scrollbars that are instances of this class.
|
class |
JSeparator
JSeparator provides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks them up into logical groupings.
|
class |
JSlider
A component that lets the user graphically select a value by sliding a knob within a bounded interval.
|
class |
JSpinner
A single line input field that lets the user select a number or an object value from an ordered sequence.
|
static class |
JSpinner
An editor for a
JSpinner whose model is a
SpinnerDateModel.
|
static class |
JSpinner
A simple base class for more specialized editors that displays a read-only view of the model's current value with a
JFormattedTextField.
|
static class |
JSpinner
An editor for a
JSpinner whose model is a
SpinnerListModel.
|
static class |
JSpinner
An editor for a
JSpinner whose model is a
SpinnerNumberModel.
|
class |
JSplitPane
JSplitPane is used to divide two (and only two)
Components.
|
class |
JTabbedPane
A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
|
class |
JTable
The
JTable is used to display and edit regular two-dimensional tables of cells.
|
class |
JTextArea
A
JTextArea is a multi-line area that displays plain text.
|
class |
JTextField
JTextField is a lightweight component that allows the editing of a single line of text.
|
class |
JTextPane
A text component that can be marked up with attributes that are represented graphically.
|
class |
JToggleButton
An implementation of a two-state button.
|
class |
JToolBar
JToolBar provides a component that is useful for displaying commonly used
Actions or controls.
|
static class |
JToolBar
A toolbar-specific separator.
|
class |
JToolTip
Used to display a "Tip" for a Component.
|
class |
JTree
|
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected static Component |
ImageIcon.component
Deprecated.
since 1.8
|
protected Component |
JTable.editorComp
If editing, the
Component that is handling the editing.
|
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 |
JLabel.labelFor
|
protected Component |
JSplitPane.leftComponent
The left or top component.
|
protected Component |
ScrollPaneLayout.lowerLeft
The component to display in the lower left corner.
|
protected Component |
JScrollPane.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 |
JScrollPane.lowerRight
The component to display in the lower right corner.
|
protected Component |
JSplitPane.rightComponent
The right or bottom component.
|
protected Component |
ScrollPaneLayout.upperLeft
The component to display in the upper left corner.
|
protected Component |
JScrollPane.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 |
JScrollPane.upperRight
The component to display in the upper right corner.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
JMenu.add(Component
Appends a component to the end of this menu.
|
Component |
JTabbedPane.add(Component
Adds a
component with a tab title defaulting to the name of the component which is the result of calling
component.getName.
|
Component |
JMenu.add(Component
Adds the specified component to this container at the given position.
|
Component |
JTabbedPane.add(Component
Adds a
component at the specified tab index with a tab title defaulting to the name of the component.
|
Component |
JTabbedPane.add(String
Adds a
component with the specified tab title.
|
protected Component |
ScrollPaneLayout.addSingletonComponent(Component
Removes an existing component.
|
Component |
MenuSelectionManager.componentForPoint(Component
Returns the component in the currently selected path which contains sourcePoint.
|
protected Component |
JRootPane.createGlassPane()
Called by the constructor methods to create the default
glassPane.
|
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.createHorizontalStrut(int width)
Creates an invisible, fixed-width component.
|
static Component |
Box.createRigidArea(Dimension
Creates an invisible component that's always the specified size.
|
static Component |
Box.createVerticalGlue()
Creates a vertical glue component.
|
static Component |
Box.createVerticalStrut(int height)
Creates an invisible, fixed-height component.
|
static Component |
SwingUtilities.findFocusOwner(Component
Deprecated.
As of 1.4, replaced by
KeyboardFocusManager.getFocusOwner().
|
Component |
JSplitPane.getBottomComponent()
Returns the component below, or to the right of the divider.
|
Component |
MenuElement.getComponent()
This method should return the java.awt.Component used to paint the receiving element.
|
Component |
DefaultCellEditor.getComponent()
Returns a reference to the editor component.
|
Component |
Renderer.getComponent()
Returns the component used to render the value.
|
Component |
JPopupMenu.getComponent()
Returns this
JPopupMenu component.
|
Component |
TransferHandler.TransferSupport.getComponent()
Returns the target component of this transfer.
|
Component |
JMenuItem.getComponent()
Returns the
java.awt.Component used to paint this object.
|
Component |
JMenu.getComponent()
Returns the
java.awt.Component used to paint this
MenuElement.
|
Component |
JMenuBar.getComponent()
Implemented to be a
MenuElement.
|
Component |
SortingFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
DefaultFocusManager.getComponentAfter(Container
|
Component |
LayoutFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
JTabbedPane.getComponentAt(int index)
Returns the component at
index.
|
Component |
JPopupMenu.getComponentAtIndex(int i)
Deprecated.
replaced by
Container
|
Component |
JToolBar.getComponentAtIndex(int i)
Returns the component at the specified index.
|
Component |
JMenuBar.getComponentAtIndex(int i)
Deprecated.
replaced by
getComponent(int i)
|
Component |
SortingFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
Component |
DefaultFocusManager.getComponentBefore(Container
|
Component |
LayoutFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
Component |
JLayeredPane.getComponentsInLayer(int layer)
Returns an array of the components in the specified layer.
|
Component |
ScrollPaneLayout.getCorner(String
Returns the
Component at the specified corner.
|
Component |
JScrollPane.getCorner(String
Returns the component at the specified corner.
|
protected Component |
JTable.AccessibleJTable.AccessibleJTableCell.getCurrentComponent()
Gets the table cell renderer component.
|
static Component |
SwingUtilities.getDeepestComponentAt(Component
Returns the deepest visible descendent Component of
parent that contains the location
x,
y.
|
Component |
SortingFocusTraversalPolicy.getDefaultComponent(Container
Returns the default Component to focus.
|
Component |
JTable.getEditorComponent()
Returns the component that is handling the editing session.
|
Component |
ComboBoxEditor.getEditorComponent()
Return the component that should be added to the tree hierarchy for this editor
|
Component |
SortingFocusTraversalPolicy.getFirstComponent(Container
Returns the first Component in the traversal cycle.
|
Component |
DefaultFocusManager.getFirstComponent(Container
|
Component |
LayoutFocusTraversalPolicy.getFirstComponent(Container
Returns the first Component in the traversal cycle.
|
Component |
JInternalFrame.getFocusOwner()
If this
JInternalFrame is active, returns the child that has focus.
|
Component |
JRootPane.getGlassPane()
Returns the current glass pane for this
JRootPane.
|
Component |
JWindow.getGlassPane()
Returns the
glassPane Component for this window.
|
Component |
JInternalFrame.getGlassPane()
Returns the glass pane for this internal frame.
|
Component |
JDialog.getGlassPane()
Returns the
glassPane object for this dialog.
|
Component |
JFrame.getGlassPane()
Returns the
glassPane object for this frame.
|
Component |
JApplet.getGlassPane()
Returns the glassPane object for this applet.
|
Component |
RootPaneContainer.getGlassPane()
Returns the glassPane.
|
Component |
InternalFrameFocusTraversalPolicy.getInitialComponent(JInternalFrame
Returns the Component that should receive the focus when a JInternalFrame is selected for the first time.
|
Component |
JPopupMenu.getInvoker()
Returns the component which is the 'invoker' of this popup menu.
|
Component |
JLabel.getLabelFor()
Get the component this is labelling.
|
Component |
SortingFocusTraversalPolicy.getLastComponent(Container
Returns the last Component in the traversal cycle.
|
Component |
DefaultFocusManager.getLastComponent(Container
|
Component |
LayoutFocusTraversalPolicy.getLastComponent(Container
Returns the last Component in the traversal cycle.
|
Component |
JSplitPane.getLeftComponent()
Returns the component to the left (or above) the divider.
|
Component |
DefaultListCellRenderer.getListCellRendererComponent(JList
|
Component |
ListCellRenderer.getListCellRendererComponent(JList
Return a component that has been configured to display the specified value.
|
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 |
JInternalFrame.getMostRecentFocusOwner()
Returns the child component of this
JInternalFrame that will receive the focus when this
JInternalFrame is selected.
|
Component |
JComponent.getNextFocusableComponent()
Deprecated.
As of 1.4, replaced by
FocusTraversalPolicy.
|
Component |
JSplitPane.getRightComponent()
Returns the component to the right (or below) the divider.
|
static Component |
SwingUtilities.getRoot(Component
Returns the root component for the current component tree.
|
Component |
JTabbedPane.getSelectedComponent()
Returns the currently selected component for this tabbedpane.
|
Component |
JTabbedPane.getTabComponentAt(int index)
Returns the tab component at
index.
|
Component |
DefaultCellEditor.getTableCellEditorComponent(JTable
Implements the
TableCellEditor interface.
|
Component |
JSplitPane.getTopComponent()
Returns the component above, or to the left of the divider.
|
Component |
DefaultCellEditor.getTreeCellEditorComponent(JTree
Implements the
TreeCellEditor interface.
|
static Component |
SwingUtilities.getUnwrappedView(JViewport
Returns the first
JViewport's descendant which is not an instance of
JLayer.
|
Component |
JViewport.getView()
Returns the
JViewport's one child or
null.
|
Component |
JTable.prepareEditor(TableCellEditor
Prepares the editor by querying the data model for the value and selection state of the cell at
row,
column.
|
Component |
JTable.prepareRenderer(TableCellRenderer
Prepares the renderer by querying the data model for the value and selection state of the cell at
row,
column.
|
| Modifier and Type | Method and Description |
|---|---|
protected Comparator |
SortingFocusTraversalPolicy.getComparator()
Returns the Comparator which will be used to sort the Components in a focus traversal cycle.
|
protected Hashtable |
JLayeredPane.getComponentToLayer()
Returns the hashtable that maps components to layers.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SortingFocusTraversalPolicy.accept(Component
Determines whether a Component is an acceptable choice as the new focus owner.
|
protected boolean |
LayoutFocusTraversalPolicy.accept(Component
Determines whether the specified
Component is an acceptable choice as the new focus owner.
|
Component |
JMenu.add(Component
Appends a component to the end of this menu.
|
Component |
JTabbedPane.add(Component
Adds a
component with a tab title defaulting to the name of the component which is the result of calling
component.getName.
|
Component |
JMenu.add(Component
Adds the specified component to this container at the given position.
|
Component |
JTabbedPane.add(Component
Adds a
component at the specified tab index with a tab title defaulting to the name of the component.
|
void |
JTabbedPane.add(Component
Adds a
component to the tabbed pane.
|
void |
JTabbedPane.add(Component
Adds a
component at the specified tab index.
|
Component |
JTabbedPane.add(String
Adds a
component with the specified tab title.
|
GroupLayout |
GroupLayout.SequentialGroup.addComponent(boolean useAsBaseline, Component
Adds a
Component to this
Group.
|
GroupLayout |
GroupLayout.SequentialGroup.addComponent(boolean useAsBaseline, Component
Adds a
Component to this
Group with the specified size.
|
GroupLayout |
GroupLayout.Group.addComponent(Component
Adds a
Component to this
Group.
|
GroupLayout |
GroupLayout.SequentialGroup.addComponent(Component
Adds a
Component to this
Group.
|
GroupLayout |
GroupLayout.ParallelGroup.addComponent(Component
Adds a
Component to this
Group.
|
GroupLayout |
GroupLayout.ParallelGroup.addComponent(Component
Adds a
Component to this
ParallelGroup with the specified alignment.
|
GroupLayout |
GroupLayout.ParallelGroup.addComponent(Component
Adds a
Component to this
ParallelGroup with the specified alignment and size.
|
GroupLayout |
GroupLayout.Group.addComponent(Component
Adds a
Component to this
Group with the specified size.
|
GroupLayout |
GroupLayout.SequentialGroup.addComponent(Component
Adds a
Component to this
Group with the specified size.
|
GroupLayout |
GroupLayout.ParallelGroup.addComponent(Component
Adds a
Component to this
Group with the specified size.
|
protected void |
JDesktopPane.addImpl(Component
Adds the specified component to this container at the specified index.
|
protected void |
JRootPane.addImpl(Component
Overridden to enforce the position of the glass component as the zero child.
|
protected void |
JSplitPane.addImpl(Component
Adds the specified component to this split pane.
|
protected void |
JWindow.addImpl(Component
Adds the specified child
Component.
|
protected void |
JInternalFrame.addImpl(Component
Adds the specified child
Component.
|
protected void |
JLayeredPane.addImpl(Component
|
protected void |
JLayer.addImpl(Component
This method is not supported by
JLayer and always throws
UnsupportedOperationException
|
protected void |
JDialog.addImpl(Component
Adds the specified child
Component.
|
protected void |
JViewport.addImpl(Component
Sets the
JViewport's one lightweight child, which can be
null.
|
protected void |
CellRendererPane.addImpl(Component
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).
|
protected void |
JFrame.addImpl(Component
Adds the specified child
Component.
|
protected void |
JApplet.addImpl(Component
Adds the specified child
Component.
|
protected void |
AbstractButton.addImpl(Component
Adds the specified component to this container at the specified index, refer to
Container for a complete description of this method.
|
protected void |
JToolBar.addImpl(Component
If a
JButton is being added, it is initially set to be disabled.
|
void |
JRootPane.RootLayout.addLayoutComponent(Component
|
void |
BoxLayout.addLayoutComponent(Component
Not used by this class.
|
void |
SpringLayout.addLayoutComponent(Component
If
constraints is an instance of
SpringLayout.Constraints, associates the constraints with the specified component.
|
void |
OverlayLayout.addLayoutComponent(Component
Adds the specified component to the layout, using the specified constraint object.
|
void |
GroupLayout.addLayoutComponent(Component
Notification that a
Component has been added to the parent container.
|
void |
JRootPane.RootLayout.addLayoutComponent(String
|
void |
ViewportLayout.addLayoutComponent(String
Adds the specified component to the layout.
|
void |
ScrollPaneLayout.addLayoutComponent(String
Adds the specified component to the layout.
|
void |
BoxLayout.addLayoutComponent(String
Not used by this class.
|
void |
SpringLayout.addLayoutComponent(String
Has no effect, since this layout manager does not use a per-component string.
|
void |
JSpinner.DefaultEditor.addLayoutComponent(String
This
LayoutManager method does nothing.
|
void |
OverlayLayout.addLayoutComponent(String
Adds the specified component to the layout.
|
void |
GroupLayout.addLayoutComponent(String
Notification that a
Component has been added to the parent container.
|
protected Component |
ScrollPaneLayout.addSingletonComponent(Component
Removes an existing component.
|
void |
JTabbedPane.addTab(String
Adds a
component represented by a
title and no icon.
|
void |
JTabbedPane.addTab(String
Adds a
component represented by a
title and/or
icon, either of which can be
null.
|
void |
JTabbedPane.addTab(String
Adds a
component and
tip represented by a
title and/or
icon, either of which can be
null.
|
boolean |
DefaultFocusManager.compareTabOrder(Component
|
Component |
MenuSelectionManager.componentForPoint(Component
Returns the component in the currently selected path which contains sourcePoint.
|
static MouseEvent |
SwingUtilities.convertMouseEvent(Component
Returns a MouseEvent similar to
sourceEvent except that its x and y members have been converted to
destination's coordinate system.
|
static Point |
SwingUtilities.convertPoint(Component
Convert the point
(x,y) in
source coordinate system to
destination coordinate system.
|
static Point |
SwingUtilities.convertPoint(Component
Convert a
aPoint in
source coordinate system to
destination coordinate system.
|
static void |
SwingUtilities.convertPointFromScreen(Point
Convert a point from a screen coordinates to a component's coordinate system
|
static void |
SwingUtilities.convertPointToScreen(Point
Convert a point from a component's coordinate system to screen coordinates.
|
static Rectangle |
SwingUtilities.convertRectangle(Component
Convert the rectangle
aRectangle in
source coordinate system to
destination coordinate system.
|
protected JDialog |
JFileChooser.createDialog(Component
Creates and returns a new
JDialog wrapping
this centered on the
parent in the
parent's frame.
|
JDialog |
JOptionPane.createDialog(Component
Creates and returns a new
JDialog wrapping
this centered on the
parentComponent in the
parentComponent's frame.
|
static JDialog |
JColorChooser.createDialog(Component
Creates and returns a new dialog containing the specified
ColorChooser pane along with "OK", "Cancel", and "Reset" buttons.
|
JInternalFrame |
JOptionPane.createInternalFrame(Component
Creates and returns an instance of
JInternalFrame.
|
static RepaintManager |
RepaintManager.currentManager(Component
Return the RepaintManager for the calling thread given a Component.
|
static Component |
SwingUtilities.findFocusOwner(Component
Deprecated.
As of 1.4, replaced by
KeyboardFocusManager.getFocusOwner().
|
static Accessible |
SwingUtilities.getAccessibleAt(Component
Returns the
Accessible child contained at the local coordinate
Point, if one exists.
|
static Accessible |
SwingUtilities.getAccessibleChild(Component
Return the nth Accessible child of the object.
|
static int |
SwingUtilities.getAccessibleChildrenCount(Component
Returns the number of accessible children in the object.
|
static int |
SwingUtilities.getAccessibleIndexInParent(Component
Get the index of this object in its accessible parent.
|
static AccessibleStateSet |
SwingUtilities.getAccessibleStateSet(Component
Get the state of this object.
|
static Container |
SwingUtilities.getAncestorNamed(String
Convenience method for searching above
comp in the component hierarchy and returns the first object of
name it finds.
|
static Container |
SwingUtilities.getAncestorOfClass(Class
Convenience method for searching above
comp in the component hierarchy and returns the first object of class
c it finds.
|
Component |
SortingFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
DefaultFocusManager.getComponentAfter(Container
|
Component |
LayoutFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
SortingFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
Component |
DefaultFocusManager.getComponentBefore(Container
|
Component |
LayoutFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
int |
JPopupMenu.getComponentIndex(Component
Returns the index of the specified component.
|
int |
JToolBar.getComponentIndex(Component
Returns the index of the specified component.
|
int |
JMenuBar.getComponentIndex(Component
Returns the index of the specified component.
|
Spring |
SpringLayout.getConstraint(String
Returns the spring controlling the distance between the specified edge of the component and the top or left edge of its parent.
|
SpringLayout |
SpringLayout.getConstraints(Component
Returns the constraints for the specified component.
|
static Component |
SwingUtilities.getDeepestComponentAt(Component
Returns the deepest visible descendent Component of
parent that contains the location
x,
y.
|
static JDesktopPane |
JOptionPane.getDesktopPaneForComponent(Component
Returns the specified component's desktop pane.
|
static Frame |
JOptionPane.getFrameForComponent(Component
Returns the specified component's
Frame.
|
int |
JLayeredPane.getIndexOf(Component
Returns the index of the specified Component.
|
int |
JLayeredPane.getLayer(Component
Returns the layer attribute for the specified Component.
|
static JLayeredPane |
JLayeredPane.getLayeredPaneAbove(Component
Convenience method that returns the first JLayeredPane which contains the specified component.
|
static Rectangle |
SwingUtilities.getLocalBounds(Component
Return the rectangle (0,0,bounds.width,bounds.height) for the component
aComponent
|
Image |
RepaintManager.getOffscreenBuffer(Component
Return the offscreen buffer that should be used as a double buffer with the component
c.
|
Popup |
PopupFactory.getPopup(Component
Creates a
Popup for the Component
owner containing the Component
contents.
|
int |
JLayeredPane.getPosition(Component
Get the relative position of the component within its layer.
|
static Component |
SwingUtilities.getRoot(Component
Returns the root component for the current component tree.
|
static JRootPane |
SwingUtilities.getRootPane(Component
If c is a JRootPane descendant return its JRootPane ancestor.
|
static Container |
SwingUtilities.getUnwrappedParent(Component
Returns the first ancestor of the
component which is not an instance of
JLayer.
|
Image |
RepaintManager.getVolatileOffscreenBuffer(Component
Return a volatile offscreen buffer that should be used as a double buffer with the specified component
c.
|
static Window |
SwingUtilities.getWindowAncestor(Component
Returns the first
Window ancestor of
c, or
null if
c is not contained inside a
Window.
|
static Spring |
Spring.height(Component
Returns a spring whose
minimum,
preferred,
maximum and
value properties are defined by the heights of the
minimumSize,
preferredSize,
maximumSize and
size properties of the supplied component.
|
int |
JTabbedPane.indexOfComponent(Component
Returns the index of the tab for the specified component.
|
int |
JTabbedPane.indexOfTabComponent(Component
Returns the index of the tab for the specified tab component.
|
void |
JPopupMenu.insert(Component
Inserts the specified component into the menu at a given position.
|
void |
JTextPane.insertComponent(Component
Inserts a component into the document as a replacement for the currently selected content.
|
void |
JTabbedPane.insertTab(String
Inserts a new tab for the given component, at the given index, represented by the given title and/or icon, either of which may be
null.
|
boolean |
MenuSelectionManager.isComponentPartOfCurrentMenu(Component
Return true if c is part of the currently used menu
|
static boolean |
SwingUtilities.isDescendingFrom(Component
Return
true if a component
a descends from a component
b
|
static boolean |
JComponent.isLightweightComponent(Component
Returns true if this component is lightweight, that is, if it doesn't have a native window system peer.
|
boolean |
JMenu.isMenuComponent(Component
Returns true if the specified component exists in the submenu hierarchy.
|
void |
GroupLayout.linkSize(Component
Forces the specified components to have the same size regardless of their preferred, minimum or maximum sizes.
|
void |
GroupLayout.linkSize(int axis, Component
Forces the specified components to have the same size along the specified axis regardless of their preferred, minimum or maximum sizes.
|
void |
JLayeredPane.moveToBack(Component
Moves the component to the bottom of the components in its current layer (position -1).
|
void |
JLayeredPane.moveToFront(Component
Moves the component to the top of the components in its current layer (position 0).
|
void |
CellRendererPane.paintComponent(Graphics
Calls this.paintComponent(g, c, p, x, y, w, h, false).
|
static void |
SwingUtilities.paintComponent(Graphics
Paints a component to the specified
Graphics.
|
void |
CellRendererPane.paintComponent(Graphics
Paint a cell renderer component c on graphics object g.
|
void |
CellRendererPane.paintComponent(Graphics
Calls this.paintComponent() with the rectangles x,y,width,height fields.
|
static void |
SwingUtilities.paintComponent(Graphics
Paints a component to the specified
Graphics.
|
void |
Icon.paintIcon(Component
Draw the icon at the specified location.
|
void |
ImageIcon.paintIcon(Component
Paints the icon.
|
void |
LookAndFeel.provideErrorFeedback(Component
Invoked when the user attempts an invalid operation, such as pasting into an uneditable
JTextField that has focus.
|
void |
SpringLayout.putConstraint(String
Links edge
e1 of component
c1 to edge
e2 of component
c2, with a fixed distance between the edges.
|
void |
SpringLayout.putConstraint(String
Links edge
e1 of component
c1 to edge
e2 of component
c2.
|
void |
JDesktopPane.remove(Component
Removes the specified component from this container.
|
void |
JSplitPane.remove(Component
Removes the child component,
component from the pane.
|
void |
JWindow.remove(Component
Removes the specified component from the container.
|
void |
JInternalFrame.remove(Component
Removes the specified component from the container.
|
void |
JLayer.remove(Component
Removes the specified component from this container.
|
void |
JDialog.remove(Component
Removes the specified component from the container.
|
void |
JViewport.remove(Component
Removes the
Viewports one lightweight child.
|
void |
JFrame.remove(Component
Removes the specified component from the container.
|
void |
JApplet.remove(Component
Removes the specified component from the container.
|
void |
JMenu.remove(Component
Removes the component
c from this menu.
|
void |
JTabbedPane.remove(Component
Removes the specified
Component from the
JTabbedPane.
|
void |
JRootPane.RootLayout.removeLayoutComponent(Component
|
void |
ViewportLayout.removeLayoutComponent(Component
Removes the specified component from the layout.
|
void |
ScrollPaneLayout.removeLayoutComponent(Component
Removes the specified component from the layout.
|
void |
BoxLayout.removeLayoutComponent(Component
Not used by this class.
|
void |
SpringLayout.removeLayoutComponent(Component
Removes the constraints associated with the specified component.
|
void |
JSpinner.DefaultEditor.removeLayoutComponent(Component
This
LayoutManager method does nothing.
|
void |
OverlayLayout.removeLayoutComponent(Component
Removes the specified component from the layout.
|
void |
GroupLayout.removeLayoutComponent(Component
Notification that a
Component has been removed from the parent container.
|
void |
GroupLayout.replace(Component
Replaces an existing component with a new one.
|
void |
JSplitPane.setBottomComponent(Component
Sets the component below, or to the right of the divider.
|
void |
JScrollPane.setColumnHeaderView(Component
Creates a column-header viewport if necessary, sets its view, and then adds the column-header viewport to the scrollpane.
|
void |
JTabbedPane.setComponentAt(int index, Component
Sets the component at
index to
component.
|
void |
JDesktopPane.setComponentZOrder(Component
Moves the specified component to the specified z-order index in the container.
|
void |
JScrollPane.setCorner(String
Adds a child that will appear in one of the scroll panes corners, if there's room.
|
void |
JRootPane.setGlassPane(Component
Sets a specified
Component to be the glass pane for this root pane.
|
void |
JWindow.setGlassPane(Component
Sets the
glassPane property.
|
void |
JInternalFrame.setGlassPane(Component
Sets this
JInternalFrame's
glassPane property.
|
void |
JDialog.setGlassPane(Component
Sets the
glassPane property.
|
void |
JFrame.setGlassPane(Component
Sets the
glassPane property.
|
void |
JApplet.setGlassPane(Component
Sets the glassPane property.
|
void |
RootPaneContainer.setGlassPane(Component
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 |
GroupLayout.setHonorsVisibility(Component
Sets whether the component's visibility is considered for sizing and positioning.
|
void |
JPopupMenu.setInvoker(Component
Sets the invoker of this popup menu -- the component in which the popup menu menu is to be displayed.
|
void |
JLabel.setLabelFor(Component
Set the component this is labelling.
|
void |
JLayeredPane.setLayer(Component
Sets the layer attribute on the specified component, making it the bottommost component in that layer.
|
void |
JLayeredPane.setLayer(Component
Sets the layer attribute for the specified component and also sets its position within that layer.
|
void |
JSplitPane.setLeftComponent(Component
Sets the component to the left (or above) the divider.
|
void |
JComponent.setNextFocusableComponent(Component
Deprecated.
As of 1.4, replaced by
FocusTraversalPolicy
|
void |
JLayeredPane.setPosition(Component
Moves the component to
position within its current layer, where 0 is the topmost position within the layer and -1 is the bottommost position.
|
void |
JSplitPane.setRightComponent(Component
Sets the component to the right (or below) the divider.
|
void |
JScrollPane.setRowHeaderView(Component
Creates a row-header viewport if necessary, sets its view and then adds the row-header viewport to the scrollpane.
|
void |
JPopupMenu.setSelected(Component
Sets the currently selected component, This will result in a change to the selection model.
|
void |
JMenuBar.setSelected(Component
Sets the currently selected component, producing a a change to the selection model.
|
void |
JTabbedPane.setSelectedComponent(Component
Sets the selected component for this tabbedpane.
|
void |
JTabbedPane.setTabComponentAt(int index, Component
Sets the component that is responsible for rendering the title for the specified tab.
|
void |
JSplitPane.setTopComponent(Component
Sets the component above, or to the left of the divider.
|
void |
JViewport.setView(Component
Sets the
JViewport's one lightweight child (
view), which can be
null.
|
void |
JScrollPane.setViewportView(Component
Creates a viewport if necessary and then sets its view.
|
void |
JPopupMenu.show(Component
Displays the popup menu at the position x,y in the coordinate space of the component invoker.
|
static int |
JOptionPane.showConfirmDialog(Component
Brings up a dialog with the options
Yes,
No and
Cancel; with the title,
Select an Option.
|
static int |
JOptionPane.showConfirmDialog(Component
Brings up a dialog where the number of choices is determined by the
optionType parameter.
|
static int |
JOptionPane.showConfirmDialog(Component
Brings up a dialog where the number of choices is determined by the
optionType parameter, where the
messageType parameter determines the icon to display.
|
static int |
JOptionPane.showConfirmDialog(Component
Brings up a dialog with a specified icon, where the number of choices is determined by the
optionType parameter.
|
int |
JFileChooser.showDialog(Component
Pops a custom file chooser dialog with a custom approve button.
|
static Color |
JColorChooser.showDialog(Component
Shows a modal color-chooser dialog and blocks until the dialog is hidden.
|
static String |
JOptionPane.showInputDialog(Component
Shows a question-message dialog requesting input from the user parented to
parentComponent.
|
static String |
JOptionPane.showInputDialog(Component
Shows a question-message dialog requesting input from the user and parented to
parentComponent.
|
static String |
JOptionPane.showInputDialog(Component
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
Prompts the user for input in a blocking dialog where the initial selection, possible selections, and all other options can be specified.
|
static int |
JOptionPane.showInternalConfirmDialog(Component
Brings up an internal dialog panel with the options
Yes,
No and
Cancel; with the title,
Select an Option.
|
static int |
JOptionPane.showInternalConfirmDialog(Component
Brings up a internal dialog panel where the number of choices is determined by the
optionType parameter.
|
static int |
JOptionPane.showInternalConfirmDialog(Component
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
Brings up an internal dialog panel with a specified icon, where the number of choices is determined by the
optionType parameter.
|
static String |
JOptionPane.showInternalInputDialog(Component
Shows an internal question-message dialog requesting input from the user parented to
parentComponent.
|
static String |
JOptionPane.showInternalInputDialog(Component
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
Prompts the user for input in a blocking internal dialog where the initial selection, possible selections, and all other options can be specified.
|
static void |
JOptionPane.showInternalMessageDialog(Component
Brings up an internal confirmation dialog panel.
|
static void |
JOptionPane.showInternalMessageDialog(Component
Brings up an internal dialog panel that displays a message using a default icon determined by the
messageType parameter.
|
static void |
JOptionPane.showInternalMessageDialog(Component
Brings up an internal dialog panel displaying a message, specifying all parameters.
|
static int |
JOptionPane.showInternalOptionDialog(Component
Brings up an internal dialog panel with a specified icon, where the initial choice is determined by the
initialValue parameter and the number of choices is determined by the
optionType parameter.
|
static void |
JOptionPane.showMessageDialog(Component
Brings up an information-message dialog titled "Message".
|
static void |
JOptionPane.showMessageDialog(Component
Brings up a dialog that displays a message using a default icon determined by the
messageType parameter.
|
static void |
JOptionPane.showMessageDialog(Component
Brings up a dialog displaying a message, specifying all parameters.
|
int |
JFileChooser.showOpenDialog(Component
Pops up an "Open File" file chooser dialog.
|
static int |
JOptionPane.showOptionDialog(Component
Brings up a dialog with a specified icon, where the initial choice is determined by the
initialValue parameter and the number of choices is determined by the
optionType parameter.
|
int |
JFileChooser.showSaveDialog(Component
Pops up a "Save File" file chooser dialog.
|
static void |
SwingUtilities.updateComponentTreeUI(Component
A simple minded look and feel change: ask each node in the tree to
updateUI() -- that is, to initialize its UI property with the current look and feel.
|
static Spring |
Spring.width(Component
Returns a spring whose
minimum,
preferred,
maximum and
value properties are defined by the widths of the
minimumSize,
preferredSize,
maximumSize and
size properties of the supplied component.
|
static Window |
SwingUtilities.windowForComponent(Component
Returns the first
Window ancestor of
c, or
null if
c is not contained inside a
Window.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SortingFocusTraversalPolicy.setComparator(Comparator
Sets the Comparator which will be used to sort the Components in a focus traversal cycle.
|
| Constructor and Description | |
|---|---|
Constraints(Component
Creates a
Constraints object with suitable
x,
y,
width and
height springs for component,
c.
|
|
JScrollPane(Component
Creates a
JScrollPane that displays the contents of the specified component, where both horizontal and vertical scrollbars appear whenever the component's contents are larger than the view.
|
|
JScrollPane(Component
Creates a
JScrollPane that displays the view component in a viewport whose view position can be controlled with a pair of scrollbars.
|
|
JSplitPane(int newOrientation, boolean newContinuousLayout, Component
Creates a new
JSplitPane with the specified orientation and redrawing style, and with the specified components.
|
|
JSplitPane(int newOrientation, Component
Creates a new
JSplitPane with the specified orientation and the specified components.
|
|
Popup(Component
Creates a
Popup for the Component
owner containing the Component
contents.
|
|
ProgressMonitor(Component
Constructs a graphic object that shows progress, typically by filling in a rectangular bar as the process nears completion.
|
|
ProgressMonitorInputStream(Component
Constructs an object to monitor the progress of an input stream.
|
|
TransferSupport(Component
Create a
TransferSupport with
isDrop()
false for the given component and
Transferable.
|
| Constructor and Description | |
|---|---|
SortingFocusTraversalPolicy(Comparator
Constructs a SortingFocusTraversalPolicy with the specified Comparator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TitledBorder.getBaseline(Component
Returns the baseline.
|
int |
AbstractBorder.getBaseline(Component
Returns the baseline.
|
Component |
TitledBorder.getBaselineResizeBehavior(Component
Returns an enum indicating how the baseline of the border changes as the size changes.
|
Component |
AbstractBorder.getBaselineResizeBehavior(Component
Returns an enum indicating how the baseline of a component changes as the size changes.
|
Insets |
AbstractBorder.getBorderInsets(Component
This default implementation returns a new
Insets object that is initialized by the
AbstractBorder method.
|
Insets |
Border.getBorderInsets(Component
Returns the insets of the border.
|
Insets |
StrokeBorder.getBorderInsets(Component
Reinitializes the
insets parameter with this border's current insets.
|
Insets |
TitledBorder.getBorderInsets(Component
Reinitialize the insets parameter with this Border's current Insets.
|
Insets |
AbstractBorder.getBorderInsets(Component
Reinitializes the insets parameter with this Border's current Insets.
|
Insets |
EtchedBorder.getBorderInsets(Component
Reinitialize the insets parameter with this Border's current Insets.
|
Insets |
EmptyBorder.getBorderInsets(Component
Reinitialize the insets parameter with this Border's current Insets.
|
Insets |
CompoundBorder.getBorderInsets(Component
Reinitialize the insets parameter with this Border's current Insets.
|
Insets |
SoftBevelBorder.getBorderInsets(Component
Reinitialize the insets parameter with this Border's current Insets.
|
Insets |
LineBorder.getBorderInsets(Component
Reinitialize the insets parameter with this Border's current Insets.
|
Insets |
BevelBorder.getBorderInsets(Component
Reinitialize the insets parameter with this Border's current Insets.
|
Insets |
MatteBorder.getBorderInsets(Component
Reinitialize the insets parameter with this Border's current Insets.
|
protected Font |
TitledBorder.getFont(Component
|
Color |
EtchedBorder.getHighlightColor(Component
Returns the highlight color of the etched border when rendered on the specified component.
|
Color |
BevelBorder.getHighlightInnerColor(Component
Returns the inner highlight color of the bevel border when rendered on the specified component.
|
Color |
BevelBorder.getHighlightOuterColor(Component
Returns the outer highlight color of the bevel border when rendered on the specified component.
|
static Rectangle |
AbstractBorder.getInteriorRectangle(Component
Returns a rectangle using the arguments minus the insets of the border.
|
Rectangle |
AbstractBorder.getInteriorRectangle(Component
This convenience method calls the static method.
|
Dimension |
TitledBorder.getMinimumSize(Component
Returns the minimum dimensions this border requires in order to fully display the border and title.
|
Color |
EtchedBorder.getShadowColor(Component
Returns the shadow color of the etched border when rendered on the specified component.
|
Color |
BevelBorder.getShadowInnerColor(Component
Returns the inner shadow color of the bevel border when rendered on the specified component.
|
Color |
BevelBorder.getShadowOuterColor(Component
Returns the outer shadow color of the bevel border when rendered on the specified component.
|
void |
StrokeBorder.paintBorder(Component
Paints the border for the specified component with the specified position and size.
|
void |
TitledBorder.paintBorder(Component
Paints the border for the specified component with the specified position and size.
|
void |
AbstractBorder.paintBorder(Component
This default implementation does no painting.
|
void |
EtchedBorder.paintBorder(Component
Paints the border for the specified component with the specified position and size.
|
void |
EmptyBorder.paintBorder(Component
Does no drawing by default.
|
void |
Border.paintBorder(Component
Paints the border for the specified component with the specified position and size.
|
void |
CompoundBorder.paintBorder(Component
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.
|
void |
SoftBevelBorder.paintBorder(Component
Paints the border for the specified component with the specified position and size.
|
void |
LineBorder.paintBorder(Component
Paints the border for the specified component with the specified position and size.
|
void |
BevelBorder.paintBorder(Component
Paints the border for the specified component with the specified position and size.
|
void |
MatteBorder.paintBorder(Component
Paints the matte border.
|
protected void |
BevelBorder.paintLoweredBevel(Component
|
protected void |
BevelBorder.paintRaisedBevel(Component
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractColorChooserPanel
This is the abstract superclass for color choosers.
|
| Constructor and Description | |
|---|---|
MenuDragMouseEvent(Component
Constructs a MenuDragMouseEvent object.
|
|
MenuDragMouseEvent(Component
Constructs a MenuDragMouseEvent object.
|
|
MenuKeyEvent(Component
Constructs a MenuKeyEvent object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LayerUI<V extends Component
The base class for all
JLayer's UI delegates.
|
| Modifier and Type | Method and Description |
|---|---|
Insets |
BorderUIResource.getBorderInsets(Component
|
void |
BorderUIResource.paintBorder(Component
|
void |
IconUIResource.paintIcon(Component
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicArrowButton
JButton object that draws a scaled Arrow in one of the cardinal directions.
|
class |
BasicComboBoxRenderer
ComboBox renderer
|
static class |
BasicComboBoxRenderer
A subclass of BasicComboBoxRenderer that implements UIResource.
|
class |
BasicComboPopup
This is a basic implementation of the
ComboPopup interface.
|
class |
BasicInternalFrameTitlePane
The class that manages a basic title bar
|
class |
BasicInternalFrameTitlePane
This class should be treated as a "protected" inner class.
|
class |
BasicSplitPaneDivider
Divider used by BasicSplitPaneUI.
|
protected class |
BasicToolBarUI
|
| Modifier and Type | Field and Description |
|---|---|
protected Component |
BasicSplitPaneUI.BasicHorizontalLayoutManager.components
|
protected Component |
BasicTreeUI.MouseInputHandler.destination
Destination that receives all events.
|
protected Component |
BasicTreeUI.editingComponent
When editing, this will be the Component that is doing the actual editing.
|
protected Component |
BasicComboBoxUI.editor
|
protected Component |
BasicSplitPaneDivider.hiddenDivider
Divider that is used for noncontinuous layout mode.
|
protected Component |
BasicOptionPaneUI.initialFocusComponent
Component to receive focus when messaged with selectInitialValue.
|
protected Component |
BasicSplitPaneUI.nonContinuousLayoutDivider
Instance for the shadow of the divider when non continuous layout is being used.
|
protected Component |
BasicTreeUI.MouseInputHandler.source
Source that events are coming from.
|
Component |
BasicMenuUI.ChangeHandler.wasFocused
|
| Modifier and Type | Method and Description |
|---|---|
protected Component |
BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider()
Returns the default non continuous layout divider, which is an instance of
Canvas that fills in the background with dark gray.
|
protected Component |
BasicSpinnerUI.createNextButton()
Creates an increment button, i.e.
|
protected Component |
BasicSpinnerUI.createPreviousButton()
Creates a decrement button, i.e.
|
Component |
BasicComboBoxEditor.getEditorComponent()
|
protected Component |
BasicSliderUI.getHighestValueLabel()
Returns the label that corresponds to the lowest slider value in the label table.
|
Component |
BasicComboBoxRenderer.getListCellRendererComponent(JList
|
protected Component |
BasicSliderUI.getLowestValueLabel()
Returns the label that corresponds to the highest slider value in the label table.
|
Component |
BasicSplitPaneUI.getNonContinuousLayoutDivider()
Returns the divider to use when the splitPane is configured to not continuously layout.
|
protected Component |
BasicTabbedPaneUI.getVisibleComponent()
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(Component
Adds the specified component to the layout, using the specified constraint object.
|
void |
BasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String
|
void |
BasicOptionPaneUI.ButtonAreaLayout.addLayoutComponent(String
|
void |
BasicTabbedPaneUI.TabbedPaneLayout.addLayoutComponent(String
|
void |
BasicSplitPaneDivider.DividerLayout.addLayoutComponent(String
|
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(String
Adds the component at place.
|
void |
BasicComboBoxUI.ComboBoxLayoutManager.addLayoutComponent(String
|
void |
BasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String
|
void |
BasicScrollBarUI.addLayoutComponent(String
|
boolean |
BasicToolBarUI.canDock(Component
|
protected void |
BasicTreeUI.drawCentered(Component
|
Insets |
BasicBorders.SplitPaneBorder.getBorderInsets(Component
|
Insets |
BasicBorders.ButtonBorder.getBorderInsets(Component
|
Insets |
BasicBorders.ToggleButtonBorder.getBorderInsets(Component
|
Insets |
BasicBorders.RadioButtonBorder.getBorderInsets(Component
|
Insets |
BasicBorders.MenuBarBorder.getBorderInsets(Component
|
Insets |
BasicBorders.MarginBorder.getBorderInsets(Component
|
Insets |
BasicBorders.FieldBorder.getBorderInsets(Component
|
protected int |
BasicSplitPaneUI.BasicHorizontalLayoutManager.getPreferredSizeOfComponent(Component
Returns the width of the passed in Components preferred size.
|
protected Dimension |
BasicComboBoxUI.getSizeForComponent(Component
Returns the size a component would have if used as a cell renderer.
|
protected int |
BasicSplitPaneUI.BasicHorizontalLayoutManager.getSizeOfComponent(Component
Returns the width of the passed in component.
|
protected void |
BasicSpinnerUI.installNextButtonListeners(Component
Installs the necessary listeners on the next button,
c, to update the
JSpinner in response to a user gesture.
|
protected void |
BasicSpinnerUI.installPreviousButtonListeners(Component
Installs the necessary listeners on the previous button,
c, to update the
JSpinner in response to a user gesture.
|
void |
BasicBorders.RolloverButtonBorder.paintBorder(Component
|
void |
BasicBorders.ButtonBorder.paintBorder(Component
|
void |
BasicBorders.ToggleButtonBorder.paintBorder(Component
|
void |
BasicBorders.RadioButtonBorder.paintBorder(Component
|
void |
BasicBorders.MenuBarBorder.paintBorder(Component
|
void |
BasicBorders.FieldBorder.paintBorder(Component
|
void |
BasicBorders.SplitPaneBorder.paintBorder(Component
|
protected void |
BasicSliderUI.paintHorizontalLabel(Graphics
Called for every label in the label table.
|
protected void |
BasicSliderUI.paintVerticalLabel(Graphics
Called for every label in the label table.
|
void |
BasicInternalFrameUI.InternalFrameLayout.removeLayoutComponent(Component
|
void |
BasicOptionPaneUI.ButtonAreaLayout.removeLayoutComponent(Component
|
void |
BasicTabbedPaneUI.TabbedPaneLayout.removeLayoutComponent(Component
|
void |
BasicSplitPaneDivider.DividerLayout.removeLayoutComponent(Component
|
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.removeLayoutComponent(Component
Removes the specified component from our knowledge.
|
void |
BasicComboBoxUI.ComboBoxLayoutManager.removeLayoutComponent(Component
|
void |
BasicInternalFrameTitlePane.TitlePaneLayout.removeLayoutComponent(Component
|
void |
BasicScrollBarUI.removeLayoutComponent(Component
|
protected void |
BasicToolBarUI.setBorderToNonRollover(Component
Sets the border of the component to have a non-rollover border which was created by the
BasicToolBarUI method.
|
protected void |
BasicToolBarUI.setBorderToNormal(Component
Sets the border of the component to have a normal border.
|
protected void |
BasicToolBarUI.setBorderToRollover(Component
Sets the border of the component to have a rollover border which was created by the
BasicToolBarUI method.
|
protected void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.setComponentToSize(Component
Sets the width of the component c to be size, placing its x location at location, y to the insets.top and height to the containersize.height less the top and bottom insets.
|
protected void |
BasicSplitPaneUI.setNonContinuousLayoutDivider(Component
Sets the divider to use when the splitPane is configured to not continuously layout.
|
protected void |
BasicSplitPaneUI.setNonContinuousLayoutDivider(Component
Sets the divider to use.
|
protected void |
BasicTabbedPaneUI.setVisibleComponent(Component
|
| Constructor and Description | |
|---|---|
MouseInputHandler(Component
|
| Modifier and Type | Class and Description |
|---|---|
class |
MetalComboBoxButton
JButton subclass to help out MetalComboBoxUI
|
class |
MetalComboBoxUI
Deprecated.
As of Java 2 platform v1.4.
|
protected class |
MetalFileChooserUI
|
class |
MetalFileChooserUI
Render different type sizes and styles.
|
class |
MetalInternalFrameTitlePane
Class that manages a JLF title bar
|
class |
MetalScrollButton
JButton object for Metal scrollbar arrows.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
MetalFileChooserUI.FilterComboBoxRenderer.getListCellRendererComponent(JList
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MetalCheckBoxIcon.drawCheck(Component
|
Insets |
MetalBorders.Flush3DBorder.getBorderInsets(Component
|
Insets |
MetalBorders.ButtonBorder.getBorderInsets(Component
|
Insets |
MetalBorders.InternalFrameBorder.getBorderInsets(Component
|
Insets |
MetalBorders.PaletteBorder.getBorderInsets(Component
|
Insets |
MetalBorders.OptionDialogBorder.getBorderInsets(Component
|
Insets |
MetalBorders.MenuBarBorder.getBorderInsets(Component
|
Insets |
MetalBorders.MenuItemBorder.getBorderInsets(Component
|
Insets |
MetalBorders.PopupMenuBorder.getBorderInsets(Component
|
Insets |
MetalBorders.ToolBarBorder.getBorderInsets(Component
|
Insets |
MetalBorders.ScrollPaneBorder.getBorderInsets(Component
|
Insets |
MetalBorders.TableHeaderBorder.getBorderInsets(Component
|
void |
MetalBorders.Flush3DBorder.paintBorder(Component
|
void |
MetalBorders.ButtonBorder.paintBorder(Component
|
void |
MetalBorders.InternalFrameBorder.paintBorder(Component
|
void |
MetalBorders.PaletteBorder.paintBorder(Component
|
void |
MetalBorders.OptionDialogBorder.paintBorder(Component
|
void |
MetalBorders.MenuBarBorder.paintBorder(Component
|
void |
MetalBorders.MenuItemBorder.paintBorder(Component
|
void |
MetalBorders.PopupMenuBorder.paintBorder(Component
|
void |
MetalBorders.RolloverButtonBorder.paintBorder(Component
|
void |
MetalBorders.ToolBarBorder.paintBorder(Component
|
void |
MetalBorders.TextFieldBorder.paintBorder(Component
|
void |
MetalBorders.ScrollPaneBorder.paintBorder(Component
|
void |
MetalBorders.ToggleButtonBorder.paintBorder(Component
|
void |
MetalBorders.TableHeaderBorder.paintBorder(Component
|
void |
MetalCheckBoxIcon.paintIcon(Component
|
void |
MetalComboBoxIcon.paintIcon(Component
Paints the horizontal bars for the
|
void |
MetalIconFactory.PaletteCloseIcon.paintIcon(Component
|
void |
MetalIconFactory.FolderIcon16.paintIcon(Component
|
void |
MetalIconFactory.FileIcon16.paintIcon(Component
|
void |
MetalIconFactory.TreeControlIcon.paintIcon(Component
|
void |
MetalIconFactory.TreeControlIcon.paintMe(Component
|
void |
MetalLookAndFeel.provideErrorFeedback(Component
Invoked when the user attempts an invalid operation, such as pasting into an uneditable
JTextField that has focus.
|
protected void |
MetalToolBarUI.setBorderToNonRollover(Component
|
| Modifier and Type | Method and Description |
|---|---|
protected Component |
SynthSplitPaneUI.createDefaultNonContinuousLayoutDivider()
Returns the default non continuous layout divider, which is an instance of
Canvas that fills in the background with dark gray.
|
protected Component |
SynthSpinnerUI.createNextButton()
Creates an increment button, i.e.
|
protected Component |
SynthSpinnerUI.createPreviousButton()
Creates a decrement button, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SynthTreeUI.drawCentered(Component
|
protected void |
SynthToolBarUI.setBorderToNonRollover(Component
This implementation does nothing, because the
rollover property of the
JToolBar class is not used in the Synth Look and Feel.
|
protected void |
SynthToolBarUI.setBorderToNormal(Component
This implementation does nothing, because the
rollover property of the
JToolBar class is not used in the Synth Look and Feel.
|
protected void |
SynthToolBarUI.setBorderToRollover(Component
This implementation does nothing, because the
rollover property of the
JToolBar class is not used in the Synth Look and Feel.
|
static void |
SynthLookAndFeel.updateStyles(Component
Updates the style associated with
c, and all its children.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTableCellRenderer
The standard class for rendering (displaying) individual cells in a
JTable.
|
static class |
DefaultTableCellRenderer
A subclass of
DefaultTableCellRenderer that implements
UIResource.
|
class |
JTableHeader
This is the object which manages the header of the
JTable.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
TableCellEditor.getTableCellEditorComponent(JTable
Sets an initial
value for the editor.
|
Component |
TableCellRenderer.getTableCellRendererComponent(JTable
Returns the component used for drawing the cell.
|
Component |
DefaultTableCellRenderer.getTableCellRendererComponent(JTable
Returns the default table cell renderer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JTextComponent
JTextComponent is the base class for swing text components.
|
| Modifier and Type | Method and Description |
|---|---|
protected Component |
ComponentView.createComponent()
Create the component that is associated with this view.
|
Component |
ComponentView.getComponent()
Fetch the component associated with the view.
|
static Component |
StyleConstants.getComponent(AttributeSet
Gets the component setting from the attribute list.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PlainView.damageLineRange(int line0, int line1, Shape
Repaint the given line range.
|
static void |
StyleConstants.setComponent(MutableAttributeSet
Sets the component attribute.
|
| Modifier and Type | Method and Description |
|---|---|
protected Component |
FormView.createComponent()
Create the component.
|
protected Component |
ObjectView.createComponent()
Create the component.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTreeCellEditor
TextField used when no editor is supplied.
|
class |
DefaultTreeCellEditor
Container responsible for placing the
editingComponent.
|
class |
DefaultTreeCellRenderer
Displays an entry in a tree.
|
| Modifier and Type | Field and Description |
|---|---|
protected Component |
DefaultTreeCellEditor.editingComponent
Component used in editing, obtained from the
editingContainer.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
DefaultTreeCellEditor.getTreeCellEditorComponent(JTree
Configures the editor.
|
Component |
TreeCellEditor.getTreeCellEditorComponent(JTree
Sets an initial
value for the editor.
|
Component |
DefaultTreeCellRenderer.getTreeCellRendererComponent(JTree
Configures the renderer based on the passed in components.
|
Component |
TreeCellRenderer.getTreeCellRendererComponent(JTree
Sets the value of the current tree cell to
value.
|