Uses of Annotation Interface
java.lang.SuppressWarnings
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
Provides a pluggable service provider interface, which allows the HTTP server
implementation to be replaced with other implementations.
Provides implementations of
LoginModule
.Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides interfaces and classes for transferring data between and within
applications.
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.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides classes and interfaces for producing rendering-independent images.
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides classes and interfaces relating to bean context.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic
call sites.Provides low-level access to memory and functions outside the Java runtime.
Provides services that allow Java programming language agents to instrument
programs running on the Java Virtual Machine (JVM).
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
Provides classes and interfaces for obtaining reflective information about
classes and objects.
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger
) and arbitrary-precision decimal
arithmetic (BigDecimal
).Provides the classes for implementing networking applications.
Defines charsets, decoders, and encoders, for translating between
bytes and Unicode characters.
Provides the RMI package.
Provides classes and interfaces for supporting the server side of RMI.
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Provides interfaces for generating RSA (Rivest, Shamir and
Adleman AsymmetricCipher algorithm)
keys as defined in the RSA Laboratory Technical Note
PKCS#1, and DSA (Digital Signature
Algorithm) keys as defined in NIST's FIPS-186.
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
The main API for dates, times, instants, and durations.
Generic API for calendar systems other than the default ISO.
Access to date and time using fields and units, and date time adjusters.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
Functional interfaces provide target types for lambda expressions
and method references.
Provides classes for reading and writing the JAR (Java ARchive)
file format, which is based on the standard ZIP file format with an
optional manifest file.
Provides the classes and interfaces of
the Java 2 platform's core logging facilities.
This package allows applications to store and retrieve user and system
preference and configuration data.
Service provider classes for the classes in the java.util package.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
Provides classes for reading and writing the standard ZIP and GZIP file
formats.
Provides the classes and interfaces for cryptographic
operations.
Provides interfaces for Diffie-Hellman keys as defined in RSA
Laboratories' PKCS #3.
A package of the Java Image I/O API dealing with reading and writing
metadata.
A package of the Java Image I/O API containing the plug-in interfaces for
readers, writers, transcoders, and streams, and a runtime registry.
A package of the Java Image I/O API dealing with low-level I/O from files and
streams.
Utilities to assist in the processing of
program elements and
types.
Provides the core classes for the Java Management Extensions.
Provides the open data types and Open MBean descriptor classes.
Provides the definition of the Relation Service.
Interfaces for remote access to
JMX MBean servers.
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
Provides the classes and interfaces for accessing naming services.
Extends the
javax.naming
package to provide functionality
for accessing directory services.Provides support for event notification when accessing naming and
directory services.
Provides support for LDAPv3 extended operations and controls.
Provides the means for dynamically plugging in support for accessing
naming and directory services through the
javax.naming
and related packages.Provides classes for the secure socket package.
Provides the principal classes and interfaces for the Java Print
Service API.
This package provides a framework for authentication and
authorization.
This package provides a pluggable authentication framework.
Provides classes for public key certificates.
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
Provides interfaces and classes for capture, processing, and playback of
sampled audio data.
Standard interfaces and base classes for JDBC
RowSet
implementations.Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interface for drawing specialized borders around a Swing
component.
Contains classes and interfaces used by the
JColorChooser
component.Provides for events fired by Swing components.
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Provides user interface objects that combine two or more look and feels.
Provides user interface objects built according to the cross-platform Nimbus
look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces for dealing with
javax.swing.JTable
.Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.Provides the default HTML parser, along with support classes.
Provides a class (
RTFEditorKit
) for creating Rich-Text-Format text
editors.Provides classes and interfaces for dealing with
javax.swing.JTree
.Allows developers to provide support for undo/redo in applications such as
text editors.
Provides the classes for processing XML documents with a SAX (Simple API for XML)
parser or a DOM (Document Object Model) Document builder.
Defines interfaces and classes for the Streaming API for XML (StAX).
Defines the generic APIs for processing transformation instructions,
and performing a transformation from source to result.
Contains classes that make it more convenient for language runtimes to
implement their own language-specific object models and type conversions
by providing basic implementations of some classes as well as various
utilities.
Incubating Feature. Will be removed in a future release.
The Doclet API provides an environment which, in conjunction with
the Language Model API and Compiler Tree API, allows clients
to inspect the source-level structures of programs and
libraries, including API comments embedded in the source.
This package provides classes to create events and control Flight Recorder.
This package contains classes for consuming Flight Recorder data.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
Provides a factory for obtaining instances of
DOMImplementation
.Provides helper classes, including
support for bootstrapping SAX-based applications.
-
Uses of SuppressWarnings in com.sun.java.accessibility.util
Modifier and TypeMethodDescriptionboolean
Translator.isFocusTraversable()
Returns whether this object can accept focus or not.static void
EventQueueMonitor.maybeInitialize()
Tell theEventQueueMonitor
to start listening for events. -
Uses of SuppressWarnings in com.sun.jdi
Modifier and TypeMethodDescriptionvoid
ThreadReference.stop
(ObjectReference throwable) Stops this thread with an asynchronous exception.void
ThreadReference.suspend()
Suspends this thread. -
Uses of SuppressWarnings in com.sun.net.httpserver.spi
Modifier and TypeMethodDescriptionstatic HttpServerProvider
HttpServerProvider.provider()
Returns the system wide default HttpServerProvider for this invocation of the Java virtual machine. -
Uses of SuppressWarnings in com.sun.security.auth.module
Modifier and TypeMethodDescriptionvoid
JndiLoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.void
KeyStoreLoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.void
Krb5LoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.void
LdapLoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.ModifierConstructorDescriptionInstantiate aUnixSystem
and load the native library to access the underlying system information. -
Uses of SuppressWarnings in java.applet
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated, no replacement.interface
Deprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated, no replacement.interface
Deprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated, no replacement.Modifier and TypeMethodDescriptionvoid
Applet.resize
(int width, int height) Deprecated, for removal: This API element is subject to removal in a future version.Requests that this applet be resized.void
Deprecated, for removal: This API element is subject to removal in a future version.Requests that this applet be resized. -
Uses of SuppressWarnings in java.awt
Modifier and TypeFieldDescriptionprotected ComponentListener
Component.AccessibleAWTComponent.accessibleAWTComponentHandler
A component listener to track show/hide/resize events and convert them to PropertyChange events.protected FocusListener
Component.AccessibleAWTComponent.accessibleAWTFocusHandler
A listener to track focus events and convert them to PropertyChange events.protected ContainerListener
Container.AccessibleAWTContainer.accessibleContainerHandler
The handler to firePropertyChange
when children are added or removedprotected AccessibleContext
Component.accessibleContext
TheAccessibleContext
associated with thisComponent
.Event.arg
Deprecated.An arbitrary argument of the event.Event.target
Deprecated.The target component.Modifier and TypeMethodDescriptionstatic ActionListener
AWTEventMulticaster.add
(ActionListener a, ActionListener b) Adds action-listener-a with action-listener-b and returns the resulting multicast listener.static AdjustmentListener
AWTEventMulticaster.add
(AdjustmentListener a, AdjustmentListener b) Adds adjustment-listener-a with adjustment-listener-b and returns the resulting multicast listener.static HierarchyListener
AWTEventMulticaster.add
(HierarchyListener a, HierarchyListener b) Adds hierarchy-listener-a with hierarchy-listener-b and returns the resulting multicast listener.static ItemListener
AWTEventMulticaster.add
(ItemListener a, ItemListener b) Adds item-listener-a with item-listener-b and returns the resulting multicast listener.static MouseWheelListener
AWTEventMulticaster.add
(MouseWheelListener a, MouseWheelListener b) Adds mouse-wheel-listener-a with mouse-wheel-listener-b and returns the resulting multicast listener.static TextListener
AWTEventMulticaster.add
(TextListener a, TextListener b) Adds text-listener-a with text-listener-b and returns the resulting multicast listener.static WindowStateListener
AWTEventMulticaster.add
(WindowStateListener a, WindowStateListener b) Adds window-state-listener-a with window-state-listener-b and returns the resulting multicast listener.int
FontMetrics.bytesWidth
(byte[] data, int off, int len) Returns the total advance width for showing the specified array of bytes in thisFont
.RenderingHints.clone()
Creates a clone of thisRenderingHints
object that has the same contents as thisRenderingHints
object.void
Graphics.drawBytes
(byte[] data, int offset, int length, int x, int y) Draws the text given by the specified byte array, using this graphics context's current font and color.void
Graphics.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.void
PrintJob.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.static AWTKeyStroke
AWTKeyStroke.getAWTKeyStroke
(String s) Parses a string and returns anAWTKeyStroke
.static AWTKeyStroke
AWTKeyStroke.getAWTKeyStrokeForEvent
(KeyEvent anEvent) Returns anAWTKeyStroke
which represents the stroke which generated a givenKeyEvent
.Window.getFocusTraversalKeys
(int id) Gets a focus traversal key for this Window.SplashScreen.getImageURL()
Returns the current splash screen image.protected List
<KeyEventDispatcher> KeyboardFocusManager.getKeyEventDispatchers()
Returns this KeyboardFocusManager's KeyEventDispatcher chain as a List.protected List
<KeyEventPostProcessor> KeyboardFocusManager.getKeyEventPostProcessors()
Returns this KeyboardFocusManager's KeyEventPostProcessor chain as a List.static <T extends EventListener>
T[]AWTEventMulticaster.getListeners
(EventListener l, Class<T> listenerType) Returns an array of all the objects chained asFooListener
s by the specifiedjava.util.EventListener
.<T extends EventListener>
T[]Component.getListeners
(Class<T> listenerType) Returns an array of all the objects currently registered asFooListener
s upon thisComponent
.static SplashScreen
SplashScreen.getSplashScreen()
Returns theSplashScreen
object used for Java startup splash screen control on systems that support display.boolean
Desktop.moveToTrash
(File file) Moves the specified file to the trash.void
Window.pack()
Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.static ActionListener
AWTEventMulticaster.remove
(ActionListener l, ActionListener oldl) Removes the old action-listener from action-listener-l and returns the resulting multicast listener.static AdjustmentListener
AWTEventMulticaster.remove
(AdjustmentListener l, AdjustmentListener oldl) Removes the old adjustment-listener from adjustment-listener-l and returns the resulting multicast listener.static HierarchyListener
AWTEventMulticaster.remove
(HierarchyListener l, HierarchyListener oldl) Removes the old hierarchy-listener from hierarchy-listener-l and returns the resulting multicast listener.static ItemListener
AWTEventMulticaster.remove
(ItemListener l, ItemListener oldl) Removes the old item-listener from item-listener-l and returns the resulting multicast listener.static MouseWheelListener
AWTEventMulticaster.remove
(MouseWheelListener l, MouseWheelListener oldl) Removes the old mouse-wheel-listener from mouse-wheel-listener-l and returns the resulting multicast listener.static TextListener
AWTEventMulticaster.remove
(TextListener l, TextListener oldl) Removes the old text-listener from text-listener-l and returns the resulting multicast listener.static WindowStateListener
AWTEventMulticaster.remove
(WindowStateListener l, WindowStateListener oldl) Removes the old window-state-listener from window-state-listener-l and returns the resulting multicast listener.void
Component.remove
(MenuComponent popup) Removes the specified popup menu from the component.void
Window.setOpacity
(float opacity) Sets the opacity of the window.void
Shows the popup menu at the x, y position relative to an origin component.ModifierConstructorDescriptionprotected
FlipBufferStrategy
(int numBuffers, BufferCapabilities caps) Creates a new flipping buffer strategy for this component. -
Uses of SuppressWarnings in java.awt.datatransfer
Modifier and TypeClassDescriptionclass
A class that implements a mechanism to transfer data using cut/copy/paste operations. -
Uses of SuppressWarnings in java.awt.dnd
Modifier and TypeMethodDescriptionDragGestureEvent.iterator()
Returns anIterator
for the events comprising the gesture.Object[]
Returns an array of the events comprising the drag gesture.protected void
DragSourceContext.updateCurrentCursor
(int sourceAct, int targetAct, int status) If the default drag cursor behavior is active, this method sets the default drag cursor for the specified actions supported by the drag source, the drop target action, and status, otherwise this method does nothing. -
Uses of SuppressWarnings in java.awt.event
Modifier and TypeFieldDescriptionprotected Object
InvocationEvent.notifier
The (potentially null) Object whose notifyAll() method will be called immediately after the Runnable.run() method has returned or thrown an exception or after the event was disposed.protected Runnable
InvocationEvent.runnable
The Runnable whose run() method will be called.Modifier and TypeMethodDescriptionstatic String
MouseEvent.getMouseModifiersText
(int modifiers) Returns aString
instance describing the modifier keys and mouse buttons that were down during the event, such as "Shift", or "Ctrl+Shift".ActionEvent.paramString()
Returns a parameter string identifying this action event.KeyEvent.paramString()
Returns a parameter string identifying this event.MouseEvent.paramString()
Returns a parameter string identifying this event.ModifierConstructorDescriptionKeyEvent
(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation) Constructs aKeyEvent
object.MouseEvent
(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int button) Constructs aMouseEvent
object with the specified source component, type, time, modifiers, coordinates, absolute coordinates, click count, popupTrigger flag, and button number. -
Uses of SuppressWarnings in java.awt.geom
Modifier and TypeMethodDescriptionvoid
AffineTransform.concatenate
(AffineTransform Tx) Concatenates anAffineTransform Tx
to thisAffineTransform
Cx in the most commonly useful way to provide a new user space that is mapped to the former user space byTx
.double
AffineTransform.getDeterminant()
Returns the determinant of the matrix representation of the transform.AffineTransform.inverseTransform
(Point2D ptSrc, Point2D ptDst) Inverse transforms the specifiedptSrc
and stores the result inptDst
.void
AffineTransform.preConcatenate
(AffineTransform Tx) Concatenates anAffineTransform Tx
to thisAffineTransform
Cx in a less commonly used way such thatTx
modifies the coordinate transformation relative to the absolute pixel space rather than relative to the existing user space.void
AffineTransform.scale
(double sx, double sy) Concatenates this transform with a scaling transformation. -
Uses of SuppressWarnings in java.awt.image.renderable
-
Uses of SuppressWarnings in java.beans
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.Activate, and/or mark Applet active.static <T> T
EventHandler.create
(Class<T> listenerInterface, Object target, String action, String eventPropertyName, String listenerMethodName) Creates an implementation oflistenerInterface
in which the method namedlistenerMethodName
passes the value of the event expression,eventPropertyName
, to the final method in the statement,action
, which is applied to thetarget
.PropertyDescriptor.createPropertyEditor
(Object bean) Constructs an instance of a property editor using the current property editor class.void
AppletInitializer.initialize
(Applet newAppletBean, BeanContext bCtxt) Deprecated, for removal: This API element is subject to removal in a future version.If passed to the appropriate variant of java.beans.Beans.instantiate this method will be called in order to associate the newly instantiated Applet (JavaBean) with its AppletContext, AppletStub, and Container.static Object
Beans.instantiate
(ClassLoader cls, String beanName, BeanContext beanContext) Deprecated, for removal: This API element is subject to removal in a future version.this method will be removed when java.beans.beancontext is removedstatic Object
Beans.instantiate
(ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer) Deprecated, for removal: This API element is subject to removal in a future version.It is recommended to useBeans.instantiate(ClassLoader, String, BeanContext)
, because the Applet API is deprecated.Extract the appropriate property value from the event and pass it to the action associated with thisEventHandler
. -
Uses of SuppressWarnings in java.beans.beancontext
Modifier and TypeInterfaceDescriptioninterface
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeFieldDescriptionBeanContextChildSupport.beanContextChildPeer
Deprecated, for removal: This API element is subject to removal in a future version.TheBeanContext
in which thisBeanContextChild
is nested.protected Collection
BeanContextMembershipEvent.children
Deprecated, for removal: This API element is subject to removal in a future version.The list of children affected by this event notification.protected BeanContext
BeanContextEvent.propagatedFrom
Deprecated, for removal: This API element is subject to removal in a future version.TheBeanContext
from which this event was propagatedprotected BeanContextServiceProvider
BeanContextServicesSupport.BCSSServiceProvider.serviceProvider
The service provider.Modifier and TypeMethodDescriptionboolean
BeanContextSupport.addAll
(Collection c) Deprecated, for removal: This API element is subject to removal in a future version.add Collection to set of Children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected fieldboolean
BeanContextSupport.containsAll
(Collection c) Deprecated, for removal: This API element is subject to removal in a future version.Tests to see if all objects in the specifiedCollection
are children of thisBeanContext
.protected final void
BeanContextSupport.deserialize
(ObjectInputStream ois, Collection coll) Deprecated, for removal: This API element is subject to removal in a future version.used by readObject to deserialize a collection.BeanContextMembershipEvent.iterator()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the array of children affected by this event.boolean
BeanContextSupport.removeAll
(Collection c) Deprecated, for removal: This API element is subject to removal in a future version.remove all specified children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected fieldboolean
BeanContextSupport.retainAll
(Collection c) Deprecated, for removal: This API element is subject to removal in a future version.retain only specified children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected fieldModifierConstructorDescriptionBeanContextMembershipEvent
(BeanContext bc, Collection changes) Deprecated, for removal: This API element is subject to removal in a future version.Construct a BeanContextMembershipEvent -
Uses of SuppressWarnings in java.io
Modifier and TypeInterfaceDescriptioninterface
Instances of classes that implement this interface are used to filter filenames.Modifier and TypeMethodDescriptionClass
<?> ObjectStreamClass.forClass()
Return the class in the local VM that this version is mapped to.long
ObjectStreamClass.getSerialVersionUID()
Return the serialVersionUID for this class.Class
<?> ObjectStreamField.getType()
Get the type of the field.int
LineNumberInputStream.read()
Deprecated.Reads the next byte of data from this input stream.int
LineNumberReader.read()
Read a single character.int
LineNumberReader.read
(char[] cbuf, int off, int len) Reads characters into a portion of an array.int
StringBufferInputStream.read
(byte[] b, int off, int len) Deprecated.Reads up tolen
bytes of data from this input stream into an array of bytes.final void
RandomAccessFile.writeBytes
(String s) Writes the string to the file as a sequence of bytes.ModifierConstructorDescriptionFileInputStream
(File file) Creates aFileInputStream
to read from an existing file represented by theFile
objectfile
.FileInputStream
(FileDescriptor fdObj) Creates aFileInputStream
by using the file descriptorfdObj
, which represents an existing connection to an actual file in the file system.FileOutputStream
(FileDescriptor fdObj) Creates a file output stream to write to the specified file descriptor, which represents an existing connection to an actual file in the file system.FileOutputStream
(File file, boolean append) Creates a file output stream to write to the file represented by the specifiedFile
object.Creates an InputStreamReader that uses thedefault charset
.InputStreamReader
(InputStream in, String charsetName) Creates an InputStreamReader that uses the named charset.InputStreamReader
(InputStream in, Charset cs) Creates an InputStreamReader that uses the given charset.InputStreamReader
(InputStream in, CharsetDecoder dec) Creates an InputStreamReader that uses the given charset decoder.Creates an ObjectInputStream that reads from the specified InputStream.Creates an ObjectOutputStream that writes to the specified OutputStream.Creates an OutputStreamWriter that uses the default character encoding, or whereout
is aPrintStream
, the charset used by the print stream.OutputStreamWriter
(OutputStream out, String charsetName) Creates an OutputStreamWriter that uses the named charset.OutputStreamWriter
(OutputStream out, Charset cs) Creates an OutputStreamWriter that uses the given charset.OutputStreamWriter
(OutputStream out, CharsetEncoder enc) Creates an OutputStreamWriter that uses the given charset encoder.PipedInputStream
(PipedOutputStream src, int pipeSize) Creates aPipedInputStream
so that it is connected to the piped output streamsrc
and uses the specified pipe size for the pipe's buffer.Creates a piped output stream connected to the specified piped input stream.PipedReader
(PipedWriter src, int pipeSize) Creates aPipedReader
so that it is connected to the piped writersrc
and uses the specified pipe size for the pipe's buffer.PipedWriter
(PipedReader snk) Creates a piped writer connected to the specified piped reader.PrintStream
(File file) Creates a new print stream, without automatic line flushing, with the specified file.PrintStream
(OutputStream out, boolean autoFlush) Creates a new print stream, with the specified OutputStream and line flushing.PrintStream
(OutputStream out, boolean autoFlush, Charset charset) Creates a new print stream, with the specified OutputStream, line flushing and charset.PrintStream
(String fileName) Creates a new print stream, without automatic line flushing, with the specified file name.RandomAccessFile
(File file, String mode) Creates a random access file stream to read from, and optionally to write to, the file specified by theFile
argument.Deprecated.As of JDK version 1.1, the preferred way to tokenize an input stream is to convert it into a character stream, for example:Reader r = new BufferedReader(new InputStreamReader(is)); StreamTokenizer st = new StreamTokenizer(r);
Create a tokenizer that parses the given character stream.WriteAbortedException
(String s, Exception ex) Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort. -
Uses of SuppressWarnings in java.lang
Modifier and TypeClassDescriptionclass
This is the common base class of all Java language enumeration classes.class
Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name.static enum
System loggers levels.static class
TheLoggerFinder
service is responsible for creating, managing, and configuring loggers to the underlying framework it uses.Modifier and TypeFieldDescriptionBoolean.TYPE
The Class object representing the primitive type boolean.Byte.TYPE
TheClass
instance representing the primitive typebyte
.Character.TYPE
TheClass
instance representing the primitive typechar
.Double.TYPE
TheClass
instance representing the primitive typedouble
.Float.TYPE
TheClass
instance representing the primitive typefloat
.Integer.TYPE
TheClass
instance representing the primitive typeint
.Long.TYPE
TheClass
instance representing the primitive typelong
.Short.TYPE
TheClass
instance representing the primitive typeshort
.Void.TYPE
TheClass
object representing the pseudo-type corresponding to the keywordvoid
.Modifier and TypeMethodDescription<U> Class
<? extends U> Class.asSubclass
(Class<U> clazz) Casts thisClass
object to represent a subclass of the class represented by the specified class object.Casts an object to the class or interface represented by thisClass
object.void
SecurityManager.checkPermission
(Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.Throws aSecurityException
if the requested access, specified by the given permission, is not permitted based on the security policy currently in effect.void
SecurityManager.checkPermission
(Permission perm, Object context) Deprecated, for removal: This API element is subject to removal in a future version.Throws aSecurityException
if the specified security context is denied access to the resource specified by the given permission.static int
CharSequence.compare
(CharSequence cs1, CharSequence cs2) Compares twoCharSequence
instances lexicographically.protected final void
Enum.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.static Class
<?> Returns theClass
with the given binary name in the given module.<T> T
ScopedValue.Carrier.get
(ScopedValuePREVIEW<T> key) Returns the value of aScopedValue
PREVIEW in this mapping.ScopedValue.get()
Returns the value of the scoped value if bound in the current thread.<A extends Annotation>
AClass.getAnnotation
(Class<A> annotationClass) Returns this element's annotation for the specified type if such an annotation is present, else null.Class<?>[]
Class.getClasses()
Returns an array containingClass
objects representing all the public classes and interfaces that are members of the class represented by thisClass
object.<A extends Annotation>
AClass.getDeclaredAnnotation
(Class<A> annotationClass) Returns this element's annotation for the specified type if such an annotation is directly present, else null.Enum.getDeclaringClass()
Returns the Class object corresponding to this enum constant's enum type.static System.Logger
System.getLogger
(String name, ResourceBundle bundle) Returns a localizable instance ofLogger
for the caller's use.static Package
Package.getPackage
(String name) Deprecated.If multiple class loaders delegate to each other and define classes with the same package name, and one such loader relies on the lookup behavior ofgetPackage
to return aPackage
from a parent loader, then the properties exposed by thePackage
may not be as expected in the rest of the program.SecurityManager.getSecurityContext()
Deprecated, for removal: This API element is subject to removal in a future version.Creates an object that encapsulates the current execution environment.static SecurityManager
System.getSecurityManager()
Deprecated, for removal: This API element is subject to removal in a future version.This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.TypeVariable<Class<T>>[]
Class.getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order.static boolean
Character.isJavaIdentifierPart
(char ch) Determines if the specified character may be part of a Java identifier as other than the first character.static boolean
Character.isJavaIdentifierPart
(int codePoint) Determines if the character (Unicode code point) may be part of a Java identifier as other than the first character.static boolean
Character.isJavaIdentifierStart
(char ch) Determines if the specified character is permissible as the first character in a Java identifier.static boolean
Character.isJavaIdentifierStart
(int codePoint) Determines if the character (Unicode code point) is permissible as the first character in a Java identifier.Class.newInstance()
Deprecated.This method propagates any exception thrown by the nullary constructor, including a checked exception.static void
System.runFinalization()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.Modifier and TypeMethodDescriptionstatic void
System.setSecurityManager
(SecurityManager sm) Deprecated, for removal: This API element is subject to removal in a future version.This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.ModifierConstructorDescriptionAssertionError
(Object detailMessage) Constructs an AssertionError with its detail message derived from the specified object, which is converted to a string as defined in section 5.1.11 of The Java Language Specification.BootstrapMethodError
(Throwable cause) Constructs aBootstrapMethodError
with the specified cause.protected
Creates a new class loader using theClassLoader
returned by the methodgetSystemClassLoader()
as the parent class loader.protected
ClassLoader
(ClassLoader parent) Creates a new class loader using the specified parent class loader for delegation.protected
ClassLoader
(String name, ClassLoader parent) Creates a new class loader of the specified name and using the specified parent class loader for delegation.Constructs anExceptionInInitializerError
withnull
as its detail message string and with no saved throwable object.ThreadGroup
(ThreadGroup parent, String name) Creates a new thread group.Constructs a new throwable withnull
as its detail message.Constructs a new throwable with the specified detail message.Constructs a new throwable with the specified detail message and cause.protected
Constructs a new throwable with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.Constructs a new throwable with the specified cause and a detail message of(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). -
Uses of SuppressWarnings in java.lang.constant
Modifier and TypeMethodDescriptionDynamicConstantDesc.resolveConstantDesc
(MethodHandles.Lookup lookup) -
Uses of SuppressWarnings in java.lang.foreign
Modifier and TypeMethodDescriptionstatic SymbolLookup
SymbolLookup.loaderLookup()
Returns a symbol lookup for symbols in the libraries associated with the caller's class loader. -
Uses of SuppressWarnings in java.lang.instrument
Modifier and TypeMethodDescriptionClass[]
Instrumentation.getAllLoadedClasses()
Returns an array of all classes currently loaded by the JVM.Class[]
Instrumentation.getInitiatedClasses
(ClassLoader loader) Returns an array of all classes whichloader
can find by name viaClassLoader::loadClass
,Class::forName
and bytecode linkage. -
Uses of SuppressWarnings in java.lang.invoke
Modifier and TypeMethodDescriptionstatic <T> T
MethodHandleProxies.asInterfaceInstance
(Class<T> intfc, MethodHandle target) Produces an instance of the given single-method interface which redirects its calls to the given method handle.MethodHandles.Lookup.defineHiddenClass
(byte[] bytes, boolean initialize, MethodHandles.Lookup.ClassOption... options) Creates a hidden class or interface frombytes
, returning aLookup
on the newly created class or interface.TypeDescriptor.OfMethod.insertParameterTypes
(int pos, F... paramTypes) Return a method descriptor that is identical to this one, except that a range of additional parameter types have been inserted. -
Uses of SuppressWarnings in java.lang.management
Modifier and TypeClassDescriptionclass
TheManagementFactory
class is a factory class for getting managed beans for the Java platform.interface
The management interface for the logging facility.Modifier and TypeMethodDescriptiondefault long
RuntimeMXBean.getPid()
Returns the process ID representing the running Java virtual machine. -
Uses of SuppressWarnings in java.lang.module
Modifier and TypeMethodDescriptionstatic ModuleFinder
ModuleFinder.ofSystem()
Returns a module finder that locates the system modules. -
Uses of SuppressWarnings in java.lang.reflect
Modifier and TypeClassDescriptionenum
enum
Class file format versions of the Java virtual machine.Modifier and TypeFieldDescriptionprotected InvocationHandler
Proxy.h
the invocation handler for this proxy instance.Modifier and TypeMethodDescriptionExecutable.getAnnotatedParameterTypes()
Returns an array ofAnnotatedType
objects that represent the use of types to specify formal parameter types of the method/constructor represented by this Executable.Type[]
Executable.getGenericParameterTypes()
Returns an array ofType
objects that represent the formal parameter types, in declaration order, of the executable represented by this object.static InvocationHandler
Proxy.getInvocationHandler
(Object proxy) Returns the invocation handler for the specified proxy instance.abstract Class<?>[]
Executable.getParameterTypes()
Returns an array ofClass
objects that represent the formal parameter types, in declaration order, of the executable represented by this object.TypeVariable<Constructor<T>>[]
Constructor.getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order.Method.getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order. -
Uses of SuppressWarnings in java.math
Modifier and TypeClassDescriptionenum
Specifies a rounding policy for numerical operations capable of discarding precision. -
Uses of SuppressWarnings in java.net
Modifier and TypeMethodDescriptionprotected Class
<?> Finds and loads the class with the specified name from the URL search path.ContentHandler.getContent
(URLConnection urlc, Class[] classes) Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object that matches one of the types specified.long
URLConnection.getHeaderFieldDate
(String name, long defaultValue) Returns the value of the named field parsed as date.<T> T
Socket.getOption
(SocketOption<T> name) Returns the value of a socket option.protected PermissionCollection
URLClassLoader.getPermissions
(CodeSource codesource) Returns the permissions for the given codesource object.ServerSocket.toString()
Returns the implementation address and implementation port of this socket as aString
.ModifierConstructorDescriptionServerSocket
(int port, int backlog, InetAddress bindAddr) Create a server with the specified port, listen backlog, and local IP address to bind to.Creates a stream socket and connects it to the specified port number on the named host.Deprecated, for removal: This API element is subject to removal in a future version.UseDatagramSocket
instead for UDP transport.Socket
(String host, int port, InetAddress localAddr, int localPort) Creates a socket and connects it to the specified remote host on the specified remote port.Socket
(InetAddress address, int port) Creates a stream socket and connects it to the specified port number at the specified IP address.Socket
(InetAddress host, int port, boolean stream) Deprecated, for removal: This API element is subject to removal in a future version.UseDatagramSocket
instead for UDP transport.Socket
(InetAddress address, int port, InetAddress localAddr, int localPort) Creates a socket and connects it to the specified remote address on the specified remote port.Creates an unconnected socket, specifying the type of proxy, if any, that should be used regardless of any other settings.URLClassLoader
(String name, URL[] urls, ClassLoader parent) Constructs a new namedURLClassLoader
for the specified URLs.URLClassLoader
(String name, URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) Constructs a new namedURLClassLoader
for the specified URLs, parent class loader, and URLStreamHandlerFactory.URLClassLoader
(URL[] urls) Constructs a new URLClassLoader for the specified URLs using the default delegation parentClassLoader
.URLClassLoader
(URL[] urls, ClassLoader parent) Constructs a new URLClassLoader for the given URLs.URLClassLoader
(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) Constructs a new URLClassLoader for the specified URLs, parent class loader, and URLStreamHandlerFactory. -
Uses of SuppressWarnings in java.nio.charset
Modifier and TypeMethodDescriptionCharset.availableCharsets()
Constructs a sorted map from canonical charset names to charset objects.ModifierConstructorDescriptionprotected
CharsetDecoder
(Charset cs, float averageCharsPerByte, float maxCharsPerByte) Initializes a new decoder.protected
CharsetEncoder
(Charset cs, float averageBytesPerChar, float maxBytesPerChar) Initializes a new encoder.protected
CharsetEncoder
(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement) Initializes a new encoder. -
Uses of SuppressWarnings in java.rmi
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.This class is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release. -
Uses of SuppressWarnings in java.rmi.server
Modifier and TypeFieldDescriptionstatic final long
RemoteRef.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
ServerRef.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in java.security
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.class
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.class
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.class
A parameter that contains a URI pointing to data intended for a PolicySpi or ConfigurationSpi implementation.Modifier and TypeFieldDescriptionstatic final long
Key.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
PrivateKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
PublicKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.Modifier and TypeMethodDescriptionvoid
AccessControlContext.checkPermission
(Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect, and the context in this object.static void
AccessController.checkPermission
(Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.Determines whether the access request indicated by the specified permission should be allowed or denied, based on the currentAccessControlContext
and security policy.protected PermissionCollection
PolicySpi.engineGetPermissions
(CodeSource codesource) Deprecated, for removal: This API element is subject to removal in a future version.Return a PermissionCollection object containing the set of permissions granted to the specified CodeSource.protected PermissionCollection
PolicySpi.engineGetPermissions
(ProtectionDomain domain) Deprecated, for removal: This API element is subject to removal in a future version.Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain.static AccessControlContext
AccessController.getContext()
Deprecated, for removal: This API element is subject to removal in a future version.This method takes a "snapshot" of the current calling context, which includes the current thread's inheritedAccessControlContext
and any limited privilege scope, and places it in anAccessControlContext
object.AccessControlContext.getDomainCombiner()
Deprecated, for removal: This API element is subject to removal in a future version.Get theDomainCombiner
associated with thisAccessControlContext
.static Policy
Policy.getInstance
(String type, Policy.Parameters params) Deprecated, for removal: This API element is subject to removal in a future version.Returns a Policy object of the specified type.static Policy
Policy.getInstance
(String type, Policy.Parameters params, String provider) Deprecated, for removal: This API element is subject to removal in a future version.Returns aPolicy
object of the specified type.static Policy
Policy.getInstance
(String type, Policy.Parameters params, Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.Returns aPolicy
object of the specified type.boolean
ProtectionDomain.implies
(Permission perm) Check and see if thisProtectionDomain
implies the permissions expressed in thePermission
object.Modifier and TypeMethodDescriptionstatic <T> T
AccessController.doPrivileged
(PrivilegedAction<T> action, AccessControlContext context) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specifiedPrivilegedAction
with privileges enabled and restricted by the specifiedAccessControlContext
.static <T> T
AccessController.doPrivileged
(PrivilegedAction<T> action, AccessControlContext context, Permission... perms) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specifiedPrivilegedAction
with privileges enabled and restricted by the specifiedAccessControlContext
and with a privilege scope limited by specifiedPermission
arguments.static <T> T
AccessController.doPrivileged
(PrivilegedExceptionAction<T> action, AccessControlContext context) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specifiedPrivilegedExceptionAction
with privileges enabled and restricted by the specifiedAccessControlContext
.static <T> T
AccessController.doPrivileged
(PrivilegedExceptionAction<T> action, AccessControlContext context, Permission... perms) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specifiedPrivilegedExceptionAction
with privileges enabled and restricted by the specifiedAccessControlContext
and with a privilege scope limited by specifiedPermission
arguments.static <T> T
AccessController.doPrivilegedWithCombiner
(PrivilegedAction<T> action, AccessControlContext context, Permission... perms) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specifiedPrivilegedAction
with privileges enabled and restricted by the specifiedAccessControlContext
and with a privilege scope limited by specifiedPermission
arguments.static <T> T
AccessController.doPrivilegedWithCombiner
(PrivilegedExceptionAction<T> action, AccessControlContext context, Permission... perms) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specifiedPrivilegedExceptionAction
with privileges enabled and restricted by the specifiedAccessControlContext
and with a privilege scope limited by specifiedPermission
arguments.ModifierConstructorDescriptionDigestInputStream
(InputStream stream, MessageDigest digest) Creates a digest input stream, using the specified input stream and message digest.DigestOutputStream
(OutputStream stream, MessageDigest digest) Creates a digest output stream, using the specified output stream and message digest.Identity
(String name, IdentityScope scope) Deprecated, for removal: This API element is subject to removal in a future version.Constructs anIdentity
with the specified name and scope.protected
Deprecated.useProvider(String, String, String)
instead.protected
Constructs aProvider
with the specified name, version string, and information.ModifierConstructorDescriptionAccessControlContext
(AccessControlContext acc, DomainCombiner combiner) Deprecated, for removal: This API element is subject to removal in a future version.Create a newAccessControlContext
with the givenAccessControlContext
andDomainCombiner
. -
Uses of SuppressWarnings in java.security.cert
Modifier and TypeMethodDescriptionstatic final String
CertStore.getDefaultType()
Returns the defaultCertStore
type as specified by thecertstore.type
security property, or the string "LDAP" if no such property exists.ModifierConstructorDescriptionPKIXBuilderParameters
(KeyStore keystore, CertSelector targetConstraints) Creates an instance ofPKIXBuilderParameters
that populates the set of most-trusted CAs from the trusted certificate entries contained in the specifiedKeyStore
.PKIXBuilderParameters
(Set<TrustAnchor> trustAnchors, CertSelector targetConstraints) Creates an instance ofPKIXBuilderParameters
with the specifiedSet
of most-trusted CAs.PKIXParameters
(KeyStore keystore) Creates an instance ofPKIXParameters
that populates the set of most-trusted CAs from the trusted certificate entries contained in the specifiedKeyStore
.PKIXParameters
(Set<TrustAnchor> trustAnchors) Creates an instance ofPKIXParameters
with the specifiedSet
of most-trusted CAs. -
Uses of SuppressWarnings in java.security.interfaces
Modifier and TypeFieldDescriptionstatic final long
DSAPrivateKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
DSAPublicKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
ECPrivateKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
ECPublicKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
RSAMultiPrimePrivateCrtKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
RSAPrivateCrtKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
RSAPrivateKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
RSAPublicKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in java.sql
Modifier and TypeMethodDescriptionDate.toLocalDate()
Creates aLocalDate
instance using the year, month and day from thisDate
object.Timestamp.toLocalDateTime()
Converts thisTimestamp
object to aLocalDateTime
.Time.toLocalTime()
Converts thisTime
object to aLocalTime
.Date.toString()
Formats a date in the date escape format yyyy-mm-dd.Time.toString()
Formats a time in JDBC time escape format.Timestamp.toString()
Formats a timestamp in JDBC timestamp escape format.static Date
Obtains an instance ofDate
from aLocalDate
object with the same year, month and day of month value as the givenLocalDate
.static Time
Obtains an instance ofTime
from aLocalTime
object with the same hour, minute and second time value as the givenLocalTime
.static Timestamp
Timestamp.valueOf
(LocalDateTime dateTime) Obtains an instance ofTimestamp
from aLocalDateTime
object, with the same year, month, day of month, hours, minutes, seconds and nanos date-time value as the providedLocalDateTime
. -
Uses of SuppressWarnings in java.text
Modifier and TypeInterfaceDescriptioninterface
AnAttributedCharacterIterator
allows iteration through both text and related attribute information.Modifier and TypeMethodDescriptionvoid
CollationElementIterator.setOffset
(int newOffset) Sets the iterator to point to the collation element corresponding to the specified character (the parameter is a CHARACTER offset in the original string, not an offset into its corresponding sequence of collation elements).ModifierConstructorDescriptionprotected
Constructs anAttribute
with the given name.AttributedString
(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes) Constructs an AttributedString instance with the subrange of the given attributed text represented by AttributedCharacterIterator.Bidi
(AttributedCharacterIterator paragraph) Create Bidi from the given paragraph of text.Creates a DecimalFormat using the default pattern and symbols for the defaultFORMAT
locale.DecimalFormat
(String pattern) Creates a DecimalFormat using the given pattern and the symbols for the defaultFORMAT
locale.DecimalFormat
(String pattern, DecimalFormatSymbols symbols) Creates a DecimalFormat using the given pattern and symbols.protected
Creates aField
.protected
Creates a Field instance with the specified name.RuleBasedCollator
(String rules) RuleBasedCollator constructor. -
Uses of SuppressWarnings in java.time
Modifier and TypeMethodDescriptionstatic ZoneOffset
Obtains an instance ofZoneOffset
using the ID.<R> R
DayOfWeek.query
(TemporalQuery<R> query) Queries this day-of-week using the specified query.<R> R
Instant.query
(TemporalQuery<R> query) Queries this instant using the specified query.<R> R
LocalDate.query
(TemporalQuery<R> query) Queries this date using the specified query.<R> R
LocalDateTime.query
(TemporalQuery<R> query) Queries this date-time using the specified query.<R> R
LocalTime.query
(TemporalQuery<R> query) Queries this time using the specified query.<R> R
Month.query
(TemporalQuery<R> query) Queries this month-of-year using the specified query.<R> R
MonthDay.query
(TemporalQuery<R> query) Queries this month-day using the specified query.<R> R
OffsetDateTime.query
(TemporalQuery<R> query) Queries this date-time using the specified query.<R> R
OffsetTime.query
(TemporalQuery<R> query) Queries this time using the specified query.<R> R
Year.query
(TemporalQuery<R> query) Queries this year using the specified query.<R> R
YearMonth.query
(TemporalQuery<R> query) Queries this year-month using the specified query.<R> R
ZonedDateTime.query
(TemporalQuery<R> query) Queries this date-time using the specified query.<R> R
ZoneOffset.query
(TemporalQuery<R> query) Queries this offset using the specified query. -
Uses of SuppressWarnings in java.time.chrono
Modifier and TypeMethodDescriptiondefault ChronoLocalDateTime
<?> Combines this date with a time to create aChronoLocalDateTime
.final ChronoLocalDateTime
<HijrahDate> final ChronoLocalDateTime
<JapaneseDate> final ChronoLocalDateTime
<MinguoDate> HijrahChronology.localDateTime
(TemporalAccessor temporal) JapaneseChronology.localDateTime
(TemporalAccessor temporal) MinguoChronology.localDateTime
(TemporalAccessor temporal) ThaiBuddhistChronology.localDateTime
(TemporalAccessor temporal) default <R> R
ChronoLocalDate.query
(TemporalQuery<R> query) Queries this date using the specified query.default <R> R
ChronoLocalDateTime.query
(TemporalQuery<R> query) Queries this date-time using the specified query.default <R> R
ChronoZonedDateTime.query
(TemporalQuery<R> query) Queries this date-time using the specified query.default <R> R
Era.query
(TemporalQuery<R> query) Queries this era using the specified query.HijrahChronology.zonedDateTime
(Instant instant, ZoneId zone) HijrahChronology.zonedDateTime
(TemporalAccessor temporal) JapaneseChronology.zonedDateTime
(Instant instant, ZoneId zone) JapaneseChronology.zonedDateTime
(TemporalAccessor temporal) MinguoChronology.zonedDateTime
(Instant instant, ZoneId zone) MinguoChronology.zonedDateTime
(TemporalAccessor temporal) ThaiBuddhistChronology.zonedDateTime
(Instant instant, ZoneId zone) ThaiBuddhistChronology.zonedDateTime
(TemporalAccessor temporal) -
Uses of SuppressWarnings in java.time.temporal
Modifier and TypeMethodDescription<R extends Temporal>
RChronoUnit.addTo
(R temporal, long amount) <R extends Temporal>
RChronoField.adjustInto
(R temporal, long newValue) -
Uses of SuppressWarnings in java.util
Modifier and TypeClassDescriptionclass
A state object for collecting statistics such as count, min, max, sum, and average.class
Deprecated.This class and theObserver
interface have been deprecated.static interface
An Iterator specialized fordouble
values.static interface
An Iterator specialized forint
values.static interface
An Iterator specialized forlong
values.class
An unbounded priority queue based on a priority heap.static interface
A Spliterator specialized fordouble
values.static interface
A Spliterator specialized forint
values.static interface
A Spliterator specialized forlong
values.Modifier and TypeFieldDescriptionprotected boolean
Calendar.areFieldsSet
True iffields[]
are in sync with the currently set time.protected Object[]
Vector.elementData
The array buffer into which the components of the vector are stored.static final List
Collections.EMPTY_LIST
The empty list (immutable).static final Map
Collections.EMPTY_MAP
The empty map (immutable).static final Set
Collections.EMPTY_SET
The empty set (immutable).protected int[]
Calendar.fields
The calendar field values for the currently set time for this calendar.protected boolean[]
Calendar.isSet
The flags which tell if a specified calendar field for the calendar is set.protected boolean
Calendar.isTimeSet
True if then the value oftime
is valid.protected long
Calendar.time
The currently set time for this calendar, expressed in milliseconds after January 1, 1970, 0:00:00 GMT.Modifier and TypeMethodDescriptionstatic <T> List
<T> Arrays.asList
(T... a) Returns a fixed-size list backed by the specified array.static <T> int
Collections.binarySearch
(List<? extends T> list, T key, Comparator<? super T> c) Searches the specified list for the specified object using the binary search algorithm.EnumMap.clone()
Returns a shallow copy of this enum map.EnumSet.clone()
Returns a copy of this set.HashMap.clone()
Returns a shallow copy of thisHashMap
instance: the keys and values themselves are not cloned.HashSet.clone()
Returns a shallow copy of thisHashSet
instance: the elements themselves are not cloned.TreeSet.clone()
Returns a shallow copy of thisTreeSet
instance.static <T> T[]
Arrays.copyOf
(T[] original, int newLength) Copies the specified array, truncating or padding with nulls (if necessary) so the copy has the specified length.static <K,
V> Map <K, V> Returns an unmodifiable Map containing the entries of the given Map.static <K,
V> Map.Entry <K, V> Returns a copy of the givenMap.Entry
.static <E> Set
<E> Set.copyOf
(Collection<? extends E> coll) Returns an unmodifiable Set containing the elements of the given Collection.static <T> T[]
Arrays.copyOfRange
(T[] original, int from, int to) Copies the specified range of the specified array into a new array.static <T> Enumeration
<T> Collections.emptyEnumeration()
Returns an enumeration that has no elements.static <T> Iterator
<T> Collections.emptyIterator()
Returns an iterator that has no elements.static final <T> List
<T> Collections.emptyList()
Returns an empty list (immutable).static <T> ListIterator
<T> Collections.emptyListIterator()
Returns a list iterator that has no elements.static final <K,
V> Map <K, V> Collections.emptyMap()
Returns an empty map (immutable).static final <K,
V> NavigableMap <K, V> Collections.emptyNavigableMap()
Returns an empty navigable map (immutable).static <E> NavigableSet
<E> Collections.emptyNavigableSet()
Returns an empty navigable set (immutable).static final <T> Set
<T> Collections.emptySet()
Returns an empty set (immutable).static final <K,
V> SortedMap <K, V> Collections.emptySortedMap()
Returns an empty sorted map (immutable).static <E> SortedSet
<E> Collections.emptySortedSet()
Returns an empty sorted set (immutable).static <T> Spliterator
<T> Spliterators.emptySpliterator()
Creates an emptySpliterator
Base64.Encoder.encodeToString
(byte[] src) Encodes the specified byte array into a String using theBase64
encoding scheme.void
PrimitiveIterator.forEachRemaining
(T_CONS action) Performs the given action for each remaining element until all elements have been processed or the action throws an exception.default void
Spliterator.OfPrimitive.forEachRemaining
(T_CONS action) Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.static <S> ServiceLoader
<S> ServiceLoader.load
(Class<S> service, ClassLoader loader) Creates a new service loader for the given service.static <T> T
Collections.max
(Collection<? extends T> coll, Comparator<? super T> comp) Returns the maximum element of the given collection, according to the order induced by the specified comparator.static <T> T
Collections.min
(Collection<? extends T> coll, Comparator<? super T> comp) Returns the minimum element of the given collection, according to the order induced by the specified comparator.static <T extends Comparable<? super T>>
Comparator<T> Comparator.naturalOrder()
Returns a comparator that comparesComparable
objects in natural order.static <E> List
<E> List.of()
Returns an unmodifiable list containing zero elements.static <E> List
<E> List.of
(E... elements) Returns an unmodifiable list containing an arbitrary number of elements.static <K,
V> Map <K, V> Map.of()
Returns an unmodifiable map containing zero mappings.static <E> Set
<E> Set.of()
Returns an unmodifiable set containing zero elements.static <E> Set
<E> Set.of
(E... elements) Returns an unmodifiable set containing an arbitrary number of elements.static <K,
V> Map <K, V> Returns an unmodifiable map containing keys and values extracted from the given entries.static <T> Optional
<T> Optional.ofNullable
(T value) Returns anOptional
describing the given value, if non-null
, otherwise returns an emptyOptional
.static <T extends Comparable<? super T>>
voidArrays.parallelSort
(T[] a) Sorts the specified array of objects into ascending order, according to the natural ordering of its elements.static <T extends Comparable<? super T>>
voidArrays.parallelSort
(T[] a, int fromIndex, int toIndex) Sorts the specified range of the specified array of objects into ascending order, according to the natural ordering of its elements.static <T> void
Arrays.parallelSort
(T[] a, int fromIndex, int toIndex, Comparator<? super T> cmp) Sorts the specified range of the specified array of objects according to the order induced by the specified comparator.static <T> void
Arrays.parallelSort
(T[] a, Comparator<? super T> cmp) Sorts the specified array of objects according to the order induced by the specified comparator.protected void
Hashtable.rehash()
Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and access its entries more efficiently.static void
Reverses the order of the elements in the specified list.static <T> Comparator
<T> Collections.reverseOrder()
Returns a comparator that imposes the reverse of the natural ordering on a collection of objects that implement theComparable
interface.static <T> Comparator
<T> Collections.reverseOrder
(Comparator<T> cmp) Returns a comparator that imposes the reverse ordering of the specified comparator.static void
Collections.shuffle
(List<?> list, RandomGenerator rnd) Randomly permute the specified list using the specified source of randomness.default void
List.sort
(Comparator<? super E> c) Sorts this list according to the order induced by the specifiedComparator
(optional operation).static void
Swaps the elements at the specified positions in the specified list.<T> T[]
AbstractCollection.toArray
(T[] a) Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.<T> T[]
ArrayDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
ArrayList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
LinkedList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
Vector.toArray
(T[] a) Returns an array containing all of the elements in this Vector in the correct order; the runtime type of the returned array is that of the specified array.boolean
Spliterator.OfPrimitive.tryAdvance
(T_CONS action) If a remaining element exists, performs the given action on it, returningtrue
; else returnsfalse
.static <T> Collection
<T> Collections.unmodifiableCollection
(Collection<? extends T> c) Returns an unmodifiable view of the specified collection.static <T> List
<T> Collections.unmodifiableList
(List<? extends T> list) Returns an unmodifiable view of the specified list.static <K,
V> Map <K, V> Collections.unmodifiableMap
(Map<? extends K, ? extends V> m) Returns an unmodifiable view of the specified map.static <K,
V> NavigableMap <K, V> Collections.unmodifiableNavigableMap
(NavigableMap<K, ? extends V> m) Returns an unmodifiable view of the specified navigable map.static <T> SequencedCollection
<T> Collections.unmodifiableSequencedCollection
(SequencedCollection<? extends T> c) Returns an unmodifiable view of the specifiedSequencedCollection
.static <K,
V> SequencedMap <K, V> Collections.unmodifiableSequencedMap
(SequencedMap<? extends K, ? extends V> m) Returns an unmodifiable view of the specifiedSequencedMap
.static <T> SequencedSet
<T> Collections.unmodifiableSequencedSet
(SequencedSet<? extends T> s) Returns an unmodifiable view of the specifiedSequencedSet
.static <T> Set
<T> Collections.unmodifiableSet
(Set<? extends T> s) Returns an unmodifiable view of the specified set.static <K,
V> SortedMap <K, V> Collections.unmodifiableSortedMap
(SortedMap<K, ? extends V> m) Returns an unmodifiable view of the specified sorted map.ModifierConstructorDescriptionArrayDeque
(Collection<? extends E> c) Constructs a deque containing the elements of the specified collection, in the order they are returned by the collection's iterator.Creates an enum map initialized from the specified map.Constructs a defaultGregorianCalendar
using the current time in the default time zone with the defaultFORMAT
locale.GregorianCalendar
(int year, int month, int dayOfMonth) Constructs aGregorianCalendar
with the given date set in the default time zone with the default locale.GregorianCalendar
(int year, int month, int dayOfMonth, int hourOfDay, int minute) Constructs aGregorianCalendar
with the given date and time set for the default time zone with the default locale.GregorianCalendar
(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second) Constructs a GregorianCalendar with the given date and time set for the default time zone with the default locale.GregorianCalendar
(Locale aLocale) Constructs aGregorianCalendar
based on the current time in the default time zone with the given locale.GregorianCalendar
(TimeZone zone, Locale aLocale) Constructs aGregorianCalendar
based on the current time in the given time zone with the given locale.Constructs a newHashMap
with the same mappings as the specifiedMap
.HashSet
(Collection<? extends E> c) Constructs a new set containing the elements in the specified collection.Constructs a new hashtable with the same mappings as the given Map.IdentityHashMap
(Map<? extends K, ? extends V> m) Constructs a new identity hash map containing the key-value mappings in the specified map.Constructs an InvalidPropertiesFormatException with the specified cause.LinkedHashMap
(Map<? extends K, ? extends V> m) Constructs an insertion-orderedLinkedHashMap
instance with the same mappings as the specified map.LinkedHashSet
(Collection<? extends E> c) Constructs a new linked hash set with the same elements as the specified collection.LinkedList
(Collection<? extends E> c) Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.PropertyResourceBundle
(InputStream stream) Creates a property resource bundle from anInputStream
.PropertyResourceBundle
(Reader reader) Creates a property resource bundle from aReader
.Random
(long seed) Creates a new random number generator using a singlelong
seed.SimpleTimeZone
(int rawOffset, String ID) Constructs a SimpleTimeZone with the given base time zone offset from GMT and time zone ID with no daylight saving time schedule.SimpleTimeZone
(int rawOffset, String ID, int startMonth, int startDay, int startDayOfWeek, int startTime, int startTimeMode, int endMonth, int endDay, int endDayOfWeek, int endTime, int endTimeMode, int dstSavings) Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, and rules for starting and ending the daylight time.Creates a new timer whose associated thread has the specified name, and may be specified to run as a daemon.Constructs a new tree map containing the same mappings as the given map, ordered according to the natural ordering of its keys.TreeSet
(Collection<? extends E> c) Constructs a new tree set containing the elements in the specified collection, sorted according to the natural ordering of its elements.Constructs a new tree set containing the same elements and using the same ordering as the specified sorted set.WeakHashMap
(Map<? extends K, ? extends V> m) Constructs a newWeakHashMap
with the same mappings as the specified map. -
Uses of SuppressWarnings in java.util.concurrent
Modifier and TypeClassDescriptionclass
An unbounded blocking queue that uses the same ordering rules as classPriorityQueue
and supplies blocking retrieval operations.Modifier and TypeMethodDescriptionvoid
protected void
ThreadPoolExecutor.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.CompletableFuture.get()
Waits if necessary for this future to complete, and then returns its result.Waits if necessary for at most the given time for this future to complete, and then returns its result, if available.Returns the result value (or throws any encountered exception) if completed, else returns the given valueIfAbsent.CompletableFuture.join()
Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally.LinkedTransferQueue.poll()
SynchronousQueue.poll()
Retrieves and removes the head of this queue, if another thread is currently making an element available.Retrieves and removes the head of this queue, waiting if necessary up to the specified wait time, for another thread to insert it.ForkJoinTask
<?> LinkedTransferQueue.take()
SynchronousQueue.take()
Retrieves and removes the head of this queue, waiting if necessary for another thread to insert it.<T> T[]
ArrayBlockingQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
ConcurrentLinkedDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque, in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]
ConcurrentLinkedQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
CopyOnWriteArrayList.toArray
(T[] a) Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.Object[]
LinkedBlockingDeque.toArray()
Returns an array containing all of the elements in this deque, in proper sequence (from first to last element).<T> T[]
LinkedBlockingDeque.toArray
(T[] a) Returns an array containing all of the elements in this deque, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
LinkedBlockingQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]
LinkedTransferQueue.toArray
(T[] a) Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.ModifierConstructorDescriptionConcurrentHashMap
(Map<? extends K, ? extends V> m) Creates a new map with the same mappings as the given map.ConcurrentSkipListMap
(Map<? extends K, ? extends V> m) Constructs a new map containing the same mappings as the given map, sorted according to the natural ordering of the keys.ConcurrentSkipListMap
(SortedMap<K, ? extends V> m) Constructs a new map containing the same mappings and using the same ordering as the specified sorted map.ConcurrentSkipListSet
(Collection<? extends E> c) Constructs a new set containing the elements in the specified collection, that orders its elements according to their natural ordering.Constructs a new set containing the same elements and using the same ordering as the specified sorted set.DelayQueue
(Collection<? extends E> c) Creates aDelayQueue
initially containing the elements of the given collection ofDelayed
instances.protected
ForkJoinWorkerThread
(ThreadGroup group, ForkJoinPool pool, boolean preserveThreadLocals) Creates a ForkJoinWorkerThread operating in the given thread group and pool, and with the given policy for preserving ThreadLocals.protected
Creates a ForkJoinWorkerThread operating in the given pool.LinkedBlockingDeque
(Collection<? extends E> c) Creates aLinkedBlockingDeque
with a capacity ofInteger.MAX_VALUE
, initially containing the elements of the given collection, added in traversal order of the collection's iterator.StructuredTaskScope
(String name, ThreadFactory factory) Creates a structured task scope with the given name and thread factory.ThreadPoolExecutor
(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler) Creates a newThreadPoolExecutor
with the given initial parameters. -
Uses of SuppressWarnings in java.util.concurrent.atomic
Modifier and TypeMethodDescriptionfinal E
AtomicReferenceArray.get
(int i) Returns the current value of the element at indexi
, with memory effects as specified byVarHandle.getVolatile(java.lang.Object...)
.final V
Atomically sets the value tonewValue
and returns the old value, with memory effects as specified byVarHandle.getAndSet(java.lang.Object...)
.final E
Atomically sets the element at indexi
tonewValue
and returns the old value, with memory effects as specified byVarHandle.getAndSet(java.lang.Object...)
. -
Uses of SuppressWarnings in java.util.function
-
Uses of SuppressWarnings in java.util.jar
ModifierConstructorDescriptionJarInputStream
(InputStream in, boolean verify) Creates a newJarInputStream
and reads the optional manifest.JarOutputStream
(OutputStream out, Manifest man) Creates a newJarOutputStream
with the specifiedManifest
.Manifest
(InputStream is) Constructs a new Manifest from the specified input stream. -
Uses of SuppressWarnings in java.util.logging
Modifier and TypeInterfaceDescriptioninterface
Deprecated.Modifier and TypeFieldDescriptionstatic final String
LogManager.LOGGING_MXBEAN_NAME
String representation of theObjectName
for the management interface for the logging facility.Modifier and TypeMethodDescriptionstatic LoggingMXBean
LogManager.getLoggingMXBean()
Deprecated.java.util.logging.LoggingMXBean
is deprecated and replaced withjava.lang.management.PlatformLoggingMXBean
. -
Uses of SuppressWarnings in java.util.prefs
Modifier and TypeMethodDescriptionboolean
AbstractPreferences.isUserNode()
Implements theisUserNode
method as per the specification inPreferences.isUserNode()
. -
Uses of SuppressWarnings in java.util.spi
Modifier and TypeMethodDescriptionstatic Optional
<ToolProvider> Returns the first instance of aToolProvider
with the given name, as loaded byServiceLoader
using the system class loader. -
Uses of SuppressWarnings in java.util.stream
Modifier and TypeMethodDescriptionstatic <T> Stream
<T> Stream.of
(T... values) Returns a sequential ordered stream whose elements are the specified values.Stream.toList()
Accumulates the elements of this stream into aList
.Collectors.toUnmodifiableMap
(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends U> valueMapper) Returns aCollector
that accumulates the input elements into an unmodifiable Map, whose keys and values are the result of applying the provided mapping functions to the input elements.Collectors.toUnmodifiableMap
(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends U> valueMapper, BinaryOperator<U> mergeFunction) Returns aCollector
that accumulates the input elements into an unmodifiable Map, whose keys and values are the result of applying the provided mapping functions to the input elements.Collectors.toUnmodifiableSet()
Returns aCollector
that accumulates the input elements into an unmodifiable Set. -
Uses of SuppressWarnings in java.util.zip
-
Uses of SuppressWarnings in javax.crypto
Modifier and TypeFieldDescriptionstatic final long
SecretKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in javax.crypto.interfaces
Modifier and TypeFieldDescriptionstatic final long
DHPrivateKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
DHPublicKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static final long
PBEKey.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in javax.imageio.metadata
Modifier and TypeFieldDescriptionprotected Node
IIOInvalidTreeException.offendingNode
TheNode
that led to the parsing error, ornull
. -
Uses of SuppressWarnings in javax.imageio.spi
Modifier and TypeMethodDescriptionvoid
ServiceRegistry.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.void
IIORegistry.registerApplicationClasspathSpis()
Registers all available service providers found on the application class path, using the defaultClassLoader
. -
Uses of SuppressWarnings in javax.imageio.stream
Modifier and TypeMethodDescriptionprotected void
FileCacheImageInputStream.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.protected void
FileImageInputStream.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.protected void
FileImageOutputStream.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.protected void
ImageInputStreamImpl.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal.protected void
MemoryCacheImageInputStream.finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Finalization has been deprecated for removal. -
Uses of SuppressWarnings in javax.lang.model.util
ModifierConstructorDescriptionprotected
Constructor for concrete subclasses to call.protected
Constructor for concrete subclasses to call.protected
Constructor for concrete subclasses to call.protected
Constructor for concrete subclasses; usesnull
for the default value.protected
ElementKindVisitor8
(R defaultValue) Constructor for concrete subclasses; uses the argument for the default value.protected
Constructor for concrete subclasses; usesnull
for the default value.protected
ElementScanner8
(R defaultValue) Constructor for concrete subclasses; uses the argument for the default value.protected
Constructor for concrete subclasses; usesnull
for the default value.protected
SimpleAnnotationValueVisitor8
(R defaultValue) Constructor for concrete subclasses; uses the argument for the default value.protected
Constructor for concrete subclasses; usesnull
for the default value.protected
SimpleElementVisitor8
(R defaultValue) Constructor for concrete subclasses; uses the argument for the default value.protected
Constructor for concrete subclasses; usesnull
for the default value.protected
SimpleTypeVisitor8
(R defaultValue) Constructor for concrete subclasses; uses the argument for the default value.protected
Constructor for concrete subclasses to call; usesnull
for the default value.protected
TypeKindVisitor8
(R defaultValue) Constructor for concrete subclasses to call; uses the argument for the default value. -
Uses of SuppressWarnings in javax.management
-
Uses of SuppressWarnings in javax.management.openmbean
Modifier and TypeMethodDescriptionTabularDataSupport.entrySet()
Returns a collection view of the index to row mappings contained in thisTabularDataSupport
instance.static <T> ArrayType
<T> ArrayType.getPrimitiveArrayType
(Class<T> arrayClass) Create anArrayType
instance in a type-safe manner.TabularDataSupport.values()
Returns a collection view of the rows contained in thisTabularDataSupport
instance. -
Uses of SuppressWarnings in javax.management.relation
-
Uses of SuppressWarnings in javax.management.remote
Modifier and TypeInterfaceDescriptioninterface
Implemented by objects that can have aJMXServiceURL
address.class
Exception thrown as the result of a remoteMBeanServer
method invocation when anError
is thrown while processing the invocation in the remote MBean server. -
Uses of SuppressWarnings in javax.management.remote.rmi
Modifier and TypeInterfaceDescriptioninterface
RMI object used to forward an MBeanServer request from a client to its MBeanServer implementation on the server side.final class
RMIConnectionImpl remote stub.final class
RMIServerImpl remote stub.Modifier and TypeMethodDescriptionvoid
RMIConnectionImpl.addNotificationListener
(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject) Integer[]
RMIConnectionImpl.addNotificationListeners
(ObjectName[] names, MarshalledObject[] filters, Subject[] delegationSubjects) RMIConnectionImpl.createMBean
(String className, ObjectName name, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnectionImpl.createMBean
(String className, ObjectName name, ObjectName loaderName, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnectionImpl.fetchNotifications
(long clientSequenceNumber, int maxNotifications, long timeout) RMIConnectionImpl.invoke
(ObjectName name, String operationName, MarshalledObject params, String[] signature, Subject delegationSubject) RMIConnectionImpl.queryMBeans
(ObjectName name, MarshalledObject query, Subject delegationSubject) RMIConnectionImpl.queryNames
(ObjectName name, MarshalledObject query, Subject delegationSubject) void
RMIConnectionImpl.removeNotificationListener
(ObjectName name, ObjectName listener, MarshalledObject filter, MarshalledObject handback, Subject delegationSubject) void
RMIConnectionImpl.setAttribute
(ObjectName name, MarshalledObject attribute, Subject delegationSubject) RMIConnectionImpl.setAttributes
(ObjectName name, MarshalledObject attributes, Subject delegationSubject) ModifierConstructorDescriptionRMIConnectionImpl
(RMIServerImpl rmiServer, String connectionId, ClassLoader defaultClassLoader, Subject subject, Map<String, ?> env) Constructs a newRMIConnection
. -
Uses of SuppressWarnings in javax.naming
Modifier and TypeFieldDescriptionprotected Context
CannotProceedException.altNameCtx
Contains the context relative to whichaltName
is specified.protected Object
LinkException.linkResolvedObj
Contains the object to which resolution of the part of the link was successful.protected Object
NamingException.resolvedObj
Contains the object to which resolution of the part of the name was successful.static final long
Name.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.Modifier and TypeMethodDescriptionstatic <T> T
A static method to retrieve the named object.static <T> T
A static method to retrieve the named object.protected void
Initializes the initial context using the supplied environment. -
Uses of SuppressWarnings in javax.naming.directory
Modifier and TypeFieldDescriptionstatic final long
Attribute.serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in javax.naming.event
Modifier and TypeFieldDescriptionprotected Object
NamingEvent.changeInfo
Contains information about the change that generated this event. -
Uses of SuppressWarnings in javax.naming.ldap
ModifierConstructorDescriptionInitialLdapContext
(Hashtable<?, ?> environment, Control[] connCtls) Constructs an initial context using environment properties and connection request controls. -
Uses of SuppressWarnings in javax.naming.spi
Modifier and TypeFieldDescriptionprotected Object
ResolveResult.resolvedObj
Field containing the Object that was resolved to successfully.Modifier and TypeMethodDescriptionstatic Context
NamingManager.getContinuationContext
(CannotProceedException cpe) Creates a context in which to continue a context operation.static DirContext
DirectoryManager.getContinuationDirContext
(CannotProceedException cpe) Creates a context in which to continue aDirContext
operation.static Context
NamingManager.getInitialContext
(Hashtable<?, ?> env) Creates an initial context using the specified environment properties. -
Uses of SuppressWarnings in javax.net.ssl
Modifier and TypeMethodDescriptionstatic final String
KeyManagerFactory.getDefaultAlgorithm()
Obtains the default KeyManagerFactory algorithm name.static final String
TrustManagerFactory.getDefaultAlgorithm()
Obtains the default TrustManagerFactory algorithm name.HandshakeCompletedEvent.getPeerCertificateChain()
Deprecated, for removal: This API element is subject to removal in a future version.TheHandshakeCompletedEvent.getPeerCertificates()
method that returns an array ofjava.security.cert.Certificate
should be used instead.default X509Certificate[]
SSLSession.getPeerCertificateChain()
Deprecated, for removal: This API element is subject to removal in a future version.TheSSLSession.getPeerCertificates()
method that returns an array ofjava.security.cert.Certificate
should be used instead.ModifierConstructorDescriptionSSLParameters
(String[] cipherSuites) Constructs SSLParameters from the specified array of ciphersuites.SSLParameters
(String[] cipherSuites, String[] protocols) Constructs SSLParameters from the specified array of ciphersuites and protocols. -
Uses of SuppressWarnings in javax.print
Modifier and TypeFieldDescriptionstatic final String
DocFlavor.hostEncoding
A string representing the host operating system encoding.Modifier and TypeMethodDescriptionstatic PrintService
ServiceUI.printDialog
(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes) Presents a dialog to the user for selecting a print service (printer). -
Uses of SuppressWarnings in javax.security.auth
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.This class is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.Modifier and TypeMethodDescriptionstatic Subject
Subject.current()
Returns the current subject.static <T> T
Subject.doAs
(Subject subject, PrivilegedAction<T> action) Deprecated, for removal: This API element is subject to removal in a future version.This method depends onAccessControlContext
which, in conjunction with the Security Manager, is deprecated and subject to removal in a future release.static <T> T
Subject.doAs
(Subject subject, PrivilegedExceptionAction<T> action) Deprecated, for removal: This API element is subject to removal in a future version.This method depends onAccessControlContext
which, in conjunction with the Security Manager, is deprecated and subject to removal in a future release.static <T> T
Subject.doAsPrivileged
(Subject subject, PrivilegedAction<T> action, AccessControlContext acc) Deprecated, for removal: This API element is subject to removal in a future version.This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.static <T> T
Subject.doAsPrivileged
(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc) Deprecated, for removal: This API element is subject to removal in a future version.This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.static Subject
Subject.getSubject
(AccessControlContext acc) Deprecated, for removal: This API element is subject to removal in a future version.This method depends onAccessControlContext
which, in conjunction with the Security Manager, is deprecated and subject to removal in a future release. -
Uses of SuppressWarnings in javax.security.auth.login
Modifier and TypeMethodDescriptionstatic Configuration
Configuration.getConfiguration()
Get the installed login Configuration.ModifierConstructorDescriptionLoginContext
(String name, CallbackHandler callbackHandler) Instantiate a newLoginContext
object with a name and aCallbackHandler
object.LoginContext
(String name, Subject subject, CallbackHandler callbackHandler) Instantiate a newLoginContext
object with a name, aSubject
to be authenticated, and aCallbackHandler
object.LoginContext
(String name, Subject subject, CallbackHandler callbackHandler, Configuration config) Instantiate a newLoginContext
object with a name, aSubject
to be authenticated, aCallbackHandler
object, and a loginConfiguration
. -
Uses of SuppressWarnings in javax.security.cert
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead. -
Uses of SuppressWarnings in javax.sound.midi
Modifier and TypeMethodDescriptionMidiFileFormat.properties()
Obtain an unmodifiable map of properties. -
Uses of SuppressWarnings in javax.sound.sampled
Modifier and TypeMethodDescriptionAudioFileFormat.properties()
Obtain an unmodifiable map of properties.AudioFormat.properties()
Obtain an unmodifiable map of properties. -
Uses of SuppressWarnings in javax.sql.rowset
Modifier and TypeFieldDescriptionprotected InputStream
BaseRowSet.asciiStream
TheInputStream
object that will be returned by the methodgetAsciiStream
, which is specified in theResultSet
interface.protected InputStream
BaseRowSet.binaryStream
TheInputStream
object that will be returned by the methodgetBinaryStream
, which is specified in theResultSet
interface.protected Reader
BaseRowSet.charStream
TheReader
object that will be returned by the methodgetCharacterStream
, which is specified in theResultSet
interface.protected InputStream
BaseRowSet.unicodeStream
TheInputStream
object that will be returned by the methodgetUnicodeStream
, which is specified in theResultSet
interface. -
Uses of SuppressWarnings in javax.sql.rowset.serial
Modifier and TypeMethodDescriptionSerialDatalink.getDatalink()
Returns a new URL that is a copy of thisSerialDatalink
object.void
SQLOutputImpl.writeArray
(Array x) Writes anArray
object in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeBigDecimal
(BigDecimal x) Writes ajava.math.BigDecimal
object in the Java programming language to thisSQLOutputImpl
object.void
Writes aBlob
object in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeBoolean
(boolean x) Writes aboolean
in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeByte
(byte x) Writes abyte
in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeBytes
(byte[] x) Writes an array ofbytes
in the Java programming language to thisSQLOutputImpl
object.void
Writes aClob
object in the Java programming language to thisSQLOutputImpl
object.void
Writes ajava.sql.Date
object in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeDouble
(double x) Writes adouble
in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeFloat
(float x) Writes afloat
in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeInt
(int x) Writes anint
in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeLong
(long x) Writes along
in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeNClob
(NClob x) Writes an SQLNCLOB
value to the stream.void
SQLOutputImpl.writeNString
(String x) Writes the next attribute to the stream as aString
in the Java programming language.void
SQLOutputImpl.writeObject
(SQLData x) Writes to the stream the data contained in the givenSQLData
object.void
Writes aRef
object in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeRowId
(RowId x) Writes an SQLROWID
value to the stream.void
SQLOutputImpl.writeShort
(short x) Writes ashort
in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeSQLXML
(SQLXML x) Writes an SQLXML
value to the stream.void
SQLOutputImpl.writeString
(String x) Writes aString
in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeStruct
(Struct x) Writes aStruct
object in the Java programming language to thisSQLOutputImpl
object.void
Writes ajava.sql.Time
object in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl.writeTimestamp
(Timestamp x) Writes ajava.sql.Timestamp
object in the Java programming language to thisSQLOutputImpl
object.void
Writes anjava.sql.Type.DATALINK
object in the Java programming language to thisSQLOutputImpl
object. -
Uses of SuppressWarnings in javax.swing
Modifier and TypeClassDescriptionclass
This class provides default implementations for the JFCAction
interface.class
Defines common behaviors for buttons and menu items.protected class
This class implements accessibility support for theAbstractButton
class.protected class
ExtendsChangeListener
to be serializable.class
A base class forCellEditors
, providing default implementations for the methods in theCellEditor
interface exceptgetCellEditorValue()
.class
The abstract definition for the data model that provides aList
with its contents.class
This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.class
ActionMap
provides mappings fromObject
s (called keys orAction
names) toAction
s.class
A lightweight container that uses a BoxLayout object as its layout manager.protected class
This class implements accessibility support for theBox
class.static class
An implementation of a lightweight component that participates in layout but has no view.protected class
This class implements accessibility support for theBox.Filler
class.class
A layout manager that allows multiple components to be laid out either vertically or horizontally.class
This class is used to create a multiple-exclusion scope for a set of buttons.class
This class is inserted in between cell renderers and the components that use them.class
AComponentInputMap
is anInputMap
associated with a particularJComponent
.class
A generic implementation of BoundedRangeModel.class
The default implementation of aButton
component's data model.class
The default editor for table and tree cells.class
The default model for combo boxes.class
This is an implementation of theDesktopManager
.class
This class has been obsoleted by the 1.4 focus APIs.class
Renders an item in a list.static class
A subclass of DefaultListCellRenderer that implements UIResource.class
This class loosely implements thejava.util.Vector
API, in that it implements the 1.1.x version ofjava.util.Vector
, has no collection class support, and notifies theListDataListener
s when changes occur.class
Default data model for list selections.class
A generic implementation of SingleSelectionModel.class
An implementation of the Icon interface that paints Icons from Images.protected class
This class implements accessibility support for theImageIcon
class.class
InputMap
provides a binding between an input event (currently onlyKeyStroke
s are used) and anObject
.class
Deprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated, no replacement.class
An implementation of a "push" button.protected class
This class implements accessibility support for theJButton
class.class
An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.protected class
This class implements accessibility support for theJCheckBox
class.class
A menu item that can be selected or deselected.protected class
This class implements accessibility support for theJCheckBoxMenuItem
class.class
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.protected class
This class implements accessibility support for theJComboBox
class.class
The base class for all Swing components except top-level containers.class
Inner class of JComponent used to provide default support for accessibility.class
A container used to create a multiple-document interface or a virtual desktop.protected class
This class implements accessibility support for theJDesktopPane
class.class
The main class for creating a dialog window.class
A text component to edit various kinds of content.protected class
This class implements accessibility support for theJEditorPane
class.protected class
This class provides support forAccessibleHypertext
, and is used in instances where theEditorKit
installed in thisJEditorPane
is an instance ofHTMLEditorKit
.class
JFileChooser
provides a simple mechanism for the user to choose a file.protected class
This class implements accessibility support for theJFileChooser
class.class
JFormattedTextField
extendsJTextField
adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.class
An extended version ofjava.awt.Frame
that adds support for the JFC/Swing component architecture.class
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.protected class
This class implements accessibility support for theJInternalFrame
class.static class
This component represents an iconified version of aJInternalFrame
.protected class
This class implements accessibility support for theJInternalFrame.JDesktopIcon
class.class
A display area for a short text string or an image, or both.protected class
The class used to obtain the accessible role for this object.final class
JLayer
is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of allAWTEvent
s generated within its borders.class
JLayeredPane
adds depth to a JFC/Swing container, allowing components to overlap each other when needed.protected class
This class implements accessibility support for theJLayeredPane
class.class
JList<E>
A component that displays a list of objects and allows the user to select one or more items.protected class
This class implements accessibility support for theJList
class.class
An implementation of a menu -- a popup window containingJMenuItem
s that is displayed when the user selects an item on theJMenuBar
.protected class
This class implements accessibility support for theJMenu
class.protected class
A listener class that watches for a popup window closing.class
An implementation of a menu bar.protected class
This class implements accessibility support for theJMenuBar
class.class
An implementation of an item in a menu.protected class
This class implements accessibility support for theJMenuItem
class.class
JOptionPane
makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.protected class
This class implements accessibility support for theJOptionPane
class.class
JPanel
is a generic lightweight container.protected class
This class implements accessibility support for theJPanel
class.class
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
An implementation of a popup menu -- a small window that pops up and displays a series of choices.protected class
This class implements accessibility support for theJPopupMenu
class.static class
A popup menu-specific separator.class
A component that visually displays the progress of some task.protected class
This class implements accessibility support for theJProgressBar
class.class
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.protected class
This class implements accessibility support for theJRadioButton
class.class
An implementation of a radio button menu item.protected class
This class implements accessibility support for theJRadioButtonMenuItem
class.class
A lightweight container used behind the scenes byJFrame
,JDialog
,JWindow
,JApplet
, andJInternalFrame
.protected class
This class implements accessibility support for theJRootPane
class.protected class
A custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar.class
An implementation of a scrollbar.protected class
This class implements accessibility support for theJScrollBar
class.class
Provides a scrollable view of a lightweight component.protected class
This class implements accessibility support for theJScrollPane
class.protected class
By defaultJScrollPane
creates scrollbars that are instances of this class.class
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.protected class
This class implements accessibility support for theJSeparator
class.class
A component that lets the user graphically select a value by sliding a knob within a bounded interval.protected class
This class implements accessibility support for theJSlider
class.class
A single line input field that lets the user select a number or an object value from an ordered sequence.class
JSplitPane
is used to divide two (and only two)Component
s.protected class
This class implements accessibility support for theJSplitPane
class.class
A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.protected class
This class implements accessibility support for theJTabbedPane
class.class
TheJTable
is used to display and edit regular two-dimensional tables of cells.protected class
This class implements accessibility support for theJTable
class.class
AJTextArea
is a multi-line area that displays plain text.protected class
This class implements accessibility support for theJTextArea
class.class
JTextField
is a lightweight component that allows the editing of a single line of text.protected class
This class implements accessibility support for theJTextField
class.class
A text component that can be marked up with attributes that are represented graphically.class
An implementation of a two-state button.protected class
This class implements accessibility support for theJToggleButton
class.static class
The ToggleButton modelclass
JToolBar
provides a component that is useful for displaying commonly usedAction
s or controls.class
Used to display a "Tip" for a Component.protected class
This class implements accessibility support for theJToolTip
class.class
A control that displays a set of hierarchical data as an outline.protected class
This class implements accessibility support for theJTree
class.static class
DynamicUtilTreeNode
can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary.protected static class
EmptySelectionModel
is aTreeSelectionModel
that does not allow anything to be selected.protected class
Handles creating a newTreeSelectionEvent
with theJTree
as the source and passing it off to all the listeners.class
The "viewport" or "porthole" through which you see the underlying information.protected class
This class implements accessibility support for theJViewport
class.protected class
A listener for the view.class
AJWindow
is a container that can be displayed anywhere on the user's desktop.protected class
This class implements accessibility support for theJWindow
class.class
A KeyStroke represents a key action on the keyboard, or equivalent input device.class
A SortingFocusTraversalPolicy which sorts Components based on their size, position, and orientation.class
A layout manager to arrange components over the top of each other.class
The layout manager used byJScrollPane
.class
For the convenience of layout managers, calculates information about the size and position of components.class
ASpinnerModel
for sequences ofDate
s.class
A simple implementation ofSpinnerModel
whose values are defined by an array or aList
.class
ASpinnerModel
for sequences of numbers.class
An instance of theSpring
class holds three properties that characterize its behavior: the minimum, preferred, and maximum values.class
ASpringLayout
lays out the children of its associated container according to a set of constraints.class
Fires one or moreActionEvent
s at specified intervals.class
This class is used to handle the transfer of aTransferable
to and from Swing components.class
A table of defaults for Swing components.class
UIManager
manages the current look and feel, the set of available look and feels,PropertyChangeListeners
that are notified when the look and feel changes, look and feel defaults, and convenience methods for obtaining various default values.class
An exception that indicates the requested look & feel management classes are not present on the user's system.class
The default layout manager forJViewport
.Modifier and TypeFieldDescriptionprotected static final Component
ImageIcon.component
Deprecated.since 1.8Modifier and TypeMethodDescriptionvoid
RepaintManager.addDirtyRegion
(Applet applet, int x, int y, int w, int h) Deprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated.static MouseEvent
SwingUtilities.convertMouseEvent
(Component source, MouseEvent sourceEvent, Component destination) Returns a MouseEvent similar tosourceEvent
except that its x and y members have been converted todestination
's coordinate system.static void
SwingUtilities.convertPointFromScreen
(Point p, Component c) Convert a point from a screen coordinates to a component's coordinate systemstatic void
SwingUtilities.convertPointToScreen
(Point p, Component c) Convert a point from a component's coordinate system to screen coordinates.static EditorKit
JEditorPane.createEditorKitForContentType
(String type) Creates a handler for the given type from the default registry of editor kits.static LookAndFeel
UIManager.createLookAndFeel
(String name) Creates a supported built-in JavaLookAndFeel
specified by the givenL&F name
name.UIDefaults.ProxyLazyValue.createValue
(UIDefaults table) Creates the value retrieved from theUIDefaults
table.protected void
JComboBox.fireActionEvent()
Notifies all listeners that have registered interest for notification on this event type.protected void
JFileChooser.fireActionPerformed
(String command) Notifies all listeners that have registered interest for notification on this event type.protected void
JTextField.fireActionPerformed()
Notifies all listeners that have registered interest for notification on this event type.protected void
JTabbedPane.fireStateChanged()
Sends aChangeEvent
, with thisJTabbedPane
as the source, to each registered listener.JLayer.getAccessibleContext()
Gets the AccessibleContext associated with thisJLayer
.JComponent.getComponentPopupMenu()
ReturnsJPopupMenu
that assigned for this component.JSlider.getLabelTable()
Returns the dictionary of what labels to draw at which values.<T extends EventListener>
T[]JComponent.getListeners
(Class<T> listenerType) Returns an array of all the objects currently registered asFooListener
s upon thisJComponent
.static Component
Returns the root component for the current component tree.JList.getToolTipText
(MouseEvent event) Returns the tooltip text to be used for the given event.JComponent.getTopLevelAncestor()
Returns the top-level ancestor of this component (either the containingWindow
orApplet
), ornull
if this component has not been added to any container.void
JInternalFrame.hide()
void
Popup.hide()
Hides and disposes of thePopup
.boolean
JList.AccessibleJList.AccessibleJListChild.isFocusTraversable()
boolean
JTable.AccessibleJTable.AccessibleJTableCell.isFocusTraversable()
boolean
JTree.AccessibleJTree.AccessibleJTreeNode.isFocusTraversable()
JTable.prepareEditor
(TableCellEditor editor, int row, int column) Prepares the editor by querying the data model for the value and selection state of the cell atrow
,column
.protected boolean
JComponent.processKeyBinding
(KeyStroke ks, KeyEvent e, int condition, boolean pressed) Invoked to process the key bindings forks
as the result of theKeyEvent
e
.static boolean
SwingUtilities.processKeyBindings
(KeyEvent event) Process the key bindings for theComponent
associated withevent
.void
JMenuItem.processKeyEvent
(KeyEvent e, MenuElement[] path, MenuSelectionManager manager) Processes a key event forwarded from theMenuSelectionManager
and changes the menu selection, if necessary, by usingMenuSelectionManager
's API.void
JPopupMenu.processKeyEvent
(KeyEvent e, MenuElement[] path, MenuSelectionManager manager) Processes a key event forwarded from theMenuSelectionManager
and changes the menu selection, if necessary, by usingMenuSelectionManager
's API.void
JMenuItem.processMouseEvent
(MouseEvent e, MenuElement[] path, MenuSelectionManager manager) Processes a mouse event forwarded from theMenuSelectionManager
and changes the menu selection, if necessary, by using theMenuSelectionManager
's API.void
MenuSelectionManager.processMouseEvent
(MouseEvent event) When a MenuElement receives an event from a MouseListener, it should never process the event directly.protected final void
Sends data chunks to theSwingWorker.process(java.util.List<V>)
method.void
JTabbedPane.removeTabAt
(int index) Removes the tab atindex
.void
JInternalFrame.reshape
(int x, int y, int width, int height) Moves and resizes this component.void
JViewport.reshape
(int x, int y, int w, int h) Sets the bounds of this viewport.void
JEditorPane.scrollToReference
(String reference) Scrolls the view to the given reference location (that is, the value returned by theURL.getRef
method for the URL being displayed).void
JTabbedPane.setComponentAt
(int index, Component component) Sets the component atindex
tocomponent
.void
JSlider.setLabelTable
(Dictionary labels) Used to specify what label will be drawn at any given value.static void
UIManager.setLookAndFeel
(String className) Loads theLookAndFeel
specified by the given class name, using the current thread's context class loader, and passes it tosetLookAndFeel(LookAndFeel)
.void
DefaultButtonModel.setPressed
(boolean b) Sets the button to pressed or unpressed.void
JToggleButton.ToggleButtonModel.setPressed
(boolean b) Sets the pressed state of the toggle button.void
ProgressMonitor.setProgress
(int nv) Indicate the progress of the operation being monitored.void
JInternalFrame.show()
If the internal frame is not visible, brings the internal frame to the front, makes it visible, and attempts to select it.void
Popup.show()
Makes thePopup
visible.static Color
JColorChooser.showDialog
(Component component, String title, Color initialColor, boolean colorTransparencySelectionEnabled) Shows a modal color-chooser dialog and blocks until the dialog is hidden.int
JFileChooser.showDialog
(Component parent, String approveButtonText) Pops a custom file chooser dialog with a custom approve button.static Object
JOptionPane.showInputDialog
(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue) 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.showOptionDialog
(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) Brings up a dialog with a specified icon, where the initial choice is determined by theinitialValue
parameter and the number of choices is determined by theoptionType
parameter.ModifierConstructorDescriptionConstructs a new debug graphics context that supports slowed down drawing.Constructs aJTable
to display the values in theVector
ofVectors
,rowData
, with column names,columnNames
.ProxyLazyValue
(String c, String m, Object[] o) Creates aLazyValue
which will construct an instance when asked.SpinnerNumberModel
(Number value, Comparable<?> minimum, Comparable<?> maximum, Number stepSize) Constructs aSpinnerModel
that represents a closed sequence of numbers fromminimum
tomaximum
. -
Uses of SuppressWarnings in javax.swing.border
Modifier and TypeClassDescriptionclass
A class that implements an empty border with no size.class
A class which implements a simple two-line bevel border.class
A composite Border class used to compose two Border objects into a single border by nesting an inside Border object within the insets of an outside Border object.class
A class which provides an empty, transparent border which takes up space but does no drawing.class
A class which implements a simple etched border which can either be etched-in or etched-out.class
A class which implements a line border of arbitrary thickness and of a single color.class
A class which provides a matte-like border of either a solid color or a tiled icon.class
A class which implements a raised or lowered bevel with softened corners.class
A class which implements a border of an arbitrary stroke.class
A class which implements an arbitrary border with the addition of a String title in a specified position and justification. -
Uses of SuppressWarnings in javax.swing.colorchooser
Modifier and TypeClassDescriptionclass
This is the abstract superclass for color choosers.class
A class designed to produce preconfigured "accessory" objects to insert into color choosers.class
A generic implementation ofColorSelectionModel
. -
Uses of SuppressWarnings in javax.swing.event
Modifier and TypeClassDescriptionclass
An event reported to a child component that originated from an ancestor in the component hierarchy.class
CaretEvent is used to notify interested parties that the text caret has changed in the event source.class
ChangeEvent is used to notify interested parties that state has changed in the event source.class
A class that holds a list of EventListeners.class
HyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.class
AnAWTEvent
that adds support forJInternalFrame
objects as the event source.class
Defines an event that encapsulates changes to a list.class
An event that characterizes a change in selection.class
MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.class
MenuEvent is used to notify interested parties that the menu which is the event source has been posted, selected, or canceled.class
MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.class
PopupMenuEvent only contains the source of the event which is the JPopupMenu sending the eventclass
RowSorterEvent
provides notification of changes to aRowSorter
.class
TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.class
TableModelEvent is used to notify listeners that a table model has changed.class
An event used to identify a single path in a tree.class
Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.class
An event that characterizes a change in the current selection.class
An event indicating that an operation which can be undone has occurred. -
Uses of SuppressWarnings in javax.swing.plaf
Modifier and TypeClassDescriptionclass
A subclass of javax.swing.ActionMap that implements UIResource.class
A Border wrapper class which implements UIResource.class
A subclass of Color that implements UIResource.class
A subclass of javax.swing.ComponentInputMap that implements UIResource.class
A subclass ofDimension
that implementsUIResource
.class
A subclass of java.awt.Font that implements UIResource.class
An Icon wrapper class which implements UIResource.class
A subclass of javax.swing.InputMap that implements UIResource.class
A subclass of Insets that implements UIResource.class
The base class for allJLayer
's UI delegates.Modifier and TypeMethodDescriptionboolean
ComponentUI.contains
(JComponent c, int x, int y) Returnstrue
if the specified x,y location is contained within the look and feel's defined shape of the specified component. -
Uses of SuppressWarnings in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
JButton object that draws a scaled Arrow in one of the cardinal directions.static class
Draws a border around a button.static class
Draws the border around a field.static class
Draws the border around components which support margins.static class
Draws the border around a menu bar.static class
Draws the border around a radio button.static class
Special thin border for rollover toolbar buttons.static class
Draws the border around a toggle button.class
CheckboxUI implementation for BasicCheckboxUIstatic class
A subclass of BasicComboBoxEditor that implements UIResource.class
ComboBox rendererstatic class
A subclass of BasicComboBoxRenderer that implements UIResource.class
This is a basic implementation of theComboPopup
interface.protected class
Handles closing an internal frame.protected class
Handles maximizing an internal frame.protected class
Handles minimizing an internal frame.protected class
Handles navigating to the next internal frame.protected class
Handles restoring a minimized or maximized internal frame.class
Basic implementation of a file list.class
Provides the look and feel for a JEditorPane.protected class
Responds to an Open or Save requestprotected class
Responds to a cancel request.protected class
Change to parent directory action.protected class
Acts on the "home" key event or equivalent event.protected class
Creates a new folder.protected class
Rescans the files in the current directoryclass
Factory object that can vend Icons appropriate for the basic L & F.class
The class that manages a basic title barclass
This class should be treated as a "protected" inner class.class
TheListDataListener
that's added to theJLists
model atinstallUI time
, and whenever the JList.model property changes.class
The ListSelectionListener that's added to the JLists selection model at installUI time, and whenever the JList.selectionModel property changes.class
Mouse input, and focus handling for JList.class
The PropertyChangeListener that's added to the JList at installUI time.class
A base class to use in creating a look and feel for Swing.class
As of Java 2 platform v1.3 this undocumented class is no longer used.class
Divider used by BasicSplitPaneUI.protected class
Handles the events during a dragging session for a HORIZONTAL_SPLIT oriented split pane.class
Provides the look and feel for a plain text editor.class
Basis of a look and feel for a JTextField.class
Provides the look and feel for a styled text editor.class
Basis of a text components look-and-feel.protected class
The window which appears during dragging theJToolBar
.class
ActionListener that invokes cancelEditing when action performed.class
TreeHomeAction is used to handle end/home actions.class
TreeIncrementAction is used to handle up/down actions.class
TreePageAction handles page up and page down events.class
For the first selected row expandedness will be toggled.class
TreeTraverseAction
is the action used for left/right keys.interface
The interface which defines the methods required for the implementation of the popup portion of a combo box.class
The default layout manager for Popup menus and menubars.Modifier and TypeMethodDescriptionprotected void
BasicTreeUI.completeEditing
(boolean messageStop, boolean messageCancel, boolean messageTree) Stops the editing session.protected Component
BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider()
Returns the default non continuous layout divider, which is an instance ofCanvas
that fills in the background with dark gray.static ComponentUI
BasicLabelUI.createUI
(JComponent c) Returns an instance ofBasicLabelUI
.protected void
The method is used to dragDragWindow
during theJToolBar
is being dragged.BasicTextUI.getToolTipText
(JTextComponent t, Point pt) Returns the string to be used as the tooltip at the passed in location.void
BasicComboPopup.hide()
Implementation of ComboPopup.hide().protected void
BasicSplitPaneUI.installDefaults()
Installs the UI defaults.boolean
BasicArrowButton.isFocusTraversable()
Returns whether the arrow button should get the focus.boolean
BasicComboPopup.isFocusTraversable()
Overridden to unconditionally return false.void
BasicTabbedPaneUI.TabbedPaneLayout.layoutContainer
(Container parent) Lays out the specified container.void
BasicInternalFrameUI.BorderListener.mouseDragged
(MouseEvent e) protected void
BasicToolBarUI.navigateFocusedComp
(int direction) Navigates the focused component.void
BasicToolBarUI.setFloating
(boolean b, Point p) Sets the floating property.void
BasicComboPopup.show()
Implementation of ComboPopup.show(). -
Uses of SuppressWarnings in javax.swing.plaf.metal
Modifier and TypeClassDescriptionclass
A concrete implementation ofMetalTheme
providing the original look of the Java Look and Feel, code-named "Steel".static class
The class represents the border of aJButton
.static class
The class represents the 3D border.static class
The class represents the border of aJInternalFrame
.static class
The class represents the border of aJMenuBar
.static class
The class represents the border of aJMenuItem
.static class
The class represents the border of an option dialog.static class
Border for a Palette.static class
The class represents the border of aJPopupMenu
.static class
The class represents the border of a rolloverButton
.static class
The class represents the border of aJScrollPane
.static class
Border for a Table Headerstatic class
Border for aJTextField
.static class
Border for aJToggleButton
.static class
The class represents the border of aJToolBar
.class
MetalButtonUI implementationclass
CheckboxIcon implementation for OrganicCheckBoxUIclass
CheckboxUI implementation for MetalCheckboxUIclass
JButton subclass to help out MetalComboBoxUIclass
The default editor for Metal editable combo boxesstatic class
A subclass of BasicComboBoxEditor that implements UIResource.class
This utility class draws the horizontal bars which indicate a MetalComboBoxclass
Metal UI for JComboBoxprotected class
Acts when DirectoryComboBox has changed the selected item.protected class
Data model for a type-face selection combo-box.protected class
Deprecated.As of JDK version 9.protected class
Data model for a type-face selection combo-box.class
Render different type sizes and styles.class
Factory object that vendsIcon
s for the Java look and feel (Metal).static class
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
Warning: Serialized objects of this class will not be compatible with future Swing releases.class
Class that manages a JLF title barclass
The Java Look and Feel, otherwise known as Metal.class
The Metal implementation of ProgressBarUI.class
RadioButtonUI implementation for MetalRadioButtonUIclass
Provides the metal look and feel implementation ofRootPaneUI
.class
JButton object for Metal scrollbar arrows.class
A Metal L&F implementation of ScrollPaneUI.class
A Metal L&F implementation of SeparatorUI.class
A Java L&F implementation of SliderUI.class
Metal split pane.class
The Metal subclass of BasicTabbedPaneUI.class
Basis of a look and feel for a JTextField.class
MetalToggleButton implementationclass
A Metal L&F extension of BasicToolTipUI.class
The default theme for theMetalLookAndFeel
.Modifier and TypeMethodDescriptionstatic ComponentUI
MetalLabelUI.createUI
(JComponent c) Returns an instance ofMetalLabelUI
.MetalToolTipUI.getAcceleratorString()
Returns the accelerator string.boolean
MetalComboBoxButton.isFocusTraversable()
-
Uses of SuppressWarnings in javax.swing.plaf.multi
Modifier and TypeClassDescriptionclass
A multiplexing look and feel that allows more than one UI to be associated with a component at the same time.Modifier and TypeMethodDescriptionMultiTextUI.getToolTipText
(JTextComponent a, Point b) Invokes thegetToolTipText
method on each UI handled by this object. -
Uses of SuppressWarnings in javax.swing.plaf.nimbus
-
Uses of SuppressWarnings in javax.swing.plaf.synth
Modifier and TypeClassDescriptionclass
SynthLookAndFeel provides the basis for creating a customized look and feel.class
Provides the look and feel for a plain text editor in the Synth look and feel.class
Provides the Synth L&F UI delegate forJTextField
.class
Provides the look and feel for a styled text editor in the Synth look and feel.Modifier and TypeMethodDescriptionprotected void
SynthSplitPaneUI.installDefaults()
Installs the UI defaults. -
Uses of SuppressWarnings in javax.swing.table
Modifier and TypeClassDescriptionclass
This abstract class provides default implementations for most of the methods in theTableModel
interface.class
The standard class for rendering (displaying) individual cells in aJTable
.static class
A subclass ofDefaultTableCellRenderer
that implementsUIResource
.class
The standard column-handler for aJTable
.class
This is an implementation ofTableModel
that uses aVector
ofVectors
to store the cell value objects.class
This is the object which manages the header of theJTable
.protected class
This class implements accessibility support for theJTableHeader
class.class
ATableColumn
represents all the attributes of a column in aJTable
, such as width, resizability, minimum and maximum width.Modifier and TypeFieldDescriptionprotected Vector
DefaultTableModel.columnIdentifiers
TheVector
of column identifiers.DefaultTableModel.dataVector
TheVector
ofVectors
ofObject
values.Modifier and TypeMethodDescriptionvoid
Adds a column to the model.DefaultTableModel.getDataVector()
Returns theVector
ofVectors
that contains the table's data values.JTableHeader.getToolTipText
(MouseEvent event) Allows the renderer's tips to be used if there is text set.boolean
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.isFocusTraversable()
void
DefaultTableModel.setDataVector
(Vector<? extends Vector> dataVector, Vector<?> columnIdentifiers) Replaces the currentdataVector
instance variable with the newVector
of rows,dataVector
.ModifierConstructorDescriptionDefaultTableModel
(Vector<? extends Vector> data, Vector<?> columnNames) Constructs aDefaultTableModel
and initializes the table by passingdata
andcolumnNames
to thesetDataVector
method. -
Uses of SuppressWarnings in javax.swing.text
Modifier and TypeClassDescriptionclass
An implementation of the document interface to serve as a basis for implementing various kinds of documents.class
Implements the abstract part of an element.class
Implements a composite element that contains other elements.class
Implements an element that directly represents content of some kind.class
This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).class
ChangedCharSetException as the name indicates is an exception thrown when the charset is changed.class
DateFormatter is anInternationalFormatter
that does its formatting by way of an instance ofjava.text.DateFormat
.class
A default implementation of Caret.class
This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.static class
Creates a beep.static class
Copies the selected region and place its contents into the system clipboard.static class
Cuts the selected region and place its contents into the system clipboard.static class
The action that is executed by default if a key typed event is received and there is no keymap entry.static class
Places a line/paragraph break into the document.static class
Places content into the associated document.static class
Places a tab character into the document.static class
Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected.class
DefaultFormatter
formats arbitrary objects.class
An implementation ofJFormattedTextField.AbstractFormatterFactory
.class
A document that can be marked up with character and paragraph styles in a manner similar to the Rich Text Format.class
Class to manage changes to the element hierarchy.static class
Specification for building elements.protected class
Default root element for a document... maps out the paragraphs/lines contained.class
Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.class
An implementation of the AbstractDocument.Content interface implemented using a gapped buffer similar to that used by emacs.class
InternationalFormatter
extendsDefaultFormatter
, using an instance ofjava.text.Format
to handle the conversion to a String, and the conversion from a String.class
JTextComponent
is the base class for swing text components.class
This class implements accessibility support for theJTextComponent
class.static class
Binding record for creating key bindings.class
MaskFormatter
is used to format and edit strings.class
NumberFormatter
subclassesInternationalFormatter
adding special behavior for numbers.class
A plain document that maintains no character attributes.class
A straightforward implementation of MutableAttributeSet using a hash table.final class
An implementation of the AbstractDocument.Content interface that is a brute force implementation that is useful for relatively small documents and/or debugging.class
A pool of styles and their associated resources.class
A collection of attributes, typically used to represent character and paragraph styles.class
This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.static class
An action to set paragraph alignment.static class
An action to toggle the bold attribute.static class
An action to set the font family in the associated JEditorPane.static class
An action to set the font size in the associated JEditorPane.static class
An action to set foreground color.static class
An action to toggle the italic attribute.static class
An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.static class
An action to toggle the underline attribute.class
A TabSet is comprised of many TabStops.class
This class encapsulates a single tab stop (basically as tab stops are thought of by RTF).class
An Action implementation useful for key bindings that are shared across a number of different text components.Modifier and TypeMethodDescriptionprotected int
WrappedPlainView.calculateBreakPosition
(int p0, int p1) This is called by the nested wrapped line views to determine the break location.SimpleAttributeSet.clone()
Clones a set of attributes.protected int
ParagraphView.getClosestPositionTo
(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet, int rowIndex, int x) Returns the closest model position tox
.StyleContext.getFontMetrics
(Font f) Returns font metrics for a font.protected int
ParagraphView.getNextNorthSouthVisualPositionFrom
(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Returns the next visual position for the cursor, in either the east or west direction.int
View.getNextVisualPositionFrom
(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) Provides a way to determine the next visually represented model location at which one might place a caret.protected Vector
GapContent.getPositionsInRange
(Vector v, int offset, int length) Returns a Vector containing instances of UndoPosRef for the Positions in the rangeoffset
tooffset
+length
.protected Vector
StringContent.getPositionsInRange
(Vector v, int offset, int length) Returns a Vector containing instances of UndoPosRef for the Positions in the rangeoffset
tooffset
+length
.float
FieldView.getPreferredSpan
(int axis) Determines the preferred span for this view along an axis.static final int
Utilities.getRowEnd
(JTextComponent c, int offs) Determines the ending row model position of the row that contains the specified model position.static final int
Utilities.getRowStart
(JTextComponent c, int offs) Determines the starting row model position of the row that contains the specified model position.JTextComponent.getToolTipText
(MouseEvent event) Returns the string to be used as the tooltip forevent
.PlainView.modelToView
(int pos, Shape a, Position.Bias b) Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.void
DefaultCaret.mouseClicked
(MouseEvent e) Called when the mouse is clicked.protected void
DefaultCaret.moveCaret
(MouseEvent e) Tries to move the position of the caret from the coordinates of a mouse event, using viewToModel().void
Renders the caret as a vertical line.void
DefaultHighlighter.DefaultHighlightPainter.paint
(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c) Paints a highlight.protected void
DefaultCaret.positionCaret
(MouseEvent e) Tries to set the position of the caret from the coordinates of a mouse event, using viewToModel().void
DefaultCaret.setVisible
(boolean e) Sets the caret visibility, and repaints the caret.protected void
GapContent.updateUndoPositions
(Vector positions, int offset, int length) Resets the location for all the UndoPosRef instances inpositions
.protected void
StringContent.updateUndoPositions
(Vector positions) Resets the location for all the UndoPosRef instances inpositions
. -
Uses of SuppressWarnings in javax.swing.text.html
Modifier and TypeClassDescriptionclass
Defines a set of CSS attributes as a typesafe enumeration.final class
FormSubmitEvent is used to notify interested parties that a form was submitted.static class
Class represents unknown HTML tag.class
A document that models HTML.class
The Swing JEditorPane text component supports different kinds of content via a plug-in mechanism called an EditorKit.static class
An abstract Action providing some convenience methods that may be useful in inserting HTML into an existing document.static class
InsertHTMLTextAction can be used to insert an arbitrary string of HTML into an existing HTML document.static class
Class to watch the associated component and fire hyperlink events on it when appropriate.class
HTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame.class
Value for the ListModel used to represent <option> elements.class
Support for defining the visual characteristics of HTML views being rendered.static final class
Class to carry out some of the duties of CSS formatting.static final class
Class to carry out some of the duties of CSS list formatting.Modifier and TypeMethodDescriptionprotected Component
ObjectView.createComponent()
Create the component.void
HTMLEditorKit.LinkController.mouseClicked
(MouseEvent e) Called for a mouse click event.void
HTMLEditorKit.LinkController.mouseMoved
(MouseEvent e) -
Uses of SuppressWarnings in javax.swing.text.html.parser
Modifier and TypeClassDescriptionfinal class
This class defines the attributes of an SGML element as described in a DTD using the ATTLIST construct.final class
A representation of a content model.final class
An element as described in a DTD using the ELEMENT construct.class
Responsible for starting up a new DocumentParser each time its parse method is invoked. -
Uses of SuppressWarnings in javax.swing.text.rtf
Modifier and TypeClassDescriptionclass
This is the default implementation of RTF editing functionality. -
Uses of SuppressWarnings in javax.swing.tree
Modifier and TypeClassDescriptionclass
Warning: Serialized objects of this class will not be compatible with future Swing releases.class
ADefaultMutableTreeNode
is a general-purpose node in a tree data structure.class
TextField
used when no editor is supplied.class
Container responsible for placing theeditingComponent
.class
Displays an entry in a tree.class
A simple tree data model that uses TreeNodes.class
Default implementation of TreeSelectionModel.class
Exception used to stop an expand/collapse from happening.class
NOTE: This will become more open in a future release.class
TreePath
represents an array of objects that uniquely identify the path to a node in a tree.class
NOTE: This will become more open in a future release. -
Uses of SuppressWarnings in javax.swing.undo
Modifier and TypeClassDescriptionclass
An abstract implementation ofUndoableEdit
, implementing simple responses to all boolean methods in that interface.class
Thrown when an UndoableEdit is told toredo()
and can't.class
Thrown when an UndoableEdit is told toundo()
and can't.class
A concrete subclass of AbstractUndoableEdit, used to assemble little UndoableEdits into great big ones.class
StateEdit is a general edit for objects that change state.class
UndoManager
manages a list ofUndoableEdits
, providing a way to undo or redo the appropriate edits. -
Uses of SuppressWarnings in javax.xml.parsers
-
Uses of SuppressWarnings in javax.xml.stream
-
Uses of SuppressWarnings in javax.xml.transform
Modifier and TypeMethodDescriptionTransformerException.getLocationAsString()
Get the location information as a string. -
Uses of SuppressWarnings in jdk.dynalink.linker.support
Modifier and TypeMethodDescriptionstatic MethodHandle
Guards.isArray
(int pos, MethodType type) Creates a method handle that returns true if the argument in the specified position is a Java array.static MethodHandle
Guards.isInstance
(Class<?> clazz, int pos, MethodType type) Creates a method handle with arguments of a specified type, but with boolean return value.static MethodHandle
Guards.isOfClass
(Class<?> clazz, MethodType type) Creates a guard method handle with arguments of a specified type, but with boolean return value. -
Uses of SuppressWarnings in jdk.incubator.vector
Modifier and TypeClassDescriptionclass
A specializedVector
representing an ordered immutable sequence ofbyte
values.class
A specializedVector
representing an ordered immutable sequence ofdouble
values.class
A specializedVector
representing an ordered immutable sequence offloat
values.class
A specializedVector
representing an ordered immutable sequence ofint
values.class
A specializedVector
representing an ordered immutable sequence oflong
values.class
A specializedVector
representing an ordered immutable sequence ofshort
values.class
Vector<E>
class
VectorMask<E>
AVectorMask
represents an ordered immutable sequence ofboolean
values.class
AVectorShuffle
represents an ordered immutable sequence ofint
values called source indexes, where each source index numerically selects a source lane from a compatibleVector
. -
Uses of SuppressWarnings in jdk.javadoc.doclet
ModifierConstructorDescriptionCreates an instance of the standard doclet, used to generate HTML-formatted documentation. -
Uses of SuppressWarnings in jdk.jfr
Modifier and TypeClassDescriptionfinal class
Permission for controlling access to Flight Recorder.ModifierConstructorDescriptionprotected
Constructor for invocation by subclass constructors. -
Uses of SuppressWarnings in jdk.jfr.consumer
Modifier and TypeMethodDescriptionRecordedStackTrace.getFrames()
Returns the frames in the stack trace.static EventStream
Creates an event stream from a file.static EventStream
EventStream.openRepository()
Creates a stream from the repository of the current Java Virtual Machine (JVM). -
Uses of SuppressWarnings in jdk.jshell
Modifier and TypeClassDescriptionclass
Wraps an throwable thrown in the executing client.class
The superclass of JShell generated exceptionsclass
Exception reported on attempting to execute aRECOVERABLE_DEFINED
snippet. -
Uses of SuppressWarnings in jdk.jshell.execution
-
Uses of SuppressWarnings in jdk.jshell.spi
Modifier and TypeClassDescriptionclass
The construction and throw of this exception is embedded in code generated by the JShell core implementation in such a way that, upon executing aRECOVERABLE_DEFINED
user method, this exception is thrown.ModifierConstructorDescriptionResolutionException
(int id, StackTraceElement[] stackElements) Constructs an exception indicating that aDeclarationSnippet
with unresolved references has been encountered.UserException
(String message, String causeExceptionClass, StackTraceElement[] stackElements) -
Uses of SuppressWarnings in org.w3c.dom.bootstrap
Modifier and TypeMethodDescriptionstatic DOMImplementationRegistry
DOMImplementationRegistry.newInstance()
Obtain a new instance of aDOMImplementationRegistry
. -
Uses of SuppressWarnings in org.xml.sax.helpers
Modifier and TypeClassDescriptionclass
Adapt a SAX1 Parser as a SAX2 XMLReader.class
Deprecated.This class works with the deprecatedParser
interface.class
Adapt a SAX2 XMLReader as a SAX1 Parser.