Package | Description |
---|---|
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.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.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.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
java.net |
Provides the classes for implementing networking applications.
|
java.rmi.server |
Provides classes and interfaces for supporting the server
side of RMI.
|
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.time.temporal |
Access to date and time using fields and units, and date time adjusters.
|
java.util |
Contains the collections framework, legacy collection classes,
event model, date and time facilities, internationalization, and
miscellaneous utility classes (a string tokenizer, a random-number
generator, and a bit array).
|
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.jar |
Provides classes for reading and writing the JAR (Java ARchive)
file format, which is based on the standard ZIP file format with an
optional manifest file.
|
java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
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.print |
Provides the principal classes and interfaces for the
JavaTM Print Service API.
|
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.transaction |
Contains three exceptions thrown by the ORB machinery during unmarshalling.
|
Modifier and Type | Method and Description |
---|---|
void |
Applet.resize(int width,
int height)
Requests that this applet be resized.
|
void |
Applet.resize(Dimension d)
Requests that this applet be resized.
|
Modifier and Type | Method and 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 this
Font . |
Object |
RenderingHints.clone()
Creates a clone of this
RenderingHints object
that has the same contents as this RenderingHints
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.
|
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> |
AWTEventMulticaster.getListeners(EventListener l,
Class<T> listenerType)
Returns an array of all the objects chained as
FooListener s by the specified
java.util.EventListener . |
<T extends EventListener> |
Component.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered
as
FooListener s
upon this Component . |
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.
|
Modifier and Type | Method and Description |
---|---|
Iterator<InputEvent> |
DragGestureEvent.iterator()
Returns an
Iterator 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.
|
Modifier and Type | Method and Description |
---|---|
void |
AffineTransform.concatenate(AffineTransform Tx)
Concatenates an
AffineTransform Tx to
this AffineTransform Cx in the most commonly useful
way to provide a new user space
that is mapped to the former user space by Tx . |
double |
AffineTransform.getDeterminant()
Returns the determinant of the matrix representation of the transform.
|
Point2D |
AffineTransform.inverseTransform(Point2D ptSrc,
Point2D ptDst)
Inverse transforms the specified
ptSrc and stores the
result in ptDst . |
void |
AffineTransform.preConcatenate(AffineTransform Tx)
Concatenates an
AffineTransform Tx to
this AffineTransform Cx
in a less commonly used way such that Tx 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.
|
Modifier and Type | Method and Description |
---|---|
Object |
ParameterBlock.clone()
Creates a copy of a
ParameterBlock . |
Modifier and Type | Interface and Description |
---|---|
interface |
BeanContext
The BeanContext acts a logical hierarchical container for JavaBeans.
|
Modifier and Type | Field and Description |
---|---|
protected Collection |
BeanContextMembershipEvent.children
The list of children affected by this
event notification.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BeanContextSupport.addAll(Collection c)
add Collection to set of Children (Unsupported)
implementations must synchronized on the hierarchy lock and "children" protected field
|
boolean |
BeanContextSupport.containsAll(Collection c)
Tests to see if all objects in the
specified
Collection are children of
this BeanContext . |
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 field
|
boolean |
BeanContextSupport.retainAll(Collection c)
retain only specified children (Unsupported)
implementations must synchronized on the hierarchy lock and "children" protected field
|
Constructor and Description |
---|
BeanContextMembershipEvent(BeanContext bc,
Collection changes)
Contruct a BeanContextMembershipEvent
|
Modifier and Type | Method and Description |
---|---|
void |
BufferedWriter.close() |
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.
|
void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
static Class<Boolean> |
Boolean.TYPE
The Class object representing the primitive type boolean.
|
static Class<Byte> |
Byte.TYPE
The
Class instance representing the primitive type
byte . |
static Class<Character> |
Character.TYPE
The
Class instance representing the primitive type
char . |
static Class<Double> |
Double.TYPE
The
Class instance representing the primitive type
double . |
static Class<Float> |
Float.TYPE
The
Class instance representing the primitive type
float . |
static Class<Integer> |
Integer.TYPE
The
Class instance representing the primitive type
int . |
static Class<Long> |
Long.TYPE
The
Class instance representing the primitive type
long . |
static Class<Short> |
Short.TYPE
The
Class instance representing the primitive type
short . |
static Class<Void> |
Void.TYPE
The
Class object representing the pseudo-type corresponding to
the keyword void . |
Modifier and Type | Method and Description |
---|---|
<U> Class<? extends U> |
Class.asSubclass(Class<U> clazz)
Casts this
Class 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 this
Class object. |
<A extends Annotation> |
Class.getAnnotation(Class<A> annotationClass) |
<A extends Annotation> |
Class.getDeclaredAnnotation(Class<A> annotationClass) |
Class<E> |
Enum.getDeclaringClass()
Returns the Class object corresponding to this enum constant's
enum type.
|
TypeVariable<Class<T>>[] |
Class.getTypeParameters()
Returns an array of
TypeVariable objects that represent the
type variables declared by the generic declaration represented by this
GenericDeclaration object, in declaration order. |
void |
ThreadGroup.resume()
Deprecated.
This method is used solely in conjunction with
Thread.suspend and ThreadGroup.suspend ,
both of which have been deprecated, as they are inherently
deadlock-prone. See Thread.suspend() for details. |
void |
ThreadGroup.suspend()
Deprecated.
This method is inherently deadlock-prone. See
Thread.suspend() for details. |
Modifier and Type | Method and 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 which
loader is an initiating loader. |
Modifier and Type | Method and Description |
---|---|
TypeVariable<Constructor<T>>[] |
Constructor.getTypeParameters()
Returns an array of
TypeVariable objects that represent the
type variables declared by the generic declaration represented by this
GenericDeclaration object, in declaration order. |
TypeVariable<Method>[] |
Method.getTypeParameters()
Returns an array of
TypeVariable objects that represent the
type variables declared by the generic declaration represented by this
GenericDeclaration object, in declaration order. |
Modifier and Type | Method and 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 |
HttpURLConnection.getHeaderFieldDate(String name,
long Default) |
long |
URLConnection.getHeaderFieldDate(String name,
long Default)
Returns the value of the named field parsed as date.
|
protected <T> T |
DatagramSocketImpl.getOption(SocketOption<T> name)
Called to get a socket option.
|
<T> T |
Socket.getOption(SocketOption<T> name)
Returns the value of a socket option.
|
protected <T> T |
SocketImpl.getOption(SocketOption<T> name)
Called to get a socket option.
|
Modifier and Type | Method and Description |
---|---|
static Remote |
RemoteObject.toStub(Remote obj)
Returns the stub for the remote object
obj passed
as a parameter. |
Modifier and Type | Method and Description |
---|---|
LocalDate |
Date.toLocalDate()
Creates a
LocalDate instance using the year, month and day
from this Date object. |
LocalDateTime |
Timestamp.toLocalDateTime()
Converts this
Timestamp object to a LocalDateTime . |
LocalTime |
Time.toLocalTime()
Converts this
Time object to a LocalTime . |
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 of
Date from a LocalDate object
with the same year, month and day of month value as the given
LocalDate . |
static Time |
Time.valueOf(LocalTime time)
Obtains an instance of
Time from a LocalTime object
with the same hour, minute and second time value as the given
LocalTime . |
static Timestamp |
Timestamp.valueOf(LocalDateTime dateTime)
Obtains an instance of
Timestamp from a LocalDateTime
object, with the same year, month, day of month, hours, minutes,
seconds and nanos date-time value as the provided LocalDateTime . |
Modifier and Type | Method and 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).
|
Modifier and Type | Method and Description |
---|---|
static ZoneOffset |
ZoneOffset.of(String offsetId)
Obtains an instance of
ZoneOffset 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.
|
Modifier and Type | Method and Description |
---|---|
default ChronoLocalDateTime<?> |
ChronoLocalDate.atTime(LocalTime localTime)
Combines this date with a time to create a
ChronoLocalDateTime . |
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) |
Modifier and Type | Method and Description |
---|---|
<R extends Temporal> |
ChronoUnit.addTo(R temporal,
long amount) |
<R extends Temporal> |
ChronoField.adjustInto(R temporal,
long newValue) |
Modifier and Type | Class and Description |
---|---|
class |
EnumSet<E extends Enum<E>>
A specialized
Set implementation for use with enum types. |
Modifier and Type | Field and Description |
---|---|
protected boolean |
Calendar.areFieldsSet
True if
fields[] 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 of
time is valid. |
protected long |
Calendar.time
The currently set time for this calendar, expressed in milliseconds after
January 1, 1970, 0:00:00 GMT.
|
Modifier and Type | Method and 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 this
HashMap instance: the keys and
values themselves are not cloned. |
Object |
HashSet.clone()
Returns a shallow copy of this
HashSet instance: the elements
themselves are not cloned. |
Object |
TreeSet.clone()
Returns a shallow copy of this
TreeSet 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 <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 empty
Spliterator |
String |
Base64.Encoder.encodeToString(byte[] src)
Encodes the specified byte array into a String using the
Base64
encoding scheme. |
boolean |
Calendar.equals(Object obj)
Compares this
Calendar to the specified
Object . |
void |
Hashtable.forEach(BiConsumer<? super K,? super V> action) |
void |
IdentityHashMap.forEach(BiConsumer<? super K,? super V> action) |
void |
WeakHashMap.forEach(BiConsumer<? super K,? super V> action) |
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,
or
null if this map contains no mapping for the key. |
V |
IdentityHashMap.get(Object key)
Returns the value to which the specified key is mapped,
or
null 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.naturalOrder()
Returns a comparator that compares
Comparable objects in natural
order. |
static <E> List<E> |
List.of(E... elements)
Returns an immutable list containing an arbitrary number of elements.
|
static <K,V> Map<K,V> |
Map.ofEntries(Map.Entry<? extends K,? extends V>... entries)
Returns an immutable map containing keys and values extracted from the given entries.
|
static <T extends Comparable<? super T>> |
Arrays.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>> |
Arrays.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.
|
E |
PriorityQueue.peek() |
E |
ArrayDeque.peekFirst() |
E |
ArrayDeque.peekLast() |
E |
PriorityQueue.poll() |
protected void |
Hashtable.rehash()
Increases the capacity of and internally reorganizes this
hashtable, in order to accommodate and access its entries more
efficiently.
|
boolean |
Vector.removeIf(Predicate<? super E> filter) |
void |
ArrayList.replaceAll(UnaryOperator<E> operator) |
void |
Hashtable.replaceAll(BiFunction<? super K,? super V,? extends V> function) |
void |
IdentityHashMap.replaceAll(BiFunction<? super K,? super V,? extends V> function) |
void |
Vector.replaceAll(UnaryOperator<E> operator) |
void |
WeakHashMap.replaceAll(BiFunction<? super K,? super V,? extends V> function) |
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 the
Comparable interface. |
static void |
Collections.shuffle(List<?> list,
Random rnd)
Randomly permute the specified list using the specified source of
randomness.
|
void |
ArrayList.sort(Comparator<? super E> c) |
static <T extends Comparable<? super T>> |
Collections.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 specified
Comparator . |
void |
Vector.sort(Comparator<? super E> c) |
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[] |
PriorityQueue.toArray(T[] a)
Returns an array containing all of the elements in this queue; 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,
returning
true ; else returns false . |
Constructor and Description |
---|
PriorityQueue(Collection<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified collection. |
PriorityQueue(PriorityQueue<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified priority queue. |
PriorityQueue(SortedSet<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified sorted set. |
PropertyResourceBundle(InputStream stream)
Creates a property resource bundle from an
InputStream . |
PropertyResourceBundle(Reader reader)
Creates a property resource bundle from a
Reader . |
Modifier and Type | Class and Description |
---|---|
class |
PriorityBlockingQueue<E>
An unbounded blocking queue that uses
the same ordering rules as class
PriorityQueue and supplies
blocking retrieval operations. |
Modifier and Type | Method and 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> 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.
|
Modifier and Type | Method and Description |
---|---|
V |
AtomicReference.getAndSet(V newValue)
Atomically sets to the given value and returns the old value.
|
E |
AtomicReferenceArray.getAndSet(int i,
E newValue)
Atomically sets the element at position
i to the given
value and returns the old value. |
Modifier and Type | Method and Description |
---|---|
void |
Manifest.write(OutputStream out)
Writes the Manifest to the specified OutputStream.
|
Modifier and Type | Method and Description |
---|---|
static <T> Stream<T> |
Stream.of(T... values)
Returns a sequential ordered stream whose elements are the specified values.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAnnotationValueVisitor7<R,P>
A skeletal visitor for annotation values with default behavior
appropriate for the
RELEASE_7
source version. |
class |
AbstractElementVisitor7<R,P>
A skeletal visitor of program elements with default behavior
appropriate for the
RELEASE_7
source version. |
class |
AbstractTypeVisitor7<R,P>
A skeletal visitor of types with default behavior appropriate for
the
RELEASE_7
source version. |
class |
ElementKindVisitor7<R,P>
|
class |
ElementScanner7<R,P>
A scanning visitor of program elements with default behavior
appropriate for the
RELEASE_7
source version. |
class |
SimpleAnnotationValueVisitor7<R,P>
A simple visitor for annotation values with default behavior
appropriate for the
RELEASE_7
source version. |
class |
SimpleElementVisitor7<R,P>
A simple visitor of program elements with default behavior
appropriate for the
RELEASE_7
source version. |
class |
SimpleTypeVisitor7<R,P>
A simple visitor of types with default behavior appropriate for the
RELEASE_7 source version. |
class |
TypeKindVisitor7<R,P>
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
AttributeList.asList()
Return a view of this list as a
List<Attribute> . |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<Object,Object>> |
TabularDataSupport.entrySet()
Returns a collection view of the index to row mappings
contained in this
TabularDataSupport instance. |
static <T> ArrayType<T> |
ArrayType.getPrimitiveArrayType(Class<T> arrayClass)
Create an
ArrayType instance in a type-safe manner. |
Collection<Object> |
TabularDataSupport.values()
Returns a collection view of the rows contained in this
TabularDataSupport instance. |
Modifier and Type | Class and Description |
---|---|
class |
MBeanServerNotificationFilter
Filter for
MBeanServerNotification . |
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.
|
Modifier and Type | Method and Description |
---|---|
List<Role> |
RoleList.asList()
Return a view of this list as a
List<Role> . |
List<RoleUnresolved> |
RoleUnresolvedList.asList()
Return a view of this list as a
List<RoleUnresolved> . |
Modifier and Type | Interface and Description |
---|---|
interface |
RMIConnection
RMI object used to forward an MBeanServer request from a client
to its MBeanServer implementation on the server side.
|
Modifier and Type | Method and Description |
---|---|
void |
RMIConnectionImpl.addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject) |
Integer[] |
RMIConnectionImpl.addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
Object |
RMIConnectionImpl.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
Set<ObjectInstance> |
RMIConnectionImpl.queryMBeans(ObjectName name,
MarshalledObject query,
Subject delegationSubject) |
Set<ObjectName> |
RMIConnectionImpl.queryNames(ObjectName name,
MarshalledObject query,
Subject delegationSubject) |
void |
RMIConnectionImpl.removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject) |
void |
RMIConnectionImpl.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject) |
AttributeList |
RMIConnectionImpl.setAttributes(ObjectName name,
MarshalledObject attributes,
Subject delegationSubject) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Object |
BasicAttribute.clone() |
Object |
BasicAttributes.clone() |
Constructor and Description |
---|
InitialLdapContext(Hashtable<?,?> environment,
Control[] connCtls)
Constructs an initial context
using environment properties and connection request controls.
|
Modifier and Type | Method and 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 a
DirContext operation. |
Modifier and Type | Method and 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).
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
MidiFileFormat.properties()
Obtain an unmodifiable map of properties.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
AudioFileFormat.properties()
Obtain an unmodifiable map of properties.
|
Map<String,Object> |
AudioFormat.properties()
Obtain an unmodifiable map of properties.
|
Modifier and Type | Method and Description |
---|---|
void |
SQLOutputImpl.writeArray(Array x)
Writes an
Array object in the Java
programming language to this SQLOutputImpl
object. |
void |
SQLOutputImpl.writeAsciiStream(InputStream x)
Writes a stream of ASCII characters to this
SQLOutputImpl object. |
void |
SQLOutputImpl.writeBigDecimal(BigDecimal x)
Writes a
java.math.BigDecimal object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBinaryStream(InputStream x)
Writes a stream of uninterpreted bytes to this
SQLOutputImpl
object. |
void |
SQLOutputImpl.writeBlob(Blob x)
Writes a
Blob object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBoolean(boolean x)
Writes a
boolean in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeByte(byte x)
Writes a
byte in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBytes(byte[] x)
Writes an array of
bytes in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeCharacterStream(Reader x)
Writes a stream of Unicode characters to this
SQLOutputImpl object. |
void |
SQLOutputImpl.writeClob(Clob x)
Writes a
Clob object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeDate(Date x)
Writes a
java.sql.Date object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeDouble(double x)
Writes a
double in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeFloat(float x)
Writes a
float in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeInt(int x)
Writes an
int in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeLong(long x)
Writes a
long in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeNClob(NClob x)
Writes an SQL
NCLOB value to the stream. |
void |
SQLOutputImpl.writeNString(String x)
Writes the next attribute to the stream as a
String
in the Java programming language. |
void |
SQLOutputImpl.writeObject(SQLData x)
Writes to the stream the data contained in the given
SQLData object. |
void |
SQLOutputImpl.writeRef(Ref x)
Writes a
Ref object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeRowId(RowId x)
Writes an SQL
ROWID value to the stream. |
void |
SQLOutputImpl.writeShort(short x)
Writes a
short in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeSQLXML(SQLXML x)
Writes an SQL
XML value to the stream. |
void |
SQLOutputImpl.writeString(String x)
Writes a
String in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeStruct(Struct x)
Writes a
Struct object in the Java
programming language to this SQLOutputImpl
object. |
void |
SQLOutputImpl.writeTime(Time x)
Writes a
java.sql.Time object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeTimestamp(Timestamp x)
Writes a
java.sql.Timestamp object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeURL(URL url)
Writes an
java.sql.Type.DATALINK object in the Java
programming language to this SQLOutputImpl object. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAction
This class provides default implementations for the JFC
Action
interface. |
class |
AbstractButton
Defines common behaviors for buttons and menu items.
|
protected class |
AbstractButton.AccessibleAbstractButton
This class implements accessibility support for the
AbstractButton class. |
protected class |
AbstractButton.ButtonChangeListener
Extends
ChangeListener to be serializable. |
class |
AbstractCellEditor
A base class for
CellEditors , providing default
implementations for the methods in the CellEditor
interface except getCellEditorValue() . |
class |
AbstractListModel<E>
The abstract definition for the data model that provides
a
List 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 from
Object s
(called keys or Action names)
to Action 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 the
Box 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 the
Box.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
A
ComponentInputMap is an InputMap
associated with a particular JComponent . |
class |
DefaultBoundedRangeModel
A generic implementation of BoundedRangeModel.
|
class |
DefaultButtonModel
The default implementation of a
Button 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 the
DesktopManager . |
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 the
java.util.Vector
API, in that it implements the 1.1.x version of
java.util.Vector , has no collection class support,
and notifies the ListDataListener 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 the
ImageIcon class. |
class |
InputMap
InputMap provides a binding between an input event (currently only
KeyStroke s are used) and an Object . |
class |
JApplet
An extended version of
java.applet.Applet that adds support for
the JFC/Swing component architecture. |
class |
JButton
An implementation of a "push" button.
|
protected class |
JButton.AccessibleJButton
This class implements accessibility support for the
JButton 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 the
JCheckBox class. |
class |
JCheckBoxMenuItem
A menu item that can be selected or deselected.
|
protected class |
JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem
This class implements accessibility support for the
JCheckBoxMenuItem 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 the
JComboBox 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 the
JDesktopPane 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 the
JEditorPane class. |
protected class |
JEditorPane.AccessibleJEditorPaneHTML
This class provides support for
AccessibleHypertext ,
and is used in instances where the EditorKit
installed in this JEditorPane is an instance of
HTMLEditorKit . |
class |
JFileChooser
JFileChooser provides a simple mechanism for the user to
choose a file. |
protected class |
JFileChooser.AccessibleJFileChooser
This class implements accessibility support for the
JFileChooser class. |
class |
JFormattedTextField
JFormattedTextField extends JTextField adding
support for formatting arbitrary values, as well as retrieving a particular
object once the user has edited the text. |
class |
JFrame
An extended version of
java.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 the
JInternalFrame class. |
static class |
JInternalFrame.JDesktopIcon
This component represents an iconified version of a
JInternalFrame . |
protected class |
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon
This class implements accessibility support for the
JInternalFrame.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 all AWTEvent 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 the
JLayeredPane 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 the
JList class. |
class |
JMenu
An implementation of a menu -- a popup window containing
JMenuItem s that
is displayed when the user selects an item on the JMenuBar . |
protected class |
JMenu.AccessibleJMenu
This class implements accessibility support for the
JMenu 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 the
JMenuBar class. |
class |
JMenuItem
An implementation of an item in a menu.
|
protected class |
JMenuItem.AccessibleJMenuItem
This class implements accessibility support for the
JMenuItem 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 the
JOptionPane class. |
class |
JPanel
JPanel is a generic lightweight container. |
protected class |
JPanel.AccessibleJPanel
This class implements accessibility support for the
JPanel 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 the
JPopupMenu 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 the
JProgressBar 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 the
JRadioButton class. |
class |
JRadioButtonMenuItem
An implementation of a radio button menu item.
|
protected class |
JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem
This class implements accessibility support for the
JRadioButtonMenuItem class. |
class |
JRootPane
A lightweight container used behind the scenes by
JFrame , JDialog , JWindow ,
JApplet , and JInternalFrame . |
protected class |
JRootPane.AccessibleJRootPane
This class implements accessibility support for the
JRootPane 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 the
JScrollBar class. |
class |
JScrollPane
Provides a scrollable view of a lightweight component.
|
protected class |
JScrollPane.AccessibleJScrollPane
This class implements accessibility support for the
JScrollPane class. |
protected class |
JScrollPane.ScrollBar
By default
JScrollPane creates scrollbars
that are instances
of this class. |
class |
JSeparator
JSeparator provides a general purpose component for
implementing divider lines - most commonly used as a divider
between menu items that breaks them up into logical groupings. |
protected class |
JSeparator.AccessibleJSeparator
This class implements accessibility support for the
JSeparator 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 the
JSlider 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 the
JSplitPane 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 the
JTabbedPane class. |
class |
JTable
The
JTable is used to display and edit regular two-dimensional tables
of cells. |
protected class |
JTable.AccessibleJTable
This class implements accessibility support for the
JTable class. |
class |
JTextArea
A
JTextArea is a multi-line area that displays plain text. |
protected class |
JTextArea.AccessibleJTextArea
This class implements accessibility support for the
JTextArea 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 the
JTextField 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 the
JToggleButton class. |
static class |
JToggleButton.ToggleButtonModel
The ToggleButton model
|
class |
JToolBar
JToolBar provides a component that is useful for
displaying commonly used Action s or controls. |
class |
JToolTip
Used to display a "Tip" for a Component.
|
protected class |
JToolTip.AccessibleJToolTip
This class implements accessibility support for the
JToolTip class. |
class |
JTree
|
protected class |
JTree.AccessibleJTree
This class implements accessibility support for the
JTree 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 a TreeSelectionModel
that does not allow anything to be selected. |
protected class |
JTree.TreeSelectionRedirector
Handles creating a new
TreeSelectionEvent with the
JTree 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 the
JViewport class. |
protected class |
JViewport.ViewListener
A listener for the view.
|
class |
JWindow
A
JWindow is a container that can be displayed anywhere on the
user's desktop. |
protected class |
JWindow.AccessibleJWindow
This class implements accessibility support for the
JWindow 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 by
JScrollPane . |
class |
SizeRequirements
For the convenience of layout managers,
calculates information about the size and position of components.
|
class |
SpinnerDateModel
A
SpinnerModel for sequences of Date s. |
class |
SpinnerListModel
A simple implementation of
SpinnerModel whose
values are defined by an array or a List . |
class |
SpinnerNumberModel
A
SpinnerModel for sequences of numbers. |
class |
Spring
An instance of the
Spring class holds three properties that
characterize its behavior: the minimum, preferred, and
maximum values. |
class |
SpringLayout
A
SpringLayout lays out the children of its associated container
according to a set of constraints. |
class |
Timer
Fires one or more
ActionEvent s at specified
intervals. |
class |
TransferHandler
This class is used to handle the transfer of a
Transferable
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 for
JViewport . |
Modifier and Type | Method and Description |
---|---|
protected void |
JTabbedPane.fireStateChanged()
Sends a
ChangeEvent , with this JTabbedPane as the source,
to each registered listener. |
AccessibleContext |
JLayer.getAccessibleContext()
Gets the AccessibleContext associated with this
JLayer . |
Dictionary |
JSlider.getLabelTable()
Returns the dictionary of what labels to draw at which values.
|
<T extends EventListener> |
JComponent.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered
as
FooListener s
upon this JComponent . |
void |
JInternalFrame.hide() |
void |
Popup.hide()
Hides and disposes of the
Popup . |
boolean |
JList.AccessibleJList.AccessibleJListChild.isFocusTraversable() |
boolean |
JTable.AccessibleJTable.AccessibleJTableCell.isFocusTraversable() |
boolean |
JTree.AccessibleJTree.AccessibleJTreeNode.isFocusTraversable() |
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 at
row , column . |
protected void |
SwingWorker.publish(V... chunks)
Sends data chunks to the
SwingWorker.process(java.util.List<V>) method. |
void |
JTabbedPane.removeTabAt(int index)
Removes the tab at
index . |
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 |
JTabbedPane.setComponentAt(int index,
Component component)
Sets the component at
index to component . |
void |
JSlider.setLabelTable(Dictionary labels)
Used to specify what label will be drawn at any given value.
|
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 the
Popup 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 the
initialValue parameter and
the number of choices is determined by the optionType
parameter. |
Constructor and Description |
---|
JTable(Vector<? extends Vector> rowData,
Vector<?> columnNames)
Constructs a
JTable to display the values in the
Vector of Vectors , rowData ,
with column names, columnNames . |
SpinnerNumberModel(Number value,
Comparable<?> minimum,
Comparable<?> maximum,
Number stepSize)
Constructs a
SpinnerModel that represents
a closed sequence of
numbers from minimum to maximum . |
Modifier and Type | Class and 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.
|
Modifier and Type | Class and 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 of
ColorSelectionModel . |
Modifier and Type | Class and 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
An
AWTEvent that adds support for
JInternalFrame 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 event
|
class |
RowSorterEvent
RowSorterEvent provides notification of changes to
a RowSorter . |
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.
|
Modifier and Type | Class and 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 of
Dimension that implements
UIResource . |
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 all
JLayer 's UI delegates. |
Modifier and Type | Method and Description |
---|---|
boolean |
ComponentUI.contains(JComponent c,
int x,
int y)
Returns
true if the specified x,y location is
contained within the look and feel's defined shape of the specified
component. |
Modifier and Type | Class and 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 BasicCheckboxUI
|
static class |
BasicComboBoxEditor.UIResource
A subclass of BasicComboBoxEditor that implements UIResource.
|
class |
BasicComboBoxRenderer
ComboBox renderer
|
static class |
BasicComboBoxRenderer.UIResource
A subclass of BasicComboBoxRenderer that implements UIResource.
|
class |
BasicComboPopup
This is a basic implementation of the
ComboPopup 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 request
|
protected 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 directory
|
class |
BasicIconFactory
Factory object that can vend Icons appropriate for the basic L & F.
|
class |
BasicInternalFrameTitlePane
The class that manages a basic title bar
|
class |
BasicInternalFrameTitlePane.SystemMenuBar
This class should be treated as a "protected" inner class.
|
class |
BasicListUI.ListDataHandler
The
ListDataListener that's added to the JLists model at
installUI 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 the
JToolBar . |
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.
|
Modifier and Type | Method and 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 of
Canvas that fills in the background with dark gray. |
protected void |
BasicToolBarUI.dragTo(Point position,
Point origin)
The method is used to drag
DragWindow during the JToolBar
is being dragged. |
void |
BasicComboPopup.hide()
Implementation of ComboPopup.hide().
|
boolean |
BasicArrowButton.isFocusTraversable()
Returns whether the arrow button should get the focus.
|
boolean |
BasicComboPopup.isFocusTraversable()
Overridden to unconditionally return false.
|
void |
BasicTabbedPaneUI.TabbedPaneLayout.layoutContainer(Container parent)
Lays out the specified container.
|
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().
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMetalTheme
A concrete implementation of
MetalTheme providing
the original look of the Java Look and Feel, code-named "Steel". |
static class |
MetalBorders.ButtonBorder
The class represents the border of a
JButton . |
static class |
MetalBorders.Flush3DBorder
The class represents the 3D border.
|
static class |
MetalBorders.InternalFrameBorder
The class represents the border of a
JInternalFrame . |
static class |
MetalBorders.MenuBarBorder
The class represents the border of a
JMenuBar . |
static class |
MetalBorders.MenuItemBorder
The class represents the border of a
JMenuItem . |
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 a
JPopupMenu . |
static class |
MetalBorders.RolloverButtonBorder
The class represents the border of a rollover
Button . |
static class |
MetalBorders.ScrollPaneBorder
The class represents the border of a
JScrollPane . |
static class |
MetalBorders.TableHeaderBorder
Border for a Table Header
|
static class |
MetalBorders.TextFieldBorder
The class represents the border of a
JTestField . |
static class |
MetalBorders.ToggleButtonBorder |
static class |
MetalBorders.ToolBarBorder
The class represents the border of a
JToolBar . |
class |
MetalButtonUI
MetalButtonUI implementation
|
class |
MetalCheckBoxIcon
CheckboxIcon implementation for OrganicCheckBoxUI
|
class |
MetalCheckBoxUI
CheckboxUI implementation for MetalCheckboxUI
|
class |
MetalComboBoxButton
JButton subclass to help out MetalComboBoxUI
|
class |
MetalComboBoxEditor
The default editor for Metal editable combo boxes
|
static class |
MetalComboBoxEditor.UIResource
A subclass of BasicComboBoxEditor that implements UIResource.
|
class |
MetalComboBoxIcon
This utility class draws the horizontal bars which indicate a MetalComboBox
|
class |
MetalComboBoxUI
Metal UI for JComboBox
|
protected 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
Obsolete class, not used in this version.
|
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 vends
Icon 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 bar
|
class |
MetalLookAndFeel
The Java Look and Feel, otherwise known as Metal.
|
class |
MetalProgressBarUI
The Metal implementation of ProgressBarUI.
|
class |
MetalRadioButtonUI
RadioButtonUI implementation for MetalRadioButtonUI
|
class |
MetalRootPaneUI
Provides the metal look and feel implementation of
RootPaneUI . |
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 implementation
|
class |
MetalToolTipUI
A Metal L&F extension of BasicToolTipUI.
|
class |
OceanTheme
The default theme for the
MetalLookAndFeel . |
Modifier and Type | Method and Description |
---|---|
boolean |
MetalComboBoxButton.isFocusTraversable() |
Modifier and Type | Class and Description |
---|---|
class |
MultiLookAndFeel
A multiplexing look and feel that allows more than one UI
to be associated with a component at the same time.
|
Modifier and Type | Class and Description |
---|---|
class |
NimbusLookAndFeel
The NimbusLookAndFeel class.
|
Modifier and Type | Class and 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 for
JTextField . |
class |
SynthTextPaneUI
Provides the look and feel for a styled text editor in the
Synth look and feel.
|
Modifier and Type | Method and Description |
---|---|
protected Component |
SynthSplitPaneUI.createDefaultNonContinuousLayoutDivider()
Returns the default non continuous layout divider, which is an
instance of
Canvas that fills in the background with dark gray. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTableModel
This abstract class provides default implementations for most of
the methods in the
TableModel interface. |
class |
DefaultTableCellRenderer
The standard class for rendering (displaying) individual cells
in a
JTable . |
static class |
DefaultTableCellRenderer.UIResource
A subclass of
DefaultTableCellRenderer that
implements UIResource . |
class |
DefaultTableColumnModel
The standard column-handler for a
JTable . |
class |
DefaultTableModel
This is an implementation of
TableModel that
uses a Vector of Vectors to store the
cell value objects. |
class |
JTableHeader
This is the object which manages the header of the
JTable . |
protected class |
JTableHeader.AccessibleJTableHeader
This class implements accessibility support for the
JTableHeader class. |
class |
TableColumn
A
TableColumn represents all the attributes of a column in a
JTable , such as width, resizability, minimum and maximum width. |
Modifier and Type | Field and Description |
---|---|
protected Vector |
DefaultTableModel.columnIdentifiers
The
Vector of column identifiers. |
protected Vector<Vector> |
DefaultTableModel.dataVector
The
Vector of Vectors of
Object values. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultTableModel.addColumn(Object columnName,
Vector<?> columnData)
Adds a column to the model.
|
Vector<Vector> |
DefaultTableModel.getDataVector()
Returns the
Vector of Vectors
that contains the table's
data values. |
boolean |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.isFocusTraversable() |
void |
DefaultTableModel.setDataVector(Vector<? extends Vector> dataVector,
Vector<?> columnIdentifiers)
Replaces the current
dataVector instance variable
with the new Vector of rows, dataVector . |
Constructor and Description |
---|
DefaultTableModel(Vector<? extends Vector> data,
Vector<?> columnNames)
Constructs a
DefaultTableModel and initializes the table
by passing data and columnNames
to the setDataVector method. |
Modifier and Type | Class and 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 an
InternationalFormatter that does its
formatting by way of an instance of java.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 of
JFormattedTextField.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...
|
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 extends DefaultFormatter ,
using an instance of java.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 the
JTextComponent class. |
static class |
JTextComponent.KeyBinding
Binding record for creating key bindings.
|
class |
MaskFormatter
MaskFormatter is used to format and edit strings. |
class |
NumberFormatter
NumberFormatter subclasses InternationalFormatter
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
SimpleAttributeSet.clone()
Clones a set of attributes.
|
FontMetrics |
StyleContext.getFontMetrics(Font f)
Returns font metrics for a font.
|
protected Vector |
GapContent.getPositionsInRange(Vector v,
int offset,
int length)
Returns a Vector containing instances of UndoPosRef for the
Positions in the range
offset to offset + length . |
protected Vector |
StringContent.getPositionsInRange(Vector v,
int offset,
int length)
Returns a Vector containing instances of UndoPosRef for the
Positions in the range
offset to offset + length . |
protected void |
JTextComponent.processInputMethodEvent(InputMethodEvent e) |
protected void |
GapContent.updateUndoPositions(Vector positions,
int offset,
int length)
Resets the location for all the UndoPosRef instances
in
positions . |
protected void |
StringContent.updateUndoPositions(Vector positions)
Resets the location for all the UndoPosRef instances
in
positions . |
Modifier and Type | Class and 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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
RTFEditorKit
This is the default implementation of RTF editing
functionality.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLayoutCache
Warning:
Serialized objects of this class will not be compatible with
future Swing releases.
|
class |
DefaultMutableTreeNode
A
DefaultMutableTreeNode 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 the
editingComponent . |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractUndoableEdit
An abstract implementation of
UndoableEdit ,
implementing simple responses to all boolean methods in
that interface. |
class |
CannotRedoException
Thrown when an UndoableEdit is told to
redo() and can't. |
class |
CannotUndoException
Thrown when an UndoableEdit is told to
undo() 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 of UndoableEdits ,
providing a way to undo or redo the appropriate edits. |
Modifier and Type | Class and Description |
---|---|
class |
InvalidTransactionException
This exception indicates that the request carried an invalid transaction
context.
|
class |
TransactionRequiredException
This exception indicates that a request carried a null transaction context,
but the target object requires an activate transaction.
|
class |
TransactionRolledbackException
This exception indicates that the transaction associated with processing
of the request has been rolled back, or marked to roll back.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait