站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Package javax.swing - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Package
javax.swing

Packages that use javax.swing
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.filechooser Contains classes and interfaces used by the JFileChooser component. 
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
javax.swing.plaf.multi The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. 
javax.swing.table Provides classes and interfaces for dealing with java.awt.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 java.awt.swing.JTree. 
 

Classes in javax.swing used by javax.swing
AbstractButton
          Defines the common behaviors for the JButton, JToggleButton, JCheckbox, and the JRadioButton classes.
AbstractButton.AccessibleAbstractButton
          Accessiblity support.
AbstractListModel
          The Abstract definition for the data model the provides a List with its contents.
Action
          The JFC Action interface provides a useful extension to the ActionListner interface in cases where the same functionality may be accessed by several controls.
BoundedRangeModel
          Defines the data model used by components like Sliders and ProgressBars.
Box
          A lightweight container that uses a BoxLayout object as its layout manager.
Box.Filler
          An implementation of a lightweight component that participates in layout but has no view.
ButtonGroup
          This class is used to create a multiple-exclusion scope for a set of buttons.
ButtonModel
          State Model for buttons.
CellEditor
          This interface defines the methods any general editor should be able to implement.
CellRendererPane
          This class is inserted in between cell renderers and the components that use them.
ComboBoxEditor
          The editor component used for JComboBox components.
ComboBoxModel
          ComboBoxDataModel is a ListDataModel with a selected item This selected item is in the model since it is not always in the item list.
DefaultButtonModel
          The default implementation of a Button component's data model.
DefaultCellEditor
          The default editor for table and tree cells.
DefaultCellEditor.EditorDelegate
           
DefaultListCellRenderer
          Renders an item in a list.
DesktopManager
          DesktopManager objects are owned by a JDesktopPane object.
FocusManager
          Swing Focus Manager
Icon
          A small fixed size picture, typically used to decorate components.
JApplet
          An extended version of java.applet.Applet that adds support for interposing input and painting behavior in front of the applets children (see glassPane), support for special children that are managed by a LayeredPane (see rootPane) and for Swing MenuBars.
JButton
          An implementation of a "push" button.
JCheckBox
          An implementation of a CheckBox -- an item that can be selected or deselected, and which displays its state to the user.
JCheckBoxMenuItem
          A menu item that can be selected or deselected.
JColorChooser
          JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
JComboBox
          Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it.
JComboBox.KeySelectionManager
          The interface that defines a KeySelectionManager.
JComponent
          The base class for the Swing components.
JComponent.AccessibleJComponent
          Inner class of JComponent used to provide default support for accessibility.
JDesktopPane
          A container used to create a multiple-document interface or a virtual desktop.
JDialog
          The main class for creating a dialog window.
JEditorPane
          A text component to edit various kinds of content.
JEditorPane.AccessibleJEditorPane
          The class used to obtain the accessible role for this object.
JEditorPane.JEditorPaneAccessibleHypertextSupport
          What's returned by AccessibleJEditorPaneHTML.getAccessibleText() Provides support for AccessibleHypertext in case there is an HTML document being displayed in this JEditorPane.
JFileChooser
          JFileChooser provides a simple mechanism for the user to chooser a file.
JFrame
          An extended version of java.awt.Frame that adds support for interposing input and painting behavior in front of the frame's children (see glassPane), support for special children that are managed by a LayeredPane (see rootPane) and for Swing MenuBars.
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.
JInternalFrame.JDesktopIcon
          This component represents an iconified version of a JInternalFrame.
JLabel
          A display area for a short text string or an image, or both.
JLayeredPane
          JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
JList
          A component that allows the user to select one or more objects from a list.
JList.AccessibleJList
          The class used to obtain the accessible role for this object.
JMenu
          An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
JMenu.WinListener
          A listener class that watches for a popup window closing.
JMenuBar
          An implementation of a MenuBar.
JMenuItem
          An implementation of a MenuItem.
JMenuItem.AccessibleJMenuItem
          The class used to obtain the accessible role for this object.
JOptionPane
          JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
JPanel
          JPanel is a generic lightweight container.
JPasswordField
          JPasswordField is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.
JPopupMenu
          An implementation of a Popup Menu -- a small window which pops up and displays a series of choices.
JProgressBar
          A component that displays an integer value within a bounded interval.
JRadioButton
          An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
JRadioButtonMenuItem
          An implementation of a RadioButtonMenuItem.
JRootPane
          The fundamental component in the container hierarchy.
JScrollBar
          An implementation of a scrollbar.
JScrollPane
          A specialized container that manages a viewport, optional vertical and horizontal scrollbars, and optional row and column heading viewports.
JSeparator
          An implementation of a Menu Separator -- a divider between menu items that breaks them up into logical groupings.
