|
JSR-209 (Final Approval Ballot) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JComponent | |
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.event | Provides for events fired by Swing components. |
javax.swing.plaf | Provides the basis for the implementation of Swing pluggable look-and-feel capabilities for AGUI. |
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. |
Uses of JComponent in javax.swing |
Subclasses of JComponent 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 |
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 |
JComboBox
A component that combines a button or editable field and a drop-down list. |
class |
JDesktopPane
A container used to create a multiple-document interface or a virtual desktop. |
class |
JEditorPane
A text component to edit various kinds of content. |
class |
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 |
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. |
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 JMenuItem s 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. |
class |
JProgressBar
A component that, by default, displays an integer value within a bounded interval. |
class |
JRadioButton
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user. |
class |
JRadioButtonMenuItem
An implementation of a radio button menu item. |
class |
JRootPane
A lightweight container used behind the scenes by JInternalFrame . |
class |
JScrollBar
An implementation of a scrollbar. |
class |
JScrollPane
Provides a scrollable view of a lightweight component. |
protected class |
JScrollPane.ScrollBar
By default JScrollPane creates scrollbars
that are instances
of this class. |
class |
JSeparator
JSeparator provides a general purpose component for
implementing divider lines - most commonly used as a divider
between menu items that breaks them up into logical groupings. |
class |
JSlider
A component that lets the user graphically select a value by sliding a knob within a bounded interval. |
class |
JSpinner
A single line input field that lets the user select a number or an object value from an ordered sequence. |
static class |
JSpinner.DateEditor
An editor for a JSpinner whose model is a
SpinnerDateModel . |
static class |
JSpinner.DefaultEditor
A simple base class for more specialized editors that displays a read-only view of the model's current value with a JFormattedTextField |
static class |
JSpinner.ListEditor
An editor for a JSpinner whose model is a
SpinnerListModel . |
static class |
JSpinner.NumberEditor
An editor for a JSpinner whose model is a
SpinnerNumberModel . |
class |
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 |
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. |
Methods in javax.swing that return JComponent | |
protected JComponent |
JSpinner.createEditor(SpinnerModel model)
This method is called by the constructors to create the JComponent
that displays the current value of the sequence. |
JComponent |
JSpinner.getEditor()
Returns the component that displays and potentially changes the model's value. |
JComponent |
ComponentInputMap.getComponent()
Returns the component the InputMap was created for. |
Methods in javax.swing with parameters of type JComponent | |
static Rectangle |
SwingUtilities.calculateInnerArea(JComponent c,
Rectangle r)
Stores the position and size of the inner painting area of the specified component in r and returns r . |
void |
JSpinner.setEditor(JComponent editor)
Changes the JComponent that displays the current value
of the SpinnerModel . |
static void |
JLayeredPane.putLayer(JComponent c,
int layer)
Sets the layer property on a JComponent. |
static int |
JLayeredPane.getLayer(JComponent c)
Gets the layer property for a JComponent, it does not cause any side effects like setLayer(). |
abstract boolean |
InputVerifier.verify(JComponent input)
Checks whether the JComponent's input is valid. |
boolean |
InputVerifier.shouldYieldFocus(JComponent input)
Calls verify(input) to ensure that the input is valid. |
Constructors in javax.swing with parameters of type JComponent | |
ComponentInputMap(JComponent component)
Creates a ComponentInputMap associated with the
specified component. |
Uses of JComponent in javax.swing.event |
Methods in javax.swing.event that return JComponent | |
JComponent |
AncestorEvent.getComponent()
Returns the component that the listener was added to. |
Constructors in javax.swing.event with parameters of type JComponent | |
AncestorEvent(JComponent source,
int id,
java.awt.Container ancestor,
java.awt.Container ancestorParent)
Constructs an AncestorEvent object to identify a change in an ancestor-component's display-status. |
Uses of JComponent in javax.swing.plaf |
Methods in javax.swing.plaf with parameters of type JComponent | |
void |
ComponentUI.installUI(JComponent c)
Configures the specified component appropriate for the look and feel. |
void |
ComponentUI.uninstallUI(JComponent c)
Reverses configuration which was done on the specified component during installUI . |
void |
ComponentUI.paint(java.awt.Graphics g,
JComponent c)
Paints the specified component appropriate for the look and feel. |
void |
ComponentUI.update(java.awt.Graphics g,
JComponent c)
Notifies this UI delegate that it's time to paint the specified component. |
Dimension |
ComponentUI.getPreferredSize(JComponent c)
Returns the specified component's preferred size appropriate for the look and feel. |
Dimension |
ComponentUI.getMinimumSize(JComponent c)
Returns the specified component's minimum size appropriate for the look and feel. |
Dimension |
ComponentUI.getMaximumSize(JComponent c)
Returns the specified component's maximum size appropriate for the look and feel. |
boolean |
ComponentUI.contains(JComponent c,
int x,
int y)
Returns true if the specified x,y location is
contained within the look and feel's defined shape of the specified
component. |
static ComponentUI |
ComponentUI.createUI(JComponent c)
Returns an instance of the UI delegate for the specified component. |
Uses of JComponent in javax.swing.table |
Subclasses of JComponent in javax.swing.table | |
class |
JTableHeader
This is the object which manages the header of the JTable . |
Uses of JComponent in javax.swing.text |
Subclasses of JComponent in javax.swing.text | |
class |
JTextComponent
JTextComponent is the base class for swing text
components. |
|
JSR-209 (Final Approval Ballot) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |