Uses of Class
java.lang.SuppressWarnings
Package | Description |
---|---|
com.sun.java.accessibility.util |
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
|
com.sun.jdi |
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.
|
com.sun.security.auth.module |
Provides implementations of
LoginModule . |
com.sun.source.tree |
Provides interfaces to represent source code as abstract syntax
trees (AST).
|
com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
java.applet |
Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
|
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical User
Interface systems that provides a mechanism to transfer information between
two entities logically associated with presentation elements in the GUI.
|
java.awt.event |
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
|
java.awt.geom |
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
java.awt.image.renderable |
Provides classes and interfaces for producing rendering-independent images.
|
java.beans |
Contains classes related to developing beans -- components based on
the JavaBeans™ architecture.
|
java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.instrument |
Provides services that allow Java programming language agents to instrument
programs running on the JVM.
|
java.lang.invoke |
The
java.lang.invoke package provides low-level primitives for interacting
with the Java Virtual Machine. |
java.lang.reflect |
Provides classes and interfaces for obtaining reflective information about
classes and objects.
|
java.math |
Provides classes for performing arbitrary-precision integer
arithmetic (
BigInteger ) and arbitrary-precision decimal
arithmetic (BigDecimal ). |
java.net |
Provides the classes for implementing networking applications.
|
java.rmi.server |
Provides classes and interfaces for supporting the server
side of RMI.
|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.acl |
The classes and interfaces in this package have been deprecated.
|
java.security.interfaces |
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.
|
java.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java™ programming language.
|
java.text |
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
|
java.time |
The main API for dates, times, instants, and durations.
|
java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
java.util |
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.
|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
java.util.concurrent.atomic |
A small toolkit of classes that support lock-free thread-safe
programming on single variables.
|
java.util.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
javax.crypto |
Provides the classes and interfaces for cryptographic
operations.
|
javax.crypto.interfaces |
Provides interfaces for Diffie-Hellman keys as defined in RSA
Laboratories' PKCS #3.
|
javax.lang.model.util |
Utilities to assist in the processing of
program elements and
types.
|
javax.management |
Provides the core classes for the Java Management Extensions.
|
javax.management.modelmbean |
Provides the definition of the ModelMBean classes.
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
javax.management.relation |
Provides the definition of the Relation Service.
|
javax.management.remote.rmi |
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
|
javax.naming |
Provides the classes and interfaces for accessing naming services.
|
javax.naming.directory |
Extends the
javax.naming package to provide functionality
for accessing directory services. |
javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
javax.naming.spi |
Provides the means for dynamically plugging in support for accessing
naming and directory services through the
javax.naming
and related packages. |
javax.net.ssl |
Provides classes for the secure socket package.
|
javax.print |
Provides the principal classes and interfaces for the Java™ Print
Service API.
|
javax.security.cert |
Provides classes for public key certificates.
|
javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
|
javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of
sampled audio data.
|
javax.sql.rowset.serial |
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
|
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
javax.swing.border |
Provides classes and interface for drawing specialized borders around a Swing
component.
|
javax.swing.colorchooser |
Contains classes and interfaces used by the
JColorChooser component. |
javax.swing.event |
Provides for events fired by Swing components.
|
javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
|
javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
javax.swing.plaf.nimbus |
Provides user interface objects built according to the cross-platform Nimbus
look and feel.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
javax.swing.table |
Provides classes and interfaces for dealing with
javax.swing.JTable . |
javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text
components.
|
javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors. |
javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
javax.swing.text.rtf |
Provides a class (
RTFEditorKit ) for creating Rich-Text-Format text
editors. |
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
javax.swing.undo |
Allows developers to provide support for undo/redo in applications such as
text editors.
|
javax.xml.parsers |
Provides the classes for processing XML documents with a SAX (Simple API for XML)
parser or a DOM (Document Object Model) Document builder.
|
jdk.dynalink.linker.support |
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.
|
jdk.jfr |
This package provides classes to create events and control Flight Recorder.
|
jdk.jfr.consumer |
This package contains classes for consuming Flight Recorder data.
|
jdk.jshell |
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
|
jdk.jshell.spi |
Defines the Service Provider Interface for pluggable JShell execution engines.
|
jdk.nashorn.api.scripting |
This package provides the
javax.script integration, which is the preferred way to use Nashorn. |
netscape.javascript |
Provides Java code the ability to access the JavaScript engine and the
HTML DOM in the web browser.
|
org.xml.sax.helpers |
Provides helper classes, including
support for bootstrapping SAX-based applications.
|
-
Uses of SuppressWarnings in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util with annotations of type SuppressWarnings Modifier and Type Method Description boolean
Translator. isFocusTraversable()
Returns whether this object can accept focus or not. -
Uses of SuppressWarnings in com.sun.jdi
Methods in com.sun.jdi with annotations of type SuppressWarnings Modifier and Type Method Description void
ThreadReference. stop(ObjectReference throwable)
Stops this thread with an asynchronous exception.void
ThreadReference. suspend()
Suspends this thread. -
Uses of SuppressWarnings in com.sun.security.auth.module
Methods in com.sun.security.auth.module with annotations of type SuppressWarnings Modifier and Type Method Description void
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
. -
Uses of SuppressWarnings in com.sun.source.tree
Methods in com.sun.source.tree with annotations of type SuppressWarnings Modifier and Type Method Description R
TreeVisitor. visitSwitchExpression(SwitchExpressionTree node, P p)
Deprecated, for removal: This API element is subject to removal in a future version.This method is modeling switch expressions, which are part of a preview feature and may be removed if the preview feature is removed.R
TreeVisitor. visitYield(YieldTree node, P p)
Deprecated, for removal: This API element is subject to removal in a future version.This method is modeling yield statement, which are part of a preview feature and may be removed if the preview feature is removed. -
Uses of SuppressWarnings in com.sun.source.util
Methods in com.sun.source.util with annotations of type SuppressWarnings Modifier and Type Method Description R
TreeScanner. visitCase(CaseTree node, P p)
Visits a CaseTree node.R
SimpleTreeVisitor. visitSwitchExpression(SwitchExpressionTree node, P p)
Deprecated, for removal: This API element is subject to removal in a future version.This method is modeling switch expressions, which are part of a preview feature and may be removed if the preview feature is removed.R
TreeScanner. visitSwitchExpression(SwitchExpressionTree node, P p)
Deprecated, for removal: This API element is subject to removal in a future version.This method is modeling switch expressions, which are part of a preview feature and may be removed if the preview feature is removed.R
SimpleTreeVisitor. visitYield(YieldTree node, P p)
Deprecated, for removal: This API element is subject to removal in a future version.R
TreeScanner. visitYield(YieldTree node, P p)
Deprecated, for removal: This API element is subject to removal in a future version.This method is modeling switch expressions, which are part of a preview feature and may be removed if the preview feature is removed. -
Uses of SuppressWarnings in java.applet
Methods in java.applet with annotations of type SuppressWarnings Modifier and Type Method Description void
Applet. resize(int width, int height)
Deprecated.Requests that this applet be resized.void
Applet. resize(Dimension d)
Deprecated.Requests that this applet be resized. -
Uses of SuppressWarnings in java.awt
Methods in java.awt with annotations of type SuppressWarnings Modifier and Type Method Description static 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
.Object
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.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
.Set<AWTKeyStroke>
Window. getFocusTraversalKeys(int id)
Gets a focus traversal key for this Window.URL
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
.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
PopupMenu. show(Component origin, int x, int y)
Shows the popup menu at the x, y position relative to an origin component.Constructors in java.awt with annotations of type SuppressWarnings Constructor Description FlipBufferStrategy(int numBuffers, BufferCapabilities caps)
Creates a new flipping buffer strategy for this component. -
Uses of SuppressWarnings in java.awt.dnd
Methods in java.awt.dnd with annotations of type SuppressWarnings Modifier and Type Method Description Iterator<InputEvent>
DragGestureEvent. iterator()
Returns anIterator
for the events comprising the gesture.Object[]
DragGestureEvent. toArray(Object[] array)
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
Methods in java.awt.event with annotations of type SuppressWarnings Modifier and Type Method Description static 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".String
ActionEvent. paramString()
Returns a parameter string identifying this action event.String
KeyEvent. paramString()
Returns a parameter string identifying this event.String
MouseEvent. paramString()
Returns a parameter string identifying this event.Constructors in java.awt.event with annotations of type SuppressWarnings Constructor Description KeyEvent(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
Methods in java.awt.geom with annotations of type SuppressWarnings Modifier and Type Method Description void
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.Point2D
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
Methods in java.awt.image.renderable with annotations of type SuppressWarnings Modifier and Type Method Description Object
ParameterBlock. clone()
Creates a copy of aParameterBlock
. -
Uses of SuppressWarnings in java.beans
Methods in java.beans with annotations of type SuppressWarnings Modifier and Type Method Description PropertyEditor
PropertyDescriptor. createPropertyEditor(Object bean)
Constructs an instance of a property editor using the current property editor class.static Object
Beans. instantiate(ClassLoader cls, String beanName, BeanContext beanContext)
Instantiate a JavaBean. -
Uses of SuppressWarnings in java.beans.beancontext
Classes in java.beans.beancontext with annotations of type SuppressWarnings Modifier and Type Interface Description interface
BeanContext
The BeanContext acts a logical hierarchical container for JavaBeans.Fields in java.beans.beancontext with annotations of type SuppressWarnings Modifier and Type Field Description protected Collection
BeanContextMembershipEvent. children
The list of children affected by this event notification.Methods in java.beans.beancontext with annotations of type SuppressWarnings Modifier and Type Method Description boolean
BeanContextSupport. addAll(Collection c)
add Collection to set of Children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected fieldboolean
BeanContextSupport. containsAll(Collection c)
Tests to see if all objects in the specifiedCollection
are children of thisBeanContext
.protected void
BeanContextSupport. deserialize(ObjectInputStream ois, Collection coll)
used by readObject to deserialize a collection.Iterator
BeanContextMembershipEvent. iterator()
Gets the array of children affected by this event.boolean
BeanContextSupport. removeAll(Collection c)
remove all specified children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected fieldboolean
BeanContextSupport. retainAll(Collection c)
retain only specified children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected fieldConstructors in java.beans.beancontext with annotations of type SuppressWarnings Constructor Description BeanContextMembershipEvent(BeanContext bc, Collection changes)
Contruct a BeanContextMembershipEvent -
Uses of SuppressWarnings in java.io
Methods in java.io with annotations of type SuppressWarnings Modifier and Type Method Description 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)
Read 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.void
RandomAccessFile. writeBytes(String s)
Writes the string to the file as a sequence of bytes. -
Uses of SuppressWarnings in java.lang
Classes in java.lang with annotations of type SuppressWarnings Modifier and Type Class Description class
Enum<E extends Enum<E>>
This is the common base class of all Java language enumeration types.class
EnumConstantNotPresentException
Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name.Fields in java.lang with annotations of type SuppressWarnings Modifier and Type Field Description static Class<Boolean>
Boolean. TYPE
The Class object representing the primitive type boolean.static Class<Byte>
Byte. TYPE
TheClass
instance representing the primitive typebyte
.static Class<Character>
Character. TYPE
TheClass
instance representing the primitive typechar
.static Class<Double>
Double. TYPE
TheClass
instance representing the primitive typedouble
.static Class<Float>
Float. TYPE
TheClass
instance representing the primitive typefloat
.static Class<Integer>
Integer. TYPE
TheClass
instance representing the primitive typeint
.static Class<Long>
Long. TYPE
TheClass
instance representing the primitive typelong
.static Class<Short>
Short. TYPE
TheClass
instance representing the primitive typeshort
.static Class<Void>
Void. TYPE
TheClass
object representing the pseudo-type corresponding to the keywordvoid
.Methods in java.lang with annotations of type SuppressWarnings Modifier and Type Method Description <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.T
Class. cast(Object obj)
Casts an object to the class or interface represented by thisClass
object.static int
CharSequence. compare(CharSequence cs1, CharSequence cs2)
Compares twoCharSequence
instances lexicographically.protected void
Enum. finalize()
enum classes cannot have finalize methods.<A extends Annotation>
AClass. getAnnotation(Class<A> annotationClass)
<A extends Annotation>
AClass. getDeclaredAnnotation(Class<A> annotationClass)
Class<E>
Enum. getDeclaringClass()
Returns the Class object corresponding to this enum constant's enum type.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.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.void
ThreadGroup. resume()
Deprecated.This method is used solely in conjunction withThread.suspend
andThreadGroup.suspend
, both of which have been deprecated, as they are inherently deadlock-prone.void
ThreadGroup. suspend()
Deprecated.This method is inherently deadlock-prone. -
Uses of SuppressWarnings in java.lang.instrument
Methods in java.lang.instrument with annotations of type SuppressWarnings Modifier and Type Method Description Class[]
Instrumentation. getAllLoadedClasses()
Returns an array of all classes currently loaded by the JVM.Class[]
Instrumentation. getInitiatedClasses(ClassLoader loader)
Returns an array of all classes for whichloader
is an initiating loader. -
Uses of SuppressWarnings in java.lang.invoke
Methods in java.lang.invoke with annotations of type SuppressWarnings Modifier and Type Method Description M
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.reflect
Methods in java.lang.reflect with annotations of type SuppressWarnings Modifier and Type Method Description 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.TypeVariable<Method>[]
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
Classes in java.math with annotations of type SuppressWarnings Modifier and Type Class Description class
RoundingMode
Specifies a rounding behavior for numerical operations capable of discarding precision. -
Uses of SuppressWarnings in java.net
Methods in java.net with annotations of type SuppressWarnings Modifier and Type Method Description Object
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 Default)
Returns the value of the named field parsed as date.<T> T
Socket. getOption(SocketOption<T> name)
Returns the value of a socket option. -
Uses of SuppressWarnings in java.rmi.server
Fields in java.rmi.server with annotations of type SuppressWarnings Modifier and Type Field Description static long
RemoteRef. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
ServerRef. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.Methods in java.rmi.server with annotations of type SuppressWarnings Modifier and Type Method Description static Remote
RemoteObject. toStub(Remote obj)
Returns the stub for the remote objectobj
passed as a parameter. -
Uses of SuppressWarnings in java.security
Classes in java.security with annotations of type SuppressWarnings Modifier and Type Class Description class
Identity
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
IdentityScope
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
Signer
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.Fields in java.security with annotations of type SuppressWarnings Modifier and Type Field Description static long
Key. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
PrivateKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
PublicKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in java.security.acl
Classes in java.security.acl with annotations of type SuppressWarnings Modifier and Type Interface Description interface
Acl
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.interface
AclEntry
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.interface
Owner
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. -
Uses of SuppressWarnings in java.security.interfaces
Fields in java.security.interfaces with annotations of type SuppressWarnings Modifier and Type Field Description static long
DSAPrivateKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
DSAPublicKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
ECPrivateKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
ECPublicKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
RSAMultiPrimePrivateCrtKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
RSAPrivateCrtKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
RSAPrivateKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
RSAPublicKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in java.sql
Methods in java.sql with annotations of type SuppressWarnings Modifier and Type Method Description LocalDate
Date. toLocalDate()
Creates aLocalDate
instance using the year, month and day from thisDate
object.LocalDateTime
Timestamp. toLocalDateTime()
Converts thisTimestamp
object to aLocalDateTime
.LocalTime
Time. toLocalTime()
Converts thisTime
object to aLocalTime
.String
Date. toString()
Formats a date in the date escape format yyyy-mm-dd.String
Time. toString()
Formats a time in JDBC time escape format.String
Timestamp. toString()
Formats a timestamp in JDBC timestamp escape format.static Date
Date. valueOf(LocalDate date)
Obtains an instance ofDate
from aLocalDate
object with the same year, month and day of month value as the givenLocalDate
.static Time
Time. valueOf(LocalTime 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
Methods in java.text with annotations of type SuppressWarnings Modifier and Type Method Description void
MessageFormat. applyPattern(String pattern)
Sets the pattern used by this message format.void
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). -
Uses of SuppressWarnings in java.time
Methods in java.time with annotations of type SuppressWarnings Modifier and Type Method Description static ZoneOffset
ZoneOffset. of(String offsetId)
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
Methods in java.time.chrono with annotations of type SuppressWarnings Modifier and Type Method Description default ChronoLocalDateTime<?>
ChronoLocalDate. atTime(LocalTime localTime)
Combines this date with a time to create aChronoLocalDateTime
.ChronoLocalDateTime<HijrahDate>
HijrahDate. atTime(LocalTime localTime)
ChronoLocalDateTime<JapaneseDate>
JapaneseDate. atTime(LocalTime localTime)
ChronoLocalDateTime<MinguoDate>
MinguoDate. atTime(LocalTime localTime)
ChronoLocalDateTime<ThaiBuddhistDate>
ThaiBuddhistDate. atTime(LocalTime localTime)
ChronoLocalDateTime<HijrahDate>
HijrahChronology. localDateTime(TemporalAccessor temporal)
ChronoLocalDateTime<JapaneseDate>
JapaneseChronology. localDateTime(TemporalAccessor temporal)
ChronoLocalDateTime<MinguoDate>
MinguoChronology. localDateTime(TemporalAccessor temporal)
ChronoLocalDateTime<ThaiBuddhistDate>
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.ChronoZonedDateTime<HijrahDate>
HijrahChronology. zonedDateTime(Instant instant, ZoneId zone)
ChronoZonedDateTime<HijrahDate>
HijrahChronology. zonedDateTime(TemporalAccessor temporal)
ChronoZonedDateTime<JapaneseDate>
JapaneseChronology. zonedDateTime(Instant instant, ZoneId zone)
ChronoZonedDateTime<JapaneseDate>
JapaneseChronology. zonedDateTime(TemporalAccessor temporal)
ChronoZonedDateTime<MinguoDate>
MinguoChronology. zonedDateTime(Instant instant, ZoneId zone)
ChronoZonedDateTime<MinguoDate>
MinguoChronology. zonedDateTime(TemporalAccessor temporal)
ChronoZonedDateTime<ThaiBuddhistDate>
ThaiBuddhistChronology. zonedDateTime(Instant instant, ZoneId zone)
ChronoZonedDateTime<ThaiBuddhistDate>
ThaiBuddhistChronology. zonedDateTime(TemporalAccessor temporal)
-
Uses of SuppressWarnings in java.util
Classes in java.util with annotations of type SuppressWarnings Modifier and Type Class Description class
PriorityQueue<E>
An unbounded priority queue based on a priority heap.Fields in java.util with annotations of type SuppressWarnings Modifier and Type Field Description protected boolean
Calendar. areFieldsSet
True iffields[]
are in sync with the currently set time.static List
Collections. EMPTY_LIST
The empty list (immutable).static Map
Collections. EMPTY_MAP
The empty map (immutable).static 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.Methods in java.util with annotations of type SuppressWarnings Modifier and Type Method Description static <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<K,V>
EnumMap. clone()
Returns a shallow copy of this enum map.EnumSet<E>
EnumSet. clone()
Returns a copy of this set.Object
HashMap. clone()
Returns a shallow copy of thisHashMap
instance: the keys and values themselves are not cloned.Object
HashSet. clone()
Returns a shallow copy of thisHashSet
instance: the elements themselves are not cloned.Object
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>
Map. copyOf(Map<? extends K,? extends V> map)
Returns an unmodifiable Map containing the entries of the given Map.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 <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 <K, V> Map<K,V>
Collections. emptyMap()
Returns an empty map (immutable).static <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 <T> Set<T>
Collections. emptySet()
Returns an empty set (immutable).static <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
String
Base64.Encoder. encodeToString(byte[] src)
Encodes the specified byte array into a String using theBase64
encoding scheme.boolean
Calendar. equals(Object obj)
Compares thisCalendar
to the specifiedObject
.void
PrimitiveIterator. forEachRemaining(T_CONS action)
Performs the given action for each remaining element, in the order elements occur when iterating, 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.V
Hashtable. get(Object key)
Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.V
IdentityHashMap. get(Object key)
Returns the value to which the specified key is mapped, ornull
if this map contains no mapping for the key.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>
Map. ofEntries(Map.Entry<? extends K,? extends V>... entries)
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
Collections. reverse(List<?> list)
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, Random rnd)
Randomly permute the specified list using the specified source of randomness.static <T extends Comparable<? super T>>
voidCollections. sort(List<T> list)
Sorts the specified list into ascending order, according to the natural ordering of its elements.static <T> void
Collections. sort(List<T> list, Comparator<? super T> c)
Sorts the specified list according to the order induced by the specified comparator.default void
List. sort(Comparator<? super E> c)
Sorts this list according to the order induced by the specifiedComparator
.static void
Collections. swap(List<?> list, int i, int j)
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
.Constructors in java.util with annotations of type SuppressWarnings Constructor Description PropertyResourceBundle(InputStream stream)
Creates a property resource bundle from anInputStream
.PropertyResourceBundle(Reader reader)
Creates a property resource bundle from aReader
. -
Uses of SuppressWarnings in java.util.concurrent
Classes in java.util.concurrent with annotations of type SuppressWarnings Modifier and Type Class Description class
PriorityBlockingQueue<E>
An unbounded blocking queue that uses the same ordering rules as classPriorityQueue
and supplies blocking retrieval operations.Methods in java.util.concurrent with annotations of type SuppressWarnings Modifier and Type Method Description V
Exchanger. exchange(V x)
Waits for another thread to arrive at this exchange point (unless the current thread is interrupted), and then transfers the given object to it, receiving its object in return.V
Exchanger. exchange(V x, long timeout, TimeUnit unit)
Waits for another thread to arrive at this exchange point (unless the current thread is interrupted or the specified waiting time elapses), and then transfers the given object to it, receiving its object in return.T
CompletableFuture. get()
Waits if necessary for this future to complete, and then returns its result.T
CompletableFuture. get(long timeout, TimeUnit unit)
Waits if necessary for at most the given time for this future to complete, and then returns its result, if available.T
CompletableFuture. getNow(T valueIfAbsent)
Returns the result value (or throws any encountered exception) if completed, else returns the given valueIfAbsent.T
CompletableFuture. join()
Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally.ForkJoinTask<?>
ForkJoinPool. submit(Runnable task)
<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. -
Uses of SuppressWarnings in java.util.concurrent.atomic
Methods in java.util.concurrent.atomic with annotations of type SuppressWarnings Modifier and Type Method Description E
AtomicReferenceArray. get(int i)
Returns the current value of the element at indexi
, with memory effects as specified byVarHandle.getVolatile(java.lang.Object...)
.V
AtomicReference. getAndSet(V newValue)
Atomically sets the value tonewValue
and returns the old value, with memory effects as specified byVarHandle.getAndSet(java.lang.Object...)
.E
AtomicReferenceArray. getAndSet(int i, E newValue)
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
Methods in java.util.function with annotations of type SuppressWarnings Modifier and Type Method Description static <T> Predicate<T>
Predicate. not(Predicate<? super T> target)
Returns a predicate that is the negation of the supplied predicate. -
Uses of SuppressWarnings in java.util.stream
Methods in java.util.stream with annotations of type SuppressWarnings Modifier and Type Method Description static <T> Stream<T>
Stream. of(T... values)
Returns a sequential ordered stream whose elements are the specified values.static <T> Collector<T,?,List<T>>
Collectors. toUnmodifiableList()
Returns aCollector
that accumulates the input elements into an unmodifiable List in encounter order.static <T, K, U> Collector<T,?,Map<K,U>>
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.static <T, K, U> Collector<T,?,Map<K,U>>
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.static <T> Collector<T,?,Set<T>>
Collectors. toUnmodifiableSet()
Returns aCollector
that accumulates the input elements into an unmodifiable Set. -
Uses of SuppressWarnings in javax.crypto
Fields in javax.crypto with annotations of type SuppressWarnings Modifier and Type Field Description static long
SecretKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in javax.crypto.interfaces
Fields in javax.crypto.interfaces with annotations of type SuppressWarnings Modifier and Type Field Description static long
DHPrivateKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
DHPublicKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.static long
PBEKey. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in javax.lang.model.util
Constructors in javax.lang.model.util with annotations of type SuppressWarnings Constructor Description AbstractAnnotationValueVisitor8()
Constructor for concrete subclasses to call.AbstractElementVisitor8()
Constructor for concrete subclasses to call.AbstractTypeVisitor8()
Constructor for concrete subclasses to call.ElementKindVisitor8()
Constructor for concrete subclasses; usesnull
for the default value.ElementKindVisitor8(R defaultValue)
Constructor for concrete subclasses; uses the argument for the default value.ElementScanner8()
Constructor for concrete subclasses; usesnull
for the default value.ElementScanner8(R defaultValue)
Constructor for concrete subclasses; uses the argument for the default value.SimpleAnnotationValueVisitor8()
Constructor for concrete subclasses; usesnull
for the default value.SimpleAnnotationValueVisitor8(R defaultValue)
Constructor for concrete subclasses; uses the argument for the default value.SimpleElementVisitor8()
Constructor for concrete subclasses; usesnull
for the default value.SimpleElementVisitor8(R defaultValue)
Constructor for concrete subclasses; uses the argument for the default value.SimpleTypeVisitor8()
Constructor for concrete subclasses; usesnull
for the default value.SimpleTypeVisitor8(R defaultValue)
Constructor for concrete subclasses; uses the argument for the default value.TypeKindVisitor8()
Constructor for concrete subclasses to call; usesnull
for the default value.TypeKindVisitor8(R defaultValue)
Constructor for concrete subclasses to call; uses the argument for the default value. -
Uses of SuppressWarnings in javax.management
Classes in javax.management with annotations of type SuppressWarnings Modifier and Type Class Description class
MBeanAttributeInfo
Describes an MBean attribute exposed for management.class
Notification
The Notification class represents a notification emitted by an MBean.class
ObjectName
Represents the object name of an MBean, or a pattern that can match the names of several MBeans.Methods in javax.management with annotations of type SuppressWarnings Modifier and Type Method Description List<Attribute>
AttributeList. asList()
Return a view of this list as aList<Attribute>
. -
Uses of SuppressWarnings in javax.management.modelmbean
Classes in javax.management.modelmbean with annotations of type SuppressWarnings Modifier and Type Class Description class
DescriptorSupport
This class represents the metadata set for a ModelMBean element.class
InvalidTargetObjectTypeException
Exception thrown when an invalid target object type is specified.class
ModelMBeanAttributeInfo
The ModelMBeanAttributeInfo object describes an attribute of the ModelMBean.class
ModelMBeanConstructorInfo
The ModelMBeanConstructorInfo object describes a constructor of the ModelMBean.class
ModelMBeanInfoSupport
This class represents the meta data for ModelMBeans.class
ModelMBeanNotificationInfo
The ModelMBeanNotificationInfo object describes a notification emitted by a ModelMBean.class
ModelMBeanOperationInfo
The ModelMBeanOperationInfo object describes a management operation of the ModelMBean.class
XMLParseException
This exception is thrown when an XML formatted string is being parsed into ModelMBean objects or when XML formatted strings are being created from ModelMBean objects. -
Uses of SuppressWarnings in javax.management.openmbean
Methods in javax.management.openmbean with annotations of type SuppressWarnings Modifier and Type Method Description Set<Map.Entry<Object,Object>>
TabularDataSupport. 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.Collection<Object>
TabularDataSupport. values()
Returns a collection view of the rows contained in thisTabularDataSupport
instance. -
Uses of SuppressWarnings in javax.management.relation
Classes in javax.management.relation with annotations of type SuppressWarnings Modifier and Type Class Description class
MBeanServerNotificationFilter
Filter forMBeanServerNotification
.class
RelationNotification
A notification of a change in the Relation Service.class
RelationTypeSupport
A RelationTypeSupport object implements the RelationType interface.class
Role
Represents a role: includes a role name and referenced MBeans (via their ObjectNames).class
RoleInfo
A RoleInfo object summarises a role in a relation type.class
RoleResult
Represents the result of a multiple access to several roles of a relation (either for reading or writing).class
RoleUnresolved
Represents an unresolved role: a role not retrieved from a relation due to a problem.Methods in javax.management.relation with annotations of type SuppressWarnings Modifier and Type Method Description List<Role>
RoleList. asList()
Return a view of this list as aList<Role>
.List<RoleUnresolved>
RoleUnresolvedList. asList()
Return a view of this list as aList<RoleUnresolved>
. -
Uses of SuppressWarnings in javax.management.remote.rmi
Classes in javax.management.remote.rmi with annotations of type SuppressWarnings Modifier and Type Interface Description interface
RMIConnection
RMI object used to forward an MBeanServer request from a client to its MBeanServer implementation on the server side. -
Uses of SuppressWarnings in javax.naming
Fields in javax.naming with annotations of type SuppressWarnings Modifier and Type Field Description static long
Name. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual.Methods in javax.naming with annotations of type SuppressWarnings Modifier and Type Method Description static <T> T
InitialContext. doLookup(String name)
A static method to retrieve the named object.static <T> T
InitialContext. doLookup(Name name)
A static method to retrieve the named object.protected void
InitialContext. init(Hashtable<?,?> environment)
Initializes the initial context using the supplied environment. -
Uses of SuppressWarnings in javax.naming.directory
Fields in javax.naming.directory with annotations of type SuppressWarnings Modifier and Type Field Description static long
Attribute. serialVersionUID
Deprecated.AserialVersionUID
field in an interface is ineffectual. -
Uses of SuppressWarnings in javax.naming.ldap
Constructors in javax.naming.ldap with annotations of type SuppressWarnings Constructor Description InitialLdapContext(Hashtable<?,?> environment, Control[] connCtls)
Constructs an initial context using environment properties and connection request controls. -
Uses of SuppressWarnings in javax.naming.spi
Methods in javax.naming.spi with annotations of type SuppressWarnings Modifier and Type Method Description static 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. -
Uses of SuppressWarnings in javax.net.ssl
Methods in javax.net.ssl with annotations of type SuppressWarnings Modifier and Type Method Description X509Certificate[]
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.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. -
Uses of SuppressWarnings in javax.print
Methods in javax.print with annotations of type SuppressWarnings Modifier and Type Method Description static 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.cert
Classes in javax.security.cert with annotations of type SuppressWarnings Modifier and Type Class Description class
Certificate
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
CertificateEncodingException
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
CertificateExpiredException
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
CertificateNotYetValidException
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
CertificateParsingException
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
X509Certificate
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
Methods in javax.sound.midi with annotations of type SuppressWarnings Modifier and Type Method Description Map<String,Object>
MidiFileFormat. properties()
Obtain an unmodifiable map of properties. -
Uses of SuppressWarnings in javax.sound.sampled
Methods in javax.sound.sampled with annotations of type SuppressWarnings Modifier and Type Method Description Map<String,Object>
AudioFileFormat. properties()
Obtain an unmodifiable map of properties.Map<String,Object>
AudioFormat. properties()
Obtain an unmodifiable map of properties. -
Uses of SuppressWarnings in javax.sql.rowset.serial
Methods in javax.sql.rowset.serial with annotations of type SuppressWarnings Modifier and Type Method Description void
SQLOutputImpl. writeArray(Array x)
Writes anArray
object in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl. writeAsciiStream(InputStream x)
Writes a stream of ASCII characters to thisSQLOutputImpl
object.void
SQLOutputImpl. writeBigDecimal(BigDecimal x)
Writes ajava.math.BigDecimal
object in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl. writeBinaryStream(InputStream x)
Writes a stream of uninterpreted bytes to thisSQLOutputImpl
object.void
SQLOutputImpl. writeBlob(Blob x)
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
SQLOutputImpl. writeCharacterStream(Reader x)
Writes a stream of Unicode characters to thisSQLOutputImpl
object.void
SQLOutputImpl. writeClob(Clob x)
Writes aClob
object in the Java programming language to thisSQLOutputImpl
object.void
SQLOutputImpl. writeDate(Date x)
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
SQLOutputImpl. writeRef(Ref x)
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
SQLOutputImpl. writeTime(Time x)
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
SQLOutputImpl. writeURL(URL url)
Writes anjava.sql.Type.DATALINK
object in the Java programming language to thisSQLOutputImpl
object. -
Uses of SuppressWarnings in javax.swing
Classes in javax.swing with annotations of type SuppressWarnings Modifier and Type Class Description class
AbstractAction
This class provides default implementations for the JFCAction
interface.class
AbstractButton
Defines common behaviors for buttons and menu items.protected class
AbstractButton.AccessibleAbstractButton
This class implements accessibility support for theAbstractButton
class.protected class
AbstractButton.ButtonChangeListener
ExtendsChangeListener
to be serializable.class
AbstractCellEditor
A base class forCellEditors
, providing default implementations for the methods in theCellEditor
interface exceptgetCellEditorValue()
.class
AbstractListModel<E>
The abstract definition for the data model that provides aList
with its contents.class
AbstractSpinnerModel
This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.class
ActionMap
ActionMap
provides mappings fromObject
s (called keys orAction
names) toAction
s.class
Box
A lightweight container that uses a BoxLayout object as its layout manager.protected class
Box.AccessibleBox
This class implements accessibility support for theBox
class.static class
Box.Filler
An implementation of a lightweight component that participates in layout but has no view.protected class
Box.Filler.AccessibleBoxFiller
This class implements accessibility support for theBox.Filler
class.class
BoxLayout
A layout manager that allows multiple components to be laid out either vertically or horizontally.class
ButtonGroup
This class is used to create a multiple-exclusion scope for a set of buttons.class
CellRendererPane
This class is inserted in between cell renderers and the components that use them.class
ComponentInputMap
AComponentInputMap
is anInputMap
associated with a particularJComponent
.class
DefaultBoundedRangeModel
A generic implementation of BoundedRangeModel.class
DefaultButtonModel
The default implementation of aButton
component's data model.class
DefaultCellEditor
The default editor for table and tree cells.class
DefaultComboBoxModel<E>
The default model for combo boxes.class
DefaultDesktopManager
This is an implementation of theDesktopManager
.class
DefaultFocusManager
This class has been obsoleted by the 1.4 focus APIs.class
DefaultListCellRenderer
Renders an item in a list.static class
DefaultListCellRenderer.UIResource
A subclass of DefaultListCellRenderer that implements UIResource.class
DefaultListModel<E>
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
DefaultListSelectionModel
Default data model for list selections.class
DefaultSingleSelectionModel
A generic implementation of SingleSelectionModel.class
ImageIcon
An implementation of the Icon interface that paints Icons from Images.protected class
ImageIcon.AccessibleImageIcon
This class implements accessibility support for theImageIcon
class.class
InputMap
InputMap
provides a binding between an input event (currently onlyKeyStroke
s are used) and anObject
.class
JApplet
Deprecated.The Applet API is deprecated, no replacement.class
JButton
An implementation of a "push" button.protected class
JButton.AccessibleJButton
This class implements accessibility support for theJButton
class.class
JCheckBox
An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.protected class
JCheckBox.AccessibleJCheckBox
This class implements accessibility support for theJCheckBox
class.class
JCheckBoxMenuItem
A menu item that can be selected or deselected.protected class
JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem
This class implements accessibility support for theJCheckBoxMenuItem
class.class
JColorChooser
JColorChooser
provides a pane of controls designed to allow a user to manipulate and select a color.class
JComboBox<E>
A component that combines a button or editable field and a drop-down list.protected class
JComboBox.AccessibleJComboBox
This class implements accessibility support for theJComboBox
class.class
JComponent
The base class for all Swing components except top-level containers.class
JComponent.AccessibleJComponent
Inner class of JComponent used to provide default support for accessibility.class
JDesktopPane
A container used to create a multiple-document interface or a virtual desktop.protected class
JDesktopPane.AccessibleJDesktopPane
This class implements accessibility support for theJDesktopPane
class.class
JDialog
The main class for creating a dialog window.class
JEditorPane
A text component to edit various kinds of content.protected class
JEditorPane.AccessibleJEditorPane
This class implements accessibility support for theJEditorPane
class.protected class
JEditorPane.AccessibleJEditorPaneHTML
This class provides support forAccessibleHypertext
, and is used in instances where theEditorKit
installed in thisJEditorPane
is an instance ofHTMLEditorKit
.class
JFileChooser
JFileChooser
provides a simple mechanism for the user to choose a file.protected class
JFileChooser.AccessibleJFileChooser
This class implements accessibility support for theJFileChooser
class.class
JFormattedTextField
JFormattedTextField
extendsJTextField
adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.class
JFrame
An extended version ofjava.awt.Frame
that adds support for the JFC/Swing component architecture.class
JInternalFrame
A lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.protected class
JInternalFrame.AccessibleJInternalFrame
This class implements accessibility support for theJInternalFrame
class.static class
JInternalFrame.JDesktopIcon
This component represents an iconified version of aJInternalFrame
.protected class
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon
This class implements accessibility support for theJInternalFrame.JDesktopIcon
class.class
JLabel
A display area for a short text string or an image, or both.protected class
JLabel.AccessibleJLabel
The class used to obtain the accessible role for this object.class
JLayer<V extends Component>
JLayer
is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of allAWTEvent
s generated within its borders.class
JLayeredPane
JLayeredPane
adds depth to a JFC/Swing container, allowing components to overlap each other when needed.protected class
JLayeredPane.AccessibleJLayeredPane
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
JList.AccessibleJList
This class implements accessibility support for theJList
class.class
JMenu
An implementation of a menu -- a popup window containingJMenuItem
s that is displayed when the user selects an item on theJMenuBar
.protected class
JMenu.AccessibleJMenu
This class implements accessibility support for theJMenu
class.protected class
JMenu.WinListener
A listener class that watches for a popup window closing.class
JMenuBar
An implementation of a menu bar.protected class
JMenuBar.AccessibleJMenuBar
This class implements accessibility support for theJMenuBar
class.class
JMenuItem
An implementation of an item in a menu.protected class
JMenuItem.AccessibleJMenuItem
This class implements accessibility support for theJMenuItem
class.class
JOptionPane
JOptionPane
makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.protected class
JOptionPane.AccessibleJOptionPane
This class implements accessibility support for theJOptionPane
class.class
JPanel
JPanel
is a generic lightweight container.protected class
JPanel.AccessibleJPanel
This class implements accessibility support for theJPanel
class.class
JPasswordField
JPasswordField
is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.class
JPopupMenu
An implementation of a popup menu -- a small window that pops up and displays a series of choices.protected class
JPopupMenu.AccessibleJPopupMenu
This class implements accessibility support for theJPopupMenu
class.static class
JPopupMenu.Separator
A popup menu-specific separator.class
JProgressBar
A component that visually displays the progress of some task.protected class
JProgressBar.AccessibleJProgressBar
This class implements accessibility support for theJProgressBar
class.class
JRadioButton
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.protected class
JRadioButton.AccessibleJRadioButton
This class implements accessibility support for theJRadioButton
class.class
JRadioButtonMenuItem
An implementation of a radio button menu item.protected class
JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem
This class implements accessibility support for theJRadioButtonMenuItem
class.class
JRootPane
A lightweight container used behind the scenes byJFrame
,JDialog
,JWindow
,JApplet
, andJInternalFrame
.protected class
JRootPane.AccessibleJRootPane
This class implements accessibility support for theJRootPane
class.protected class
JRootPane.RootLayout
A custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar.class
JScrollBar
An implementation of a scrollbar.protected class
JScrollBar.AccessibleJScrollBar
This class implements accessibility support for theJScrollBar
class.class
JScrollPane
Provides a scrollable view of a lightweight component.protected class
JScrollPane.AccessibleJScrollPane
This class implements accessibility support for theJScrollPane
class.protected class
JScrollPane.ScrollBar
By defaultJScrollPane
creates scrollbars that are instances of this class.class
JSeparator
JSeparator
provides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks them up into logical groupings.protected class
JSeparator.AccessibleJSeparator
This class implements accessibility support for theJSeparator
class.class
JSlider
A component that lets the user graphically select a value by sliding a knob within a bounded interval.protected class
JSlider.AccessibleJSlider
This class implements accessibility support for theJSlider
class.class
JSpinner
A single line input field that lets the user select a number or an object value from an ordered sequence.class
JSplitPane
JSplitPane
is used to divide two (and only two)Component
s.protected class
JSplitPane.AccessibleJSplitPane
This class implements accessibility support for theJSplitPane
class.class
JTabbedPane
A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.protected class
JTabbedPane.AccessibleJTabbedPane
This class implements accessibility support for theJTabbedPane
class.class
JTable
TheJTable
is used to display and edit regular two-dimensional tables of cells.protected class
JTable.AccessibleJTable
This class implements accessibility support for theJTable
class.class
JTextArea
AJTextArea
is a multi-line area that displays plain text.protected class
JTextArea.AccessibleJTextArea
This class implements accessibility support for theJTextArea
class.class
JTextField
JTextField
is a lightweight component that allows the editing of a single line of text.protected class
JTextField.AccessibleJTextField
This class implements accessibility support for theJTextField
class.class
JTextPane
A text component that can be marked up with attributes that are represented graphically.class
JToggleButton
An implementation of a two-state button.protected class
JToggleButton.AccessibleJToggleButton
This class implements accessibility support for theJToggleButton
class.static class
JToggleButton.ToggleButtonModel
The ToggleButton modelclass
JToolBar
JToolBar
provides a component that is useful for displaying commonly usedAction
s or controls.class
JToolTip
Used to display a "Tip" for a Component.protected class
JToolTip.AccessibleJToolTip
This class implements accessibility support for theJToolTip
class.class
JTree
A control that displays a set of hierarchical data as an outline.protected class
JTree.AccessibleJTree
This class implements accessibility support for theJTree
class.static class
JTree.DynamicUtilTreeNode
DynamicUtilTreeNode
can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary.protected static class
JTree.EmptySelectionModel
EmptySelectionModel
is aTreeSelectionModel
that does not allow anything to be selected.protected class
JTree.TreeSelectionRedirector
Handles creating a newTreeSelectionEvent
with theJTree
as the source and passing it off to all the listeners.class
JViewport
The "viewport" or "porthole" through which you see the underlying information.protected class
JViewport.AccessibleJViewport
This class implements accessibility support for theJViewport
class.protected class
JViewport.ViewListener
A listener for the view.class
JWindow
AJWindow
is a container that can be displayed anywhere on the user's desktop.protected class
JWindow.AccessibleJWindow
This class implements accessibility support for theJWindow
class.class
KeyStroke
A KeyStroke represents a key action on the keyboard, or equivalent input device.class
LayoutFocusTraversalPolicy
A SortingFocusTraversalPolicy which sorts Components based on their size, position, and orientation.class
OverlayLayout
A layout manager to arrange components over the top of each other.class
ScrollPaneLayout
The layout manager used byJScrollPane
.class
SizeRequirements
For the convenience of layout managers, calculates information about the size and position of components.class
SpinnerDateModel
ASpinnerModel
for sequences ofDate
s.class
SpinnerListModel
A simple implementation ofSpinnerModel
whose values are defined by an array or aList
.class
SpinnerNumberModel
ASpinnerModel
for sequences of numbers.class
Spring
An instance of theSpring
class holds three properties that characterize its behavior: the minimum, preferred, and maximum values.class
SpringLayout
ASpringLayout
lays out the children of its associated container according to a set of constraints.class
Timer
Fires one or moreActionEvent
s at specified intervals.class
TransferHandler
This class is used to handle the transfer of aTransferable
to and from Swing components.class
UIDefaults
A table of defaults for Swing components.class
UIManager
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
UnsupportedLookAndFeelException
An exception that indicates the requested look & feel management classes are not present on the user's system.class
ViewportLayout
The default layout manager forJViewport
.Methods in javax.swing with annotations of type SuppressWarnings Modifier and Type Method Description 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.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.AccessibleContext
JLayer. getAccessibleContext()
Gets the AccessibleContext associated with thisJLayer
.JPopupMenu
JComponent. getComponentPopupMenu()
ReturnsJPopupMenu
that assigned for this component.Dictionary
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
SwingUtilities. getRoot(Component c)
Returns the root component for the current component tree.String
JList. getToolTipText(MouseEvent event)
Returns the tooltip text to be used for the given event.Container
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
Popup. hide()
Hides and disposes of thePopup
.Component
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 void
SwingWorker. publish(V... chunks)
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
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.Constructors in javax.swing with annotations of type SuppressWarnings Constructor Description JTable(Vector<? extends Vector> rowData, Vector<?> columnNames)
Constructs aJTable
to display the values in theVector
ofVectors
,rowData
, with column names,columnNames
.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
Classes in javax.swing.border with annotations of type SuppressWarnings Modifier and Type Class Description class
AbstractBorder
A class that implements an empty border with no size.class
BevelBorder
A class which implements a simple two-line bevel border.class
CompoundBorder
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
EmptyBorder
A class which provides an empty, transparent border which takes up space but does no drawing.class
EtchedBorder
A class which implements a simple etched border which can either be etched-in or etched-out.class
LineBorder
A class which implements a line border of arbitrary thickness and of a single color.class
MatteBorder
A class which provides a matte-like border of either a solid color or a tiled icon.class
SoftBevelBorder
A class which implements a raised or lowered bevel with softened corners.class
StrokeBorder
A class which implements a border of an arbitrary stroke.class
TitledBorder
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
Classes in javax.swing.colorchooser with annotations of type SuppressWarnings Modifier and Type Class Description class
AbstractColorChooserPanel
This is the abstract superclass for color choosers.class
ColorChooserComponentFactory
A class designed to produce preconfigured "accessory" objects to insert into color choosers.class
DefaultColorSelectionModel
A generic implementation ofColorSelectionModel
. -
Uses of SuppressWarnings in javax.swing.event
Classes in javax.swing.event with annotations of type SuppressWarnings Modifier and Type Class Description class
AncestorEvent
An event reported to a child component that originated from an ancestor in the component hierarchy.class
CaretEvent
CaretEvent is used to notify interested parties that the text caret has changed in the event source.class
ChangeEvent
ChangeEvent is used to notify interested parties that state has changed in the event source.class
EventListenerList
A class that holds a list of EventListeners.class
HyperlinkEvent
HyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.class
InternalFrameEvent
AnAWTEvent
that adds support forJInternalFrame
objects as the event source.class
ListDataEvent
Defines an event that encapsulates changes to a list.class
ListSelectionEvent
An event that characterizes a change in selection.class
MenuDragMouseEvent
MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.class
MenuEvent
MenuEvent is used to notify interested parties that the menu which is the event source has been posted, selected, or canceled.class
MenuKeyEvent
MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.class
PopupMenuEvent
PopupMenuEvent only contains the source of the event which is the JPopupMenu sending the eventclass
RowSorterEvent
RowSorterEvent
provides notification of changes to aRowSorter
.class
TableColumnModelEvent
TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.class
TableModelEvent
TableModelEvent is used to notify listeners that a table model has changed.class
TreeExpansionEvent
An event used to identify a single path in a tree.class
TreeModelEvent
Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.class
TreeSelectionEvent
An event that characterizes a change in the current selection.class
UndoableEditEvent
An event indicating that an operation which can be undone has occurred. -
Uses of SuppressWarnings in javax.swing.plaf
Classes in javax.swing.plaf with annotations of type SuppressWarnings Modifier and Type Class Description class
ActionMapUIResource
A subclass of javax.swing.ActionMap that implements UIResource.class
BorderUIResource
A Border wrapper class which implements UIResource.class
ColorUIResource
A subclass of Color that implements UIResource.class
ComponentInputMapUIResource
A subclass of javax.swing.ComponentInputMap that implements UIResource.class
DimensionUIResource
A subclass ofDimension
that implementsUIResource
.class
FontUIResource
A subclass of java.awt.Font that implements UIResource.class
IconUIResource
An Icon wrapper class which implements UIResource.class
InputMapUIResource
A subclass of javax.swing.InputMap that implements UIResource.class
InsetsUIResource
A subclass of Insets that implements UIResource.class
LayerUI<V extends Component>
The base class for allJLayer
's UI delegates.Methods in javax.swing.plaf with annotations of type SuppressWarnings Modifier and Type Method Description boolean
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
Classes in javax.swing.plaf.basic with annotations of type SuppressWarnings Modifier and Type Class Description class
BasicArrowButton
JButton object that draws a scaled Arrow in one of the cardinal directions.static class
BasicBorders.ButtonBorder
Draws a border around a button.static class
BasicBorders.FieldBorder
Draws the border around a field.static class
BasicBorders.MarginBorder
Draws the border around components which support margins.static class
BasicBorders.MenuBarBorder
Draws the border around a menu bar.static class
BasicBorders.RadioButtonBorder
Draws the border around a radio button.static class
BasicBorders.RolloverButtonBorder
Special thin border for rollover toolbar buttons.static class
BasicBorders.ToggleButtonBorder
Draws the border around a toggle button.class
BasicCheckBoxUI
CheckboxUI implementation for BasicCheckboxUIstatic class
BasicComboBoxEditor.UIResource
A subclass of BasicComboBoxEditor that implements UIResource.class
BasicComboBoxRenderer
ComboBox rendererstatic class
BasicComboBoxRenderer.UIResource
A subclass of BasicComboBoxRenderer that implements UIResource.class
BasicComboPopup
This is a basic implementation of theComboPopup
interface.protected class
BasicDesktopPaneUI.CloseAction
Handles closing an internal frame.protected class
BasicDesktopPaneUI.MaximizeAction
Handles maximizing an internal frame.protected class
BasicDesktopPaneUI.MinimizeAction
Handles minimizing an internal frame.protected class
BasicDesktopPaneUI.NavigateAction
Handles navigating to the next internal frame.protected class
BasicDesktopPaneUI.OpenAction
Handles restoring a minimized or maximized internal frame.class
BasicDirectoryModel
Basic implementation of a file list.class
BasicEditorPaneUI
Provides the look and feel for a JEditorPane.protected class
BasicFileChooserUI.ApproveSelectionAction
Responds to an Open or Save requestprotected class
BasicFileChooserUI.CancelSelectionAction
Responds to a cancel request.protected class
BasicFileChooserUI.ChangeToParentDirectoryAction
Change to parent directory action.protected class
BasicFileChooserUI.GoHomeAction
Acts on the "home" key event or equivalent event.protected class
BasicFileChooserUI.NewFolderAction
Creates a new folder.protected class
BasicFileChooserUI.UpdateAction
Rescans the files in the current directoryclass
BasicIconFactory
Factory object that can vend Icons appropriate for the basic L & F.class
BasicInternalFrameTitlePane
The class that manages a basic title barclass
BasicInternalFrameTitlePane.SystemMenuBar
This class should be treated as a "protected" inner class.class
BasicListUI.ListDataHandler
TheListDataListener
that's added to theJLists
model atinstallUI time
, and whenever the JList.model property changes.class
BasicListUI.ListSelectionHandler
The ListSelectionListener that's added to the JLists selection model at installUI time, and whenever the JList.selectionModel property changes.class
BasicListUI.MouseInputHandler
Mouse input, and focus handling for JList.class
BasicListUI.PropertyChangeHandler
The PropertyChangeListener that's added to the JList at installUI time.class
BasicLookAndFeel
A base class to use in creating a look and feel for Swing.class
BasicSliderUI.ActionScroller
As of Java 2 platform v1.3 this undocumented class is no longer used.class
BasicSplitPaneDivider
Divider used by BasicSplitPaneUI.protected class
BasicSplitPaneDivider.DragController
Handles the events during a dragging session for a HORIZONTAL_SPLIT oriented split pane.class
BasicTextAreaUI
Provides the look and feel for a plain text editor.class
BasicTextFieldUI
Basis of a look and feel for a JTextField.class
BasicTextPaneUI
Provides the look and feel for a styled text editor.class
BasicTextUI
Basis of a text components look-and-feel.protected class
BasicToolBarUI.DragWindow
The window which appears during dragging theJToolBar
.class
BasicTreeUI.TreeCancelEditingAction
ActionListener that invokes cancelEditing when action performed.class
BasicTreeUI.TreeHomeAction
TreeHomeAction is used to handle end/home actions.class
BasicTreeUI.TreeIncrementAction
TreeIncrementAction is used to handle up/down actions.class
BasicTreeUI.TreePageAction
TreePageAction handles page up and page down events.class
BasicTreeUI.TreeToggleAction
For the first selected row expandedness will be toggled.class
BasicTreeUI.TreeTraverseAction
TreeTraverseAction
is the action used for left/right keys.interface
ComboPopup
The interface which defines the methods required for the implementation of the popup portion of a combo box.class
DefaultMenuLayout
The default layout manager for Popup menus and menubars.Methods in javax.swing.plaf.basic with annotations of type SuppressWarnings Modifier and Type Method Description protected 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.protected void
BasicToolBarUI. dragTo(Point position, Point origin)
The method is used to dragDragWindow
during theJToolBar
is being dragged.String
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.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
Classes in javax.swing.plaf.metal with annotations of type SuppressWarnings Modifier and Type Class Description class
DefaultMetalTheme
A concrete implementation ofMetalTheme
providing the original look of the Java Look and Feel, code-named "Steel".static class
MetalBorders.ButtonBorder
The class represents the border of aJButton
.static class
MetalBorders.Flush3DBorder
The class represents the 3D border.static class
MetalBorders.InternalFrameBorder
The class represents the border of aJInternalFrame
.static class
MetalBorders.MenuBarBorder
The class represents the border of aJMenuBar
.static class
MetalBorders.MenuItemBorder
The class represents the border of aJMenuItem
.static class
MetalBorders.OptionDialogBorder
The class represents the border of an option dialog.static class
MetalBorders.PaletteBorder
Border for a Palette.static class
MetalBorders.PopupMenuBorder
The class represents the border of aJPopupMenu
.static class
MetalBorders.RolloverButtonBorder
The class represents the border of a rolloverButton
.static class
MetalBorders.ScrollPaneBorder
The class represents the border of aJScrollPane
.static class
MetalBorders.TableHeaderBorder
Border for a Table Headerstatic class
MetalBorders.TextFieldBorder
The class represents the border of aJTestField
.static class
MetalBorders.ToggleButtonBorder
static class
MetalBorders.ToolBarBorder
The class represents the border of aJToolBar
.class
MetalButtonUI
MetalButtonUI implementationclass
MetalCheckBoxIcon
CheckboxIcon implementation for OrganicCheckBoxUIclass
MetalCheckBoxUI
CheckboxUI implementation for MetalCheckboxUIclass
MetalComboBoxButton
JButton subclass to help out MetalComboBoxUIclass
MetalComboBoxEditor
The default editor for Metal editable combo boxesstatic class
MetalComboBoxEditor.UIResource
A subclass of BasicComboBoxEditor that implements UIResource.class
MetalComboBoxIcon
This utility class draws the horizontal bars which indicate a MetalComboBoxclass
MetalComboBoxUI
Metal UI for JComboBoxprotected class
MetalFileChooserUI.DirectoryComboBoxAction
Acts when DirectoryComboBox has changed the selected item.protected class
MetalFileChooserUI.DirectoryComboBoxModel
Data model for a type-face selection combo-box.protected class
MetalFileChooserUI.FileRenderer
Deprecated.As of JDK version 9.protected class
MetalFileChooserUI.FilterComboBoxModel
Data model for a type-face selection combo-box.class
MetalFileChooserUI.FilterComboBoxRenderer
Render different type sizes and styles.class
MetalIconFactory
Factory object that vendsIcon
s for the Java™ look and feel (Metal).static class
MetalIconFactory.FileIcon16
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
MetalIconFactory.FolderIcon16
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
MetalIconFactory.TreeControlIcon
Warning: Serialized objects of this class will not be compatible with future Swing releases.static class
MetalIconFactory.TreeFolderIcon
Warning: Serialized objects of this class will not be compatible with future Swing releases.class
MetalInternalFrameTitlePane
Class that manages a JLF title barclass
MetalLookAndFeel
The Java Look and Feel, otherwise known as Metal.class
MetalProgressBarUI
The Metal implementation of ProgressBarUI.class
MetalRadioButtonUI
RadioButtonUI implementation for MetalRadioButtonUIclass
MetalRootPaneUI
Provides the metal look and feel implementation ofRootPaneUI
.class
MetalScrollButton
JButton object for Metal scrollbar arrows.class
MetalScrollPaneUI
A Metal L&F implementation of ScrollPaneUI.class
MetalSeparatorUI
A Metal L&F implementation of SeparatorUI.class
MetalSliderUI
A Java L&F implementation of SliderUI.class
MetalSplitPaneUI
Metal split pane.class
MetalTabbedPaneUI
The Metal subclass of BasicTabbedPaneUI.class
MetalTextFieldUI
Basis of a look and feel for a JTextField.class
MetalToggleButtonUI
MetalToggleButton implementationclass
MetalToolTipUI
A Metal L&F extension of BasicToolTipUI.class
OceanTheme
The default theme for theMetalLookAndFeel
.Methods in javax.swing.plaf.metal with annotations of type SuppressWarnings Modifier and Type Method Description String
MetalToolTipUI. getAcceleratorString()
Returns the accelerator string. -
Uses of SuppressWarnings in javax.swing.plaf.multi
Classes in javax.swing.plaf.multi with annotations of type SuppressWarnings Modifier and Type Class Description class
MultiLookAndFeel
A multiplexing look and feel that allows more than one UI to be associated with a component at the same time.Methods in javax.swing.plaf.multi with annotations of type SuppressWarnings Modifier and Type Method Description String
MultiTextUI. getToolTipText(JTextComponent a, Point b)
Invokes thegetToolTipText
method on each UI handled by this object. -
Uses of SuppressWarnings in javax.swing.plaf.nimbus
Classes in javax.swing.plaf.nimbus with annotations of type SuppressWarnings Modifier and Type Class Description class
NimbusLookAndFeel
The NimbusLookAndFeel class. -
Uses of SuppressWarnings in javax.swing.plaf.synth
Classes in javax.swing.plaf.synth with annotations of type SuppressWarnings Modifier and Type Class Description class
SynthLookAndFeel
SynthLookAndFeel provides the basis for creating a customized look and feel.class
SynthTextAreaUI
Provides the look and feel for a plain text editor in the Synth look and feel.class
SynthTextFieldUI
Provides the Synth L&F UI delegate forJTextField
.class
SynthTextPaneUI
Provides the look and feel for a styled text editor in the Synth look and feel.Methods in javax.swing.plaf.synth with annotations of type SuppressWarnings Modifier and Type Method Description protected void
SynthSplitPaneUI. installDefaults()
Installs the UI defaults. -
Uses of SuppressWarnings in javax.swing.table
Classes in javax.swing.table with annotations of type SuppressWarnings Modifier and Type Class Description class
AbstractTableModel
This abstract class provides default implementations for most of the methods in theTableModel
interface.class
DefaultTableCellRenderer
The standard class for rendering (displaying) individual cells in aJTable
.static class
DefaultTableCellRenderer.UIResource
A subclass ofDefaultTableCellRenderer
that implementsUIResource
.class
DefaultTableColumnModel
The standard column-handler for aJTable
.class
DefaultTableModel
This is an implementation ofTableModel
that uses aVector
ofVectors
to store the cell value objects.class
JTableHeader
This is the object which manages the header of theJTable
.protected class
JTableHeader.AccessibleJTableHeader
This class implements accessibility support for theJTableHeader
class.class
TableColumn
ATableColumn
represents all the attributes of a column in aJTable
, such as width, resizability, minimum and maximum width.Fields in javax.swing.table with annotations of type SuppressWarnings Modifier and Type Field Description protected Vector
DefaultTableModel. columnIdentifiers
TheVector
of column identifiers.protected Vector<Vector>
DefaultTableModel. dataVector
TheVector
ofVectors
ofObject
values.Methods in javax.swing.table with annotations of type SuppressWarnings Modifier and Type Method Description void
DefaultTableModel. addColumn(Object columnName, Vector<?> columnData)
Adds a column to the model.Vector<Vector>
DefaultTableModel. getDataVector()
Returns theVector
ofVectors
that contains the table's data values.String
JTableHeader. getToolTipText(MouseEvent event)
Allows the renderer's tips to be used if there is text set.void
DefaultTableModel. setDataVector(Vector<? extends Vector> dataVector, Vector<?> columnIdentifiers)
Replaces the currentdataVector
instance variable with the newVector
of rows,dataVector
.Constructors in javax.swing.table with annotations of type SuppressWarnings Constructor Description DefaultTableModel(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
Classes in javax.swing.text with annotations of type SuppressWarnings Modifier and Type Class Description class
AbstractDocument
An implementation of the document interface to serve as a basis for implementing various kinds of documents.class
AbstractDocument.AbstractElement
Implements the abstract part of an element.class
AbstractDocument.BranchElement
Implements a composite element that contains other elements.class
AbstractDocument.LeafElement
Implements an element that directly represents content of some kind.class
BadLocationException
This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).class
ChangedCharSetException
ChangedCharSetException as the name indicates is an exception thrown when the charset is changed.class
DateFormatter
DateFormatter is anInternationalFormatter
that does its formatting by way of an instance ofjava.text.DateFormat
.class
DefaultCaret
A default implementation of Caret.class
DefaultEditorKit
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
DefaultEditorKit.BeepAction
Creates a beep.static class
DefaultEditorKit.CopyAction
Copies the selected region and place its contents into the system clipboard.static class
DefaultEditorKit.CutAction
Cuts the selected region and place its contents into the system clipboard.static class
DefaultEditorKit.DefaultKeyTypedAction
The action that is executed by default if a key typed event is received and there is no keymap entry.static class
DefaultEditorKit.InsertBreakAction
Places a line/paragraph break into the document.static class
DefaultEditorKit.InsertContentAction
Places content into the associated document.static class
DefaultEditorKit.InsertTabAction
Places a tab character into the document.static class
DefaultEditorKit.PasteAction
Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected.class
DefaultFormatter
DefaultFormatter
formats arbitrary objects.class
DefaultFormatterFactory
An implementation ofJFormattedTextField.AbstractFormatterFactory
.class
DefaultStyledDocument
A document that can be marked up with character and paragraph styles in a manner similar to the Rich Text Format.class
DefaultStyledDocument.ElementBuffer
Class to manage changes to the element hierarchy.static class
DefaultStyledDocument.ElementSpec
Specification for building elements.protected class
DefaultStyledDocument.SectionElement
Default root element for a document... maps out the paragraphs/lines contained.class
EditorKit
Establishes the set of things needed by a text component to be a reasonably functioning editor for some type of text content.class
GapContent
An implementation of the AbstractDocument.Content interface implemented using a gapped buffer similar to that used by emacs.class
InternationalFormatter
InternationalFormatter
extendsDefaultFormatter
, using an instance ofjava.text.Format
to handle the conversion to a String, and the conversion from a String.class
JTextComponent
JTextComponent
is the base class for swing text components.class
JTextComponent.AccessibleJTextComponent
This class implements accessibility support for theJTextComponent
class.static class
JTextComponent.KeyBinding
Binding record for creating key bindings.class
MaskFormatter
MaskFormatter
is used to format and edit strings.class
NumberFormatter
NumberFormatter
subclassesInternationalFormatter
adding special behavior for numbers.class
PlainDocument
A plain document that maintains no character attributes.class
SimpleAttributeSet
A straightforward implementation of MutableAttributeSet using a hash table.class
StringContent
An implementation of the AbstractDocument.Content interface that is a brute force implementation that is useful for relatively small documents and/or debugging.class
StyleContext
A pool of styles and their associated resources.class
StyleContext.NamedStyle
A collection of attributes, typically used to represent character and paragraph styles.class
StyledEditorKit
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
StyledEditorKit.AlignmentAction
An action to set paragraph alignment.static class
StyledEditorKit.BoldAction
An action to toggle the bold attribute.static class
StyledEditorKit.FontFamilyAction
An action to set the font family in the associated JEditorPane.static class
StyledEditorKit.FontSizeAction
An action to set the font size in the associated JEditorPane.static class
StyledEditorKit.ForegroundAction
An action to set foreground color.static class
StyledEditorKit.ItalicAction
An action to toggle the italic attribute.static class
StyledEditorKit.StyledTextAction
An action that assumes it's being fired on a JEditorPane with a StyledEditorKit (or subclass) installed.static class
StyledEditorKit.UnderlineAction
An action to toggle the underline attribute.class
TabSet
A TabSet is comprised of many TabStops.class
TabStop
This class encapsulates a single tab stop (basically as tab stops are thought of by RTF).class
TextAction
An Action implementation useful for key bindings that are shared across a number of different text components.Methods in javax.swing.text with annotations of type SuppressWarnings Modifier and Type Method Description protected int
WrappedPlainView. calculateBreakPosition(int p0, int p1)
This is called by the nested wrapped line views to determine the break location.Object
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
.FontMetrics
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 int
Utilities. getRowEnd(JTextComponent c, int offs)
Determines the ending row model position of the row that contains the specified model position.static int
Utilities. getRowStart(JTextComponent c, int offs)
Determines the starting row model position of the row that contains the specified model position.String
JTextComponent. getToolTipText(MouseEvent event)
Returns the string to be used as the tooltip forevent
.Shape
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
DefaultCaret. paint(Graphics g)
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
Classes in javax.swing.text.html with annotations of type SuppressWarnings Modifier and Type Class Description class
CSS
Defines a set of CSS attributes as a typesafe enumeration.class
FormSubmitEvent
FormSubmitEvent is used to notify interested parties that a form was submitted.static class
HTML.UnknownTag
Class represents unknown HTML tag.class
HTMLDocument
A document that models HTML.class
HTMLEditorKit
The Swing JEditorPane text component supports different kinds of content via a plug-in mechanism called an EditorKit.static class
HTMLEditorKit.HTMLTextAction
An abstract Action providing some convenience methods that may be useful in inserting HTML into an existing document.static class
HTMLEditorKit.InsertHTMLTextAction
InsertHTMLTextAction can be used to insert an arbitrary string of HTML into an existing HTML document.static class
HTMLEditorKit.LinkController
Class to watch the associated component and fire hyperlink events on it when appropriate.class
HTMLFrameHyperlinkEvent
HTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame.class
Option
Value for the ListModel used to represent <option> elements.class
StyleSheet
Support for defining the visual characteristics of HTML views being rendered.static class
StyleSheet.BoxPainter
Class to carry out some of the duties of CSS formatting.static class
StyleSheet.ListPainter
Class to carry out some of the duties of CSS list formatting.Methods in javax.swing.text.html with annotations of type SuppressWarnings Modifier and Type Method Description protected Component
ObjectView. createComponent()
Create the component.void
HTMLEditorKit.LinkController. mouseClicked(MouseEvent e)
Called for a mouse click event. -
Uses of SuppressWarnings in javax.swing.text.html.parser
Classes in javax.swing.text.html.parser with annotations of type SuppressWarnings Modifier and Type Class Description class
AttributeList
This class defines the attributes of an SGML element as described in a DTD using the ATTLIST construct.class
ContentModel
A representation of a content model.class
Element
An element as described in a DTD using the ELEMENT construct.class
ParserDelegator
Responsible for starting up a new DocumentParser each time its parse method is invoked. -
Uses of SuppressWarnings in javax.swing.text.rtf
Classes in javax.swing.text.rtf with annotations of type SuppressWarnings Modifier and Type Class Description class
RTFEditorKit
This is the default implementation of RTF editing functionality. -
Uses of SuppressWarnings in javax.swing.tree
Classes in javax.swing.tree with annotations of type SuppressWarnings Modifier and Type Class Description class
AbstractLayoutCache
Warning: Serialized objects of this class will not be compatible with future Swing releases.class
DefaultMutableTreeNode
ADefaultMutableTreeNode
is a general-purpose node in a tree data structure.class
DefaultTreeCellEditor.DefaultTextField
TextField
used when no editor is supplied.class
DefaultTreeCellEditor.EditorContainer
Container responsible for placing theeditingComponent
.class
DefaultTreeCellRenderer
Displays an entry in a tree.class
DefaultTreeModel
A simple tree data model that uses TreeNodes.class
DefaultTreeSelectionModel
Default implementation of TreeSelectionModel.class
ExpandVetoException
Exception used to stop an expand/collapse from happening.class
FixedHeightLayoutCache
NOTE: This will become more open in a future release.class
TreePath
TreePath
represents an array of objects that uniquely identify the path to a node in a tree.class
VariableHeightLayoutCache
NOTE: This will become more open in a future release. -
Uses of SuppressWarnings in javax.swing.undo
Classes in javax.swing.undo with annotations of type SuppressWarnings Modifier and Type Class Description class
AbstractUndoableEdit
An abstract implementation ofUndoableEdit
, implementing simple responses to all boolean methods in that interface.class
CannotRedoException
Thrown when an UndoableEdit is told toredo()
and can't.class
CannotUndoException
Thrown when an UndoableEdit is told toundo()
and can't.class
CompoundEdit
A concrete subclass of AbstractUndoableEdit, used to assemble little UndoableEdits into great big ones.class
StateEdit
StateEdit is a general edit for objects that change state.class
UndoManager
UndoManager
manages a list ofUndoableEdits
, providing a way to undo or redo the appropriate edits. -
Uses of SuppressWarnings in javax.xml.parsers
Classes in javax.xml.parsers with annotations of type SuppressWarnings Modifier and Type Class Description class
SAXParser
Defines the API that wraps anXMLReader
implementation class. -
Uses of SuppressWarnings in jdk.dynalink.linker.support
Methods in jdk.dynalink.linker.support with annotations of type SuppressWarnings Modifier and Type Method Description static 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.jfr
Classes in jdk.jfr with annotations of type SuppressWarnings Modifier and Type Class Description class
FlightRecorderPermission
Permission for controlling access to Flight Recorder. -
Uses of SuppressWarnings in jdk.jfr.consumer
Methods in jdk.jfr.consumer with annotations of type SuppressWarnings Modifier and Type Method Description List<RecordedFrame>
RecordedStackTrace. getFrames()
Returns the frames in the stack trace. -
Uses of SuppressWarnings in jdk.jshell
Classes in jdk.jshell with annotations of type SuppressWarnings Modifier and Type Class Description class
EvalException
Wraps an throwable thrown in the executing client.class
JShellException
The superclass of JShell generated exceptionsclass
UnresolvedReferenceException
Exception reported on attempting to execute aRECOVERABLE_DEFINED
snippet. -
Uses of SuppressWarnings in jdk.jshell.spi
Classes in jdk.jshell.spi with annotations of type SuppressWarnings Modifier and Type Class Description class
SPIResolutionException
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. -
Uses of SuppressWarnings in jdk.nashorn.api.scripting
Classes in jdk.nashorn.api.scripting with annotations of type SuppressWarnings Modifier and Type Class Description class
NashornException
Deprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release. -
Uses of SuppressWarnings in netscape.javascript
Classes in netscape.javascript with annotations of type SuppressWarnings Modifier and Type Class Description class
JSObject
Allows Java code to manipulate JavaScript objects.Methods in netscape.javascript with annotations of type SuppressWarnings Modifier and Type Method Description static JSObject
JSObject. getWindow(Applet applet)
Deprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated, no replacement. -
Uses of SuppressWarnings in org.xml.sax.helpers
Classes in org.xml.sax.helpers with annotations of type SuppressWarnings Modifier and Type Class Description class
ParserAdapter
Adapt a SAX1 Parser as a SAX2 XMLReader.class
ParserFactory
Deprecated.This class works with the deprecatedParser
interface.class
XMLReaderAdapter
Adapt a SAX2 XMLReader as a SAX1 Parser.