|
Java™ Platform Standard Ed. 7 DRAFT ea-b76 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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.color | Provides classes for color spaces. |
| java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications. |
| java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. |
| java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components. |
| java.awt.font | Provides classes and interface relating to fonts. |
| java.awt.geom | Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. |
| java.awt.im | Provides classes and interfaces for the input method framework. |
| java.awt.im.spi | Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. |
| java.awt.image | Provides classes for creating and modifying images. |
| java.awt.image.renderable | Provides classes and interfaces for producing rendering-independent images. |
| java.awt.print | Provides classes and interfaces for a general printing API. |
| java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture. |
| java.beans.beancontext | Provides classes and interfaces relating to bean context. |
| java.dyn | This package contains dynamic language support provided directly by the Java core class libraries and virtual machine. |
| 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.annotation | Provides library support for the Java programming language annotation facility. |
| java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM. |
| java.lang.management | Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. |
| java.lang.ref | Provides reference-object classes, which support a limited degree of interaction with the garbage collector. |
| java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. |
| java.math | Provides classes for performing arbitrary-precision integer
arithmetic (BigInteger) and arbitrary-precision decimal
arithmetic (BigDecimal). |
| java.net | Provides the classes for implementing networking applications. |
| java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages. |
| java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. |
| java.nio.channels.spi | Service-provider classes for the java.nio.channels package. |
| java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. |
| java.nio.charset.spi | Service-provider classes for the java.nio.charset package. |
| java.nio.file | Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems. |
| java.nio.file.attribute | Interfaces and classes providing access to file and file system attributes. |
| java.nio.file.spi | Service-provider classes for the java.nio.file package. |
| java.rmi | Provides the RMI package. |
| java.rmi.activation | Provides support for RMI Object Activation. |
| java.rmi.dgc | Provides classes and interface for RMI distributed garbage-collection (DGC). |
| java.rmi.registry | Provides a class and two interfaces for the RMI registry. |
| java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. |
| java.security | Provides the classes and interfaces for the security framework. |
| java.security.acl | The classes and interfaces in this package have been superseded by classes in the java.security package. |
| java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. |
| java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
| java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
| java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. |
| java.text.spi | Service provider classes for the classes in the java.text package. |
| 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.concurrent.locks | Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. |
| 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.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. |
| java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. |
| java.util.regex | Classes for matching character sequences against patterns specified by regular expressions. |
| java.util.spi | Service provider classes for the classes in the java.util package. |
| java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats. |
| javax.accessibility | Defines a contract between user-interface components and an assistive technology that provides access to those components. |
| javax.activation | |
| javax.activity | Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling. |
| javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. |
| javax.crypto | Provides the classes and interfaces for cryptographic operations. |
| javax.crypto.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
| javax.imageio | The main package of the Java Image I/O API. |
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
| javax.imageio.plugins.bmp | Package containing the public classes used by the built-in BMP plug-in. |
| javax.imageio.plugins.jpeg | Classes supporting the built-in JPEG plug-in. |
| javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. |
| javax.imageio.stream | A package of the Java Image I/O API dealing with low-level I/O from files and streams. |
| javax.lang.model | Classes and hierarchies of packages used to model the Java programming language. |
| javax.lang.model.element | Interfaces used to model elements of the Java programming language. |
| javax.lang.model.type | Interfaces used to model Java programming language types. |
| 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.event | Defines the Event Service, which provides extended support for JMX notifications. |
| javax.management.loading | Provides the classes which implement advanced dynamic loading. |
| javax.management.modelmbean | Provides the definition of the ModelMBean classes. |
| javax.management.monitor | Provides the definition of the monitor classes. |
| javax.management.namespace | The javax.management.namespace package makes it possible
to federate MBeanServers into a hierarchical name space. |
| 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 | Interfaces for remote access to JMX MBean servers. |
| 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.management.timer | Provides the definition of the Timer MBean. |
| 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.event | Provides support for event notification when accessing naming and directory services. |
| javax.naming.ldap | Provides support for LDAPv3 extended operations and controls. |
| javax.naming.spi | Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. |
| javax.net | Provides classes for networking applications. |
| javax.net.ssl | Provides classes for the secure socket package. |
| javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
| javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
| javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes. |
| javax.print.event | Package javax.print.event contains event classes and listener interfaces. |
| javax.rmi | Contains user APIs for RMI-IIOP. |
| javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
| javax.rmi.ssl | Provides implementations of RMIClientSocketFactory
and RMIServerSocketFactory over
the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. |
| javax.script | The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. |
| javax.security.auth | This package provides a framework for authentication and authorization. |
| javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). |
| javax.security.auth.kerberos | This package contains utility classes related to the Kerberos network authentication protocol. |
| javax.security.auth.login | This package provides a pluggable authentication framework. |
| javax.security.auth.x500 | This package contains the classes that should be used to store X500 Principal and X500 Private Crendentials in a Subject. |
| javax.security.cert | Provides classes for public key certificates. |
| javax.security.sasl | Contains class and interfaces for supporting SASL. |
| javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. |
| javax.sound.midi.spi | Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers. |
| javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data. |
| javax.sound.sampled.spi | Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters. |
| javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language. |
| javax.sql.rowset | Standard interfaces and base classes for JDBC RowSet
implementations. |
| javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. |
| javax.sql.rowset.spi | The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. |
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| javax.swing.border | Provides classes and interface for drawing specialized borders around a Swing component. |
| javax.swing.colorchooser | Contains classes and interfaces used by the JColorChooser
component. |
| javax.swing.event | Provides for events fired by Swing components. |
| javax.swing.filechooser | Contains classes and interfaces used by the JFileChooser component. |
| javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. |
| javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel. |
| javax.swing.plaf.metal | Provides user interface objects built according to the 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.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers. |
| javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling. |
| javax.transaction.xa | Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions. |
| javax.xml | |
| javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. |
| javax.xml.bind.annotation | Defines annotations for customizing Java program elements to XML Schema mapping. |
| javax.xml.bind.annotation.adapters |
XmlAdapter and its spec-defined
sub-classes to allow arbitrary Java classes to be used with JAXB. |
| javax.xml.bind.attachment | This package is implemented by a MIME-based package processor that enables the interpretation and creation of optimized binary data within an MIME-based package format. |
| javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. |
| javax.xml.bind.util | Useful client utility classes. |
| javax.xml.crypto | Common classes for XML cryptography. |
| javax.xml.crypto.dom | DOM-specific classes for the javax.xml.crypto package. |
| javax.xml.crypto.dsig | Classes for generating and validating XML digital signatures. |
| javax.xml.crypto.dsig.dom | DOM-specific classes for the javax.xml.crypto.dsig package. |
| javax.xml.crypto.dsig.keyinfo | Classes for parsing and processing KeyInfo elements and structures. |
| javax.xml.crypto.dsig.spec | Parameter classes for XML digital signatures. |
| javax.xml.datatype | XML/Java Type Mappings. |
| javax.xml.namespace | XML Namespace processing. |
| javax.xml.parsers | Provides classes allowing the processing of XML documents. |
| javax.xml.soap | Provides the API for creating and building SOAP messages. |
| javax.xml.stream | |
| javax.xml.stream.events | |
| javax.xml.stream.util | |
| javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. |
| javax.xml.transform.dom | This package implements DOM-specific transformation APIs. |
| javax.xml.transform.sax | This package implements SAX2-specific transformation APIs. |
| javax.xml.transform.stax | Provides for StAX-specific transformation APIs. |
| javax.xml.transform.stream | This package implements stream- and URI- specific transformation APIs. |
| javax.xml.validation | This package provides an API for validation of XML documents. |
| javax.xml.ws | This package contains the core JAX-WS APIs. |
| javax.xml.ws.handler.soap | This package defines APIs for SOAP message handlers. |
| javax.xml.ws.http | This package defines APIs specific to the HTTP binding. |
| javax.xml.ws.soap | This package defines APIs specific to the SOAP binding. |
| javax.xml.ws.spi | This package defines SPIs for JAX-WS. |
| javax.xml.ws.wsaddressing | This package defines APIs related to WS-Addressing. |
| javax.xml.xpath | This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment. |
| org.ietf.jgss | This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API. |
| org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). |
| org.omg.CORBA_2_3 | The CORBA_2_3 package defines additions to existing CORBA interfaces in the Java[tm] Standard Edition 6. These changes occurred in recent revisions to the CORBA API defined by the OMG. The new methods were added to interfaces derived from the corresponding interfaces in the CORBA package. This provides backward compatibility and avoids breaking the JCK tests. |
| org.omg.CORBA_2_3.portable | Provides methods for the input and output of value types, and contains
other updates to the org/omg/CORBA/portable package. |
| org.omg.CORBA.DynAnyPackage | Provides the exceptions used with the DynAny interface
(InvalidValue,
Invalid, InvalidSeq, and
TypeMismatch). |
| org.omg.CORBA.ORBPackage | Provides the exception InvalidName, which is thrown
by the method ORB.resolve_initial_references
and the exception InconsistentTypeCode, which is thrown
by the Dynamic Any creation methods in the ORB class. |
| org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. |
| org.omg.CORBA.TypeCodePackage | Provides the user-defined exceptions BadKind
and Bounds, which are thrown by methods in
in the class TypeCode. |
| org.omg.CosNaming | Provides a naming service for Java IDL. |
| org.omg.CosNaming.NamingContextExtPackage | This package contains the following classes, which are used in org.omg.CosNaming.NamingContextExt: |
| org.omg.CosNaming.NamingContextPackage | This package contains Exception classes for the org.omg.CosNaming package. |
| org.omg.Dynamic | This package contains the Dynamic module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.9. |
| org.omg.DynamicAny | Provides classes and interfaces that enable traversal of the data value
associated with an any at
runtime, and extraction of the primitive constituents of the data value. |
| org.omg.DynamicAny.DynAnyFactoryPackage | This package contains classes and exceptions from the DynAnyFactory interface of the DynamicAny module specified in the OMG The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 9.2.2. |
| org.omg.DynamicAny.DynAnyPackage | This package contains classes and exceptions from the DynAny interface of the DynamicAny module specified in the OMG The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 9.2. |
| org.omg.IOP | This package contains the IOP module specified in the OMG document The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 13.6. |
| org.omg.IOP.CodecFactoryPackage | This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec). |
| org.omg.IOP.CodecPackage | This package is generated from the IOP::Codec IDL interface definition. |
| org.omg.Messaging | This package contains the Messaging module specified in the OMG CORBA Messaging specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07. |
| org.omg.PortableInterceptor | Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB. |
| org.omg.PortableInterceptor.ORBInitInfoPackage | This package contains the exceptions and typedefs from the ORBInitInfo local interface of the PortableInterceptor module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2. |
| org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
| org.omg.PortableServer.CurrentPackage | Provides method implementations with access to the identity of the object on which the method was invoked. |
| org.omg.PortableServer.POAManagerPackage | Encapsulates the processing state of the POAs it is associated with. |
| org.omg.PortableServer.POAPackage | Allows programmers to construct object implementations that are portable between different ORB products. |
| org.omg.PortableServer.ServantLocatorPackage | Provides classes and interfaces for locating the servant. |
| org.omg.stub.java.rmi | Contains RMI-IIOP Stubs for the Remote types that occur in the java.rmi package. |
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing. |
| org.w3c.dom.bootstrap | |
| org.w3c.dom.events | |
| org.w3c.dom.ls | |
| org.xml.sax | This package provides the core SAX APIs. |
| org.xml.sax.ext | This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support. |
| org.xml.sax.helpers | This package contains "helper" classes, including support for bootstrapping SAX-based applications. |
| sun.dyn |
| Uses of Object in java.applet |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
Applet
An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application. |
protected class |
Applet.AccessibleApplet
This class implements accessibility support for the Applet class. |
| Uses of Object in java.awt |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
AlphaComposite
The AlphaComposite class implements basic alpha
compositing rules for combining source and destination colors
to achieve blending and transparency effects with graphics and
images. |
class |
AWTError
Thrown when a serious Abstract Window Toolkit error has occurred. |
class |
AWTEvent
The root event class for all AWT events. |
class |
AWTEventMulticaster
AWTEventMulticaster implements efficient and thread-safe multi-cast
event dispatching for the AWT events defined in the java.awt.event
package. |
class |
AWTException
Signals that an Absract Window Toolkit exception has occurred. |
class |
AWTKeyStroke
An AWTKeyStroke represents a key action on the
keyboard, or equivalent input device. |
class |
AWTPermission
This class is for AWT permissions. |
class |
BasicStroke
The BasicStroke class defines a basic set of rendering
attributes for the outlines of graphics primitives, which are rendered
with a Graphics2D object that has its Stroke attribute set to
this BasicStroke. |
class |
BorderLayout
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center. |
class |
BufferCapabilities
Capabilities and properties of buffers. |
static class |
BufferCapabilities.FlipContents
A type-safe enumeration of the possible back buffer contents after page-flipping |
class |
Button
This class creates a labeled button. |
protected class |
Button.AccessibleAWTButton
This class implements accessibility support for the Button class. |
class |
Canvas
A Canvas component represents a blank rectangular
area of the screen onto which the application can draw or from
which the application can trap input events from the user. |
protected class |
Canvas.AccessibleAWTCanvas
This class implements accessibility support for the Canvas class. |
class |
CardLayout
A CardLayout object is a layout manager for a
container. |
class |
Checkbox
A check box is a graphical component that can be in either an "on" ( true) or "off" (false) state. |
protected class |
Checkbox.AccessibleAWTCheckbox
This class implements accessibility support for the Checkbox class. |
class |
CheckboxGroup
The CheckboxGroup class is used to group together
a set of Checkbox buttons. |
class |
CheckboxMenuItem
This class represents a check box that can be included in a menu. |
protected class |
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
Inner class of CheckboxMenuItem used to provide default support for accessibility. |
class |
Choice
The Choice class presents a pop-up menu of choices. |
protected class |
Choice.AccessibleAWTChoice
This class implements accessibility support for the Choice class. |
class |
Color
The Color class is used to encapsulate colors in the default
sRGB color space or colors in arbitrary color spaces identified by a
ColorSpace. |
class |
Component
A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user. |
protected class |
Component.AccessibleAWTComponent
Inner class of Component used to provide default support for accessibility. |
protected class |
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler
Fire PropertyChange listener, if one is registered, when shown/hidden.. |
protected class |
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
Fire PropertyChange listener, if one is registered, when focus events happen |
protected class |
Component.BltBufferStrategy
Inner class for blitting offscreen surfaces to a component. |
protected class |
Component.FlipBufferStrategy
Inner class for flipping buffers on a component. |
class |
ComponentOrientation
The ComponentOrientation class encapsulates the language-sensitive orientation that is to be used to order the elements of a component or of text. |
class |
Container
A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components. |
protected class |
Container.AccessibleAWTContainer
Inner class of Container used to provide default support for accessibility. |
protected class |
Container.AccessibleAWTContainer.AccessibleContainerHandler
Fire PropertyChange listener, if one is registered,
when children are added or removed. |
class |
ContainerOrderFocusTraversalPolicy
A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container. |
class |
Cursor
A class to encapsulate the bitmap representation of the mouse cursor. |
class |
DefaultFocusTraversalPolicy
A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container. |
class |
DefaultKeyboardFocusManager
The default KeyboardFocusManager for AWT applications. |
class |
Desktop
The Desktop class allows a Java application to launch
associated applications registered on the native desktop to handle
a URI or a file. |
class |
Dialog
A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user. |
protected class |
Dialog.AccessibleAWTDialog
This class implements accessibility support for the Dialog class. |
class |
Dimension
The Dimension class encapsulates the width and
height of a component (in integer precision) in a single object. |
class |
DisplayMode
The DisplayMode class encapsulates the bit depth, height,
width, and refresh rate of a GraphicsDevice. |
class |
Event
NOTE: The Event class is obsolete and is
available only for backwards compatilibility. |
class |
EventQueue
EventQueue is a platform-independent class
that queues events, both from the underlying peer classes
and from trusted application classes. |
class |
FileDialog
The FileDialog class displays a dialog window
from which the user can select a file. |
class |
FlowLayout
A flow layout arranges components in a directional flow, much like lines of text in a paragraph. |
class |
FocusTraversalPolicy
A FocusTraversalPolicy defines the order in which Components with a particular focus cycle root are traversed. |
class |
Font
The Font class represents fonts, which are used to
render text in a visible way. |
class |
FontFormatException
Thrown by method createFont in the Font class to indicate
that the specified font is bad. |
class |
FontMetrics
The FontMetrics class defines a font metrics object, which
encapsulates information about the rendering of a particular font on a
particular screen. |
class |
Frame
A Frame is a top-level window with a title and a border. |
protected class |
Frame.AccessibleAWTFrame
This class implements accessibility support for the Frame class. |
class |
GradientPaint
The GradientPaint class provides a way to fill
a Shape with a linear color gradient pattern. |
class |
Graphics
The Graphics class is the abstract base class for
all graphics contexts that allow an application to draw onto
components that are realized on various devices, as well as
onto off-screen images. |
class |
Graphics2D
This Graphics2D class extends the
Graphics class to provide more sophisticated
control over geometry, coordinate transformations, color management,
and text layout. |
class |
GraphicsConfigTemplate
The GraphicsConfigTemplate class is used to obtain a valid
GraphicsConfiguration. |
class |
GraphicsConfiguration
The GraphicsConfiguration class describes the
characteristics of a graphics destination such as a printer or monitor. |
class |
GraphicsDevice
The GraphicsDevice class describes the graphics devices
that might be available in a particular graphics environment. |
class |
GraphicsEnvironment
The GraphicsEnvironment class describes the collection
of GraphicsDevice objects and Font objects
available to a Java(tm) application on a particular platform. |
class |
GridBagConstraints
The GridBagConstraints class specifies constraints
for components that are laid out using the
GridBagLayout class. |
class |
GridBagLayout
The GridBagLayout class is a flexible layout
manager that aligns components vertically, horizontally or along their
baseline without requiring that the components be of the same size. |
class |
GridBagLayoutInfo
The GridBagLayoutInfo is an utility class for
GridBagLayout layout manager. |
class |
GridLayout
The GridLayout class is a layout manager that
lays out a container's components in a rectangular grid. |
class |
HeadlessException
Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse. |
class |
IllegalComponentStateException
Signals that an AWT component is not in an appropriate state for the requested operation. |
class |
Image
The abstract class Image is the superclass of all
classes that represent graphical images. |
class |
ImageCapabilities
Capabilities and properties of images. |
class |
Insets
An Insets object is a representation of the borders
of a container. |
class |
JobAttributes
A set of attributes which control a print job. |
static class |
JobAttributes.DefaultSelectionType
A type-safe enumeration of possible default selection states. |
static class |
JobAttributes.DestinationType
A type-safe enumeration of possible job destinations. |
static class |
JobAttributes.DialogType
A type-safe enumeration of possible dialogs to display to the user. |
static class |
JobAttributes.MultipleDocumentHandlingType
A type-safe enumeration of possible multiple copy handling states. |
static class |
JobAttributes.SidesType
A type-safe enumeration of possible multi-page impositions. |
class |
KeyboardFocusManager
The KeyboardFocusManager is responsible for managing the active and focused Windows, and the current focus owner. |
class |
Label
A Label object is a component for placing text in a
container. |
protected class |
Label.AccessibleAWTLabel
This class implements accessibility support for the Label class. |
class |
LinearGradientPaint
The LinearGradientPaint class provides a way to fill
a Shape with a linear color gradient pattern. |
class |
List
The List component presents the user with a
scrolling list of text items. |
protected class |
List.AccessibleAWTList
This class implements accessibility support for the List class. |
protected class |
List.AccessibleAWTList.AccessibleAWTListChild
This class implements accessibility support for List children. |
class |
MediaTracker
The MediaTracker class is a utility class to track
the status of a number of media objects. |
class |
Menu
A Menu object is a pull-down menu component
that is deployed from a menu bar. |
protected class |
Menu.AccessibleAWTMenu
Inner class of Menu used to provide default support for accessibility. |
class |
MenuBar
The MenuBar class encapsulates the platform's
concept of a menu bar bound to a frame. |
protected class |
MenuBar.AccessibleAWTMenuBar
Inner class of MenuBar used to provide default support for accessibility. |
class |
MenuComponent
The abstract class MenuComponent is the superclass
of all menu-related components. |
protected class |
MenuComponent.AccessibleAWTMenuComponent
Inner class of MenuComponent used to provide
default support for accessibility. |
class |
MenuItem
All items in a menu must belong to the class MenuItem, or one of its subclasses. |
protected class |
MenuItem.AccessibleAWTMenuItem
Inner class of MenuItem used to provide default support for accessibility. |
class |
MenuShortcut
The MenuShortcutclass represents a keyboard accelerator
for a MenuItem. |
class |
MouseInfo
MouseInfo provides methods for getting information about the mouse,
such as mouse pointer location and the number of mouse buttons. |
class |
MultipleGradientPaint
This is the superclass for Paints which use a multiple color gradient to fill in their raster. |
class |
PageAttributes
A set of attributes which control the output of a printed page. |
static class |
PageAttributes.ColorType
A type-safe enumeration of possible color states. |
static class |
PageAttributes.MediaType
A type-safe enumeration of possible paper sizes. |
static class |
PageAttributes.OrientationRequestedType
A type-safe enumeration of possible orientations. |
static class |
PageAttributes.OriginType
A type-safe enumeration of possible origins. |
static class |
PageAttributes.PrintQualityType
A type-safe enumeration of possible print qualities. |
class |
Panel
Panel is the simplest container class. |
protected class |
Panel.AccessibleAWTPanel
This class implements accessibility support for the Panel class. |
class |
Point
A point representing a location in (x,y) coordinate space,
specified in integer precision. |
class |
PointerInfo
A class that describes the pointer position. |
class |
Polygon
The Polygon class encapsulates a description of a
closed, two-dimensional region within a coordinate space. |
class |
PopupMenu
A class that implements a menu which can be dynamically popped up at a specified position within a component. |
protected class |
PopupMenu.AccessibleAWTPopupMenu
Inner class of PopupMenu used to provide default support for accessibility. |
class |
PrintJob
An abstract class which initiates and executes a print job. |
class |
RadialGradientPaint
The RadialGradientPaint class provides a way to fill a shape with
a circular radial color gradient pattern. |
class |
Rectangle
A Rectangle specifies an area in a coordinate space that is
enclosed by the Rectangle object's upper-left point
(x,y)
in the coordinate space, its width, and its height. |
class |
RenderingHints
The RenderingHints class defines and manages collections of
keys and associated values which allow an application to provide input
into the choice of algorithms used by other classes which perform
rendering and image manipulation services. |
static class |
RenderingHints.Key
Defines the base type of all keys used along with the RenderingHints class to control various
algorithm choices in the rendering and imaging pipelines. |
class |
Robot
This class is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed. |
class |
Scrollbar
The Scrollbar class embodies a scroll bar, a
familiar user-interface object. |
protected class |
Scrollbar.AccessibleAWTScrollBar
This class implements accessibility support for the Scrollbar class. |
class |
ScrollPane
A container class which implements automatic horizontal and/or vertical scrolling for a single child component. |
protected class |
ScrollPane.AccessibleAWTScrollPane
This class implements accessibility support for the ScrollPane class. |
class |
ScrollPaneAdjustable
This class represents the state of a horizontal or vertical scrollbar of a ScrollPane. |
class |
SplashScreen
The splash screen can be created at application startup, before the Java Virtual Machine (JVM) starts. |
class |
SystemColor
A class to encapsulate symbolic colors representing the color of native GUI objects on a system. |
class |
SystemTray
The SystemTray class represents the system tray for a
desktop. |
class |
TextArea
A TextArea object is a multi-line region
that displays text. |
protected class |
TextArea.AccessibleAWTTextArea
This class implements accessibility support for the TextArea class. |
class |
TextComponent
The TextComponent class is the superclass of
any component that allows the editing of some text. |
protected class |
TextComponent.AccessibleAWTTextComponent
This class implements accessibility support for the TextComponent class. |
class |
TextField
A TextField object is a text component
that allows for the editing of a single line of text. |
protected class |
TextField.AccessibleAWTTextField
This class implements accessibility support for the TextField class. |
class |
TexturePaint
The TexturePaint class provides a way to fill a
Shape with a texture that is specified as
a BufferedImage. |
class |
Toolkit
This class is the abstract superclass of all actual implementations of the Abstract Window Toolkit. |
class |
TrayIcon
A TrayIcon object represents a tray icon that can be
added to the system tray. |
class |
Window
A Window object is a top-level window with no borders and no
menubar. |
protected class |
Window.AccessibleAWTWindow
This class implements accessibility support for the Window class. |
| Modifier and Type | Field and Description |
|---|---|
Object |
Event.arg
An arbitrary argument of the event. |
Object |
Event.target
The target component. |
static Object |
Image.UndefinedProperty
The UndefinedProperty object should be returned whenever a
property which was not defined for a particular image is fetched. |
static Object |
RenderingHints.VALUE_ALPHA_INTERPOLATION_DEFAULT
Alpha interpolation hint value -- alpha blending algorithms are chosen by the implementation for a good tradeoff of performance vs. |
static Object |
RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY
Alpha interpolation hint value -- alpha blending algorithms are chosen with a preference for precision and visual quality. |
static Object |
RenderingHints.VALUE_ALPHA_INTERPOLATION_SPEED
Alpha interpolation hint value -- alpha blending algorithms are chosen with a preference for calculation speed. |
static Object |
RenderingHints.VALUE_ANTIALIAS_DEFAULT
Antialiasing hint value -- rendering is done with a default antialiasing mode chosen by the implementation. |
static Object |
RenderingHints.VALUE_ANTIALIAS_OFF
Antialiasing hint value -- rendering is done without antialiasing. |
static Object |
RenderingHints.VALUE_ANTIALIAS_ON
Antialiasing hint value -- rendering is done with antialiasing. |
static Object |
RenderingHints.VALUE_COLOR_RENDER_DEFAULT
Color rendering hint value -- perform color conversion calculations as chosen by the implementation to represent the best available tradeoff between performance and accuracy. |
static Object |
RenderingHints.VALUE_COLOR_RENDER_QUALITY
Color rendering hint value -- perform the color conversion calculations with the highest accuracy and visual quality. |
static Object |
RenderingHints.VALUE_COLOR_RENDER_SPEED
Color rendering hint value -- perform the fastest color conversion to the format of the output device. |
static Object |
RenderingHints.VALUE_DITHER_DEFAULT
Dithering hint value -- use a default for dithering chosen by the implementation. |
static Object |
RenderingHints.VALUE_DITHER_DISABLE
Dithering hint value -- do not dither when rendering geometry. |
static Object |
RenderingHints.VALUE_DITHER_ENABLE
Dithering hint value -- dither when rendering geometry, if needed. |
static Object |
RenderingHints.VALUE_FRACTIONALMETRICS_DEFAULT
Font fractional metrics hint value -- character glyphs are positioned with accuracy chosen by the implementation. |
static Object |
RenderingHints.VALUE_FRACTIONALMETRICS_OFF
Font fractional metrics hint value -- character glyphs are positioned with advance widths rounded to pixel boundaries. |
static Object |
RenderingHints.VALUE_FRACTIONALMETRICS_ON
Font fractional metrics hint value -- character glyphs are positioned with sub-pixel accuracy. |
static Object |
RenderingHints.VALUE_INTERPOLATION_BICUBIC
Interpolation hint value -- the color samples of 9 nearby integer coordinate samples in the image are interpolated using a cubic function in both X and Y to produce
a color sample. |
static Object |
RenderingHints.VALUE_INTERPOLATION_BILINEAR
Interpolation hint value -- the color samples of the 4 nearest neighboring integer coordinate samples in the image are interpolated linearly to produce a color sample. |
static Object |
RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR
Interpolation hint value -- the color sample of the nearest neighboring integer coordinate sample in the image is used. |
static Object |
RenderingHints.VALUE_RENDER_DEFAULT
Rendering hint value -- rendering algorithms are chosen by the implementation for a good tradeoff of performance vs. |
static Object |
RenderingHints.VALUE_RENDER_QUALITY
Rendering hint value -- rendering algorithms are chosen with a preference for output quality. |
static Object |
RenderingHints.VALUE_RENDER_SPEED
Rendering hint value -- rendering algorithms are chosen with a preference for output speed. |
static Object |
RenderingHints.VALUE_STROKE_DEFAULT
Stroke normalization control hint value -- geometry may be modified or left pure depending on the tradeoffs in a given implementation. |
static Object |
RenderingHints.VALUE_STROKE_NORMALIZE
Stroke normalization control hint value -- geometry should be normalized to improve uniformity or spacing of lines and overall aesthetics. |
static Object |
RenderingHints.VALUE_STROKE_PURE
Stroke normalization control hint value -- geometry should be left unmodified and rendered with sub-pixel accuracy. |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_DEFAULT
Text antialiasing hint value -- text rendering is done according to the RenderingHints.KEY_ANTIALIASING hint or a default chosen by the
implementation. |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_GASP
Text antialiasing hint value -- text rendering is requested to use information in the font resource which specifies for each point size whether to apply RenderingHints.VALUE_TEXT_ANTIALIAS_ON or
RenderingHints.VALUE_TEXT_ANTIALIAS_OFF. |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HBGR
Text antialiasing hint value -- request that text be displayed optimised for an LCD display with subpixels in order from display left to right of B,G,R such that the horizontal subpixel resolution is three times that of the full pixel horizontal resolution (HBGR). |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HRGB
Text antialiasing hint value -- request that text be displayed optimised for an LCD display with subpixels in order from display left to right of R,G,B such that the horizontal subpixel resolution is three times that of the full pixel horizontal resolution (HRGB). |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VBGR
Text antialiasing hint value -- request that text be displayed optimised for an LCD display with subpixel organisation from display top to bottom of B,G,R such that the vertical subpixel resolution is three times that of the full pixel vertical resolution (VBGR). |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VRGB
Text antialiasing hint value -- request that text be displayed optimised for an LCD display with subpixel organisation from display top to bottom of R,G,B such that the vertical subpixel resolution is three times that of the full pixel vertical resolution (VRGB). |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_OFF
Text antialiasing hint value -- text rendering is done without any form of antialiasing. |
static Object |
RenderingHints.VALUE_TEXT_ANTIALIAS_ON
Text antialiasing hint value -- text rendering is done with some form of antialiasing. |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
Toolkit.desktopProperties
|
| Modifier and Type | Method and Description |
|---|---|
Object |
RenderingHints.clone()
Creates a clone of this RenderingHints object
that has the same contents as this RenderingHints
object. |
Object |
PageAttributes.clone()
Creates and returns a copy of this PageAttributes. |
Object |
JobAttributes.clone()
Creates and returns a copy of this JobAttributes. |
Object |
Insets.clone()
Create a copy of this object. |
Object |
ImageCapabilities.clone()
|
Object |
GridBagConstraints.clone()
Creates a copy of this grid bag constraint. |
Object |
BufferCapabilities.clone()
|
Object |
RenderingHints.get(Object key)
Returns the value to which the specified key is mapped. |
Object |
BorderLayout.getConstraints(Component comp)
Gets the constraints for the specified component |
Object |
Toolkit.getDesktopProperty(String propertyName)
Obtains a value for the specified desktop property. |
Object[] |
MediaTracker.getErrorsAny()
Returns a list of all media that have encountered an error. |
Object[] |
MediaTracker.getErrorsID(int id)
Returns a list of media with the specified ID that have encountered an error. |
abstract Object |
Image.getProperty(String name,
ImageObserver observer)
Gets a property of this image by name. |
abstract Object |
Graphics2D.getRenderingHint(RenderingHints.Key hintKey)
Returns the value of a single preference for the rendering algorithms. |
Object[] |
List.getSelectedObjects()
Gets the selected items on this scrolling list in an array of Objects. |
Object[] |
ItemSelectable.getSelectedObjects()
Returns the selected items or null if no
items are selected. |
Object[] |
Choice.getSelectedObjects()
Returns an array (length 1) containing the currently selected item. |
Object[] |
CheckboxMenuItem.getSelectedObjects()
Returns the an array (length 1) containing the checkbox menu item label or null if the checkbox is not selected. |
Object[] |
Checkbox.getSelectedObjects()
Returns an array (length 1) containing the checkbox label or null if the checkbox is not selected. |
protected Object |
MenuComponent.getTreeLock()
Gets this component's locking object (the object that owns the thread sychronization monitor) for AWT component-tree and layout operations. |
Object |
Component.getTreeLock()
Gets this component's locking object (the object that owns the thread synchronization monitor) for AWT component-tree and layout operations. |
protected Object |
Toolkit.lazilyLoadDesktopProperty(String name)
an opportunity to lazily evaluate desktop property values. |
Object |
RenderingHints.put(Object key,
Object value)
Maps the specified key to the specified
value in this RenderingHints object. |
protected Object |
AWTKeyStroke.readResolve()
Returns a cached instance of AWTKeyStroke (or a subclass of
AWTKeyStroke) which is equal to this instance. |
Object |
RenderingHints.remove(Object key)
Removes the key and its corresponding value from this RenderingHints object. |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<Object,Object>> |
RenderingHints.entrySet()
Returns a Set view of the mappings contained
in this RenderingHints. |
Set<Map.Entry<Object,Object>> |
RenderingHints.entrySet()
Returns a Set view of the mappings contained
in this RenderingHints. |
Set<Object> |
RenderingHints.keySet()
Returns a Set view of the Keys contained in this
RenderingHints. |
Collection<Object> |
RenderingHints.values()
Returns a Collection view of the values
contained in this RenderinHints. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Component.action(Event evt,
Object what)
Deprecated. As of JDK version 1.1, should register this component as ActionListener on component which fires action events. |
void |
Container.add(Component comp,
Object constraints)
Adds the specified component to the end of this container. |
void |
Container.add(Component comp,
Object constraints,
int index)
Adds the specified component to this container with the specified constraints at the specified index. |
protected void |
ScrollPane.addImpl(Component comp,
Object constraints,
int index)
Adds the specified component to this scroll pane container. |
protected void |
Container.addImpl(Component comp,
Object constraints,
int index)
Adds the specified component to this container at the specified index. |
void |
LayoutManager2.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified constraint object. |
void |
GridBagLayout.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified constraints object. |
void |
CardLayout.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to this card layout's internal table of names. |
void |
BorderLayout.addLayoutComponent(Component comp,
Object constraints)
Adds the specified component to the layout, using the specified constraint object. |
boolean |
RenderingHints.containsKey(Object key)
Returns true if this RenderingHints
contains a mapping for the specified key. |
boolean |
RenderingHints.containsValue(Object value)
Returns true if this RenderingHints maps one or more keys to the specified value. |
boolean |
RenderingHints.equals(Object o)
Compares the specified Object with this
RenderingHints for equality. |
boolean |
RenderingHints.Key.equals(Object o)
The equals method for all Key objects will return the same result as the equality operator '=='. |
boolean |
Rectangle.equals(Object obj)
Checks whether two rectangles are equal. |
boolean |
Point.equals(Object obj)
Determines whether or not two points are equal. |
boolean |
PageAttributes.equals(Object obj)
Determines whether two PageAttributes are equal to each other. |
boolean |
MenuShortcut.equals(Object obj)
Returns whether this MenuShortcut is the same as another: equality is defined to mean that both MenuShortcuts use the same key and both either use or don't use the SHIFT key. |
boolean |
JobAttributes.equals(Object obj)
Determines whether two JobAttributes are equal to each other. |
boolean |
Insets.equals(Object obj)
Checks whether two insets objects are equal. |
boolean |
Font.equals(Object obj)
Compares this Font object to the specified
Object. |
boolean |
DisplayMode.equals(Object dm)
Indicates whether some other object is "equal to" this one. |
boolean |
Dimension.equals(Object obj)
Checks whether two dimension objects have equal values. |
boolean |
Color.equals(Object obj)
Determines whether another object is equal to this Color. |
boolean |
BasicStroke.equals(Object obj)
Tests if a specified object is equal to this BasicStroke
by first testing if it is a BasicStroke and then comparing
its width, join, cap, miter limit, dash, and dash phase attributes with
those of this BasicStroke. |
boolean |
AlphaComposite.equals(Object obj)
Determines whether the specified object is equal to this AlphaComposite. |
boolean |
AWTKeyStroke.equals(Object anObject)
Returns true if this object is identical to the specified object. |
protected void |
KeyboardFocusManager.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a bound property. |
protected void |
Component.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes for Object properties. |
protected void |
KeyboardFocusManager.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a vetoable property. |
Object |
RenderingHints.get(Object key)
Returns the value to which the specified key is mapped. |
Component |
BorderLayout.getLayoutComponent(Container target,
Object constraints)
Returns the component that corresponds to the given constraint location based on the target Container's component orientation. |
Component |
BorderLayout.getLayoutComponent(Object constraints)
Gets the component that was added using the given constraint |
boolean |
Component.gotFocus(Event evt,
Object what)
Deprecated. As of JDK version 1.1, replaced by processFocusEvent(FocusEvent). |
abstract boolean |
RenderingHints.Key.isCompatibleValue(Object val)
Returns true if the specified object is a valid value for this Key. |
boolean |
Component.lostFocus(Event evt,
Object what)
Deprecated. As of JDK version 1.1, replaced by processFocusEvent(FocusEvent). |
Object |
RenderingHints.put(Object key,
Object value)
Maps the specified key to the specified
value in this RenderingHints object. |
Object |
RenderingHints.remove(Object key)
Removes the key and its corresponding value from this RenderingHints object. |
protected void |
Toolkit.setDesktopProperty(String name,
Object newValue)
Sets the named desktop property to the specified value and fires a property change event to notify any listeners that the value has changed. |
abstract void |
Graphics2D.setRenderingHint(RenderingHints.Key hintKey,
Object hintValue)
Sets the value of a single preference for the rendering algorithms. |
void |
AWTEvent.setSource(Object newSource)
Retargets an event to a new source. |
| Constructor and Description |
|---|
AWTEvent(Object source,
int id)
Constructs an AWTEvent object with the specified source object and type. |
Event(Object target,
int id,
Object arg)
NOTE: The Event class is obsolete and is
available only for backwards compatilibility. |
Event(Object target,
long when,
int id,
int x,
int y,
int key,
int modifiers)
NOTE: The Event class is obsolete and is
available only for backwards compatilibility. |
Event(Object target,
long when,
int id,
int x,
int y,
int key,
int modifiers,
Object arg)
NOTE: The Event class is obsolete and is
available only for backwards compatilibility. |
RenderingHints(RenderingHints.Key key,
Object value)
Constructs a new object with the specified key/value pair. |
| Uses of Object in java.awt.color |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
CMMException
This exception is thrown if the native CMM returns an error. |
class |
ColorSpace
This abstract class is used to serve as a color space tag to identify the specific color space of a Color object or, via a ColorModel object, of an Image, a BufferedImage, or a GraphicsDevice. |
class |
ICC_ColorSpace
The ICC_ColorSpace class is an implementation of the abstract ColorSpace class. |
class |
ICC_Profile
A representation of color profile data for device independent and device dependent color spaces based on the International Color Consortium Specification ICC.1:2001-12, File Format for Color Profiles, (see http://www.color.org). |
class |
ICC_ProfileGray
A subclass of the ICC_Profile class which represents profiles which meet the following criteria: the color space type of the profile is TYPE_GRAY and the profile includes the grayTRCTag and mediaWhitePointTag tags. |
class |
ICC_ProfileRGB
The ICC_ProfileRGB class is a subclass of the ICC_Profile class that represents profiles which meet the following criteria: The profile's color space type is RGB. The profile includes the redColorantTag,
greenColorantTag, blueColorantTag,
redTRCTag, greenTRCTag,
blueTRCTag, and mediaWhitePointTag tags.
The ICC_Profile getInstance method will
return an ICC_ProfileRGB object when these conditions are met. |
class |
ProfileDataException
This exception is thrown when an error occurs in accessing or processing an ICC_Profile object. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
ICC_Profile.readResolve()
Resolves instances being deserialized into instances registered with CMM. |
| Uses of Object in java.awt.datatransfer |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
Clipboard
A class that implements a mechanism to transfer data using cut/copy/paste operations. |
class |
DataFlavor
A DataFlavor provides meta information about data. |
class |
FlavorEvent
FlavorEvent is used to notify interested parties
that available DataFlavors have changed in the
Clipboard (the event source). |
class |
MimeTypeParseException
A class to encapsulate MimeType parsing related exceptions |
class |
StringSelection
A Transferable which implements the capability required
to transfer a String. |
class |
SystemFlavorMap
The SystemFlavorMap is a configurable map between "natives" (Strings), which correspond to platform-specific data formats, and "flavors" (DataFlavors), which correspond to platform-independent MIME types. |
class |
UnsupportedFlavorException
Signals that the requested data is not supported in this flavor. |
| Modifier and Type | Method and Description |
|---|---|
Object |
DataFlavor.clone()
Returns a clone of this DataFlavor. |
Object |
Clipboard.getData(DataFlavor flavor)
Returns an object representing the current contents of this clipboard in the specified DataFlavor. |
Object |
Transferable.getTransferData(DataFlavor flavor)
Returns an object which represents the data to be transferred. |
Object |
StringSelection.getTransferData(DataFlavor flavor)
Returns the Transferable's data in the requested
DataFlavor if possible. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DataFlavor.equals(Object o)
Indicates whether some other object is "equal to" this one. |
Transferable |
Clipboard.getContents(Object requestor)
Returns a transferable object representing the current contents of the clipboard. |
| Uses of Object in java.awt.dnd |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
DnDConstants
This class contains constant values representing the type of action(s) to be performed by a Drag and Drop operation. |
class |
DragGestureEvent
A DragGestureEvent is passed
to DragGestureListener's
dragGestureRecognized() method
when a particular DragGestureRecognizer detects that a
platform dependent drag initiating gesture has occurred
on the Component that it is tracking. |
class |
DragGestureRecognizer
The DragGestureRecognizer is an
abstract base class for the specification
of a platform-dependent listener that can be associated with a particular
Component in order to
identify platform-dependent drag initiating gestures. |
class |
DragSource
The DragSource is the entity responsible
for the initiation of the Drag
and Drop operation, and may be used in a number of scenarios:
1 default instance per JVM for the lifetime of that JVM. |
class |
DragSourceAdapter
An abstract adapter class for receiving drag source events. |
class |
DragSourceContext
The DragSourceContext class is responsible for managing the
initiator side of the Drag and Drop protocol. |
class |
DragSourceDragEvent
The DragSourceDragEvent is
delivered from the DragSourceContextPeer,
via the DragSourceContext, to the DragSourceListener
registered with that DragSourceContext and with its associated
DragSource. |
class |
DragSourceDropEvent
The DragSourceDropEvent is delivered
from the DragSourceContextPeer,
via the DragSourceContext, to the dragDropEnd
method of DragSourceListeners registered with that
DragSourceContext and with its associated
DragSource. |
class |
DragSourceEvent
This class is the base class for DragSourceDragEvent and
DragSourceDropEvent. |
class |
DropTarget
The DropTarget is associated
with a Component when that Component
wishes
to accept drops during Drag and Drop operations. |
protected static class |
DropTarget.DropTargetAutoScroller
this protected nested class implements autoscrolling |
class |
DropTargetAdapter
An abstract adapter class for receiving drop target events. |
class |
DropTargetContext
A DropTargetContext is created
whenever the logical cursor associated
with a Drag and Drop operation coincides with the visible geometry of
a Component associated with a DropTarget. |
protected class |
DropTargetContext.TransferableProxy
TransferableProxy is a helper inner class that implements
Transferable interface and serves as a proxy for another
Transferable object which represents data transfer for
a particular drag-n-drop operation. |
class |
DropTargetDragEvent
The DropTargetDragEvent is delivered to a
DropTargetListener via its
dragEnter() and dragOver() methods. |
class |
DropTargetDropEvent
The DropTargetDropEvent is delivered
via the DropTargetListener drop() method. |
class |
DropTargetEvent
The DropTargetEvent is the base
class for both the DropTargetDragEvent
and the DropTargetDropEvent. |
class |
InvalidDnDOperationException
This exception is thrown by various methods in the java.awt.dnd package. |
class |
MouseDragGestureRecognizer
This abstract subclass of DragGestureRecognizer
defines a DragGestureRecognizer
for mouse-based gestures. |
| Modifier and Type | Method and Description |
|---|---|
Object |
DropTargetContext.TransferableProxy.getTransferData(DataFlavor df)
Returns an object which represents the data provided by the encapsulated transferable for the requested data flavor. |
Object[] |
DragGestureEvent.toArray()
Returns an Object array of the
events comprising the drag gesture. |
Object[] |
DragGestureEvent.toArray(Object[] array)
Returns an array of the events comprising the drag gesture. |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
DragGestureEvent.toArray(Object[] array)
Returns an array of the events comprising the drag gesture. |
| Uses of Object in java.awt.event |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
ActionEvent
A semantic event which indicates that a component-defined action occurred. |
class |
AdjustmentEvent
The adjustment event emitted by Adjustable objects like Scrollbar and ScrollPane. |
class |
AWTEventListenerProxy
A class which extends the EventListenerProxy
specifically for adding an AWTEventListener
for a specific event mask. |
class |
ComponentAdapter
An abstract adapter class for receiving component events. |
class |
ComponentEvent
A low-level event which indicates that a component moved, changed size, or changed visibility (also, the root class for the other component-level events). |
class |
ContainerAdapter
An abstract adapter class for receiving container events. |
class |
ContainerEvent
A low-level event which indicates that a container's contents changed because a component was added or removed. |
class |
FocusAdapter
An abstract adapter class for receiving keyboard focus events. |
class |
FocusEvent
A low-level event which indicates that a Component has gained or lost the input focus. |
class |
HierarchyBoundsAdapter
An abstract adapter class for receiving ancestor moved and resized events. |
class |
HierarchyEvent
An event which indicates a change to the Component
hierarchy to which Component belongs. |
class |
InputEvent
The root event class for all component-level input events. |
class |
InputMethodEvent
Input method events contain information about text that is being composed using an input method. |
class |
InvocationEvent
An event which executes the run() method on a Runnable
when dispatched by the AWT event dispatcher thread. |
class |
ItemEvent
A semantic event which indicates that an item was selected or deselected. |
class |
KeyAdapter
An abstract adapter class for receiving keyboard events. |
class |
KeyEvent
An event which indicates that a keystroke occurred in a component. |
class |
MouseAdapter
An abstract adapter class for receiving mouse events. |
class |
MouseEvent
An event which indicates that a mouse action occurred in a component. |
class |
MouseMotionAdapter
An abstract adapter class for receiving mouse motion events. |
class |
MouseWheelEvent
An event which indicates that the mouse wheel was rotated in a component. |
class |
PaintEvent
The component-level paint event. |
class |
TextEvent
A semantic event which indicates that an object's text changed. |
class |
WindowAdapter
An abstract adapter class for receiving window events. |
class |
WindowEvent
A low-level event that indicates that a window has changed its status. |
| Modifier and Type | Field and Description |
|---|---|
protected Object |
InvocationEvent.notifier
The (potentially null) Object whose notifyAll() method will be called immediately after the Runnable.run() method returns. |
| Modifier and Type | Method and Description |
|---|---|
Object |
ItemEvent.getItem()
Returns the item affected by the event. |
| Constructor and Description |
|---|
ActionEvent(Object source,
int id,
String command)
Constructs an ActionEvent object. |
ActionEvent(Object source,
int id,
String command,
int modifiers)
Constructs an ActionEvent object with modifier keys. |
ActionEvent(Object source,
int id,
String command,
long when,
int modifiers)
Constructs an ActionEvent object with the specified
modifier keys and timestamp. |
InvocationEvent(Object source,
int id,
Runnable runnable,
Object notifier,
boolean catchThrowables)
Constructs an InvocationEvent with the specified
source and ID which will execute the runnable's run
method when dispatched. |
InvocationEvent(Object source,
Runnable runnable)
Constructs an InvocationEvent with the specified
source which will execute the runnable's run
method when dispatched. |
InvocationEvent(Object source,
Runnable runnable,
Object notifier,
boolean catchThrowables)
Constructs an InvocationEvent with the specified
source which will execute the runnable's run
method when dispatched. |
ItemEvent(ItemSelectable source,
int id,
Object item,
int stateChange)
Constructs an ItemEvent object. |
TextEvent(Object source,
int id)
Constructs a TextEvent object. |
| Uses of Object in java.awt.font |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
FontRenderContext
The FontRenderContext class is a container for the
information needed to correctly measure text. |
class |
GlyphJustificationInfo
The GlyphJustificationInfo class represents information
about the justification properties of a glyph. |
class |
GlyphMetrics
The GlyphMetrics class represents infomation for a
single glyph. |
class |
GlyphVector
A GlyphVector object is a collection of glyphs
containing geometric information for the placement of each glyph
in a transformed coordinate space which corresponds to the
device on which the GlyphVector is ultimately
displayed. |
class |
GraphicAttribute
This class is used with the CHAR_REPLACEMENT attribute. |
class |
ImageGraphicAttribute
The ImageGraphicAttribute class is an implementation of
GraphicAttribute which draws images in
a TextLayout. |
class |
LayoutPath
LayoutPath provides a mapping between locations relative to the baseline and points in user space. |
class |
LineBreakMeasurer
The LineBreakMeasurer class allows styled text to be
broken into lines (or segments) that fit within a particular visual
advance. |
class |
LineMetrics
The LineMetrics class allows access to the
metrics needed to layout characters along a line
and to layout of a set of lines. |
class |
NumericShaper
The NumericShaper class is used to convert Latin-1 (European)
digits to other Unicode decimal digits. |
class |
ShapeGraphicAttribute
The ShapeGraphicAttribute class is an implementation of
GraphicAttribute that draws shapes in a TextLayout. |
class |
TextAttribute
The TextAttribute class defines attribute keys and
attribute values used for text rendering. |
class |
TextHitInfo
The TextHitInfo class represents a character position in a
text model, and a bias, or "side," of the character. |
class |
TextLayout
TextLayout is an immutable graphical representation of styled
character data. |
static class |
TextLayout.CaretPolicy
Defines a policy for determining the strong caret location. |
class |
TextMeasurer
The TextMeasurer class provides the primitive operations
needed for line break: measuring up to a given advance, determining the
advance of a range of characters, and generating a
TextLayout for a range of characters. |
class |
TransformAttribute
The TransformAttribute class provides an immutable
wrapper for a transform so that it is safe to use as an attribute. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
TextMeasurer.clone()
|
protected Object |
TextLayout.clone()
Creates a copy of this TextLayout. |
Object |
FontRenderContext.getAntiAliasingHint()
Return the text anti-aliasing rendering mode hint used in this FontRenderContext. |
Object |
FontRenderContext.getFractionalMetricsHint()
Return the text fractional metrics rendering mode hint used in this FontRenderContext. |
protected Object |
TextAttribute.readResolve()
Resolves instances being deserialized to the predefined constants. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TransformAttribute.equals(Object rhs)
Returns true if rhs is a TransformAttribute
whose transform is equal to this TransformAttribute's
transform. |
boolean |
TextLayout.equals(Object obj)
Returns true if the specified Object is a
TextLayout object and if the specified Object
equals this TextLayout. |
boolean |
TextHitInfo.equals(Object obj)
Returns true if the specified Object is a
TextHitInfo and equals this TextHitInfo. |
boolean |
ShapeGraphicAttribute.equals(Object rhs)
Compares this ShapeGraphicAttribute to the specified
Object. |
boolean |
NumericShaper.equals(Object o)
Returns true if the specified object is an instance of NumericShaper and shapes identically to this one. |
boolean |
ImageGraphicAttribute.equals(Object rhs)
Compares this ImageGraphicAttribute to the specified
Object. |
boolean |
FontRenderContext.equals(Object obj)
Return true if obj is an instance of FontRenderContext and has the same transform, antialiasing, and fractional metrics values as this. |
| Constructor and Description |
|---|
FontRenderContext(AffineTransform tx,
Object aaHint,
Object fmHint)
Constructs a FontRenderContext object from an
optional AffineTransform and two Object
values that determine if the newly constructed object has
anti-aliasing or fractional metrics. |
| Uses of Object in java.awt.geom |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
AffineTransform
The AffineTransform class represents a 2D affine transform
that performs a linear mapping from 2D coordinates to other 2D
coordinates that preserves the "straightness" and
"parallelness" of lines. |
class |
Arc2D
Arc2D is the abstract superclass for all objects that
store a 2D arc defined by a framing rectangle,
start angle, angular extent (length of the arc), and a closure type
(OPEN, CHORD, or PIE). |
static class |
Arc2D.Double
This class defines an arc specified in double precision. |
static class |
Arc2D.Float
This class defines an arc specified in float precision. |
class |
Area
An Area object stores and manipulates a
resolution-independent description of an enclosed area of
2-dimensional space. |
class |
CubicCurve2D
The CubicCurve2D class defines a cubic parametric curve
segment in (x,y) coordinate space. |
static class |
CubicCurve2D.Double
A cubic parametric curve segment specified with double coordinates. |
static class |
CubicCurve2D.Float
A cubic parametric curve segment specified with float coordinates. |
class |
Dimension2D
The Dimension2D class is to encapsulate a width
and a height dimension. |
class |
Ellipse2D
The Ellipse2D class describes an ellipse that is defined
by a framing rectangle. |
static class |
Ellipse2D.Double
The Double class defines an ellipse specified
in double precision. |
static class |
Ellipse2D.Float
The Float class defines an ellipse specified
in float precision. |
class |
FlatteningPathIterator
The FlatteningPathIterator class returns a flattened view of
another PathIterator object. |
class |
GeneralPath
The GeneralPath class represents a geometric path
constructed from straight lines, and quadratic and cubic
(Bézier) curves. |
class |
IllegalPathStateException
The IllegalPathStateException represents an
exception that is thrown if an operation is performed on a path
that is in an illegal state with respect to the particular
operation being performed, such as appending a path segment
to a GeneralPath without an initial moveto. |
class |
Line2D
This Line2D represents a line segment in (x,y)
coordinate space. |
static class |
Line2D.Double
A line segment specified with double coordinates. |
static class |
Line2D.Float
A line segment specified with float coordinates. |
class |
NoninvertibleTransformException
The NoninvertibleTransformException class represents
an exception that is thrown if an operation is performed requiring
the inverse of an AffineTransform object but the
AffineTransform is in a non-invertible state. |
class |
Path2D
The Path2D class provides a simple, yet flexible
shape which represents an arbitrary geometric path. |
static class |
Path2D.Double
The Double class defines a geometric path with
coordinates stored in double precision floating point. |
static class |
Path2D.Float
The Float class defines a geometric path with
coordinates stored in single precision floating point. |
class |
Point2D
The Point2D class defines a point representing a location
in (x,y) coordinate space. |
static class |
Point2D.Double
The Double class defines a point specified in
double precision. |
static class |
Point2D.Float
The Float class defines a point specified in float
precision. |
class |
QuadCurve2D
The QuadCurve2D class defines a quadratic parametric curve
segment in (x,y) coordinate space. |
static class |
QuadCurve2D.Double
A quadratic parametric curve segment specified with double coordinates. |
static class |
QuadCurve2D.Float
A quadratic parametric curve segment specified with float coordinates. |
class |
Rectangle2D
The Rectangle2D class describes a rectangle
defined by a location (x,y) and dimension
(w x h). |
static class |
Rectangle2D.Double
The Double class defines a rectangle specified in
double coordinates. |
static class |
Rectangle2D.Float
The Float class defines a rectangle specified in float
coordinates. |
class |
RectangularShape
RectangularShape is the base class for a number of
Shape objects whose geometry is defined by a rectangular frame. |
class |
RoundRectangle2D
The RoundRectangle2D class defines a rectangle with
rounded corners defined by a location (x,y), a
dimension (w x h), and the width and height of an arc
with which to round the corners. |
static class |
RoundRectangle2D.Double
The Double class defines a rectangle with rounded
corners all specified in double coordinates. |
static class |
RoundRectangle2D.Float
The Float class defines a rectangle with rounded
corners all specified in float coordinates. |
| Modifier and Type | Method and Description |
|---|---|
Object |
RectangularShape.clone()
Creates a new object of the same class and with the same contents as this object. |
Object |
QuadCurve2D.clone()
Creates a new object of the same class and with the same contents as this object. |
Object |
Point2D.clone()
Creates a new object of the same class and with the same contents as this object. |
abstract Object |
Path2D.clone()
Creates a new object of the same class as this object. |
Object |
Path2D.Float.clone()
Creates a new object of the same class as this object. |
Object |
Path2D.Double.clone()
Creates a new object of the same class as this object. |
Object |
Line2D.clone()
Creates a new object of the same class as this object. |
Object |
Dimension2D.clone()
Creates a new object of the same class as this object. |
Object |
CubicCurve2D.clone()
Creates a new object of the same class as this object. |
Object |
Area.clone()
Returns an exact copy of this Area object. |
Object |
AffineTransform.clone()
Returns a copy of this AffineTransform object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RoundRectangle2D.equals(Object obj)
Determines whether or not the specified Object is
equal to this RoundRectangle2D. |
boolean |
Rectangle2D.equals(Object obj)
Determines whether or not the specified Object is
equal to this Rectangle2D. |
boolean |
Point2D.equals(Object obj)
Determines whether or not two points are equal. |
boolean |
Ellipse2D.equals(Object obj)
Determines whether or not the specified Object is
equal to this Ellipse2D. |
boolean |
Arc2D.equals(Object obj)
Determines whether or not the specified Object is
equal to this Arc2D. |
boolean |
AffineTransform.equals(Object obj)
Returns true if this AffineTransform
represents the same affine coordinate transform as the specified
argument. |
| Uses of Object in java.awt.im |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
InputContext
Provides methods to control text input facilities such as input methods and keyboard layouts. |
class |
InputMethodHighlight
An InputMethodHighlight is used to describe the highlight attributes of text being composed. |
class |
InputSubset
Defines additional Unicode subsets for use by input methods. |
| Modifier and Type | Method and Description |
|---|---|
Object |
InputContext.getInputMethodControlObject()
Returns a control object from the current input method, or null. |
| Uses of Object in java.awt.im.spi |
|---|
| Modifier and Type | Method and Description |
|---|---|
Object |
InputMethod.getControlObject()
Returns a control object from this input method, or null. |
| Uses of Object in java.awt.image |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
AffineTransformOp
This class uses an affine transform to perform a linear mapping from 2D coordinates in the source image or Raster to 2D coordinates
in the destination image or Raster. |
class |
AreaAveragingScaleFilter
An ImageFilter class for scaling images using a simple area averaging algorithm that produces smoother results than the nearest neighbor algorithm. |
class |
BandCombineOp
This class performs an arbitrary linear combination of the bands in a Raster, using a specified matrix. |
class |
BandedSampleModel
This class represents image data which is stored in a band interleaved fashion and for which each sample of a pixel occupies one data element of the DataBuffer. |
class |
BufferedImage
The BufferedImage subclass describes an Image with an accessible buffer of image data. |
class |
BufferedImageFilter
The BufferedImageFilter class subclasses an
ImageFilter to provide a simple means of
using a single-source/single-destination image operator
(BufferedImageOp) to filter a BufferedImage
in the Image Producer/Consumer/Observer
paradigm. |
class |
BufferStrategy
The BufferStrategy class represents the mechanism with which
to organize complex memory on a particular Canvas or
Window. |
class |
ByteLookupTable
This class defines a lookup table object. |
class |
ColorConvertOp
This class performs a pixel-by-pixel color conversion of the data in the source image. |
class |
ColorModel
The ColorModel abstract class encapsulates the
methods for translating a pixel value to color components
(for example, red, green, and blue) and an alpha component. |
class |
ComponentColorModel
A ColorModel class that works with pixel values that
represent color and alpha information as separate samples and that
store each sample in a separate data element. |
class |
ComponentSampleModel
This class represents image data which is stored such that each sample of a pixel occupies one data element of the DataBuffer. |
class |
ConvolveOp
This class implements a convolution from the source to the destination. |
class |
CropImageFilter
An ImageFilter class for cropping images. |
class |
DataBuffer
This class exists to wrap one or more data arrays. |
class |
DataBufferByte
This class extends DataBuffer and stores data internally as bytes. |
class |
DataBufferDouble
This class extends DataBuffer and stores data internally
in double form. |
class |
DataBufferFloat
This class extends DataBuffer and stores data internally
in float form. |
class |
DataBufferInt
This class extends DataBuffer and stores data internally
as integers. |
class |
DataBufferShort
This class extends DataBuffer and stores data internally as shorts. |
class |
DataBufferUShort
This class extends DataBuffer and stores data internally as
shorts. |
class |
DirectColorModel
The DirectColorModel class is a ColorModel
class that works with pixel values that represent RGB
color and alpha information as separate samples and that pack all
samples for a single pixel into a single int, short, or byte quantity. |
class |
FilteredImageSource
This class is an implementation of the ImageProducer interface which takes an existing image and a filter object and uses them to produce image data for a new filtered version of the original image. |
class |
ImageFilter
This class implements a filter for the set of interface methods that are used to deliver data from an ImageProducer to an ImageConsumer. |
class |
ImagingOpException
The ImagingOpException is thrown if one of the
BufferedImageOp or RasterOp filter methods cannot
process the image. |
class |
IndexColorModel
The IndexColorModel class is a ColorModel
class that works with pixel values consisting of a
single sample that is an index into a fixed colormap in the default
sRGB color space. |
class |
Kernel
The Kernel class defines a matrix that describes how a
specified pixel and its surrounding pixels affect the value
computed for the pixel's position in the output image of a filtering
operation. |
class |
LookupOp
This class implements a lookup operation from the source to the destination. |
class |
LookupTable
This abstract class defines a lookup table object. |
class |
MemoryImageSource
This class is an implementation of the ImageProducer interface which uses an array to produce pixel values for an Image. |
class |
MultiPixelPackedSampleModel
The MultiPixelPackedSampleModel class represents
one-banded images and can pack multiple one-sample
pixels into one data element. |
class |
PackedColorModel
The PackedColorModel class is an abstract
ColorModel class that works with pixel values which represent
color and alpha information as separate samples and which pack all
samples for a single pixel into a single int, short, or byte quantity. |
class |
PixelGrabber
The PixelGrabber class implements an ImageConsumer which can be attached to an Image or ImageProducer object to retrieve a subset of the pixels in that image. |
class |
PixelInterleavedSampleModel
This class represents image data which is stored in a pixel interleaved fashion and for which each sample of a pixel occupies one data element of the DataBuffer. |
class |
Raster
A class representing a rectangular array of pixels. |
class |
RasterFormatException
The RasterFormatException is thrown if there is
invalid layout information in the Raster. |
class |
ReplicateScaleFilter
An ImageFilter class for scaling images using the simplest algorithm. |
class |
RescaleOp
This class performs a pixel-by-pixel rescaling of the data in the source image by multiplying the sample values for each pixel by a scale factor and then adding an offset. |
class |
RGBImageFilter
This class provides an easy way to create an ImageFilter which modifies the pixels of an image in the default RGB ColorModel. |
class |
SampleModel
This abstract class defines an interface for extracting samples of pixels in an image. |
class |
ShortLookupTable
This class defines a lookup table object. |
class |
SinglePixelPackedSampleModel
This class represents pixel data packed such that the N samples which make up a single pixel are stored in a single data array element, and each data data array element holds samples for only one pixel. |
class |
VolatileImage
VolatileImage is an image which can lose its contents at any time due to circumstances beyond the control of the application (e.g., situations caused by the operating system or by other applications). |
class |
WritableRaster
This class extends Raster to provide pixel writing capabilities. |
| Modifier and Type | Field and Description |
|---|---|
protected Object |
ReplicateScaleFilter.outpixbuf
A byte array initialized with a size of
ReplicateScaleFilter.destWidth and used to deliver a row of pixel
data to the ImageConsumer. |
| Modifier and Type | Method and Description |
|---|---|
Object |
Kernel.clone()
Clones this object. |
Object |
ImageFilter.clone()
Clones this object. |
Object |
ComponentColorModel.getDataElements(float[] normComponents,
int normOffset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of normalized color/alpha
components. |
Object |
ColorModel.getDataElements(float[] normComponents,
int normOffset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of normalized color/alpha
components. |
Object |
IndexColorModel.getDataElements(int[] components,
int offset,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel given an array of unnormalized color/alpha
components. |
Object |
DirectColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of unnormalized color/alpha
components. |
Object |
ComponentColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of unnormalized color/alpha
components. |
Object |
ColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of unnormalized color/alpha
components. |
Object |
Raster.getDataElements(int x,
int y,
int w,
int h,
Object outData)
Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType. |
Object |
SampleModel.getDataElements(int x,
int y,
int w,
int h,
Object obj,
DataBuffer data)
Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType. |
Object |
Raster.getDataElements(int x,
int y,
Object outData)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
SinglePixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
abstract Object |
SampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
MultiPixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
ComponentSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
BandedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
IndexColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation in the default RGB color model. |
Object |
DirectColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation in the
default RGB color model. |
Object |
ComponentColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation
in the default RGB color model. |
Object |
ColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation in
the default RGB color model. |
Object |
PixelGrabber.getPixels()
Get the pixel buffer. |
Object |
RenderedImage.getProperty(String name)
Gets a property from the property set of this image. |
Object |
BufferedImage.getProperty(String name)
Returns a property of the image by name. |
Object |
BufferedImage.getProperty(String name,
ImageObserver observer)
Returns a property of the image by name. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SinglePixelPackedSampleModel.equals(Object o)
|
boolean |
PackedColorModel.equals(Object obj)
Tests if the specified Object is an instance
of PackedColorModel and equals this
PackedColorModel. |
boolean |
MultiPixelPackedSampleModel.equals(Object o)
|
boolean |
ComponentSampleModel.equals(Object o)
|
boolean |
ComponentColorModel.equals(Object obj)
Compares this color model with another for equality. |
boolean |
ColorModel.equals(Object obj)
Tests if the specified Object is an instance of
ColorModel and if it equals this
ColorModel. |
int |
DirectColorModel.getAlpha(Object inData)
Returns the alpha component for the specified pixel, scaled from 0 to 255. |
int |
ComponentColorModel.getAlpha(Object inData)
Returns the alpha component for the specified pixel, scaled from 0 to 255. |
int |
ColorModel.getAlpha(Object inData)
Returns the alpha component for the specified pixel, scaled from 0 to 255. |
int |
DirectColorModel.getBlue(Object inData)
Returns the blue color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
int |
ComponentColorModel.getBlue(Object inData)
Returns the blue color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
int |
ColorModel.getBlue(Object inData)
Returns the blue color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
int[] |
IndexColorModel.getComponents(Object pixel,
int[] components,
int offset)
Returns an array of unnormalized color/alpha components for a specified pixel in this ColorModel. |
int[] |
DirectColorModel.getComponents(Object pixel,
int[] components,
int offset)
Returns an array of unnormalized color/alpha components given a pixel in this ColorModel. |
int[] |
ComponentColorModel.getComponents(Object pixel,
int[] components,
int offset)
Returns an array of unnormalized color/alpha components given a pixel in this ColorModel. |
int[] |
ColorModel.getComponents(Object pixel,
int[] components,
int offset)
Returns an array of unnormalized color/alpha components given a pixel in this ColorModel. |
Object |
ComponentColorModel.getDataElements(float[] normComponents,
int normOffset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of normalized color/alpha
components. |
Object |
ColorModel.getDataElements(float[] normComponents,
int normOffset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of normalized color/alpha
components. |
Object |
IndexColorModel.getDataElements(int[] components,
int offset,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel given an array of unnormalized color/alpha
components. |
Object |
DirectColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of unnormalized color/alpha
components. |
Object |
ComponentColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of unnormalized color/alpha
components. |
Object |
ColorModel.getDataElements(int[] components,
int offset,
Object obj)
Returns a data element array representation of a pixel in this ColorModel, given an array of unnormalized color/alpha
components. |
Object |
Raster.getDataElements(int x,
int y,
int w,
int h,
Object outData)
Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType. |
Object |
SampleModel.getDataElements(int x,
int y,
int w,
int h,
Object obj,
DataBuffer data)
Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType. |
Object |
Raster.getDataElements(int x,
int y,
Object outData)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
SinglePixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
abstract Object |
SampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
MultiPixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
ComponentSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
BandedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
IndexColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation in the default RGB color model. |
Object |
DirectColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation in the
default RGB color model. |
Object |
ComponentColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation
in the default RGB color model. |
Object |
ColorModel.getDataElements(int rgb,
Object pixel)
Returns a data element array representation of a pixel in this ColorModel, given an integer pixel representation in
the default RGB color model. |
int |
DirectColorModel.getGreen(Object inData)
Returns the green color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
int |
ComponentColorModel.getGreen(Object inData)
Returns the green color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
int |
ColorModel.getGreen(Object inData)
Returns the green color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
float[] |
ComponentColorModel.getNormalizedComponents(Object pixel,
float[] normComponents,
int normOffset)
Returns an array of all of the color/alpha components in normalized form, given a pixel in this ColorModel. |
float[] |
ColorModel.getNormalizedComponents(Object pixel,
float[] normComponents,
int normOffset)
Returns an array of all of the color/alpha components in normalized form, given a pixel in this ColorModel. |
int |
DirectColorModel.getRed(Object inData)
Returns the red color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
int |
ComponentColorModel.getRed(Object inData)
Returns the red color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
int |
ColorModel.getRed(Object inData)
Returns the red color component for the specified pixel, scaled from 0 to 255 in the default RGB ColorSpace, sRGB. |
int |
DirectColorModel.getRGB(Object inData)
Returns the color/alpha components for the specified pixel in the default RGB color model format. |
int |
ComponentColorModel.getRGB(Object inData)
Returns the color/alpha components for the specified pixel in the default RGB color model format. |
int |
ColorModel.getRGB(Object inData)
Returns the color/alpha components for the specified pixel in the default RGB color model format. |
void |
WritableRaster.setDataElements(int x,
int y,
int w,
int h,
Object inData)
Sets the data for a rectangle of pixels from a primitive array of type TransferType. |
void |
SampleModel.setDataElements(int x,
int y,
int w,
int h,
Object obj,
DataBuffer data)
Sets the data for a rectangle of pixels in the specified DataBuffer from a primitive array of type TransferType. |
void |
WritableRaster.setDataElements(int x,
int y,
Object inData)
Sets the data for a single pixel from a primitive array of type TransferType. |
void |
SinglePixelPackedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType. |
abstract void |
SampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType. |
void |
MultiPixelPackedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type
TransferType. |
void |
ComponentSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type
TransferType. |
void |
BandedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType. |
| Uses of Object in java.awt.image.renderable |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
ParameterBlock
A ParameterBlock encapsulates all the information about sources and
parameters (Objects) required by a RenderableImageOp, or other
classes that process images. |
class |
RenderableImageOp
This class handles the renderable aspects of an operation with help from its associated instance of a ContextualRenderedImageFactory. |
class |
RenderableImageProducer
An adapter class that implements ImageProducer to allow the asynchronous production of a RenderableImage. |
class |
RenderContext
A RenderContext encapsulates the information needed to produce a specific rendering from a RenderableImage. |
| Modifier and Type | Field and Description |
|---|---|
protected Vector<Object> |
ParameterBlock.parameters
A Vector of non-source parameters, stored as arbitrary Objects. |
protected Vector<Object> |
ParameterBlock.sources
A Vector of sources, stored as arbitrary Objects. |
| Modifier and Type | Method and Description |
|---|---|
Object |
RenderContext.clone()
Makes a copy of a RenderContext. |
Object |
ParameterBlock.clone()
Creates a copy of a ParameterBlock. |
Object |
ParameterBlock.getObjectParameter(int index)
Gets a parameter as an object. |
Object |
ContextualRenderedImageFactory.getProperty(ParameterBlock paramBlock,
String name)
Gets the appropriate instance of the property specified by the name parameter. |
Object |
RenderableImageOp.getProperty(String name)
Gets a property from the property set of this image. |
Object |
RenderableImage.getProperty(String name)
Gets a property from the property set of this image. |
Object |
ParameterBlock.getSource(int index)
Returns a source as a general Object. |
Object |
ParameterBlock.shallowClone()
Creates a shallow copy of a ParameterBlock. |
| Modifier and Type | Method and Description |
|---|---|
Vector<Object> |
ParameterBlock.getParameters()
Returns the entire Vector of parameters. |
Vector<Object> |
ParameterBlock.getSources()
Returns the entire Vector of sources. |
| Modifier and Type | Method and Description |
|---|---|
ParameterBlock |
ParameterBlock.add(Object obj)
Adds an object to the list of parameters. |
ParameterBlock |
ParameterBlock.addSource(Object source)
Adds an image to end of the list of sources. |
ParameterBlock |
ParameterBlock.set(Object obj,
int index)
Replaces an Object in the list of parameters. |
ParameterBlock |
ParameterBlock.setSource(Object source,
int index)
Replaces an entry in the list of source with a new source. |
| Modifier and Type | Method and Description |
|---|---|
void |
ParameterBlock.setParameters(Vector<Object> parameters)
Sets the entire Vector of parameters to a given Vector. |
void |
ParameterBlock.setSources(Vector<Object> sources)
Sets the entire Vector of sources to a given Vector. |
| Constructor and Description |
|---|
ParameterBlock(Vector<Object> sources)
Constructs a ParameterBlock with a given Vector
of sources. |
ParameterBlock(Vector<Object> sources,
Vector<Object> parameters)
Constructs a ParameterBlock with a given Vector of sources and
Vector of parameters. |
ParameterBlock(Vector<Object> sources,
Vector<Object> parameters)
Constructs a ParameterBlock with a given Vector of sources and
Vector of parameters. |
| Uses of Object in java.awt.print |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
Book
The Book class provides a representation of a document in
which pages may have different page formats and page painters. |
class |
PageFormat
The PageFormat class describes the size and
orientation of a page to be printed. |
class |
Paper
The Paper class describes the physical characteristics of
a piece of paper. |
class |
PrinterAbortException
The PrinterAbortException class is a subclass of
PrinterException and is used to indicate that a user
or application has terminated the print job while it was in
the process of printing. |
class |
PrinterException
The PrinterException class and its subclasses are used
to indicate that an exceptional condition has occurred in the print
system. |
class |
PrinterIOException
The PrinterIOException class is a subclass of
PrinterException and is used to indicate that an IO error
of some sort has occurred while printing. |
class |
PrinterJob
The PrinterJob class is the principal class that controls
printing. |
| Modifier and Type | Method and Description |
|---|---|
Object |
Paper.clone()
Creates a copy of this Paper with the same contents
as this Paper. |
Object |
PageFormat.clone()
Makes a copy of this PageFormat with the same
contents as this PageFormat. |
| Uses of Object in java.beans |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
BeanDescriptor
A BeanDescriptor provides global information about a "bean", including its Java class, its displayName, etc. |
class |
Beans
This class provides some general purpose beans control methods. |
class |
DefaultPersistenceDelegate
The DefaultPersistenceDelegate is a concrete implementation of
the abstract PersistenceDelegate class and
is the delegate used by default for classes about
which no information is available. |
class |
Encoder
An Encoder is a class which can be used to create
files or streams that encode the state of a collection of
JavaBeans in terms of their public APIs. |
class |
EventHandler
The EventHandler class provides
support for dynamically generating event listeners whose methods
execute a simple statement involving an incoming event object
and a target object. |
class |
EventSetDescriptor
An EventSetDescriptor describes a group of events that a given Java bean fires. |
class |
Expression
An Expression object represents a primitive expression
in which a single method is applied to a target and a set of
arguments to return a result - as in "a.getFoo()". |
class |
FeatureDescriptor
The FeatureDescriptor class is the common baseclass for PropertyDescriptor, EventSetDescriptor, and MethodDescriptor, etc. |
class |
IndexedPropertyChangeEvent
An "IndexedPropertyChange" event gets delivered whenever a component that conforms to the JavaBeans |
class |
IndexedPropertyDescriptor
An IndexedPropertyDescriptor describes a property that acts like an array and has an indexed read and/or indexed write method to access specific elements of the array. |
class |
IntrospectionException
Thrown when an exception happens during Introspection. |
class |
Introspector
The Introspector class provides a standard way for tools to learn about the properties, events, and methods supported by a target Java Bean. |
class |
MethodDescriptor
A MethodDescriptor describes a particular method that a Java Bean supports for external access from other components. |
class |
ParameterDescriptor
The ParameterDescriptor class allows bean implementors to provide additional information on each of their parameters, beyond the low level type information provided by the java.lang.reflect.Method class. |
class |
PersistenceDelegate
The PersistenceDelegate class takes the responsibility for expressing the state of an instance of a given class in terms of the methods in the class's public API. |
class |
PropertyChangeEvent
A "PropertyChange" event gets delivered whenever a bean changes a "bound" or "constrained" property. |
class |
PropertyChangeListenerProxy
A class which extends the EventListenerProxy
specifically for adding a PropertyChangeListener
with a "bound" property. |
class |
PropertyChangeSupport
This is a utility class that can be used by beans that support bound properties. |
class |
PropertyDescriptor
A PropertyDescriptor describes one property that a Java Bean exports via a pair of accessor methods. |
class |
PropertyEditorManager
The PropertyEditorManager can be used to locate a property editor for any given type name. |
class |
PropertyEditorSupport
This is a support class to help build property editors. |
class |
PropertyVetoException
A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value. |
class |
SimpleBeanInfo
This is a support class to make it easier for people to provide BeanInfo classes. |
class |
Statement
A Statement object represents a primitive statement
in which a single method is applied to a target and
a set of arguments - as in "a.setFoo(b)". |
class |
VetoableChangeListenerProxy
A class which extends the EventListenerProxy
specifically for adding a VetoableChangeListener
with a "constrained" property. |
class |
VetoableChangeSupport
This is a utility class that can be used by beans that support constrained properties. |
class |
XMLDecoder
The XMLDecoder class is used to read XML documents
created using the XMLEncoder and is used just like
the ObjectInputStream. |
class |
XMLEncoder
The XMLEncoder class is a complementary alternative to
the ObjectOutputStream and can used to generate
a textual representation of a JavaBean in the same
way that the ObjectOutputStream can
be used to create binary representation of Serializable
objects. |
| Modifier and Type | Method and Description |
|---|---|
Object |
Encoder.get(Object oldInstance)
Returns a tentative value for oldInstance in
the environment created by this stream. |
Object[] |
Statement.getArguments()
Returns the arguments of this statement. |
static Object |
Beans.getInstanceOf(Object bean,
Class<?> targetType)
From a given bean, obtain an object representing a specified type view of that source object. |
Object |
PropertyChangeEvent.getNewValue()
Gets the new value for the property, expressed as an Object. |
Object |
PropertyChangeEvent.getOldValue()
Gets the old value for the property, expressed as an Object. |
Object |
XMLEncoder.getOwner()
Gets the owner of this encoder. |
Object |
XMLDecoder.getOwner()
Gets the owner of this decoder. |
Object |
PropertyChangeEvent.getPropagationId()
The "propagationId" field is reserved for future use. |
Object |
PropertyEditorSupport.getSource()
Returns the bean that is used as the source of events. |
Object |
Statement.getTarget()
Returns the target of this statement. |
Object |
EventHandler.getTarget()
Returns the object to which this event handler will send a message. |
Object |
PropertyEditorSupport.getValue()
Gets the value of the property. |
Object |
PropertyEditor.getValue()
Gets the property value. |
Object |
Expression.getValue()
If the value property of this instance is not already set, this method dynamically finds the method with the specified methodName on this target with these arguments and calls it. |
Object |
FeatureDescriptor.getValue(String attributeName)
Retrieve a named attribute with this feature. |
static Object |
Beans.instantiate(ClassLoader cls,
String beanName)
Instantiate a JavaBean. |
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext)
Instantiate a JavaBean. |
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext,
AppletInitializer initializer)
Instantiate a bean. |
Object |
EventHandler.invoke(Object proxy,
Method method,
Object[] arguments)
Extract the appropriate property value from the event and pass it to the action associated with this EventHandler. |
Object |
XMLDecoder.readObject()
Reads the next object from the underlying input stream. |
Object |
Encoder.remove(Object oldInstance)
Removes the entry for this instance, returning the old entry. |
| Modifier and Type | Method and Description | |
|---|---|---|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action)
Creates an implementation of listenerInterface in which
all of the methods in the listener interface apply
the handler's action to the target. |
|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName)
/** Creates an implementation of listenerInterface in which
all of the methods pass the value of the event
expression, eventPropertyName, to the final method in the
statement, action, which is applied to the target. |
|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates an implementation of listenerInterface in which
the method named listenerMethodName
passes the value of the event expression, eventPropertyName,
to the final method in the statement, action, which
is applied to the target. |
|
static DefaultHandler |
XMLDecoder.createHandler(Object owner,
ExceptionListener el,
ClassLoader cl)
Creates a new handler for SAX parser that can be used to parse embedded XML archives created by the XMLEncoder class. |
|
PropertyEditor |
PropertyDescriptor.createPropertyEditor(Object bean)
Constructs an instance of a property editor using the current property editor class. |
|
boolean |
PropertyDescriptor.equals(Object obj)
Compares this PropertyDescriptor against the specified object. |
|
boolean |
IndexedPropertyDescriptor.equals(Object obj)
Compares this PropertyDescriptor against the specified object. |
|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue)
Reports a bound indexed property update to listeners that have been registered to track updates of all properties or a property with the specified name. |
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name. |
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Reports a constrained property update to listeners that have been registered to track updates of all properties or a property with the specified name. |
|
Object |
Encoder.get(Object oldInstance)
Returns a tentative value for oldInstance in
the environment created by this stream. |
|
static Object |
Beans.getInstanceOf(Object bean,
Class<?> targetType)
From a given bean, obtain an object representing a specified type view of that source object. |
|
protected void |
PersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
Produce a series of statements with side effects on newInstance
so that the new instance becomes equivalent to oldInstance. |
|
protected void |
DefaultPersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
This default implementation of the initialize method assumes
all state held in objects of this type is exposed via the
matching pairs of "setter" and "getter" methods in the order
they are returned by the Introspector. |
|
protected abstract Expression |
PersistenceDelegate.instantiate(Object oldInstance,
Encoder out)
Returns an expression whose value is oldInstance. |
|
protected Expression |
DefaultPersistenceDelegate.instantiate(Object oldInstance,
Encoder out)
This default implementation of the instantiate method returns
an expression containing the predefined method name "new" which denotes a
call to a constructor with the arguments as specified in
the DefaultPersistenceDelegate's constructor. |
|
Object |
EventHandler.invoke(Object proxy,
Method method,
Object[] arguments)
Extract the appropriate property value from the event and pass it to the action associated with this EventHandler. |
|
Object |
EventHandler.invoke(Object proxy,
Method method,
Object[] arguments)
Extract the appropriate property value from the event and pass it to the action associated with this EventHandler. |
|
static boolean |
Beans.isInstanceOf(Object bean,
Class<?> targetType)
Check if a bean can be viewed as a given target type. |
|
protected boolean |
PersistenceDelegate.mutatesTo(Object oldInstance,
Object newInstance)
Returns true if an equivalent copy of oldInstance may be
created by applying a series of statements to newInstance. |
|
protected boolean |
DefaultPersistenceDelegate.mutatesTo(Object oldInstance,
Object newInstance)
If the number of arguments in the specified constructor is non-zero and the class of oldInstance explicitly declares an "equals" method
this method returns the value of oldInstance.equals(newInstance). |
|
Object |
Encoder.remove(Object oldInstance)
Removes the entry for this instance, returning the old entry. |
|
void |
Customizer.setObject(Object bean)
Set the object to be customized. |
|
void |
XMLEncoder.setOwner(Object owner)
Sets the owner of this encoder to owner. |
|
void |
XMLDecoder.setOwner(Object owner)
Sets the owner of this decoder to owner. |
|
void |
PropertyChangeEvent.setPropagationId(Object propagationId)
Sets the propagationId object for the event. |
|
void |
PropertyEditorSupport.setSource(Object source)
Sets the source bean. |
|
void |
PropertyEditorSupport.setValue(Object value)
Set (or change) the object that is to be edited. |
|
void |
PropertyEditor.setValue(Object value)
Set (or change) the object that is to be edited. |
|
void |
Expression.setValue(Object value)
Sets the value of this expression to value. |
|
void |
FeatureDescriptor.setValue(String attributeName,
Object value)
Associate a named attribute with this feature. |
|
void |
XMLEncoder.writeObject(Object o)
Write an XML representation of the specified object to the output. |
|
protected void |
Encoder.writeObject(Object o)
Write the specified object to the output stream. |
|
void |
PersistenceDelegate.writeObject(Object oldInstance,
Encoder out)
The writeObject is a single entry point to the persistence
and is used by a Encoder in the traditional
mode of delegation. |
| Constructor and Description |
|---|
EventHandler(Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates a new EventHandler object;
you generally use one of the create methods
instead of invoking this constructor directly. |
Expression(Object value,
Object target,
String methodName,
Object[] arguments)
Creates a new Expression object for a method
that returns a result. |
Expression(Object value,
Object target,
String methodName,
Object[] arguments)
Creates a new Expression object for a method
that returns a result. |
Expression(Object target,
String methodName,
Object[] arguments)
Creates a new Statement object with a target,
methodName and arguments as per the parameters. |
Expression(Object target,
String methodName,
Object[] arguments)
Creates a new Statement object with a target,
methodName and arguments as per the parameters. |
IndexedPropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue,
int index)
Constructs a new IndexedPropertyChangeEvent object. |
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new PropertyChangeEvent. |
PropertyChangeSupport(Object sourceBean)
Constructs a PropertyChangeSupport object. |
PropertyEditorSupport(Object source)
Constructs a PropertyEditorSupport object. |
Statement(Object target,
String methodName,
Object[] arguments)
Creates a new Statement object with a target,
methodName and arguments as per the parameters. |
Statement(Object target,
String methodName,
Object[] arguments)
Creates a new Statement object with a target,
methodName and arguments as per the parameters. |
VetoableChangeSupport(Object sourceBean)
Constructs a VetoableChangeSupport object. |
XMLDecoder(InputStream in,
Object owner)
Creates a new input stream for reading archives created by the XMLEncoder class. |
XMLDecoder(InputStream in,
Object owner,
ExceptionListener exceptionListener)
Creates a new input stream for reading archives created by the XMLEncoder class. |
XMLDecoder(InputStream in,
Object owner,
ExceptionListener exceptionListener,
ClassLoader cl)
Creates a new input stream for reading archives created by the XMLEncoder class. |
| Uses of Object in java.beans.beancontext |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
BeanContextChildSupport
This is a general support class to provide support for implementing the BeanContextChild protocol. |
class |
BeanContextEvent
BeanContextEvent is the abstract root event class
for all events emitted
from, and pertaining to the semantics of, a BeanContext. |
class |
BeanContextMembershipEvent
A BeanContextMembershipEvent encapsulates
the list of children added to, or removed from,
the membership of a particular BeanContext. |
class |
BeanContextServiceAvailableEvent
This event type is used by the BeanContextServicesListener in order to identify the service being registered. |
class |
BeanContextServiceRevokedEvent
This event type is used by the BeanContextServiceRevokedListener in order to
identify the service being revoked. |
class |
BeanContextServicesSupport
This helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface. |
protected class |
BeanContextServicesSupport.BCSSChild
|
protected class |
BeanContextServicesSupport.BCSSProxyServiceProvider
|
protected static class |
BeanContextServicesSupport.BCSSServiceProvider
subclasses may subclass this nested class to add behaviors for each BeanContextServicesProvider. |
class |
BeanContextSupport
This helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface. |
protected class |
BeanContextSupport.BCSChild
|
protected static class |
BeanContextSupport.BCSIterator
protected final subclass that encapsulates an iterator but implements a noop remove() method. |
| Modifier and Type | Field and Description |
|---|---|
static Object |
BeanContext.globalHierarchyLock
This global lock is used by both BeanContext
and BeanContextServices implementors
to serialize changes in a BeanContext
hierarchy and any service requests etc. |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
BeanContextSupport.copyChildren()
Gets a copy of the this BeanContext's children. |
Object |
BeanContextServicesSupport.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
obtain a service which may be delegated |
Object |
BeanContextServices.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
A BeanContextChild, or any arbitrary object
associated with a BeanContextChild, may obtain
a reference to a currently registered service from its
nesting BeanContextServices
via invocation of this method. |
Object |
BeanContextServicesSupport.BCSSProxyServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
|
Object |
BeanContextServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
Invoked by BeanContextServices, this method
requests an instance of a
service from this BeanContextServiceProvider. |
Object |
BeanContextSupport.instantiateChild(String beanName)
The instantiateChild method is a convenience hook in BeanContext to simplify the task of instantiating a Bean, nested, into a BeanContext. |
Object |
BeanContext.instantiateChild(String beanName)
Instantiate the javaBean named as a child of this BeanContext. |
Object |
BeanContextSupport.BCSIterator.next()
|
Object[] |
BeanContextSupport.toArray()
Gets all JavaBean or BeanContext instances currently nested in this BeanContext. |
Object[] |
BeanContextMembershipEvent.toArray()
Gets the array of children affected by this event. |
Object[] |
BeanContextSupport.toArray(Object[] arry)
Gets an array containing all children of this BeanContext that match the types contained in arry. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BeanContextSupport.add(Object targetChild)
Adds/nests a child within this BeanContext. |
protected void |
BeanContextSupport.childDeserializedHook(Object child,
BeanContextSupport.BCSChild bcsc)
Called by readObject with the newly deserialized child and BCSChild. |
protected void |
BeanContextSupport.childJustAddedHook(Object child,
BeanContextSupport.BCSChild bcsc)
subclasses may override this method to simply extend add() semantics after the child has been added and before the event notification has occurred. |
protected void |
BeanContextSupport.childJustRemovedHook(Object child,
BeanContextSupport.BCSChild bcsc)
subclasses may override this method to simply extend remove() semantics after the child has been removed and before the event notification has occurred. |
protected void |
BeanContextServicesSupport.childJustRemovedHook(Object child,
BeanContextSupport.BCSChild bcsc)
called from superclass child removal operations after a child has been successfully removed. |
boolean |
BeanContextSupport.contains(Object o)
Determines whether or not the specified object is currently a child of this BeanContext. |
boolean |
BeanContextMembershipEvent.contains(Object child)
Is the child specified affected by the event? |
boolean |
BeanContextSupport.containsKey(Object o)
Determines whether or not the specified object is currently a child of this BeanContext. |
protected BeanContextSupport.BCSChild |
BeanContextSupport.createBCSChild(Object targetChild,
Object peer)
Subclasses can override this method to insert their own subclass of Child without having to override add() or the other Collection methods that add children to the set. |
protected BeanContextSupport.BCSChild |
BeanContextServicesSupport.createBCSChild(Object targetChild,
Object peer)
Subclasses can override this method to insert their own subclass of Child without having to override add() or the other Collection methods that add children to the set. |
void |
BeanContextChildSupport.firePropertyChange(String name,
Object oldValue,
Object newValue)
Report a bound property update to any registered listeners. |
void |
BeanContextChildSupport.fireVetoableChange(String name,
Object oldValue,
Object newValue)
Report a vetoable property update to any registered listeners. |
protected static BeanContextChild |
BeanContextSupport.getChildBeanContextChild(Object child)
Gets the BeanContextChild (if any) of the specified child |
protected static BeanContextMembershipListener |
BeanContextSupport.getChildBeanContextMembershipListener(Object child)
Gets the BeanContextMembershipListener (if any) of the specified child |
protected static BeanContextServicesListener |
BeanContextServicesSupport.getChildBeanContextServicesListener(Object child)
Gets the BeanContextServicesListener (if any) of the specified child. |
protected static PropertyChangeListener |
BeanContextSupport.getChildPropertyChangeListener(Object child)
Gets the PropertyChangeListener (if any) of the specified child |
protected static Serializable |
BeanContextSupport.getChildSerializable(Object child)
Gets the Serializable (if any) associated with the specified Child |
protected static VetoableChangeListener |
BeanContextSupport.getChildVetoableChangeListener(Object child)
Gets the VetoableChangeListener (if any) of the specified child |
protected static Visibility |
BeanContextSupport.getChildVisibility(Object child)
Gets the Component (if any) associated with the specified child. |
Object |
BeanContextServicesSupport.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
obtain a service which may be delegated |
Object |
BeanContextServices.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
A BeanContextChild, or any arbitrary object
associated with a BeanContextChild, may obtain
a reference to a currently registered service from its
nesting BeanContextServices
via invocation of this method. |
Object |
BeanContextServicesSupport.BCSSProxyServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
|
Object |
BeanContextServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
Invoked by BeanContextServices, this method
requests an instance of a
service from this BeanContextServiceProvider. |
void |
BeanContextServicesSupport.releaseService(BeanContextChild child,
Object requestor,
Object service)
release a service |
void |
BeanContextServices.releaseService(BeanContextChild child,
Object requestor,
Object service)
Releases a BeanContextChild's
(or any arbitrary object associated with a BeanContextChild)
reference to the specified service by calling releaseService()
on the underlying BeanContextServiceProvider. |
void |
BeanContextServicesSupport.BCSSProxyServiceProvider.releaseService(BeanContextServices bcs,
Object requestor,
Object service)
|
void |
BeanContextServiceProvider.releaseService(BeanContextServices bcs,
Object requestor,
Object service)
Invoked by BeanContextServices,
this method releases a nested BeanContextChild's
(or any arbitrary object associated with a
BeanContextChild) reference to the specified service. |
boolean |
BeanContextSupport.remove(Object targetChild)
Removes a child from this BeanContext. |
protected boolean |
BeanContextSupport.remove(Object targetChild,
boolean callChildSetBC)
internal remove used when removal caused by unexpected setBeanContext or by remove() invocation. |
Object[] |
BeanContextSupport.toArray(Object[] arry)
Gets an array containing all children of this BeanContext that match the types contained in arry. |
protected boolean |
BeanContextSupport.validatePendingAdd(Object targetChild)
Subclasses of this class may override, or envelope, this method to add validation behavior for the BeanContext to examine child objects immediately prior to their being added to the BeanContext. |
protected boolean |
BeanContextSupport.validatePendingRemove(Object targetChild)
Subclasses of this class may override, or envelope, this method to add validation behavior for the BeanContext to examine child objects immediately prior to their being removed from the BeanContext. |
| Constructor and Description |
|---|
BeanContextMembershipEvent(BeanContext bc,
Object[] changes)
Contruct a BeanContextMembershipEvent |
| Uses of Object in java.dyn |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
CallSite
An invokedynamic call site, as reified by the
containing class's bootstrap method. |
class |
InvokeDynamic
Syntactic marker to request javac to emit an invokedynamic instruction. |
class |
InvokeDynamicBootstrapError
Thrown to indicate that an invokedynamic instruction has
failed to find its bootstrap method, or the bootstrap method has
failed to provide a call site with a non-null target. |
class |
JavaMethodHandle
A Java method handle extends the basic method handle type with additional programmer defined methods and fields. |
class |
Linkage
Static methods which control the linkage of invokedynamic call sites. |
class |
LinkagePermission
This class is for runtime permissions. |
class |
MethodHandle
A method handle is a typed reference to the entry point of a method. |
class |
MethodHandles
Fundamental operations and utilities for MethodHandle. |
static class |
MethodHandles.Lookup
PROVISIONAL API, WORK IN PROGRESS: A factory object for creating method handles, when the creation requires access checking. |
class |
MethodType
Run-time token used to match call sites with method handles. |
class |
NoAccessException
Thrown to indicate that a caller has attempted to create a method handle which calls a method to which the caller does not have access. |
class |
WrongMethodTypeException
Thrown to indicate that code has attempted to call a method handle via the wrong method type. |
| Modifier and Type | Method and Description |
|---|---|
static Object |
Linkage.invalidateAll()
PROVISIONAL API, WORK IN PROGRESS: Invalidate all invokedynamic call sites everywhere. |
static Object |
Linkage.invalidateCallerClass(Class<?> callerClass)
PROVISIONAL API, WORK IN PROGRESS: Invalidate all invokedynamic call sites associated
with the given class. |
static Object |
MethodHandles.invoke_0(MethodHandle target)
|
static Object |
MethodHandles.invoke_1(MethodHandle target,
Object a0)
|
static Object |
MethodHandles.invoke_2(MethodHandle target,
Object a0,
Object a1)
|
static Object |
MethodHandles.invoke_3(MethodHandle target,
Object a0,
Object a1,
Object a2)
|
static Object |
MethodHandles.invoke_4(MethodHandle target,
Object a0,
Object a1,
Object a2,
Object a3)
|
static Object |
MethodHandles.invoke(MethodHandle target,
Object... arguments)
PROVISIONAL API, WORK IN PROGRESS: Call the invoke method of a given method handle,
with arguments that exactly match the parameter types of the method handle. |
Object[] |
CallSite.nameComponents()
Report the method name specified in the invokedynamic instruction,
as a series of components, individually demangled according to
the standard convention
specified here. |
| Modifier and Type | Method and Description |
|---|---|
MethodHandle |
MethodHandles.Lookup.bind(Object receiver,
String name,
MethodType type)
Produce an early-bound method handle for a non-static method. |
boolean |
MethodType.equals(Object x)
Compares the specified object with this type for equality. |
static MethodHandle |
MethodHandles.insertArgument(MethodHandle target,
int pos,
Object value)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle which calls the original method handle, after inserting the given argument at the given position. |
static Object |
MethodHandles.invoke_1(MethodHandle target,
Object a0)
|
static Object |
MethodHandles.invoke_2(MethodHandle target,
Object a0,
Object a1)
|
static Object |
MethodHandles.invoke_3(MethodHandle target,
Object a0,
Object a1,
Object a2)
|
static Object |
MethodHandles.invoke_4(MethodHandle target,
Object a0,
Object a1,
Object a2,
Object a3)
|
static Object |
MethodHandles.invoke(MethodHandle target,
Object...&nb |