JSlider
          A component that lets the user graphically select a value by slding a knob within a bounded interval.
JSplitPane
          JSplitPane is used to divide two (and only two) Components.
JTabbedPane
          A component which lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
JTable
          JTable is a user-interface component that presents data in a two-dimensional table format.
JTable.AccessibleJTable
          The class used to obtain the accessible role for this object.
JTextArea
          A TextArea is a multi-line area that displays plain text.
JTextField
          JTextField is a lightweight component that allows the editing of a single line of text.
JTextField.AccessibleJTextField
          The class used to obtain the accessible role for this object.
JToggleButton
          An implementation of a two-state button.
JToggleButton.AccessibleJToggleButton
          The class used to obtain the accessible role for this object.
JToolBar
          JToolBar provides a component which is useful for displaying commonly used Actions or controls.
JToolTip
          Used to display a "Tip" for a Component.
JTree
          A control that displays a set of hierarchical data as an outline.
JTree.AccessibleJTree
          The class used to obtain the accessible role for this object.
JTree.EmptySelectionModel
          EmptySelectionModel is a TreeSelectionModel that does not allow anything to be selected.
JTree.TreeSelectionRedirector
          Handles creating a new TreeSelectionEvent with the JTree as the source and passing it off to all the listeners.
JViewport
          The "viewport" or "porthole" through which you see the underlying information.
JViewport.ViewListener
          A listener for the view.
JWindow
          A JWindow is a container that can be displayed anywhere on the user's desktop.
KeyStroke
          A KeyStroke instance represents a key being typed on the keyboard -- it contains both a char code for the key and a modifier (alt, shift, ctrl, meta, or a combination).
ListCellRenderer
          Identifies components that can be used as "rubber stamps" to paint the cells in a JList.
ListModel
          This interface defines the methods components like JList use to get the value of each cell in a list and the length of the list.
ListSelectionModel
          This interface represents the current state of the selection for any of the components that display a list of values with stable indices.
LookAndFeel
          Completely characterizes a look and feel from the point of view of the pluggable look and feel components.
MenuElement
          Any component that can be placed into a menu should implement this interface.
MenuSelectionManager
          A MenuSelectionManager owns the selection in menu hierarchy.
MutableComboBoxModel
          A mutable version of ComboBoxModel.
ProgressMonitor
          A class to monitor the progress of some operation.
RepaintManager
          This class manages repaint requests, allowing the number of repaints to be minimized, for example by collapsing multiple requests into a single repaint for members of a component tree.
RootPaneContainer
          This interface is implemented by components that have a single JRootPane child: JDialog, JFrame, JWindow, JApplet, JInternalFrame.
Scrollable
          An interface that provides information to a scrolling container like JScrollPane.
ScrollPaneConstants
          Constants used with the JScrollPane component.
ScrollPaneLayout
          The layout manager used by JScrollPane.
SingleSelectionModel
          A model that supports at most one indexed selection.
SizeRequirements
          For the convenience of layout managers, calculates information about the size and position of components.
SwingConstants
          A collection of constants generally used for positioning and orienting components on the screen.
ToolTipManager
          Manages all the ToolTips in the system.
UIDefaults
          A table of defaults for Swing components.
UIManager.LookAndFeelInfo
          Provide a little information about an installed LookAndFeel for the sake of configuring a menu or for initial application set up.
UnsupportedLookAndFeelException
          An exception that indicates the request look & feel management classes are not present on the user's system.
WindowConstants
          Constants used to control the window-closing operation.
 

Classes in javax.swing used by javax.swing.border
Icon
          A small fixed size picture, typically used to decorate components.
 

Classes in javax.swing used by javax.swing.colorchooser
Icon
          A small fixed size picture, typically used to decorate components.
JColorChooser
          JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
JComponent
          The base class for the Swing components.
JPanel
          JPanel is a generic lightweight container.
 

Classes in javax.swing used by javax.swing.event
JComponent
          The base class for the Swing components.
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.
MenuElement
          Any component that can be placed into a menu should implement this interface.
MenuSelectionManager
          A MenuSelectionManager owns the selection in menu hierarchy.
 

Classes in javax.swing used by javax.swing.filechooser
Icon
          A small fixed size picture, typically used to decorate components.
 

Classes in javax.swing used by javax.swing.plaf
Icon
          A small fixed size picture, typically used to decorate components.
JComboBox
          Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it.
JComponent
          The base class for the Swing components.
JFileChooser
          JFileChooser provides a simple mechanism for the user to chooser a file.
JList
          A component that allows the user to select one or more objects from a list.
JOptionPane
          JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
JSplitPane
          JSplitPane is used to divide two (and only two) Components.
JTabbedPane
          A component which lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
