8046485: Add missing @since tag under javax.swing.*
Reviewed-by: alexsch, prr
This commit is contained in:
parent
48ca67c5c4
commit
410ba2a8f0
@ -55,6 +55,7 @@ import sun.security.action.GetPropertyAction;
|
||||
*
|
||||
* @author Georges Saab
|
||||
* @see Action
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public abstract class AbstractAction implements Action, Cloneable, Serializable
|
||||
|
@ -71,6 +71,7 @@ import java.util.*;
|
||||
* Please see {@link java.beans.XMLEncoder}.
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public abstract class AbstractButton extends JComponent implements ItemSelectable, SwingConstants {
|
||||
|
@ -45,6 +45,7 @@ import java.util.EventListener;
|
||||
* @param <E> the type of the elements of this model
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public abstract class AbstractListModel<E> implements ListModel<E>, Serializable
|
||||
|
@ -210,6 +210,7 @@ import java.beans.*;
|
||||
*
|
||||
* @author Georges Saab
|
||||
* @see AbstractAction
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface Action extends ActionListener {
|
||||
/**
|
||||
|
@ -40,6 +40,7 @@ import javax.swing.border.*;
|
||||
* a section in <em>The Java Tutorial</em>.
|
||||
*
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
public class BorderFactory
|
||||
{
|
||||
|
@ -76,6 +76,7 @@ import javax.swing.event.*;
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @see DefaultBoundedRangeModel
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface BoundedRangeModel
|
||||
{
|
||||
|
@ -75,6 +75,7 @@ import javax.accessibility.*;
|
||||
* @see BoxLayout
|
||||
*
|
||||
* @author Timothy Prinzing
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Box extends JComponent implements Accessible {
|
||||
|
@ -134,6 +134,7 @@ import java.io.PrintStream;
|
||||
* @see JComponent#getAlignmentY
|
||||
*
|
||||
* @author Timothy Prinzing
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class BoxLayout implements LayoutManager2, Serializable {
|
||||
|
@ -64,6 +64,7 @@ import java.io.Serializable;
|
||||
* Please see {@link java.beans.XMLEncoder}.
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class ButtonGroup implements Serializable {
|
||||
|
@ -72,6 +72,7 @@ import javax.swing.event.*;
|
||||
* <code>ActionEvent</code> to be fired.
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface ButtonModel extends ItemSelectable {
|
||||
|
||||
|
@ -57,6 +57,7 @@ import javax.swing.event.*;
|
||||
* @see javax.swing.event.CellEditorListener
|
||||
*
|
||||
* @author Alan Chung
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface CellEditor {
|
||||
|
||||
|
@ -62,6 +62,7 @@ import javax.accessibility.*;
|
||||
* Please see {@link java.beans.XMLEncoder}.
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class CellRendererPane extends Container implements Accessible
|
||||
|
@ -31,6 +31,7 @@ import java.awt.event.*;
|
||||
* The editor component used for JComboBox components.
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface ComboBoxEditor {
|
||||
|
||||
|
@ -36,6 +36,7 @@ package javax.swing;
|
||||
* @param <E> the type of the elements of this model
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface ComboBoxModel<E> extends ListModel<E> {
|
||||
|
||||
|
@ -45,6 +45,7 @@ import java.text.AttributedCharacterIterator;
|
||||
* @see RepaintManager#setDoubleBufferingEnabled
|
||||
*
|
||||
* @author Dave Karlton
|
||||
* @since 1.2
|
||||
*/
|
||||
public class DebugGraphics extends Graphics {
|
||||
Graphics graphics;
|
||||
|
@ -44,6 +44,7 @@ import java.util.EventListener;
|
||||
* @author David Kloba
|
||||
* @author Hans Muller
|
||||
* @see BoundedRangeModel
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class DefaultBoundedRangeModel implements BoundedRangeModel, Serializable
|
||||
|
@ -44,6 +44,7 @@ import javax.swing.event.*;
|
||||
* Please see {@link java.beans.XMLEncoder}.
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class DefaultButtonModel implements ButtonModel, Serializable {
|
||||
|
@ -49,6 +49,7 @@ import java.io.Serializable;
|
||||
*
|
||||
* @author Alan Chung
|
||||
* @author Philip Milne
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class DefaultCellEditor extends AbstractCellEditor
|
||||
|
@ -35,6 +35,7 @@ import java.io.Serializable;
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @author Tom Santos
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Superclass is not serializable across versions
|
||||
public class DefaultComboBoxModel<E> extends AbstractListModel<E> implements MutableComboBoxModel<E>, Serializable {
|
||||
|
@ -46,6 +46,7 @@ import java.beans.PropertyVetoException;
|
||||
* @see JInternalFrame
|
||||
* @author David Kloba
|
||||
* @author Steve Wilson
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // No Interesting Non-Transient State
|
||||
public class DefaultDesktopManager implements DesktopManager, java.io.Serializable {
|
||||
|
@ -45,6 +45,7 @@ import java.util.Comparator;
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @author David Mendenhall
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Obsolete class
|
||||
public class DefaultFocusManager extends FocusManager {
|
||||
|
@ -69,6 +69,7 @@ import sun.swing.DefaultLookup;
|
||||
*
|
||||
* @author Philip Milne
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class DefaultListCellRenderer extends JLabel
|
||||
|
@ -51,6 +51,7 @@ import javax.swing.event.*;
|
||||
* @param <E> the type of the elements of this model
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class DefaultListModel<E> extends AbstractListModel<E>
|
||||
|
@ -48,6 +48,7 @@ import javax.swing.event.*;
|
||||
* @author Philip Milne
|
||||
* @author Hans Muller
|
||||
* @see ListSelectionModel
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class DefaultListSelectionModel implements ListSelectionModel, Cloneable, Serializable
|
||||
|
@ -42,6 +42,7 @@ import java.util.EventListener;
|
||||
* Please see {@link java.beans.XMLEncoder}.
|
||||
*
|
||||
* @author Dave Moore
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class DefaultSingleSelectionModel implements SingleSelectionModel,
|
||||
|
@ -43,6 +43,7 @@ package javax.swing;
|
||||
* @see JInternalFrame.JDesktopIcon
|
||||
*
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface DesktopManager
|
||||
{
|
||||
|
@ -44,6 +44,7 @@ import java.awt.*;
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @author David Mendenhall
|
||||
* @since 1.2
|
||||
*/
|
||||
public abstract class FocusManager extends DefaultKeyboardFocusManager {
|
||||
|
||||
|
@ -36,6 +36,7 @@ import java.awt.image.*;
|
||||
* @author Jeff Dinkins
|
||||
* @author Tom Ball
|
||||
* @author Jim Graham
|
||||
* @since 1.2
|
||||
*/
|
||||
public class GrayFilter extends RGBImageFilter {
|
||||
private boolean brighter;
|
||||
|
@ -32,6 +32,7 @@ import java.awt.Component;
|
||||
* A small fixed size picture, typically used to decorate components.
|
||||
*
|
||||
* @see ImageIcon
|
||||
* @since 1.2
|
||||
*/
|
||||
|
||||
public interface Icon
|
||||
|
@ -65,6 +65,7 @@ import java.security.*;
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
* @author Lynn Monsanto
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class ImageIcon implements Icon, Serializable, Accessible {
|
||||
|
@ -89,6 +89,7 @@ import javax.accessibility.*;
|
||||
* description: Swing's Applet subclass.
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JApplet extends Applet implements Accessible,
|
||||
|
@ -74,6 +74,7 @@ import java.io.IOException;
|
||||
* description: An implementation of a \"push\" button.
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JButton extends AbstractButton implements Accessible {
|
||||
|
@ -74,6 +74,7 @@ import java.io.IOException;
|
||||
* description: A component which can be selected or deselected.
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JCheckBox extends JToggleButton implements Accessible {
|
||||
|
@ -87,6 +87,7 @@ import javax.accessibility.*;
|
||||
*
|
||||
* @author Georges Saab
|
||||
* @author David Karlton
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants,
|
||||
|
@ -82,6 +82,7 @@ import sun.swing.SwingUtilities2;
|
||||
* @author James Gosling
|
||||
* @author Amy Fowler
|
||||
* @author Steve Wilson
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JColorChooser extends JComponent implements Accessible {
|
||||
|
@ -77,6 +77,7 @@ import javax.accessibility.*;
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @author Mark Davidson
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JComboBox<E> extends JComponent
|
||||
|
@ -179,6 +179,7 @@ import sun.swing.UIClientPropertyKey;
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public abstract class JComponent extends Container implements Serializable,
|
||||
|
@ -85,6 +85,7 @@ import java.util.TreeSet;
|
||||
* @see DesktopManager
|
||||
*
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JDesktopPane extends JLayeredPane implements Accessible
|
||||
|
@ -94,6 +94,7 @@ import javax.accessibility.*;
|
||||
* @author David Kloba
|
||||
* @author James Gosling
|
||||
* @author Scott Violet
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JDialog extends Dialog implements WindowConstants,
|
||||
|
@ -188,6 +188,7 @@ import javax.accessibility.*;
|
||||
* description: A text component to edit various types of content.
|
||||
*
|
||||
* @author Timothy Prinzing
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JEditorPane extends JTextComponent {
|
||||
|
@ -86,7 +86,7 @@ import java.lang.ref.WeakReference;
|
||||
* description: A component which allows for the interactive selection of a file.
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
*
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Superclass is not serializable across versions
|
||||
public class JFileChooser extends JComponent implements Accessible {
|
||||
|
@ -111,6 +111,7 @@ import javax.accessibility.*;
|
||||
* @author Jeff Dinkins
|
||||
* @author Georges Saab
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JFrame extends Frame implements WindowConstants,
|
||||
|
@ -104,6 +104,7 @@ import sun.swing.SwingUtilities2;
|
||||
*
|
||||
* @author David Kloba
|
||||
* @author Rich Schiavi
|
||||
* @since 1.2
|
||||
* @beaninfo
|
||||
* attribute: isContainer true
|
||||
* attribute: containerDelegate getContentPane
|
||||
|
@ -103,6 +103,7 @@ import java.util.*;
|
||||
* description: A component that displays a short string and an icon.
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JLabel extends JComponent implements SwingConstants, Accessible
|
||||
|
@ -153,6 +153,7 @@ import javax.accessibility.*;
|
||||
* Please see {@link java.beans.XMLEncoder}.
|
||||
*
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JLayeredPane extends JComponent implements Accessible {
|
||||
|
@ -276,6 +276,7 @@ import static sun.swing.SwingUtilities2.Section.*;
|
||||
* description: A component which allows for the selection of one or more objects from a list.
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JList<E> extends JComponent implements Scrollable, Accessible
|
||||
|
@ -108,6 +108,7 @@ import java.lang.ref.WeakReference;
|
||||
* @see JSeparator
|
||||
* @see JMenuBar
|
||||
* @see JPopupMenu
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JMenu extends JMenuItem implements Accessible,MenuElement
|
||||
|
@ -88,6 +88,7 @@ import javax.accessibility.*;
|
||||
* @see JMenu
|
||||
* @see JPopupMenu
|
||||
* @see JMenuItem
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JMenuBar extends JComponent implements Accessible,MenuElement
|
||||
|
@ -86,6 +86,7 @@ import javax.accessibility.*;
|
||||
* @see JMenu
|
||||
* @see JCheckBoxMenuItem
|
||||
* @see JRadioButtonMenuItem
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JMenuItem extends AbstractButton implements Accessible,MenuElement {
|
||||
|
@ -310,6 +310,7 @@ import sun.awt.AWTAccessor;
|
||||
*
|
||||
* @author James Gosling
|
||||
* @author Scott Violet
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JOptionPane extends JComponent implements Accessible
|
||||
|
@ -61,6 +61,7 @@ import java.io.IOException;
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @author Steve Wilson
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JPanel extends JComponent implements Accessible
|
||||
|
@ -73,6 +73,7 @@ import java.util.Arrays;
|
||||
* description: Allows the editing of a line of text but doesn't show the characters.
|
||||
*
|
||||
* @author Timothy Prinzing
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JPasswordField extends JTextField {
|
||||
|
@ -82,6 +82,7 @@ import java.applet.Applet;
|
||||
* @author Georges Saab
|
||||
* @author David Karlton
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JPopupMenu extends JComponent implements Accessible,MenuElement {
|
||||
|
@ -128,6 +128,7 @@ import javax.swing.plaf.ProgressBarUI;
|
||||
*
|
||||
* @author Michael C. Albers
|
||||
* @author Kathy Walrath
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JProgressBar extends JComponent implements SwingConstants, Accessible
|
||||
|
@ -85,6 +85,7 @@ import java.io.IOException;
|
||||
* @see ButtonGroup
|
||||
* @see JCheckBox
|
||||
* @author Jeff Dinkins
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JRadioButton extends JToggleButton implements Accessible {
|
||||
|
@ -82,6 +82,7 @@ import javax.accessibility.*;
|
||||
* @author Georges Saab
|
||||
* @author David Karlton
|
||||
* @see ButtonGroup
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JRadioButtonMenuItem extends JMenuItem implements Accessible {
|
||||
|
@ -197,6 +197,7 @@ import sun.security.action.GetBooleanAction;
|
||||
* Mixing Heavy and Light Components</a>
|
||||
*
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
/// PENDING(klobad) Who should be opaque in this component?
|
||||
@SuppressWarnings("serial")
|
||||
|
@ -77,6 +77,7 @@ import java.io.IOException;
|
||||
* description: A component that helps determine the visible content range of an area.
|
||||
*
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JScrollBar extends JComponent implements Adjustable, Accessible
|
||||
|
@ -167,6 +167,7 @@ import java.beans.Transient;
|
||||
* description: A specialized container that manages a viewport, optional scrollbars and headers
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JScrollPane extends JComponent implements ScrollPaneConstants, Accessible
|
||||
|
@ -70,6 +70,7 @@ import java.io.IOException;
|
||||
*
|
||||
* @author Georges Saab
|
||||
* @author Jeff Shapiro
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JSeparator extends JComponent implements SwingConstants, Accessible
|
||||
|
@ -77,6 +77,7 @@ import java.beans.*;
|
||||
* description: A component that supports selecting a integer value from a range.
|
||||
*
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JSlider extends JComponent implements SwingConstants, Accessible {
|
||||
|
@ -97,6 +97,7 @@ import java.io.IOException;
|
||||
* @see #resetToPreferredSizes
|
||||
*
|
||||
* @author Scott Violet
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JSplitPane extends JComponent implements Accessible
|
||||
|
@ -105,6 +105,7 @@ import java.io.IOException;
|
||||
* @author Amy Fowler
|
||||
*
|
||||
* @see SingleSelectionModel
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JTabbedPane extends JComponent
|
||||
|
@ -212,6 +212,7 @@ import sun.swing.PrintingStatus;
|
||||
* @author Shannon Hickey (printing support)
|
||||
* @see javax.swing.table.DefaultTableModel
|
||||
* @see javax.swing.table.TableRowSorter
|
||||
* @since 1.2
|
||||
*/
|
||||
/* The first versions of the JTable, contained in Swing-0.1 through
|
||||
* Swing-0.4, were written by Alan Chung.
|
||||
|
@ -123,6 +123,7 @@ import java.io.IOException;
|
||||
* @author Timothy Prinzing
|
||||
* @see JTextPane
|
||||
* @see JEditorPane
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JTextArea extends JTextComponent {
|
||||
|
@ -160,6 +160,7 @@ import java.io.Serializable;
|
||||
* @see #setActionCommand
|
||||
* @see JPasswordField
|
||||
* @see #addActionListener
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JTextField extends JTextComponent implements SwingConstants {
|
||||
|
@ -78,6 +78,7 @@ import javax.swing.plaf.*;
|
||||
*
|
||||
* @author Timothy Prinzing
|
||||
* @see javax.swing.text.StyledEditorKit
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JTextPane extends JEditorPane {
|
||||
|
@ -75,6 +75,7 @@ import java.io.IOException;
|
||||
* @see JRadioButton
|
||||
* @see JCheckBox
|
||||
* @author Jeff Dinkins
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JToggleButton extends AbstractButton implements Accessible {
|
||||
|
@ -85,6 +85,7 @@ import java.util.Hashtable;
|
||||
* @author Georges Saab
|
||||
* @author Jeff Shapiro
|
||||
* @see Action
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JToolBar extends JComponent implements SwingConstants, Accessible
|
||||
|
@ -66,6 +66,7 @@ import java.util.Objects;
|
||||
* @see JComponent#createToolTip
|
||||
* @author Dave Moore
|
||||
* @author Rich Shiavi
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JToolTip extends JComponent implements Accessible {
|
||||
|
@ -141,6 +141,7 @@ import static sun.swing.SwingUtilities2.Section.*;
|
||||
* @author Rob Davis
|
||||
* @author Ray Ryan
|
||||
* @author Scott Violet
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JTree extends JComponent implements Scrollable, Accessible
|
||||
|
@ -97,6 +97,7 @@ import java.io.Serializable;
|
||||
* @author Hans Muller
|
||||
* @author Philip Milne
|
||||
* @see JScrollPane
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class JViewport extends JComponent implements Accessible
|
||||
|
@ -89,6 +89,7 @@ import javax.accessibility.*;
|
||||
* description: A toplevel window which has no system border or controls.
|
||||
*
|
||||
* @author David Kloba
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class JWindow extends Window implements Accessible,
|
||||
|
@ -60,6 +60,7 @@ import java.awt.event.KeyEvent;
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @author David Mendenhall
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class KeyStroke extends AWTKeyStroke {
|
||||
|
@ -85,6 +85,7 @@ import java.awt.Component;
|
||||
* @see DefaultListCellRenderer
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface ListCellRenderer<E>
|
||||
{
|
||||
|
@ -39,6 +39,7 @@ import javax.swing.event.ListDataListener;
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @see JList
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface ListModel<E>
|
||||
{
|
||||
|
@ -41,6 +41,7 @@ import javax.swing.event.*;
|
||||
* @author Hans Muller
|
||||
* @author Philip Milne
|
||||
* @see DefaultListSelectionModel
|
||||
* @since 1.2
|
||||
*/
|
||||
|
||||
public interface ListSelectionModel
|
||||
|
@ -147,6 +147,7 @@ import java.util.StringTokenizer;
|
||||
*
|
||||
* @author Tom Ball
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
public abstract class LookAndFeel
|
||||
{
|
||||
|
@ -33,6 +33,7 @@ import java.awt.event.*;
|
||||
* to handle selection and navigation in menu hierarchies.
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
|
||||
public interface MenuElement {
|
||||
|
@ -36,6 +36,7 @@ import sun.swing.SwingUtilities2;
|
||||
* A MenuSelectionManager owns the selection in menu hierarchy.
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
public class MenuSelectionManager {
|
||||
private Vector<MenuElement> selection = new Vector<MenuElement>();
|
||||
|
@ -30,6 +30,7 @@ package javax.swing;
|
||||
* @param <E> the type of the elements of this model
|
||||
*
|
||||
* @author Tom Santos
|
||||
* @since 1.2
|
||||
*/
|
||||
|
||||
public interface MutableComboBoxModel<E> extends ComboBoxModel<E> {
|
||||
|
@ -50,6 +50,7 @@ import java.io.Serializable;
|
||||
* Please see {@link java.beans.XMLEncoder}.
|
||||
*
|
||||
* @author Timothy Prinzing
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class OverlayLayout implements LayoutManager2,Serializable {
|
||||
|
@ -59,6 +59,7 @@ import java.awt.Graphics2D;
|
||||
* <p>This interface makes no guarantees of threadsafety.</p>
|
||||
*
|
||||
* @author rbair
|
||||
* @since 1.7
|
||||
*/
|
||||
public interface Painter<T> {
|
||||
/**
|
||||
|
@ -77,6 +77,7 @@ import javax.swing.text.*;
|
||||
* @see ProgressMonitorInputStream
|
||||
* @author James Gosling
|
||||
* @author Lynn Monsanto (accessibility)
|
||||
* @since 1.2
|
||||
*/
|
||||
public class ProgressMonitor implements Accessible
|
||||
{
|
||||
|
@ -60,6 +60,7 @@ import java.awt.Component;
|
||||
* @see ProgressMonitor
|
||||
* @see JOptionPane
|
||||
* @author James Gosling
|
||||
* @since 1.2
|
||||
*/
|
||||
public class ProgressMonitorInputStream extends FilterInputStream
|
||||
{
|
||||
|
@ -32,6 +32,7 @@ import java.awt.Component;
|
||||
* "rendering" (displaying) a value.
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface Renderer {
|
||||
/**
|
||||
|
@ -60,6 +60,7 @@ import sun.swing.SwingUtilities2.RepaintListener;
|
||||
* appropriate <code>addDirtyRegion</code> method.
|
||||
*
|
||||
* @author Arnaud Weber
|
||||
* @since 1.2
|
||||
*/
|
||||
public class RepaintManager
|
||||
{
|
||||
|
@ -77,6 +77,7 @@ import java.awt.Container;
|
||||
* @see JInternalFrame
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface RootPaneContainer
|
||||
{
|
||||
|
@ -30,6 +30,7 @@ package javax.swing;
|
||||
* Constants used with the JScrollPane component.
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface ScrollPaneConstants
|
||||
{
|
||||
|
@ -56,6 +56,7 @@ import java.io.Serializable;
|
||||
* @see JViewport
|
||||
*
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class ScrollPaneLayout
|
||||
|
@ -39,6 +39,7 @@ import java.awt.Rectangle;
|
||||
* @see JScrollPane
|
||||
* @see JScrollBar
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface Scrollable
|
||||
{
|
||||
|
@ -31,6 +31,7 @@ import javax.swing.event.*;
|
||||
* A model that supports at most one indexed selection.
|
||||
*
|
||||
* @author Dave Moore
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface SingleSelectionModel {
|
||||
/**
|
||||
|
@ -92,6 +92,7 @@ import java.io.Serializable;
|
||||
* @see Component#getAlignmentY
|
||||
*
|
||||
* @author Timothy Prinzing
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class SizeRequirements implements Serializable {
|
||||
|
@ -31,6 +31,7 @@ package javax.swing;
|
||||
*
|
||||
* @author Jeff Dinkins
|
||||
* @author Ralph Kar (orientation support)
|
||||
* @since 1.2
|
||||
*/
|
||||
public interface SwingConstants {
|
||||
|
||||
|
@ -49,6 +49,7 @@ import sun.awt.AppContext;
|
||||
* A collection of utility methods for Swing.
|
||||
*
|
||||
* @author unknown
|
||||
* @since 1.2
|
||||
*/
|
||||
public class SwingUtilities implements SwingConstants
|
||||
{
|
||||
|
@ -145,6 +145,7 @@ import javax.swing.event.EventListenerList;
|
||||
*
|
||||
*
|
||||
* @author Dave Moore
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Timer implements Serializable
|
||||
|
@ -49,6 +49,7 @@ import java.awt.*;
|
||||
* @see JComponent#createToolTip
|
||||
* @author Dave Moore
|
||||
* @author Rich Schiavi
|
||||
* @since 1.2
|
||||
*/
|
||||
public class ToolTipManager extends MouseAdapter implements MouseMotionListener {
|
||||
Timer enterTimer, exitTimer, insideTimer;
|
||||
|
@ -71,6 +71,7 @@ import sun.util.CoreResourceBundleControl;
|
||||
*
|
||||
* @see UIManager
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class UIDefaults extends Hashtable<Object,Object>
|
||||
|
@ -173,6 +173,7 @@ import sun.awt.AWTAccessor;
|
||||
*
|
||||
* @author Thomas Ball
|
||||
* @author Hans Muller
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class UIManager implements Serializable
|
||||
|
@ -38,6 +38,7 @@ package javax.swing;
|
||||
* Please see {@link java.beans.XMLEncoder}.
|
||||
*
|
||||
* @author unattributed
|
||||
* @since 1.2
|
||||
*/
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class UnsupportedLookAndFeelException extends Exception
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user