JTree
          A control that displays a set of hierarchical data as an outline.
 

Classes in javax.swing used by javax.swing.plaf.basic
AbstractAction
          This class provides default implementations for the JFC Action interface.
AbstractButton
          Defines the common behaviors for the JButton, JToggleButton, JCheckbox, and the JRadioButton classes.
AbstractListModel
          The Abstract definition for the data model the provides a List with its contents.
Action
          The JFC Action interface provides a useful extension to the ActionListner interface in cases where the same functionality may be accessed by several controls.
BoxLayout
          A layout manager that allows multiple components to be layed out either vertically or horizontally.
CellRendererPane
          This class is inserted in between cell renderers and the components that use them.
ComboBoxEditor
          The editor component used for JComboBox components.
ComboBoxModel
          ComboBoxDataModel is a ListDataModel with a selected item This selected item is in the model since it is not always in the item list.
DesktopManager
          DesktopManager objects are owned by a JDesktopPane object.
Icon
          A small fixed size picture, typically used to decorate components.
JButton
          An implementation of a "push" button.
JComboBox
          Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it.
JComponent
          The base class for the Swing components.
JDesktopPane
          A container used to create a multiple-document interface or a virtual desktop.
JFileChooser
          JFileChooser provides a simple mechanism for the user to chooser a file.
JFrame
          An extended version of java.awt.Frame that adds support for interposing input and painting behavior in front of the frame's children (see glassPane), support for special children that are managed by a LayeredPane (see rootPane) and for Swing MenuBars.
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.
JInternalFrame.JDesktopIcon
          This component represents an iconified version of a JInternalFrame.
JLabel
          A display area for a short text string or an image, or both.
JList
          A component that allows the user to select one or more objects from a list.
JMenu
          An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
JMenuBar
          An implementation of a MenuBar.
JMenuItem
          An implementation of a MenuItem.
JOptionPane
          JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
JPanel
          JPanel is a generic lightweight container.
JPopupMenu
          An implementation of a Popup Menu -- a small window which pops up and displays a series of choices.
JProgressBar
          A component that displays an integer value within a bounded interval.
JScrollBar
          An implementation of a scrollbar.
JScrollPane
          A specialized container that manages a viewport, optional vertical and horizontal scrollbars, and optional row and column heading viewports.
JSeparator
          An implementation of a Menu Separator -- a divider between menu items that breaks them up into logical groupings.
JSlider
          A component that lets the user graphically select a value by slding a knob within a bounded interval.
JSplitPane
          JSplitPane is used to divide two (and only two) Components.
JTabbedPane
          A component which lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
JTable
          JTable is a user-interface component that presents data in a two-dimensional table format.
JTextField
          JTextField is a lightweight component that allows the editing of a single line of text.
JToolBar
          JToolBar provides a component which is useful for displaying commonly used Actions or controls.
JTree
          A control that displays a set of hierarchical data as an outline.
KeyStroke
          A KeyStroke instance represents a key being typed on the keyboard -- it contains both a char code for the key and a modifier (alt, shift, ctrl, meta, or a combination).
ListCellRenderer
          Identifies components that can be used as "rubber stamps" to paint the cells in a JList.
ListModel
          This interface defines the methods components like JList use to get the value of each cell in a list and the length of the list.
ListSelectionModel
          This interface represents the current state of the selection for any of the components that display a list of values with stable indices.
LookAndFeel
          Completely characterizes a look and feel from the point of view of the pluggable look and feel components.
MenuElement
          Any component that can be placed into a menu should implement this interface.
MenuSelectionManager
          A MenuSelectionManager owns the selection in menu hierarchy.
ScrollPaneConstants
          Constants used with the JScrollPane component.
SwingConstants
          A collection of constants generally used for positioning and orienting components on the screen.
Timer
          Object subclass that causes an action to occur at a predefined rate.
UIDefaults
          A table of defaults for Swing components.
 

Classes in javax.swing used by javax.swing.plaf.metal
AbstractAction
          This class provides default implementations for the JFC Action interface.
AbstractButton
          Defines the common behaviors for the JButton, JToggleButton, JCheckbox, and the JRadioButton classes.
AbstractListModel
          The Abstract definition for the data model the provides a List with its contents.
Action
          The JFC Action interface provides a useful extension to the ActionListner interface in cases where the same functionality may be accessed by several controls.
CellRendererPane
          This class is inserted in between cell renderers and the components that use them.
ComboBoxEditor
          The editor component used for JComboBox components.
ComboBoxModel
          ComboBoxDataModel is a ListDataModel with a selected item This selected item is in the model since it is not always in the item list.
DefaultListCellRenderer
          Renders an item in a list.
Icon
          A small fixed size picture, typically used to decorate components.
JButton
          An implementation of a "push" button.
JComboBox
          Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it.
JComponent
          The base class for the Swing components.
JFileChooser
          JFileChooser provides a simple mechanism for the user to chooser a file.
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.
JLabel
          A display area for a short text string or an image, or both.
JList
          A component that allows the user to select one or more objects from a list.
JPanel
          JPanel is a generic lightweight container.
JPopupMenu
          An implementation of a Popup Menu -- a small window which pops up and displays a series of choices.
JScrollPane
          A specialized container that manages a viewport, optional vertical and horizontal scrollbars, and optional row and column heading viewports.
JSeparator
          An implementation of a Menu Separator -- a divider between menu items that breaks them up into logical groupings.
JSlider
          A component that lets the user graphically select a value by slding a knob within a bounded interval.
JToolBar
          JToolBar provides a component which is useful for displaying commonly used Actions or controls.
ListCellRenderer
          Identifies components that can be used as "rubber stamps" to paint the cells in a JList.
ListModel
          This interface defines the methods components like JList use to get the value of each cell in a list and the length of the list.
LookAndFeel
          Completely characterizes a look and feel from the point of view of the pluggable look and feel components.
MenuElement
          Any component that can be placed into a menu should implement this interface.
ScrollPaneConstants
          Constants used with the JScrollPane component.
SwingConstants
          A collection of constants generally used for positioning and orienting components on the screen.
UIDefaults
          A table of defaults for Swing components.
 

Classes in javax.swing used by javax.swing.plaf.multi
JComboBox
          Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it.
JComponent
          The base class for the Swing components.
JFileChooser
          JFileChooser provides a simple mechanism for the user to chooser a file.
JList
          A component that allows the user to select one or more objects from a list.
JOptionPane
          JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
JSplitPane
          JSplitPane is used to divide two (and only two) Components.
JTabbedPane
          A component which lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
JTree
          A control that displays a set of hierarchical data as an outline.
LookAndFeel
          Completely characterizes a look and feel from the point of view of the pluggable look and feel components.
UIDefaults
          A table of defaults for Swing components.
 

Classes in javax.swing used by javax.swing.table
CellEditor
          This interface defines the methods any general editor should be able to implement.
JComponent
          The base class for the Swing components.
JComponent.AccessibleJComponent
          Inner class of JComponent used to provide default support for accessibility.
JLabel
          A display area for a short text string or an image, or both.
JTable
          JTable is a user-interface component that presents data in a two-dimensional table format.
ListSelectionModel
          This interface represents the current state of the selection for any of the components that display a list of values with stable indices.
SwingConstants
          A collection of constants generally used for positioning and orienting components on the screen.
 

Classes in javax.swing used by javax.swing.text
AbstractAction
          This class provides default implementations for the JFC Action interface.
Action
          The JFC Action interface provides a useful extension to the ActionListner interface in cases where the same functionality may be accessed by several controls.
Icon
          A small fixed size picture, typically used to decorate components.
JComponent
          The base class for the Swing components.
JComponent.AccessibleJComponent
          Inner class of JComponent used to provide default support for accessibility.
JEditorPane
          A text component to edit various kinds of content.
KeyStroke
          A KeyStroke instance represents a key being typed on the keyboard -- it contains both a char code for the key and a modifier (alt, shift, ctrl, meta, or a combination).
Scrollable
          An interface that provides information to a scrolling container like JScrollPane.
SizeRequirements
          For the convenience of layout managers, calculates information about the size and position of components.
SwingConstants
          A collection of constants generally used for positioning and orienting components on the screen.
 

Classes in javax.swing used by javax.swing.text.html
AbstractAction
          This class provides default implementations for the JFC Action interface.
Action
          The JFC Action interface provides a useful extension to the ActionListner interface in cases where the same functionality may be accessed by several controls.
JEditorPane
          A text component to edit various kinds of content.
SizeRequirements
          For the convenience of layout managers, calculates information about the size and position of components.
SwingConstants
          A collection of constants generally used for positioning and orienting components on the screen.
 

Classes in javax.swing used by javax.swing.tree
CellEditor
          This interface defines the methods any general editor should be able to implement.
DefaultListSelectionModel
          Default data model for list selections.
Icon
          A small fixed size picture, typically used to decorate components.
JComponent
          The base class for the Swing components.
JLabel
          A display area for a short text string or an image, or both.
JTextField
          JTextField is a lightweight component that allows the editing of a single line of text.
JTree
          A control that displays a set of hierarchical data as an outline.
Scrollable
          An interface that provides information to a scrolling container like JScrollPane.
SwingConstants
          A collection of constants generally used for positioning and orienting components on the screen.
Timer
          Object subclass that causes an action to occur at a predefined rate.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.