Skip to main content.

Web Based Programming Tutorials

Homepage | Forum - Join the forum to discuss anything related to programming! | Programming Resources

Java 1.2 Unleashed

Java 1.2 Unleashed -- Appendix F -- JDK 1.2 API Description


Java 1.2 Unleashed

Previous chapterContents


- F -

JDK 1.2 API Description




This appendix describes the packages of the JDK 1.2 API in terms of their interfaces, classes, exceptions, and errors. Also, hierarchical relationships between package elements are identified.

java.applet java.lang.reflect

java.awt java.math

com.sun.java.accessibility java.net

java.awt.colorjava.rmi java.rmi.activation

java.awt.datatransfer java.rmi.dgc

java.awt.dnd java.rmi.registry

java.awt.event java.rmi.server

java.awt.font java.security

java.awt.geom java.security.acl

java.awt.im java.security.cert

java.awt.image java.security.interfaces

com.sun.java.image.codec.jpeg java.security.spec

java.awt.image.renderable java.sql

java.awt.print java.text

com.sun.java.swing java.util

com.sun.java.swing.border java.util.jar

com.sun.java.swing.event java.util.mime

com.sun.java.swing.plaf java.util.zip

com.sun.java.swing.table org.omg.CORBA

com.sun.java.swing.text org.omg.CORBA.ContainedPackage

com.sun.java.swing.text.html org.omg.CORBA.ContainerPackage

com.sun.java.swing.text.rtf org.omg.CORBA.InterfaceDefPackage

com.sun.java.swing.tree org.omg.CORBA.ORBPackage

com.sun.java.swing.undog org.omg.CORBA.TypeCodePackage

java.beans org.omg.CORBA.portable

java.beans.beancontext org.omg.CosNamin

java.io org.omg.CosNaming.NamingContextPackage

java.lang javax.servlet

java.lang.ref javax.servlet.http

Package java.applet

The java.applet package is one of the smallest packages in the Core API. It consists of one class and three interfaces that provide the basic functionality needed to implement applets.

Interfaces

AppletContext

The AppletContext interface defines methods that allow an applet to access the context in which it is being run.

AppletStub

The AppletStub interface supports communication between an applet and its browser environment and is used to develop custom applet viewers.

AudioClip

The AudioClip interface provides methods that support the playing of audio clips.

Classes

Applet

The Applet class is the superclass of all applets. It provides methods to display images, play audio files, respond to events, and obtain information about an applet's execution environment. The Applet class is a subclass of java.awt.panel.

Exceptions and Errors

None.

Package java.awt

The java.awt package implements the core classes and interfaces of the Abstract Windowing Toolkit (AWT). It is a large package, containing 63 classes and 14 interfaces. These classes and interfaces provide the standard AWT GUI controls, as well as drawing, printing, and other capabilities. The java.awt package is covered in Chapter 5, "JDK 1.2 Applet Writing Basics."

Interfaces

ActiveEvent

The ActiveEvent interface defines methods that are implemented by event classes that are self-dispatching.

Adjustable

The Adjustable interface is implemented by classes, such as sliders and scrollbars, that allow a value to be selected from a range of values.

Composite

The Composite interface defines methods that are implemented by classes that allow drawing to be composed with an underlying graphics area.

CompositeContext

The CompositeContext interface defines methods for classes that provide a context for compositing drawing operations.

ItemSelectable

The ItemSelectable interface is implemented by classes whose objects, such as choices or lists, may contain selectable items.

LayoutManager

The LayoutManager interface is implemented by classes that can lay out Container objects.

LayoutManager2

The LayoutManager2 interface extends the LayoutManager interface to provide support for layout constraints.

MenuContainer

The MenuContainer interface defines methods for classes that may contain Menu objects.

Paint

The Paint interface extends the Transparency interface, providing support for defining color patterns for use in graphics operations.

PaintContext

The PaintContext interface provides methods that define the context for paint operations.

PrintGraphics

The PrintGraphics interface defines a graphics context for printing a single page.

Shape

The Shape interface defines methods that are implemented by classes that encapsulate geometric shapes.

Stroke

The Stroke interface provides methods that are implemented by classes that define pen strokes.

Transparency

The Transparency interface defines methods for classes that support transparency- related graphics operations.

Classes

AWTEvent

The AWTEvent class is a subclass of java.util.EventObject that serves as the base class for all AWT-related events.

AWTEventMulticaster

The AWTEventMulticaster class is a subclass of Object that provides thread-safe multicast event dispatching capabilities. It implements the following interfaces of the java.awt.event package: ActionListener, AdjustmentListener, ComponentListener, ContainerListener, FocusListener, InputMethodListener, ItemListener, KeyListener, MouseListener, MouseMotionListener, TextListener, and WindowListener.

AWTPermission

The AWTPermission class is a subclass of java.security.BasicPermission that implements security permissions for a variety of AWT-related operations.

AlphaComposite

The AlphaComposite class is a subclass of Object that implements alpha compositing rules for combining source and destination image pixels. It implements the Composite interface.

BasicStroke

The BasicStroke class is a subclass of Object that provides a set of properties for a basic implementation of the Stroke interface.

BorderLayout

The BorderLayout class is a subclass of Object that is used to lay out the components of a container along the container's border. It implements the LayoutManager2 and java.lang.Serializable interfaces.

Button

The Button class is a subclass of Component that encapsulates a GUI text-labeled pushbutton.

Canvas

The Canvas class is a subclass of Component that provides a rectangular drawing area.

CardLayout

The CardLayout class is a subclass of Object that provides the capability to lay out a Container object in a card-like fashion. It implements the LayoutManager2 and java.io.Serializable interfaces.

Checkbox

The Checkbox class is a subclass of Container that provides the capability to display and work with checkbox and radio button GUI controls. It implements the ItemSelectable interface.

CheckboxGroup

The CheckboxGroup class is a subclass of Object that is used to group Checkbox objects together as a set of radio buttons. It implements the java.io.Serializable interface.

CheckboxMenuItem

The CheckboxMenuItem class is a subclass of MenuItem that is used to create a menu item that may be in an on or off state. It implements the ItemSelectable interface.

Choice

The Choice class is a subclass of Component that provides a pop-up menu of choices. It implements the ItemSelectable interface.

Color

The Color class is a subclass of Object that is used to define colors within a particular color space. It implements the Paint and java.io.Serializable interfaces.

Component

The Component class is a subclass of Object that provides the base class for the development of GUI components. It implements the MenuContainer, java.awt.imaga.ImageObserver, and java.io.Serializable interfaces.

ComponentOrientation

The ComponentOrientation class is a subclass of Object that encapsulates the language-specific orientation of a Component. It implements the java.io.Serializable interface.

Container

The Container class is a subclass of Component that acts as a container for other GUI components.

Cursor

The Cursor class is a subclass of Object that encapsulates a changeable cursor associated with a pointing device. It implements the java.io.Serializable interface.

Dialog

The Dialog class is a subclass of Window that provides a base class for the development of dialog boxes.

Dimension

The Dimension class is a subclass of java.awt.geom.Dimension2D that provides the capability to specify the height and width of an object. It implements the java.io.Serializable interface.

Event

The Event class is a subclass of Object that provides the base class for implementing events in the JDK 1.0 event model. It implements the java.io.Serializable interface.

EventQueue

The EventQueue class is a subclass of Object that implements the system event queue.

FileDialog

The FileDialog class is a subclass of Dialog that encapsulates a file system dialog box.

FlowLayout

The FlowLayout class is a subclass of Object that is used to lay out Container objects in a left-to-right and top-to-bottom fashion. It implements the LayoutManager and java.io.Serializable interfaces.

Font

The Font class is a subclass of Object that encapsulates text fonts. It implements the java.io.Serializable interface.

FontMetrics

The FontMetrics class is a subclass of Object that provides information about the properties of a font. It implements the java.io.Serializable interface.

Frame

The Frame class is a subclass of Window that provides a top-level application window. It implements the MenuContainer interface.

GradientPaint

The GradientPaint class is a subclass of Object that provides the capability to fill a drawing area with a linear gradient color fill. It implements the Paint interface.

Graphics

The Graphics class is a subclass of Object that is the base class for the development of graphics drawing contexts.

Graphics2D

The Graphics2D class is a subclass of Graphics that serves as the basic graphics context for the Java 2D API.

GraphicsConfigTemplate

The GraphicsConfigTemplate class is a subclass of Object that is used as a template for the creation of GraphicsConfiguration objects. It implements the java.io.Serializable interface.

GraphicsConfiguration

The GraphicsConfiguration class is a subclass of Object that specifies the physical characteristics of a graphics display device.

GraphicsDevice

The GraphicsDevice class is a subclass of Object that describes the graphics display devices available to the system.

GraphicsEnvironment

The GraphicsEnvironment class is a subclass of Object that describes the entire graphics environment available to the system, including all of the accessible GraphicsDevice objects.

GridBagConstraints

The GridBagConstraints class is a subclass of Object that is used to specify how containers are to be laid out using GridBagLayout objects. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

GridBagLayout

The GridBagLayout class is a subclass of Object that is used to lay out a container according to the properties of a GridBagConstraints object. It implements the LayoutManager2 and java.io.Serializable interfaces.

GridLayout

The GridLayout class is a subclass of Object that is used to lay out a container in a grid-like fashion. It implements the LayoutManager and java.io.Serializable interfaces.

Image

The Image class is a subclass of Object that encapsulates a displayable image.

Insets

The Insets class is a subclass of Object that specifies the border of a GUI component. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

Label

The Label class is a subclass of Component that implements a GUI text label.

List

The List class is a subclass of Component that encapsulates a scrollable list GUI control. It implements the ItemSelectable interface.

MediaTracker

The MediaTracker class is a subclass of Object that is used to track the loading status of multimedia objects. It implements the java.io.Serializable interface.

Menu

The Menu class is a subclass of MenuItem that encapsulates a pull-down menu. It implements the MenuContainer interface.

MenuBar

The MenuBar class is a subclass of MenuComponent that provides the capability to attach a menu bar to a Frame object. It implements the MenuContainer interface.

MenuComponent

The MenuComponent class is a subclass of Object that is the base class for all other AWT menu-related classes. It implements the java.io.Serializable interface.

MenuItem

The MenuItem class is a subclass of MenuComponent that implements a menu item value that is selectable from a Menu object.

MenuShortcut

The MenuShortcut class is a subclass of Object that provides the capability to associate a keyboard accelerator with a MenuItem object. It implements the java.io.Serializable interface.

Panel

The Panel class is a subclass of Container that provides a rectangular container for other GUI components.

Point

The Point class is a subclass of java.awt.geom.Point2D that encapsulates a point in the xy-plane. It implements the java.io.Serializable interface.

Polygon

The Polygon class is a subclass of Object that is used to describe a mathematical polygon. It implements the Shape and java.io.Serializable interfaces.

PopupMenu

The PopupMenu class is a subclass of Menu that provides a menu that can be popped up at a specific location within a component.

PrintJob

The PrintJob class is a subclass of Object that is used to implement a system-specific printing request.

Rectangle

The Rectangle class is a subclass of java.awt.geom.Rectangle2D that encapsulates a mathematical rectangle. It implements the Shape and java.io.Serializable interfaces.

RenderingHints

The RenderingHints class is a subclass of Object that provides hints for rendering on a Graphics2D object. It implements the java.lang.Cloneable interface.

ScrollPane

The ScrollPane class is a subclass of Container that provides a combination of a panel and vertical and horizontal scrollbars.

Scrollbar

The Scrollbar class is a subclass of Component that provides a GUI scrollbar component. It implements the Adjustable interface.

SystemColor

The SystemColor class is a subclass of Color that is used to specify the color scheme used with GUI components. It implements the java.io.Serializable interface.

TextArea

The TextArea class is a subclass of TextComponent that provides a GUI text area control.

TextComponent

The TextComponent class is a subclass of Component that is the base class for TextField and TextArea.

TextField

The TextField class is a subclass of TextComponent that implements a GUI text input field.

TexturePaint

The TexturePaint class is a subclass of Object that provides the capability to fill a geometrical shape with a texture image. It implements the Paint interface.

Toolkit

The Toolkit class is a subclass of Object that provides access to implementation- specific AWT resources.

Window

The Window class is a subclass of Container that provides a basic window object.

Exceptions and Errors

AWTError

The AWTError class is a subclass of java.lang.Error that is thrown when a fundamental error occurs in the AWT operation.

AWTException

The AWTException class is a subclass of java.lang.Exception that signals the occurrence of an AWT-specific exception.

IllegalComponentStateException

The IllegalComponentStateException class is a subclass of java.lang.IllegalStateException that identifies that an AWT component is in the wrong state for a particular operation.

Package com.sun.java.accessibility

The com.sun.java.accessibility package provides seven classes and seven interfaces that support the use of assistive technologies for disabled users. It is covered in Chapter 9, "Creating Window Applications."

Interfaces

Accessible

The Accessible interface is implemented by all components that support accessibility. It defines the single getAccessibleContext() method to return an object that implements the AccessibleContext interface.

AccessibleAction

The AccessibleAction interface defines methods that can be used to determine which actions are supported by a component. It also provides methods for accessing these actions.

AccessibleComponent

The AccessibleComponent interface defines methods for controlling the behavior and display of GUI components that support assistive technologies.

AccessibleHypertext

The AccessibleHypertext interface extends AccessibleText and provides accessibility support for hypertext display.

AccessibleSelection

The AccessibleSelection interface provides support for determining which subcomponents of a GUI component have been selected and for controlling the selection status of those components.

AccessibleText

The AccessibleText interface provides constants and methods for use with GUI components that display text. It allows assistive technologies to control the content, attributes, and layout of displayed text.

AccessibleValue

The AccessibleValue interface is implemented by GUI components that support the selection of a numerical value from a range of values, such as a scrollbar. This interface provides methods for getting and setting the numerical value and for determining the range of values.

Classes

AccessibleBundle

The AccessibleBundle class is a subclass of Object that provides access to resource bundles and supports string conversions.

AccessibleContext

The AccessibleContext class is a core accessibility API class and provides access to other assistive technology objects. It defines the information that is used by all accessible objects and is subclassed by objects that implement assistive technologies. It is a subclass of Object.

AccessibleHyperlink

The AccessibleHyperlink class is a subclass of Object that provides accessibility support for hyperlinks. It implements the AccessibleAction interface.

AccessibleResourceBundle

The AccessibleResourceBundle class is a subclass of java.util.ListResourceBundle that implements a resource bundle for assistive technology applications. It provides localized accessibility properties for a particular locale.

AccessibleRole

The AccessibleRole class is a subclass of AccessibleBundle that provides constants that describe the role of an accessibility GUI component, such as LIST, MENU, and CHECK_BOX.

AccessibleState

The AccessibleState class is a subclass of AccessibleBundle that describes the state of an accessibility object. AccessibleState objects are contained in AccessibleStateSet objects. The AccessibleState class provides constants that define common object states, such as BUSY, CHECKED, and ENABLED.

AccessibleStateSet

The AccessibleStateSet class is a subclass of Object that implements a collection of AccessibleState objects. AccessibleStateSet objects are used to define the overall state of an accessibility object.

Exceptions and Errors

None.

Package java.awt.color

The java.awt.color package is part of the Java 2D API. It provides five classes that support the capability to work with different color models. The java.awt.color package is covered in Chapter 20, "Working with 2D and 3D Graphics."

Interfaces

None.

Classes

ColorSpace

The ColorSpace class is an abstract subclass of Object that specifies the color space used with other objects. It provides constants that define popular color spaces and methods for converting colors between color spaces.

ICC_ColorSpace

The ICC_ColorSpace class is a subclass of ColorSpace that provides a non-abstract implementation of the ColorSpace methods. It represents color spaces in accordance with the ICC Profile Format Specification, Version 3.4, August 15, 1997, from the International Color Consortium. For more information, refer to http://www.color.org.

ICC_Profile

The ICC_Profile class is a subclass of Object that provides a representation of color profile data for color spaces based on the ICC Profile Format Specification. Color profiles represent transformations from the color space of a device, such as a monitor, to a profile connection space, as defined by the ICC Profile Format Specification.

ICC_ProfileGray

The ICC_ProfileGray class is a subclass of ICC_Profile that supports color conversion to monochrome color spaces.

ICC_ProfileRGB

The ICC_ProfileRGB class is a subclass of ICC_Profile that supports color conversion between RGB and CIEXYZ color spaces.

Exceptions and Errors

CMMException

The CMMException class is a subclass of java.lang.RuntimeException that defines an exception that is thrown when the color model manager returns an error.

ProfileDataException

The ProfileDataException class is a subclass of java.lang.RuntimeException that defines an exception that is thrown when an error occurs in accessing or processing an ICC_Profile object.

Package java.awt.datatransfer

The java.awt.datatransfer package provides four classes and three interfaces that support clipboard operations. It is covered in Chapter 15, "Using the Clipboard."

Interfaces

ClipboardOwner

The ClipboardOwner interface defines the lostOwnership() method, which is invoked to notify an object that it has lost ownership of a clipboard. This interface is implemented by classes that copy data to a clipboard.

FlavorMap

The FlavorMap interface maps native types to MIME types.

Transferable

The Transferable interface defines methods that support the transfer of data via the clipboard or other mechanisms. It is implemented by classes that support clipboard- related data transfers.

Classes

Clipboard

The Clipboard class is a subclass of Object that provides access to system- and user-defined clipboards. It provides methods for getting and setting the contents of a clipboard and retrieving the name of a clipboard.

DataFlavor

The DataFlavor class is a subclass of Object that defines the types of data available for a transfer operation (such as those that take place via a clipboard). Flavors are implemented as MIME types. The DataFlavor class provides methods for reading and writing objects to be transferred and for accessing MIME type information. It implements the java.io.Serializable and java.lang.Cloneable interfaces.

StringSelection

The StringSelection class is a subclass of Object that supports the transfer of String objects as plain text. It provides methods for working with string-related data flavors. It implements the Transferable and ClipboardOwner interfaces.

SystemFlavorMap

The SystemFlavorMap class is a subclass of Object that provides a default implementation of the FlavorMap interface.

Exceptions and Errors

UnsupportedFlavorException

The UnsupportedFlavorException class is a subclass of java.lang.Exception that is used to signal that transferable data is not supported in a particular flavor.

Package java.awt.dnd

The java.awt.dnd package supports the new JDK 1.2 drag-and-drop capability. It contains 15 classes and four interfaces and is covered in Chapter 16, "Working with Drag and Drop."

Interfaces

Autoscroll

The Autoscroll interface provides methods that support automatic scrolling through GUI components in support of drag-and-drop operations.

DragGestureListener

The DragGestureListener interface extends the EventListener interface to handle events associated with the initiation of a drag-and-drop operation.

DragSourceListener

The DragSourceListener interface extends the java.util.EventListener interface to define methods that are implemented by objects that originate drag-and-drop operations. These methods track the state of drag-and-drop operations and enable feedback to be provided to the user.

DropTargetListener

The DropTargetListener interface extends the java.util.EventListener interface to define methods that are implemented by objects that are the target of drag-and-drop operations.

Classes

DnDConstants

The DnDConstants class is a subclass of Object that defines constants that are used in drag-and-drop operations.

DragGestureEvent

The DragGestureEvent class extends java.util.EventObject to signal the initiation of a drag-and-drop operation.

DragGestureRecognizer

The DragGestureRecognizer class is a subclass of Object that provides support for handling the occurrence of a DragGestureEvent.

DragSource

The DragSource class is a subclass of Object that implements the source originator of a drag-and-drop operation. It defines several java.awt.Cursor objects that define the cursor state during drag-and-drop. Its startDrag() method is used to initiate drag-and-drop.

DragSourceContext

The DragSourceContext class is a subclass of Object that is used to manage the source-side of drag-and-drop operations. It manages events associated with the drag source and implements the DragSourceListener interface.

DragSourceDragEvent

The DragSourceDragEvent class is a subclass of DragSourceEvent. It implements the event that is handled by a DragSourceListener during the dragging stage of a drag-and-drop operation.

DragSourceDropEvent

The DragSourceDropEvent class is a subclass of DragSourceEvent. It implements the event that is handled by a DragSourceListener during the dropping stage of a drag-and-drop operation.

DragSourceEvent

The DragSourceEvent class is a subclass of java.util.EventObject that is used as the base class for DragSourceDragEvent and DragSourceDropEvent.

DropTarget

The DropTarget class is a subclass of Object that is used to implement the target of a drag-and-drop operation. Objects of DropTarget are associated with components that function as drop targets. These objects are typically GUI components. DropTarget implements the DropTargetListener and java.io.Serializable interfaces.

DropTargetContext

The DropTargetContext class is a subclass of Object that is used to implement the context of a drop operation. Objects of this class are dynamically created when an object is dragged over a potential drop target. This class is used by the drop target to provide feedback to the user and to initiate the data transfer associated with the drag-and-drop operation.

DropTargetDragEvent

The DropTargetDragEvent class is a subclass of DropTargetEvent that informs DropTargetListener objects of the dragging state of a drag-and-drop operation.

DropTargetDropEvent

The DropTargetDropEvent class is a subclass of DropTargetEvent that informs DropTargetListener objects of the dropping state of a drag-and-drop operation.

DropTargetEvent

The DropTargetEvent class is a subclass of java.util.EventObject that serves as the base class for DropTargetDragEvent and DropTargetDropEvent.

MouseDragGestureRecognizer

The MouseDragGestureRecognizer class extends DragGestureRecognizer to provide mouse support. It implements the MouseListener and MouseMotionListener interfaces.

Exceptions and Errors

InvalidDnDOperationException

The InvalidDnDOperationException class is a subclass of java.lang.IllegalStateException that signals that a drag-and-drop operation cannot be carried out.

Package java.awt.event

The java.awt.event package provides the foundation for JDK 1.1-style event processing. It contains 21 classes and 13 interfaces and is covered in Chapter 6, "GUI Building."

Interfaces

ActionListener

The ActionListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle ActionEvent events.

AdjustmentListener

The AdjustmentListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle AdjustmentEvent events.

ComponentListener

The ComponentListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle ComponentEvent events.

ContainerListener

The ContainerListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle ContainerEvent events.

EventQueueListener

The EventQueueListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that monitor the event queue.

FocusListener

The FocusListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle FocusEvent events.

InputMethodListener

The InputMethodListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle InputMethodEvent events.

ItemListener

The ItemListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle Item events.

KeyListener

The KeyListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle KeyEvent events.

MouseListener

The MouseListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle MouseEvent events.

MouseMotionListener

The MouseMotionListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle MouseEvent events.

TextListener

The TextListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle TextEvent events.

WindowListener

The WindowListener interface extends the java.util.EventListener interface and defines methods that are implemented by classes that handle WindowEvent events.

Classes

ActionEvent

The ActionEvent class is a subclass of java.awt.AWTEvent that implements an event generated by user interface actions, such as clicking on a button or selecting a menu item.

AdjustmentEvent

The AdjustmentEvent class is a subclass of java.awt.AWTEvent that implements an event generated by scrolling actions.

ComponentAdapter

The ComponentAdapter class is a subclass of Object that provides a basic implementation of the ComponentListener interface.

ComponentEvent

The ComponentEvent class is a subclass of java.awt.AWTEvent that implements an event generated by changes to the position, focus, or sizing of a window component, or by a keyboard input or other mouse action.

ContainerAdapter

The ContainerAdapter class is a subclass of Object that provides a basic implementation of the ContainerListener interface.

ContainerEvent

The ContainerEvent class is a subclass of java.awt.ComponentEvent that implements an event generated by adding and removing components from a container.

FocusAdapter

The FocusAdapter class is a subclass of Object that provides a basic implementation of the FocusListener interface.

FocusEvent

The FocusEvent class is a subclass of ComponentEvent that implements an event generated by a change in the status of a component's input focus.

InputEvent

The InputEvent class is a subclass of ComponentEvent that is the base class for defining events generated by user keyboard and mouse actions.

InputMethodEvent

The InputMethodEvent class is a subclass of java.awt.AWTEvent that implements an event generated by changes to the text being entered via an input method.

InvocationEvent

The InvocationEvent class extends AWTEvent to support multithreading operations. It implements the java.awt.ActionEvent interface.

ItemEvent

The ItemEvent class is a subclass of AWTEvent that implements an event generated by a component state change, such as selecting an item from a list.

KeyAdapter

The KeyAdapter class is a subclass of Object that provides a basic implementation of the KeyListener interface.

KeyEvent

The KeyEvent class is a subclass of InputEvent that implements an event generated by user keyboard actions.

MouseAdapter

The MouseAdapter class is a subclass of Object that provides a basic implementation of the MouseListener interface.

MouseEvent

The MouseEvent class is a subclass of InputEvent that implements an event generated by low-level mouse actions.

MouseMotionAdapter

The MouseMotionAdapter class is a subclass of Object that provides a basic implementation of the MouseMotionListener interface.

PaintEvent

The PaintEvent class is a subclass of ComponentEvent that implements an event generated by the painting/repainting of a window.

TextEvent

The TextEvent class is a subclass of java.awt.AWTEvent that implements an event generated by text-related events, such as changing the value of a text field.

WindowAdapter

The WindowAdapter class is a subclass of Object that provides a basic implementation of the WindowListener interface.

WindowEvent

The WindowEvent class is a subclass of ComponentEvent that implements an event generated by events such as the opening, closing, and minimizing of a window.

Exceptions and Errors

None.

Package java.awt.font

The java.awt.font package is new to JDK 1.2. It provides 13 classes and two interfaces that support advanced font capabilities. The java.awt.font package is covered in Chapter 20.

Interfaces

MultipleMaster

The MultipleMaster interface defines methods that are implemented by classes that support Type 1 Multiple Master fonts.

OpenType

The OpenType interface defines methods that are implemented by classes that support Open Type and True Type fonts.

Classes

FontRenderContext

The FontRenderContext class extends Object to provide support for context-based font rendering.

GlyphJustificationInfo

The GlyphJustificationInfo class is a subclass of Object that provides information about the justification of a glyph.

GlyphMetrics

The GlyphMetrics class is a subclass of Object that defines the properties of a single glyph.

GlyphVector

The GlyphVector class is a subclass of Object that represents text as a collection of glyph codes. It implements the java.lang.Cloneable interface.

GraphicAttribute

The GraphicAttribute class is a subclass of Object that is used to identify a graphic that is embedded in text.

ImageGraphicAttribute

The ImageGraphicAttribute class is a subclass of GraphicAttribute that is used to identify an image that is embedded in text.

LineBreakMeasurer

The LineBreakMeasurer class is a subclass of Object that organizes lines of text according to a wrapping width.

LineMetrics

The LineMetrics class is a subclass of Object that provides support for text layout.

ShapeGraphicAttribute

The ShapeGraphicAttribute class is a subclass of GraphicAttribute that is used to identify a Shape object that is embedded in text.

TextAttribute

The TextAttribute class is a subclass of java.text.AttributedCharacterIterator.Attribute that maintains a set of attributes about text.

TextHitInfo

The TextHitInfo class is a subclass of Object that is used to specify a position within text.

TextLayout

The TextLayout class is a subclass of Object that provides support for laying out styled text. It implements the java.lang.Cloneable interface.

TextLayout.CaretPolicy

The TextLayout.CaretPolicy class is an inner class of TextLayout that specifies how the caret should be used with a TextLayout object. It is a subclass of Object.

TextLine.TextLineMetrics

The TextLine.TextLineMetrics class is a subclass of Object that supports the layout of lines of text.

TransformAttribute

The TransformAttribute class is a subclass of Object that allows transforms to be used as text attributes. It implements the java.io.Serializable interface.

Exceptions and Errors

None.

Package java.awt.geom

The java.awt.geom package is a new JDK 1.2 package that is part of the Java 2D API. It provides 30 classes and one interface that support standard geometrical objects and transformations. The java.awt.geom package is covered in Chapter 20.

Interfaces

PathIterator

The PathIterator interface provides constants and methods for iterating over the points in a path.

Classes

AffineTransform

The AffineTransform class is a subclass of Object that provides the capability to compute two-dimensional affine transformations. It implements the java.lang.Cloneable interface.

Arc2D

The Arc2D class is a subclass of RectangularShape that defines an arc within a bounding rectangle.

Arc2D.Double

The Arc2D.Double class is an inner class of Arc2D that specifies the arc in double precision.

Arc2D.Float

The Arc2D.Float class is an inner class of Arc2D that specifies the arc in float precision.

Area

The Area class is a subclass of Object that encapsulates an arbitrary 2D area. It implements the java.awt.Shape and java.lang.Cloneable interfaces.

CubicCurve2D

The CubicCurve2D class is a subclass of Object that encapsulates a cubic curve.

CubicCurve2D.Double

The CubicCurve2D.Double class is an inner class of CubicCurve2D that specifies the curve in double precision.

CubicCurve2D.Float

The CubicCurve2D.Float class is an inner class of CubicCurve2D that specifies the curve in float precision.

Dimension2D

The Dimension2D class is a subclass of Object that encapsulates width and height dimensions. It implements the java.lang.Cloneable interface.

Ellipse2D

The Ellipse2D class is a subclass of RectangularShape that represents an ellipse.

Ellipse2D.Double

The Ellipse2D.Double class is an inner class of Ellipse2D that specifies the ellipse in double precision.

Ellipse2D.Float

The Ellipse2D.Float class is an inner class of Ellipse2D that specifies the ellipse in float precision.

FlatteningPathIterator

The FlatteningPathIterator class is a subclass of Object that is used to flatten a path. It implements the PathIterator interface.

GeneralPath

The GeneralPath class is a subclass of Object that represents a general 2D path. It implements the java.awt.Shape and java.lang.Cloneable interfaces.

Line2D

The Line2D class is a subclass of Object that encapsulates a 2D line. It implements the java.awt.Shape and java.lang.Cloneable interfaces.

Line2D.Double

The Line2D.Double class is an inner class of Line2D that specifies the line in double precision.

Line2D.Float

The Line2D.Float class is an inner class of Line2D that specifies the line in float precision.

Point2D

The Point2D class is a subclass of Object that represents a 2D point. It implements the java.lang.Cloneable interface.

Point2D.Double

The Point2D.Double class is an inner class of Point2D that specifies the point in double precision.

Point2D.Float

The Point2D.Float class is an inner class of Point2D that specifies the point in float precision.

QuadCurve2D

The QuadCurve2D class is a subclass of Object that encapsulates a 2D quadratic curve. It implements the java.awt.Shape and java.lang.Cloneable interfaces.

QuadCurve2D.Double

The QuadCurve2D.Double class is an inner class of QuadCurve2D that specifies the curve using a double value.

QuadCurve2D.Float

The QuadCurve2D.Float class is an inner class of QuadCurve2D that specifies the curve using a float value.

Rectangle2D

The Rectangle2D class is a subclass of RectangularShape that encapsulates a 2D rectangle.

Rectangle2D.Double

The Rectangle2D.Double class is an inner class of Rectangle2D that specifies the rectangle using double values.

Rectangle2D.Float

The Rectangle2D.Float class is an inner class of Rectangle2D that specifies the rectangle using float values.

RectangularShape

The RectangularShape class is a subclass of Object that is the base class for other rectangular shapes. It implements the java.awt.Shape and java.lang.Cloneable interfaces.

RoundRectangle2D

The RoundRectangle2D class is a subclass of RectangularShape that defines a rectangle with rounded corners.

RoundRectangle2D.Double

The RoundRectangle2D.Double class is an inner class of RoundRectangle2D that specifies the rectangle using double values.

RoundRectangle2D.Float

The RoundRectangle2D.Float class is an inner class of RoundRectangle2D that specifies the rectangle using float values.

Exceptions and Errors

IllegalPathStateException

The IllegalPathStateException class is a subclass of java.lang.RuntimeException that signals an attempt to perform an operation on a path when it is in the incorrect state for that operation.

NoninvertibleTransformException

The NoninvertibleTransformException class is a subclass of java.lang.Exception indicating that an operation requiring an invertible transform was performed using a noninvertible transform.

Package java.awt.im

The java.awt.im package is a new package that supports the Input Method API. It contains two classes and one interface. The Input Method API is covered in Chapter 19, "Internationalization."

Interfaces

InputMethodRequests

The InputMethodRequests interface defines methods that must be implemented by an input handling class in order to function within the Input Method API. These methods are used to obtain information about the text being entered by the user.

Classes

InputContext

The InputContext class is a subclass of Object that is used to implement the connection between text editing components and input methods. It does this by generating events that are handled by the text editing components and input methods.

InputMethodHighlight

The InputMethodHighlight class is a subclass of Object that supports the highlighting and conversion of text that is input via an input method.

Exceptions and Errors

None.

Package java.awt.image

The java.awt.image package is a Java 2D API package that supports image processing. It provides 38 classes and 8 interfaces that support common image filters. The java.awt.image package is covered in Chapter 20.

Interfaces

BufferedImageOp

The BufferedImageOp interface defines methods for classes that perform operations on BufferedImage objects.

ImageConsumer

The ImageConsumer interface defines methods for classes that receive image data from ImageProducer objects.

ImageObserver

The ImageObserver interface defines methods for classes that observe the loading/construction of Image objects.

ImageProducer

The ImageProducer interface defines methods for classes that produce image data for use by ImageConsumer objects.

RasterOp

The RasterOp interface is implemented by classes that support operations on Raster objects.

RenderedImage

The RenderedImage interface is implemented by classes that produce image data in the form of Raster objects.

TileObserver

The TileObserver interface defines methods for handling events generated by changes to tiles of an image.

WritableRenderedImage

The WritableRenderedImage interface defines methods for classes that implement images that can be overwritten.

Classes

AffineTransformOp

The AffineTransformOp class is a subclass of Object that performs a 2D affine transform between two images. It implements the BufferedImageOp and RasterOp interfaces.

AreaAveragingScaleFilter

The AreaAveragingScaleFilter class is a subclass of ReplicateScaleFilter that supports image resizing using an area-averaging algorithm.

BandCombineOp

The BandCombineOp class is a subclass of Object that performs operations that combine bands in a Raster object. It implements the RasterOp interface.

BandedSampleModel

The BandedSampleModel class is a subclass of SampleModel that provides advanced band control.

BufferedImage

The BufferedImage class is a subclass of Image that provides access to buffered image data. It implements the WritableRenderedImage interface.

BufferedImageFilter

The BufferedImageFilter class is a subclass of ImageFilter that supports BufferedImage objects. It implements the RasterImageConsumer and java.lang.Cloneable interfaces.

ByteLookupTable

The ByteLookupTable class is a subclass of LookupTable that supports byte data.

ColorConvertOp

The ColorConvertOp class is a subclass of Object that supports pixel-by-pixel color conversions. It implements the BufferedImageOp and RasterOp interfaces.

ColorModel

The ColorModel class is a subclass of Object that provides the base class for the development of a variety of color models. It implements the Transparency interface.

ComponentColorModel

The ComponentColorModel class is a subclass of ColorModel that provides support for a variety of color spaces.

ComponentSampleModel

The ComponentSampleModel class is a subclass of SampleModel that supports the separate storage of color component data.

ConvolveOp

The ConvolveOp class is a subclass of Object that supports convolution operations on image data. It implements the BufferedImageOp and RasterOp interfaces.

CropImageFilter

The CropImageFilter class is a subclass of ImageFilter that supports image cropping.

DataBuffer

The DataBuffer class is a subclass of Object that supports the buffering of image data.

DataBufferByte

The DataBufferByte class is a subclass of DataBuffer that supports byte-oriented image buffering.

DataBufferInt

The DataBufferInt class is a subclass of DataBuffer that supports int-oriented image buffering.

DataBufferShort

The DataBufferShort class is a subclass of DataBuffer that supports short-oriented image buffering.

DataBufferUShort

The DataBufferUShort class is a subclass of DataBuffer that supports unsigned short image buffering.

DirectColorModel

The DirectColorModel class is a subclass of PackedColorModel that supports direct RGB pixel colors.

FilteredImageSource

The FilteredImageSource class is a subclass of Object that combines an ImageProducer with an ImageFilter. It implements the ImageProducer interface.

ImageFilter

The ImageFilter class is a subclass of Object that supports general image filtering operations. It implements the ImageConsumer and java.lang.Cloneable interfaces.

IndexColorModel

The IndexColorModel class is a subclass of ColorModel that represents pixels as indices into a color map.

Kernel

The Kernel class is a subclass of Object that defines matrices for filtering operations.

LookupOp

The LookupOp class is a subclass of Object that supports image lookup operations. It implements the BufferedImageOp and RasterOp interfaces.

LookupTable

The LookupTable class is a subclass of Object that defines a lookup table for use in imaging operations.

MemoryImageSource

The MemoryImageSource class is a subclass of Object that provides image data from a memory source. It implements the ImageProducer interface.

MultiPixelPackedSampleModel

The MultiPixelPackedSampleModel class is a subclass of SampleModel that supports the processing of multiple one-sample pixels.

PackedColorModel

The PackedColorModel class is a subclass of ColorModel that represents color values directly within pixel data.

PixelGrabber

The PixelGrabber class is a subclass of Object that is used to retrieve a subset of the pixels of an image. It implements the ImageConsumer interface.

PixelInterleavedSampleModel

The PixelInterleavedSampleModel class is a subclass of ComponentSampleModel that supports the interleaved pixel color values.

Raster

The Raster class is a subclass of Object that implements a rectangular array of pixels.

ReplicateScaleFilter

The ReplicateScaleFilter class is a subclass of ImageFilter that implements a simple scaling algorithm.

RescaleOp

The RescaleOp class is a subclass of Object that supports image-rescaling operations. It implements the BufferedImageOp and RasterOp interfaces.

RGBImageFilter

The RGBImageFilter class is a subclass of ImageFilter that supports the filtering of RGB color values.

SampleModel

The SampleModel class is a subclass of Object that provides a base class for developing approaches to sampling image data.

ShortLookupTable

The ShortLookupTable class is a subclass of LookupTable that supports short-valued data.

SinglePixelPackedSampleModel

The SinglePixelPackedSampleModel class is a subclass of SampleModel that packs single-pixel samples in a single data element.

WritableRaster

The WritableRaster class is a subclass of Raster that provides support for image updating.

Exceptions and Errors

ImagingOpException

The ImagingOpException class is a subclass of java.lang.RuntimeException that indicates errors encountered during filtering operations.

RasterFormatException

The RasterFormatException class is a subclass of java.lang.RuntimeException that indicates format errors in Raster objects.

Package com.sun.java.image. codec.jpeg

The com.sun.java.image.codec.jpeg package provides three classes and four interfaces that support JPEG image compression. It is covered in Chapter 20.

Interfaces

JPEGDecodeParam

The JPEGDecodeParam interface provides access to parameters needed for JPEG image decoding.

JPEGEncodeParam

The JPEGEncodeParam interface provides access to parameters needed for JPEG image encoding.

JPEGImageDecoder

The JPEGImageDecoder interface defines methods to be implemented by JPEG image decoding classes.

JPEGImageEncoder

The JPEGImageEncoder interface defines methods to be implemented by JPEG image encoding classes.

Classes

JPEGHuffmanTable

The JPEGHuffmanTable class is a subclass of Object that implements a Huffman table used in JPEG encoding/decoding.

JPEGCodec

The JPEGCodec class is a subclass of Object that provides a factory for JPEG image encoders and decoders.

JPEGQTable

The JPEGQTable class is a subclass of Object that implements a JPEG quantization table.

Exceptions and Errors

ImageFormatException

The ImageFormatException class is a subclass of java.lang.RuntimeException that is used to signal that an image formatting error has been encountered.

TruncatedFileException

The TruncatedFileException is a subclass of java.lang.RuntimeException that indicates that a truncated image file was encountered.

Package java.awt.image.renderable

The java.awt.image.renderable package provides four classes and three interfaces that support image rendering. It is covered in Chapter 20.

Interfaces

ContextualRenderedImageFactory

The ContextualRenderedImageFactory interface extends the RenderedImageFactory interface to provide methods that support rendering-independent operations. It is implemented by subclasses of RenderableImageOp.

RenderableImage

The RenderableImage interface provides a common set of methods for rendering- independent images. These methods support image operations that are independent of any specific image rendering.

RenderedImageFactory

The RenderedImageFactory interface defines the create() method for use by classes that provide different image renderings, depending on a particular set of rendering parameters.

Classes

ParameterBlock

The ParameterBlock class is a subclass of Object that provides a common set of parameters for use with RenderableImageOp objects. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

RenderContext

The RenderContext class is a subclass of Object that specifies contextual information for rendering a RenderableImage object. This contextual information includes the area of interest, transforms, and rendering hints. It implements the java.lang.Cloneable interface.

RenderableImageOp

The RenderableImageOp class is a subclass of Object that supports context-specific image rendering. It implements the RenderableImage interface.

RenderableImageProducer

The RenderableImageProducer class is a subclass of Object that supports the asynchronous production of a RenderableImage object. It implements the java.awt.image.ImageProducer and java.lang.Runnable interfaces.

Exceptions and Errors

None.

Package java.awt.print

The java.awt.print package is a Java 2D API package that supports the printing of text and graphics. It contains four classes and three interfaces. This package is covered in Chapter 18, "Printing."

Interfaces

PrinterGraphics

The PrinterGraphics interface defines the getPrinterJob method to provide access to current printer jobs.

Pageable

The Pageable interface specifies methods used for objects that represent a set of pages to be printed. These methods retrieve the number of pages to be printed and a specific page from within the page list.

Printable

The Printable interface defines the print() method for printing a page on a Graphics object.

Classes

Book

The Book class is a subclass of Object that maintains a list of pages to be printed. It provides methods for adding and managing pages. It implements the Pageable interface.

PageFormat

The PageFormat class is a subclass of Object that specifies the size and orientation of a page to be printed. It provides methods for setting the Paper object to be used and the page orientation. It also provides methods for switching the drawing space between portrait and landscape mode and for retrieving the characteristics of the drawing area. It implements the java.lang.Cloneable interface.

Paper

The Paper class is a subclass of Object that specifies the physical characteristics of the paper used for printing. It provides methods for getting and setting the paper size and the drawing area.

PrinterJob

The PrinterJob class is a subclass of Object that initiates, manages, and controls a printing request. It provides methods for printing Pageable objects and specifying print properties.

Exceptions and Errors

PrinterException

The PrinterException class is a subclass of java.lang.Exception that indicates errors in a print operation.

PrinterAbortException

The PrinterAbortException class is a subclass of PrinterException that indicates errors that cause the aborting of a print operation.

PrinterIOException

The PrinterIOException class is a subclass of PrinterException that indicates I/O errors in a print operation.

Package com.sun.java.swing

The com.sun.java.swing package is the core Swing package. It contains 90 classes and 23 interfaces that provide the foundation for the Swing API. This package is introduced in Chapter 12, "Introducing Swing."

Interfaces

Action

The Action interface extends the java.awt.ActionListener interface defines methods for defining, enabling, and disabling a unit of program operation.

BoundedRangeModel

The BoundedRangeModel interface defines a data model used for range-bounded components, such as sliders and progress bars.

ButtonModel

The ButtonModel interface extends the java.awt.ItemSelectable interface to provide methods that define the state of a button.

CellEditor

The CellEditor interface defines methods that are used to edit the cell values of GUI components, such as tables.

ComboBoxEditor

The ComboBoxEditor interface defines methods for editing combo boxes.

ComboBoxModel

The ComboBoxModel interface extends the ListModel interface and defines methods for supporting the data model of a combo box.

DesktopManager

The DesktopManager interface provides methods that are implemented by classes that support a Java-based desktop.

Icon

The Icon interface defines methods that are implemented by classes that provide desktop and application icons.

JComboBox.KeySelectionManager

The JComboBox.KeySelectionManager interface defines a key for selecting items from a combo box.

ListCellRenderer

The ListCellRenderer interface defines methods for painting the cells in a JList object.

ListModel

The ListModel interface defines methods that support the data model for a list.

ListSelectionModel

The ListSelectionModel interface defines methods for selecting elements from a list.

MenuElement

The MenuElement interface defines methods that are implemented by items that are placed in a menu.

MutableComboBoxModel

The MutableComboBoxModel interface extends the ComboBoxModel interface and defines methods for updating the data model of a combo box.

Renderer

The Renderer interface defines methods for obtaining access to and setting the value of GUI components.

RootPaneContainer

The RootPaneContainer interface defines methods that are implemented by top-level window components.

ScrollPaneConstants

The ScrollPaneConstants interface defines constants that are used by scrollable pane classes.

Scrollable

The Scrollable interface defines methods that are implemented by scrollable container classes.

SingleSelectionModel

The SingleSelectionModel interface defines methods for selecting a single item from a list of items.

SwingConstants

The SwingConstants interface defines constants for laying out GUI components.

UIDefaults.ActiveValue

The UIDefaults.ActiveValue interface supports an active (preset) approach to defining user interface default values.

UIDefaults.LazyValue

The UIDefaults.LazyValue interface supports a lazy (as-needed) approach to defining user interface default values.

WindowConstants

The WindowConstants interface defines constants that are used in window operations.

Classes

AbstractAction

The AbstractAction class is a subclass of Object that provides a default implementation of the Action interface. It also implements the java.lang.Cloneable and java.io.Serializable interfaces.

AbstractButton

The AbstractButton class is a subclass of JComponent that serves as a base class for developing other JFC buttons. It implements the SwingConstants and java.awt.ItemSelectable interfaces.

AbstractListModel

The AbstractListModel class is a subclass of Object that provides an abstract data model for list-related classes. It implements the ListModel and java.io.Serializable interfaces.

BorderFactory

The BorderFactory class is a subclass of Object that provides support for creating Border objects.

Box

The Box class is a subclass of java.awt.Container that lays out components in a BoxLayout. It implements the com.sun.java.accessibility.Accessible interface.

Box.Filler

The Box.Filler class is an inner class of Box that supports the layout of Box objects. It is a subclass of java.awt.Component.

BoxLayout

The BoxLayout class is a subclass of Object that supports the layout of containers in a box-like, top-to-bottom, left-to-right fashion. It implements the java.awt.LayoutManager2 and java.io.Serializable interfaces.

ButtonGroup

The ButtonGroup class is a subclass of Object that supports the development of radio button-like button groups in which only one button in the group can be selected at a time. It implements the java.io.Serializable interface.

CellRendererPane

The CellRendererPane class is a subclass of java.awt.Container that supports the organization of cell-oriented components, such as lists and tables. It implements the com.sun.java.accessibility.Accessible interface.

DebugGraphics

The DebugGraphics class is a subclass of java.awt.Graphics that provides debugging support.

DefaultBoundedRangeModel

The DefaultBoundedRangeModel class is a subclass of Object that provides a default implementation of the BoundedRangeModel interface. It also implements the java.io.Serializable interface.

DefaultButtonModel

The DefaultButtonModel class is a subclass of Object that provides a default implementation of the ButtonModel interface. It also implements the java.io.Serializable interface.

DefaultCellEditor

The DefaultCellEditor class is a subclass of Object that provides a default implementation of the com.sun.java.swing.table.TableCellEditor and com.sun.java.swing.tree.TreeCellEditor interfaces. It also implements the java.io.Serializable interface.

DefaultComboBoxModel

The DefaultComboBoxModel class is a subclass of AbstractListModel and implements the MutableComboBoxModel and java.io.Serializable interfaces.

DefaultDesktopManager

The DefaultDesktopManager class is a subclass of Object that provides a default implementation of the DesktopManager interface.

DefaultFocusManager

The DefaultFocusManager class is a subclass of FocusManager that provides support for accessing the components governed by the focus manager.

DefaultListModel

The DefaultListModel class is a subclass of AbstractListModel that provides support for managing the addition and deletion of list elements.

DefaultListSelectionModel

The DefaultListSelectionModel class is a subclass of Object that provides a default implementation of the ListSelectionModel interface. It also implements the java.lang.Cloneable and java.io.Serializable interfaces.

DefaultSingleSelectionModel

The DefaultSingleSelectionModel class is a subclass of Object that provides a default implementation of the SingleSelectionModel interface. It also implements the java.io.Serializable interface.

FocusManager

The FocusManager class is a subclass of Object that is used to manage the current input focus.

GrayFilter

The GrayFilter class is a subclass of java.awt.image.RGBImageFilter that provides a grayscale rendering of an image.

ImageIcon

The ImageIcon class is a subclass of Object that provides a default implementation of the Icon interface. It also implements the java.io.Serializable interface.

JApplet

The JApplet class is a subclass of java.applet.Applet that provides Swing support. It implements the com.sun.java.accessibility.Accessible and RootPaneContainer interfaces.

JButton

The JButton class is a subclass of AbstractButton that provides a Swing pushbutton. It implements the java.awt.accessibility.Accessible interface.

JCheckBox

The JCheckBox class is a subclass of JToggleButton that provides a Swing checkbox. It implements the com.sun.java.accessibility.Accessible interface.

JCheckBoxMenuItem

The JCheckBoxMenuItem class is a subclass of JMenuItem that implements a checkbox that can be used as a menu item. It implements the SwingConstants and com.sun.java.accessibility.Accessible interfaces.

JComboBox

The JComboBox class is a subclass of JComponent that provides a combo box GUI component. It implements the java.awt.ItemSelectable, java.awt.event.ActionListener, com.sun.java.swing.event.ListDataListener, and com.sun.java.accessibility.Accessible interfaces.

JComponent

The JComponent class is a subclass of java.awt.Container that is the base class for all Swing components. It implements the java.io.Serializable interface.

JDesktopPane

The JDesktopPane class is a subclass of JLayeredPane that supports the implementation of a desktop manager. It implements the java.awt.accessibility.Accessible interface.

JDialog

The JDialog class is a subclass of java.awt.Dialog that provides a Swing dialog box. It implements the RootPaneContainer, WindowConstants, and com.sun.java.accessibility.Accessible interface.

JEditorPane

The JEditorPane class is a subclass of JTextComponent that supports text editing.

JFrame

The JFrame class is a subclass of java.awt.Frame that adds Swing support. It implements the RootPaneContainer, WindowConstants, and com.sun.java.accessibility.Accessible interfaces.

JInternalFrame

The JInternalFrame class is a subclass of JComponent that provides a frame that can be used within a JDesktopPane object. It implements the RootPaneContainer, WindowConstants, com.sun.java.accessibility.Accessible, java.awt.event.ComponentListener, java.awt.event.MouseListener, and java.awt.event.MouseMotionListener interfaces.

JInternalFrame.JDesktopIcon

The JInternalFrame.JDesktopIcon class is an inner class of JInternalFrame that provides an icon for use with the JInternalFrame object. It is a subclass of JComponent and implements the com.sun.java.accessibility.Accessible interface.

JLabel

The JLabel class is a subclass of JComponent that provides a Swing label (text or image). It implements the SwingConstants and com.sun.java.accessibility.Accessible interfaces.

JLayeredPane

The JLayeredPane class is a subclass of JComponent that provides a multi-layered pane. It implements the com.sun.java.accessibility.Accessible interface.

JList

The JList class is a subclass of JComponent that provides a basic list component. It implements the Scrollable and com.sun.java.accessibility.Accessible interfaces.

JMenu

The JMenu class is a subclass of JMenuItem that provides a Swing menu. It implements the MenuElement and com.sun.java.accessibility.Accessible interfaces.

JMenuBar

The JMenuBar class is a subclass of JComponent that provides a Swing menu bar. It implements the MenuElement and com.sun.java.accessibility.Accessible interfaces.

JMenuItem

The JMenuItem class is a subclass of AbstractButton that provides a Swing menu item. It implements the MenuElement and com.sun.java.accessibility.Accessible interfaces.

JOptionPane

The JOptionPane class is a subclass of JComponent that provides support for option dialog boxes.

JPanel

The JPanel class is a subclass of JComponent that provides a generic Swing panel. It implements the com.sun.java.accessibility.Accessible interface.

JPasswordField

The JPasswordField class is a subclass of JTextField that provides the capability to enter a password without it being displayed.

JPopupMenu

The JPopupMenu class is a subclass of JComponent that provides a popup menu capability. It implements the com.sun.java.accessibility.Accessible and MenuElement interfaces.

JProgressBar

The JProgressBar class is a subclass of JComponent that provides a vertical or horizontal progress bar. It implements the SwingConstants and com.sun.java.accessibility.Accessible interfaces.

JRadioButton

The JRadioButton class is a subclass of JToggleButton that provides a basic radio button. It implements the com.sun.java.accessibility.Accessible interface.

JRadioButtonMenuItem

The JRadioButtonMenuItem class is a subclass of JMenuItemu that can be used as a menu item. It implements the com.sun.java.accessibility.Accessible interface.

JRootPane

The JRootPane class is a subclass of JComponent that provides the root pane for window container operations. It implements the com.sun.java.accessibility.Accessible interface.

JScrollBar

The JScrollBar class is a subclass of JComponent that provides a basic scrollbar. It implements the java.awt.Adjustible and com.sun.java.accessibility.Accessible interfaces.

JScrollPane

The JScrollPane class is a subclass of JComponent that provides a scrollable panel. It implements the ScrollPaneConstants and com.sun.java.accessibility.Accessible interfaces.

JSeparator

The JSeparator class is a subclass of JComponent that provides a menu separator. It implements the com.sun.java.accessibility.Accessible interface.

JSlider

The JSlider class is a subclass of JComponent that provides a slider control. It implements the SwingConstants and com.sun.java.accessibility.Accessible interfaces.

JSplitPane

The JSplitPane class is a subclass of JComponent that is used to split exactly two components. It implements the com.sun.java.accessibility.Accessible interface.

JTabbedPane

The JTabbedPane class is a subclass of JComponent that provides a tabbed multi-layer pane. It implements the SwingConstants, java.io.Serializable, and com.sun.java.accessibility.Accessible interfaces.

JTable

The JTable class is a subclass of JComponent that provides a basic table implementation. It implements the Scrollable, com.sun.java.accessibility.Accessible, com.sun.java.swing.event.TableModelListener, com.sun.java.swing.event.TableColumnModelListener, com.sun.java.swing.event.ListSelectionListener, and com.sun.java.swing.event.CellEditorListener interfaces.

JTextArea

The JTextArea class is a subclass of JTextComponent that provides a Swing text area component.

JTextField

The JTextField class is a subclass of JTextComponent that provides a Swing text field. It implements the SwingConstants interface.

JTextPane

The JTextPane class is a subclass of JEditorPane that supports styled text.

JToggleButton

The JToggleButton class is a subclass of AbstractButton that supports a two-state button. It implements the com.sun.java.accessibility.Accessible interface.

JToggleButton.ToggleButtonModel

The JToggleButton.ToggleButtonModel class is an inner class of JToggleButton that supports button configuration. It is a subclass of DefaultButtonModel.

JToolBar

The JToolBar class is a subclass of JComponent that provides a basic tool bar. It implements the com.sun.java.accessibility.Accessible interface.

JToolBar.Separator

The JToolBar.Separator class is an inner class of JToolBar that acts as a toolbar separator. It is a subclass of java.awt.Component.

JToolTip

The JToolTip class is a subclass of JComponent that provides a popup ToolTip. It implements the com.sun.java.accessibility.Accessible interface.

JTree

The JTree class is a subclass of JComponent that provides a basic tree component. It implements the Scrollable and com.sun.java.accessibility.Accessible interfaces.

JTree.DynamicUtilTreeNode

The JTree.DynamicUtilTreeNode class is an inner class of JTree that supports dynamic tree node management. It is a subclass of DefaultMutableTreeNode.

JTree.EmptySelectionModel

The JTree.EmptySelectionModel class is an inner class of JTree that supports tree selection. It is a subclass of DefaultTreeSelectionModel.

JViewport

The JViewport class is a subclass of JComponent that acts as a porthole for viewing displayed information. It implements the com.sun.java.accessibility.Accessible interface.

JWindow

The JWindow class is a subclass of java.awt.Window that provides Swing support. It implements the RootPaneContainer and com.sun.java.accessibility.Accessible interfaces.

KeyStroke

The KeyStroke class is a subclass of Object that implements a user-typed keystroke. It implements the java.io.Serializable interface.

LookAndFeel

The LookAndFeel class is a subclass of Object that supports pluggable look and feel.

MenuSelectionManager

The MenuSelectionManager class is a subclass of Object that supports the management of menu selections.

OverlayLayout

The OverlayLayout class is a subclass of Object that supports overlay-type container layout. It implements the java.awt.LayoutManager2 and java.io.Serializable interfaces.

ProgressMonitor

The ProgressMonitor class is a subclass of Object that supports the monitoring of an operation in progress.

ProgressMonitorInputStream

The ProgressMonitorInputStream class is a subclass of java.io.FilterInputStream that supports the monitoring of data that is read from an input stream.

RepaintManager

The RepaintManager class is a subclass of Object that supports the repainting of JComponent objects.

ScrollPaneLayout

The ScrollPaneLayout class is a subclass of Object that is used to lay out a JScrollPane object. It implements the ScrollPaneConstants, java.awt.LayoutManager, and java.io.Serializable interfaces.

SizeRequirements

The SizeRequirements class is a subclass of Object that provides information used by layout managers. It implements the java.io.Serializable interface.

SwingUtilities

The SwingUtilities class is a subclass of Object that provides general static methods that are used by Swing components. It implements the SwingConstants interface.

Timer

The Timer class is a subclass of Object that provides a timer/event generator. It implements the java.io.Serializable interface.

ToolTipManager

The ToolTipManager class is a subclass of java.awt.event.MouseAdapter that is used to provide ToolTip support. It implements the java.awt.event.MouseMotionListener interface.

UIDefaults

The UIDefaults class is a subclass of java.util.Hashtable that supports the storage of user interface parameter information.

UIManager

The UIManager class is a subclass of Object that supports look and feel management. It implements the java.io.Serializable interface.

UIManager.LookAndFeelInfo

The UIManager.LookAndFeelInfo class is an inner class of UIManager that supports the storage of look and feel information. It is a subclass of Object.

ViewportLayout

The ViewportLayout class is a subclass of Object that supports the layout of JViewport objects. It implements the java.awt.LayoutManager and java.io.Serializable interfaces.

Exceptions and Errors

UnsupportedLookAndFeelException

The UnsupportedLookAndFeelException class is a subclass of java.lang.Exception that signals that an unsupported look and feel has been selected.

Package com.sun.java.swing.border

The com.sun.java.swing.border package provides nine classes and one interface that implement borders and border styles. It is covered in Chapter 13, "Working with Swing Components."

Interfaces

Border

The Border interface provides methods for rendering a border around a Swing component.

Classes

AbstractBorder

The AbstractBorder class is a subclass of Object that provides an abstract base class used to implement other com.sun.java.swing.border classes. It implements the Border and java.io.Serializable interfaces.

BevelBorder

The BevelBorder class is a subclass of AbstractBorder that implements a two-line bevel border.

CompoundBorder

The CompoundBorder class is a subclass of AbstractBorder that combines two Border objects into a single border.

EmptyBorder

The EmptyBorder class is a subclass of AbstractBorder that implements an empty, spaceless border. It implements the java.io.Serializable interface.

EtchedBorder

The EtchedBorder class is a subclass of AbstractBorder that implements an etched border. The border can be etched either in or out.

LineBorder

The LineBorder class is a subclass of AbstractBorder that draws a line border around an object. The line thickness and color of the border may be specified.

MatteBorder

The MatteBorder class is a subclass of EmptyBorder that implements a matte-like border. The border can consist of a specified color or a com.sun.java.swing.Icon object.

SoftBevelBorder

The SoftBevelBorder class is a subclass of BevelBorder that implements a bevel border with softened (rounded) corners. The beveling may be raised or lowered.

TitledBorder

The TitledBorder class is a subclass of AbstractBorder that specifies a text tile at a specified position on the border.

Exceptions and Errors

None.

Package com.sun.java.swing.event

The com.sun.java.swing.event package provides 23 classes and 23 interfaces that implement Swing events and event listeners. It is covered in Chapters 12 and 13.

Interfaces

AncestorListener

The AncestorListener interface extends the java.util.EventListener interface to support handling of the AncestorEvent.

CaretListener

The CaretListener interface extends the java.util.EventListener interface to support handling of the CaretEvent.

CellEditorListener

The CellEditorListener interface extends the java.util.EventListener interface to support table cell editing by the handling of the ChangeEvent.

ChangeListener

The ChangeListener interface extends the java.util.EventListener interface to support general handling of the ChangeEvent.

DocumentEvent

The DocumentEvent interface provides methods for handling document change notifications.

DocumentEvent.ElementChange

The DocumentEvent.ElementChange interface provides methods for handling changes made to a document element.

DocumentListener

The DocumentListener interface extends the java.util.EventListener interface to support handling of the DocumentEvent.

HyperlinkListener

The HyperlinkListener interface extends the java.util.EventListener interface to support handling of the HyperlinkEvent.

InternalFrameListener

The InternalFrameListener interface extends the java.util.EventListener interface to support handling of the InternalFrameEvent.

ListDataListener

The Listener interface extends the java.util.EventListener interface to support handling of the ListDataEvent.

ListSelectionListener

The ListSelectionListener interface extends the java.util.EventListener interface to support handling of the ListSelectionEvent.

MenuListener

The MenuListener interface extends the java.util.EventListener interface to support handling of the MenuEvent.

PopupMenuListener

The PopupMenuListener interface extends the java.util.EventListener interface to support handling of the PopupMenuEvent.

TableColumnModelListener

The TableColumnModelListener interface extends the java.util.EventListener interface to support handling of the TableColumnModelEvent.

TableModelListener

The TableModelListener interface extends the java.util.EventListener interface to support handling of the TableModelEvent.

TreeExpansionListener

The TreeExpansionListener interface extends the java.util.EventListener interface to support handling of the TreeExpansionEvent.

TreeModelListener

The TreeModelListener interface extends the java.util.EventListener interface to support handling of the TreeModelEvent.

TreeSelectionListener

The TreeSelectionListener interface extends the java.util.EventListener interface to support handling of the TreeSelectionEvent.

UndoableEditListener

The UndoableEditListener interface extends the java.util.EventListener interface to support handling of the UndoableEditEvent.

Classes

AncestorEvent

The AncestorEvent class is a subclass of java.AWT.AWTEvent that indicates changes in a component's ancestor.

CaretEvent

The CaretEvent class is a subclass of java.util.EventObject that indicates a change in the text caret.

ChangeEvent

The ChangeEvent class is a subclass of java.util.EventObject that indicates a change in the state of a component.

DocumentEvent.EventType

The DocumentEvent.EventType class is a subclass of Object that is used to enumerate the types of document events.

EventListenerList

The EventListenerList class is a subclass of Object that provides a list of EventListener objects. It implements the java.io.Serializable interface.

HyperlinkEvent

The HyperlinkEvent class is a subclass of java.util.EventObject that indicates an action with respect to a hypertext link.

HyperlinkEvent.EventType

The HyperlinkEvent.EventType class is an inner class of HyperlinkEvent that enumerates the types of hyperlink events.

InternalFrameAdapter

The InternalFrameAdapter class is a subclass of Object that provides a default implementation of the InternalFrameListener interface.

InternalFrameEvent

The InternalFrameEvent class is a subclass of java.awt.AWTEvent that provides events related to com.sun.java.swing.JInternalFrame objects.

ListDataEvent

The ListDataEvent class is a subclass of java.util.EventObject that identifies changes in list-type components.

ListSelectionEvent

The ListSelectionEvent class is a subclass of java.util.EventObject that identifies changes in the current list selection.

MenuEvent

The MenuEvent class is a subclass of java.util.EventObject that is used to signal menu-related events.

PopupMenuEvent

The PopupMenuEvent class is a subclass of java.util.EventObject that is used to signal popup menu-related events.

TableColumnModelEvent

The TableColumnModelEvent class is a subclass of java.util.EventObject that is used to identify changes in a table column model.

TableModelEvent

The TableModelEvent class is a subclass of java.util.EventObject that is used to identify changes in a table model.

TreeExpansionEvent

The TreeExpansionEvent class is a subclass of java.util.EventObject that indicates that a tree has been expanded.

TreeModelEvent

The TreeModelEvent class is a subclass of java.util.EventObject that is used to signal a change in a tree model.

TreeSelectionEvent

The TreeSelectionEvent class is a subclass of java.util.EventObject that is used to signal a change in the current tree selection. It implements the java.lang.Cloneable interface.

UndoableEditEvent

The UndoableEditEvent class is a subclass of java.util.EventObject indicating that an operation that can be undone has been performed.

Exceptions and Errors

None.

Package com.sun.java.swing.plaf

The com.sun.java.swing.plaf package provides 42 classes and one interface that support the use of pluggable look and feel. It is covered in Chapter 14, "Changing the Look and Feel of Your Swing Components."

Interfaces

UIResource

The UIResource interface is used to identify objects that are created by ComponentUI delegates.

Classes

BorderUIResource

The BorderUIResource class is a subclass of Object that provides pluggable look and feel support for border properties.

ButtonUI

The ButtonUI class is a subclass of ComponentUI that provides pluggable look and feel support for JButton objects.

ColorChooserUI

The ColorChooserUI class is a subclass of ComponentUI that provides pluggable look and feel support for JColorChooser objects.

ColorUIResource

The ColorUIResource class is a subclass of java.awt.Color that provides pluggable look and feel support for color properties.

ComboBoxUI

The ComboBoxUI class is a subclass of ComponentUI that provides pluggable look and feel support for JComboBox objects.

ComponentUI

The ComponentUI class is a subclass of Object that provides pluggable look and feel support for JComponent objects.

DesktopIconUI

The DesktopIconUI class is a subclass of ComponentUI that provides pluggable look and feel support for JDektopIcon objects.

DesktopPaneUI

The DesktopPaneUI class is a subclass of ComponentUI that provides pluggable look and feel support for JDesktopPanel objects.

DimensionUIResource

The DimensionUIResource class is a subclass of Dimension that provides pluggable look and feel support for dimension properties.

FileChooserUI

The FileChooserUI class is a subclass of ComponentUI that provides pluggable look and feel support for JFileChoose objects.

FontUIResource

The FontUIResource class is a subclass of Font that provides pluggable look and feel support for font properties.

IconUIResource

The IconUIResource class is a subclass of Object that provides pluggable look and feel support for icon properties.

InsetsUIResource

The InsetsUIResource class is a subclass of Insets that provides pluggable look and feel support for insets properties.

InternalFrameUI

The InternalFrameUI class is a subclass of ComponentUI that provides pluggable look and feel support for JInternalFrame objects.

LabelUI

The LabelUI class is a subclass of ComponentUI that provides pluggable look and feel support for JLabel objects.

ListUI

The ListUI class is a subclass of ComponentUI that provides pluggable look and feel support for JList objects.

MenuBarUI

The MenuBarUI class is a subclass of ComponentUI that provides pluggable look and feel support for JMenuBar objects.

MenuItemUI

The MenuItemUI class is a subclass of ButtonUI that provides pluggable look and feel support for JMenuItem objects.

OptionPaneUI

The OptionPaneUI class is a subclass of ComponentUI that provides pluggable look and feel support for JOptionPane objects.

PanelUI

The PanelUI class is a subclass of ComponentUI that provides pluggable look and feel support for JPanel objects.

PopupMenuUI

The PopupMenuUI class is a subclass of ComponentUI that provides pluggable look and feel support for JPopupMenu objects.

ProgressBarUI

The ProgressBarUI class is a subclass of ComponentUI that provides pluggable look and feel support for JProgressBar objects.

ScrollBarUI

The ScrollBarUI class is a subclass of ComponentUI that provides pluggable look and feel support for JScrollBar objects.

ScrollPaneUI

The ScrollPaneUI class is a subclass of ComponentUI that provides pluggable look and feel support for JScrollPane objects.

SeparatorUI

The SeparatorUI class is a subclass of ComponentUI that provides pluggable look and feel support for JSeparator objects.

SliderUI

The SliderUI class is a subclass of ComponentUI that provides pluggable look and feel support for JSlider objects.

SplitPaneUI

The SplitPaneUI class is a subclass of ComponentUI that provides pluggable look and feel support for JSplitPane objects.

TabbedPaneUI

The TabbedPaneUI class is a subclass of ComponentUI that provides pluggable look and feel support for JTabbedPane objects.

TableHeaderUI

The TableHeaderUI class is a subclass of ComponentUI that provides pluggable look and feel support for JTableHeader objects.

TableUI

The TableUI class is a subclass of ComponentUI that provides pluggable look and feel support for JTable objects.

TextUI

The TextUI class is a subclass of ComponentUI that provides pluggable look and feel support for text objects.

ToolBarUI

The ToolBarUI class is a subclass of ComponentUI that provides pluggable look and feel support for JToolBar objects.

ToolTipUI

The ToolTipUI class is a subclass of ComponentUI that provides pluggable look and feel support for JToolTip objects.

TreeUI

The TreeUI class is a subclass of ComponentUI that provides pluggable look and feel support for JTree objects.

ViewportUI

The ViewportUI class is a subclass of ComponentUI that provides pluggable look and feel support for JViewport objects.

Exceptions and Errors

None.

Package com.sun.java.swing.table

The com.sun.java.swing.table package provides seven classes and four interfaces that implement the Swing table component. It is covered in Chapter 13.

Interfaces

TableCellEditor

The TableCellEditor interface extends the com.sun.java.swing.CellEditor interface to provide support for the text editing of table cells.

TableCellRenderer

The TableCellRenderer interface defines methods for rendering the cells of JTable objects.

TableColumnModel

The TableColumnModel interface defines methods for manipulating the rows of a table.

TableModel

The TableModel interface defines methods that are implemented by a data model that provides data for a JTable object.

Classes

AbstractTableModel

The AbstractTableModel class is a subclass of Object that provides an abstract implementation of the TableModel interface. It also implements the java.io.Serializable interface.

DefaultTableCellRenderer

The DefaultTableCellRenderer class is a subclass of com.sun.java.swing.JLabel that is used to render the individual cells of a table. It implements the TableCellRenderer and java.io.Serializable interfaces.

DefaultTableCellRenderer.UIResource

The DefaultTableCellRenderer.UIResource class is an inner class of DefaultTableCellRenderer that provides support for cell rendering.

DefaultTableColumnModel

The DefaultTableColumnModel class is a subclass of Object that provides a default implementation to the TableColumnModel interface. It also implements the java.beans.PropertyChangeListener, com.sun.java.swing.event.ListSelectionListener, and java.io.Serializable interfaces.

DefaultTableModel

The DefaultTableModel class is a subclass of AbstractTableModel that organizes its data using java.util.Vector objects. It implements the java.io.Serializable interface.

JTableHeader

The JTableHeader class is a subclass of com.sun.java.swing.JComponent that encapsulates the column header of a JTable object. It implements the TableColumnModelListener and com.sun.java.accessibility.Accessible interfaces.

TableColumn

The TableColumn class is a subclass of Object that defines the properties of a column in a JTable object. It implements the java.io.Serializable interface.

Exceptions and Errors

None.

Package com.sun.java.swing.text

The com.sun.java.swing.text package provides 59 classes and 21 interfaces that implement text-processing components. It is covered in Chapter 12.

Interfaces

AbstractDocument.AttributeContext

The AbstractDocument.AttributeContext interface supports attribute compression.

AbstractDocument.Content

The AbstractDocument.Content interface describes a sequence of editable content.

AttributeSet

The AttributeSet interface defines a read-only set of text attributes.

AttributeSet.CharacterAttribute

The AttributeSet.CharacterAttribute interface defines an attribute type signature.

AttributeSet.ColorAttribute

The AttributeSet.ColorAttribute interface defines a color type signature.

AttributeSet.FontAttribute

The AttributeSet.FontAttribute interface defines a font type signature.

AttributeSet.ParagraphAttribute

The AttributeSet.ParagraphAttribute interface defines a paragraph type signature.

Caret

The Caret interface defines a document insertion point caret.

Document

The Document interface defines a container for editable text.

Element

The Element interface defines a structural piece of a Document object.

Highlighter

The Highlighter interface provides support for highlighted text.

Highlighter.Highlight

The Highlighter.Highlight interface defines the location of highlighted text.

Highlighter.HighlightPainter

The Highlighter.HighlightPainter interface defines the manner in which highlighted text is to be painted.

Keymap

The Keymap interface binds keystrokes to actions.

MutableAttributeSet

The MutableAttributeSet interface extends the AttributeSet interface to provide methods for updating the set of attributes.

Position

The Position interface defines a location within a Document object.

Style

The Style interface defines text, paragraph, and other document-related styles.

StyledDocument

The StyledDocument interface extends the Document interface to provide style support.

TabExpander

The TabExpander interface provides support for tab settings.

TabableView

The TabableView interface provides support for viewing expanded tabs within a document.

ViewFactory

The ViewFactory interface provides support for creating different views of a document.

Classes

AbstractDocument

The AbstractDocument class is a subclass of Object that provides a basic implementation of the Document interface. It also implements the java.io.Serializable interface.

AbstractDocument.ElementEdit

The AbstractDocument.ElementEdit class is an inner class of AbstractDocument that provides undo/redo support. It is a subclass of com.sun.java.swing.undo.AbstractUndoableEdit.

BoxView

The BoxView class is a subclass of CompositeView that provides a box-like organization of document content.

ComponentView

The ComponentView class is a subclass of View that provides a view of a single document component.

CompositeView

The CompositeView class is a subclass of View that provides a view of multiple document components.

DefaultCaret

The DefaultCaret class is a subclass of Object that provides a default implementation of the Caret interface. It also implements the java.awt.event.FocusListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, and java.io.Serializable interfaces.

DefaultEditorKit

The DefaultEditorKit class is a subclass of EditorKit that provides a basic text editing capability.

DefaultEditorKit.BeepAction

The DefaultEditorKit.BeepAction class is an inner class of DefaultEditorKit that creates a beep sound. It is a subclass of Object.

DefaultEditorKit.CopyAction

The DefaultEditorKit.CopyAction class is an inner class of DefaultEditorKit that copies data to the clipboard. It is a subclass of Object.

DefaultEditorKit.CutAction

The DefaultEditorKit.CutAction class is an inner class of DefaultEditorKit that cuts data to the clipboard. It is a subclass of Object.

DefaultEditorKit.DefaultKeyTypedAction

The DefaultEditorKit.DefaultKeyTypedAction class is an inner class of DefaultEditorKit that handles key presses. It is a subclass of Object.

DefaultEditorKit.InsertBreakAction

The DefaultEditorKit.InsertBreakAction class is an inner class of DefaultEditorKit that inserts a line break into a document. It is a subclass of Object.

DefaultEditorKit.InsertContentAction

The DefaultEditorKit.InsertContentAction class is an inner class of DefaultEditorKit that inserts content into a document. It is a subclass of Object.

DefaultEditorKit.InsertTabAction

The DefaultEditorKit.InsertTabAction class is an inner class of DefaultEditorKit that inserts a tab into a document. It is a subclass of Object.

DefaultEditorKit.PasteAction

The DefaultEditorKit.PasteAction class is an inner class of DefaultEditorKit that pastes content into a document from the clipboard. It is a subclass of Object.

DefaultHighlighter

The DefaultHighlighter class is a subclass of Object that provides a default implementation of the Highlighter interface.

DefaultHighlighter.DefaultHighlightPainter

The DefaultHighlighter.DefaultHighlightPainter class is an inner class of DefaultHighlighter that implements the Highlighter.HighlightPainter interface. It is a subclass of Object.

DefaultStyledDocument

The DefaultStyledDocument class is a subclass of AbstractDocument and implements the StyledDocument interface.

DefaultStyledDocument.ElementSpec

The DefaultStyledDocument.ElementSpec class is an inner class of DefaultStyledDocument that supports the building of document elements. It is a subclass of Object.

DefaultTextUI

The DefaultTextUI class is a subclass of com.sun.java.swing.plaf.TextUI that provides a default implementation of the ViewFactory interface. It also implements the java.io.Serializable interface.

EditorKit

The EditorKit class is a subclass of Object that provides a base class for developing a text editor. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

FieldView

The FieldView class is a subclass of PlainView that supports a single-line editing view.

IconView

The IconView class is a subclass of View that provides support for viewing an icon.

JTextComponent

The JTextComponent class is a subclass of com.sun.java.swing.JComponent that provides the base class for Swing text components. It implements the com.sun.java.swing.Scrollable and java.awt.accessibility.Accessible interfaces.

JTextComponent.KeyBinding

The JTextComponent.KeyBinding class is an inner class of JTextComponent that provides key binding support. It is a subclass of Object.

LabelView

The LabelView class is a subclass of View that implements the TabableView interface.

ParagraphView

The ParagraphView class is a subclass of BoxView that provides the capability to display styled paragraphs. It implements the TabExpander interface.

PasswordView

The PasswordView class is a subclass of FieldView that provides password-hiding support.

PlainDocument

The PlainDocument class is a subclass of AbstractDocument that supports one text font and color.

PlainView

The PlainView class is a subclass of View that supports the display of one font and one color. It implements the TabExpander interface.

Segment

The Segment class is a subclass of Object that represents a text fragment.

SimpleAttributeSet

The SimpleAttributeSet class is a subclass of Object that provides a default implementation of the MutableAttributeSet interface. It also implements the java.io.Serializable interface.

StringContent

The StringContent class is a subclass of Object that provides a default implementation of the AbstractDocument.Content interface. It also implements the java.io.Serializable interface.

StyleConstants

The StyleConstants class is a subclass of Object that provides constants and methods for implementing text, paragraph, and document styles.

StyleConstants.CharacterConstants

The StyleConstants.CharacterConstants class is an inner class of StyleConstants that supports character styles. It is a subclass of Object and implements the AttributeSet.CharacterAttribute interface.

StyleConstants.ColorConstants

The StyleConstants.ColorConstants class is an inner class of StyleConstants that supports text colors. It is a subclass of Object and implements the AttributeSet.ColorAttribute and AttributeSet.CharacterAttribute interfaces.

StyleConstants.FontConstants

The StyleConstants.FontConstants class is an inner class of StyleConstants that supports fonts. It is a subclass of Object and implements the AttributeSet.FontAttribute and AttributeSet.CharacterAttribute interfaces.

StyleConstants.ParagraphConstants

The StyleConstants.ParagraphConstants class is an inner class of StyleConstants that supports paragraph styles. It is a subclass of Object and implements the AttributeSet.ParagraphAttribute interface.

StyleContext

The StyleContext class is a subclass of Object that provides style constants and resources. It implements the java.io.Serializable and AbstractDocument.AttributeContext interfaces.

StyledEditorKit

The StyledEditorKit class is a subclass of DefaultEditorKit that provides a text editor that supports text styles.

StyledEditorKit.AlignmentAction

The StyledEditorKit.AlignmentAction class is an inner class of StyledEditorKit that supports paragraph alignment. It is a subclass of StyledEditorKit.StyledTextAction.

StyledEditorKit.BoldAction

The StyledEditorKit.BoldAction class is an inner class of StyledEditorKit that supports text bolding. It is a subclass of StyledEditorKit.StyledTextAction.

StyledEditorKit.FontFamilyAction

The StyledEditorKit.FontFamilyAction class is an inner class of StyledEditorKit that supports the use of fonts. It is a subclass of StyledEditorKit.StyledTextAction.

StyledEditorKit.FontSizeAction

The StyledEditorKit.FontSizeAction class is an inner class of StyledEditorKit that supports the control of text font size. It is a subclass of StyledEditorKit.StyledTextAction.

StyledEditorKit.ForegroundAction

The StyledEditorKit.ForegroundAction class is an inner class of StyledEditorKit that supports the setting of text foreground color. It is a subclass of StyledEditorKit.StyledTextAction.

StyledEditorKit.ItalicAction

The StyledEditorKit.ItalicAction class is an inner class of StyledEditorKit that supports the use of italics. It is a subclass of StyledEditorKit.StyledTextAction.

StyledEditorKit.StyledTextAction

The StyledEditorKit.StyledTextAction class is an inner class of StyledEditorKit that supports text operations. It is a subclass of TextAction.

StyledEditorKit.UnderlineAction

The StyledEditorKit.UnderlineAction class is an inner class of StyledEditorKit that supports underlining. It is a subclass of StyledEditorKit.StyledTextAction.

TabSet

The TabSet class is a subclass of Object that defines a set of tab stops. It implements the java.io.Serializable interface.

TabStop

The TabStop class is a subclass of Object that encapsulates a single tab stop. It implements the java.io.Serializable interface.

TableView

The TableView class is a subclass of BoxView that provides table support.

TextAction

The TextAction class is a subclass of AbstractAction that is used to define key mappings for text operations.

Utilities

The Utilities class is a subclass of Object that provides utility methods for text operations.

View

The View class is a subclass of Object that defines a view of part of a document.

WrappedPlainView

The WrappedPlainView class is a subclass of BoxView that supports wrapped plain text. It implements the TabExpander interface.

Exceptions and Errors

BadLocationException

The BadLocationException class is a subclass of java.lang.Exception that identifies errors in Document objects.

Package com.sun.java.swing.text.html

The com.sun.java.swing.text.html package consists of 22 classes that provide basic HTML editing capabilities. This package is covered in Chapter 12.

Interfaces

None.

Classes

BlockView

The BlockView class is a subclass of com.sun.java.text.BoxView that supports the display of a box according to the Cascading Style Sheets (CSS) specification.

CSS

The CSS class is a subclass of Object that implements a set of CSS attributes.

CSS.Attribute

The CSS.Attribute class is a subclass of Object that identifies a CSS attribute.

HTML

The HTML class is a subclass of Object that provides HTML tag and attribute definitions.

HTML.Attribute

The HTML.Attribute class is a subclass of Object that supports HTML attributes.

HTML.Tag

The HTML.Tag class is a subclass of Object that supports HTML tags.

HTML.UnknownTag

The HTML.UnknownTag class is a subclass of HTML.Tag that supports unknown HTML tags.

HTMLDocument

The HTMLDocument class is a subclass of com.sun.java.text.DefaultStyledDocument that encapsulates an HTML document.

HTMLDocument.Iterator

The HTMLDocument.Iterator class is a subclass of Object that supports iteration over an HTML tag.

HTMLEditorKit

The HTMLEditorKit class is a subclass of com.sun.java.swing.text.StyledEditorKit that provides a basic HTML editing capability.

HTMLEditorKit.HTMLFactory

The HTMLEditorKit.HTMLFactory class is a subclass of Object that provides a factory for build HTML view fragments.

HTMLEditorKit.LinkController

The HTMLEditorKit.LinkController class is an inner class of HTMLWriter that provides basic mouse event-handling support. It is a subclass of java.awt.event.MouseAdapter.

HTMLEditorKit.Parser

The HTMLEditorKit.Parser class is a subclass of Object that encapsulates an HTML parser.

HTMLEditorKit.ParserCallback

The HTMLEditorKit.ParserCallback class is a subclass of Object that provides a callback capability for HTML parsers.

HTMLWriter

The HTMLWriter class is a subclass of com.sun.java.text.AbstractWriter that is used to write an HTML document to a stream.

InlineView

The InlineView class is a subclass of com.sun.java.text.LabelView that supports CSS inline element styles.

ListView

The ListView class is a subclass of BlockView that supports the display of HTML lists.

MinimalHTMLWriter

The MinimalHTMLWriter class is a subclass of com.sun.java.text.AbstractWriter that supports the writing of minimal HTML documents.

ParagraphView

The ParagraphView class is a subclass of com.sun.java.text.ParagraphView that displays a paragraph using CSS attributes.

StyleSheet

The StyleSheet class is a subclass of com.sun.java.text.StyleContent that implements a CSS style sheet.

StyleSheet.BoxPainter

The StyleSheet.BoxPainter class is a subclass of Object that supports CSS box formatting.

StyleSheet.ListPainter

The StyleSheet.ListPainter class is a subclass of Object that supports CSS list formatting.

Exceptions and Errors

None.

Package com.sun.java.swing.text.rtf

The com.sun.java.swing.text.rtf package consists of a single class, RTFEditorKit, which provides the capability to edit Rich Text Format (RTF) documents. It is covered in Chapter 12.

Interfaces

None.

Classes

RTFEditorKit

The RTFEditorKit class is a subclass of com.sun.java.swing.text.StyledEditorKit that provides a basic Rich Text Format editing capability.

Exceptions and Errors

None.

Package com.sun.java.swing.tree

The com.sun.java.swing.tree package includes four classes and seven interfaces that provide the capability to work with com.sun.java.swing.JTree components. The JTree component is a GUI component that displays a set of hierarchical data as an outline. The com.sun.java.swing.tree package is covered in Chapter 13.

Interfaces

MutableTreeNode

The MutableTreeNode interface extends the TreeNode interface to provide methods for modifying the properties of a TreeNode object.

RowMapper

The RowMapper interface is used to identify the row corresponding to a TreeNode object.

TreeCellEditor

The TreeCellEditor interface extends the com.sun.java.swing.CellEditor interface to support the editing of tree elements.

TreeCellRenderer

The TreeCellRenderer interface is used to render the nodes of a tree.

TreeModel

The TreeModel interface is used to model the data used to build a tree.

TreeNode

The TreeNode interface defines methods for classes that implement the nodes of a tree.

TreeSelectionModel

The TreeSelectionModel interface defines constants and methods for working with the current selection state of the nodes of a tree.

Classes

DefaultMutableTreeNode

The DefaultMutableTreeNode class is a subclass of Object that provides a default, modifiable tree node. It implements the MutableTreeNode, java.lang.Cloneable, and java.io.Serializable interfaces.

DefaultTreeModel

The DefaultTreeModel class is a subclass of Object that provides a default TreeModel implementation. It also implements the java.io.Serializable interface.

DefaultTreeSelectionModel

The DefaultTreeSelectionModel class is a subclass of Object that provides a default TreeSelectionModel implementation. It also implements the java.lang.Cloneable and java.io.Serializable interfaces.

TreePath

The TreePath class is a subclass of Object that identifies a path to a node of a tree. It implements the java.io.Serializable interface.

Exceptions and Errors

None.

Package com.sun.java.swing.undo

The com.sun.java.swing.undo package provides five classes and two interfaces that support the implementation of undo and redo capabilities. It is covered in Chapter 13.

Interfaces

StateEditable

The StateEditable interface is implemented by classes whose state can be undone or redone by the StateEdit class.

UndoableEdit

The UndoableEdit interface is implemented by classes that support the undoing or redoing of edit operations.

Classes

AbstractUndoableEdit

The AbstractUndoableEdit class is a subclass of Object that provides an abstract implementation of the UndoableEdit interface.

CompoundEdit

The CompoundEdit class is a subclass of AbstractUndoableEdit that provides the capability to implement compound undo/redo operations.

StateEdit

The StateEdit class is a subclass of AbstractUndoableEdit that supports undo/redo operations on objects that change state.

UndoManager

The UndoManager class is a subclass of CompoundEdit that provides for thread-safe undo/redo operations. It implements the com.sun.java.swing.event.UndoableEditListener interface.

UndoableEditSupport

The UndoableEditSupport class is a subclass of Object that supports the management of undoable editing operations.

Exceptions and Errors

CannotRedoException

The CannotRedoException class is a subclass of RuntimeException that indicates a redo operation cannot be performed.

CannotUndoException

The CannotUndoException class is a subclass of RuntimeException that indicates an undo operation cannot be performed.

Package java.beans

The java.beans package contains 15 classes and eight interfaces that provide the basic JavaBeans functionality. The java.beans package is covered in Part VII, "Creating JavaBeans."

Interfaces

AppletInitializer

The AppletInitializer interface provides support for initializing beans that are also applets.

BeanInfo

The BeanInfo interface is used to provide explicit information about a bean.

Customizer

The Customizer interface provides methods for customizing a bean's GUI.

DesignMode

The DesignMode interface is used to signal that a bean is in design (as opposed to execution) mode.

PropertyChangeListener

The PropertyChangeListener interface defines methods for handling events that result from changes to bound bean properties. It extends java.util.EventListener.

PropertyEditor

The PropertyEditor interface provides support for changing the properties of a bean.

VetoableChangeListener

The VetoableChangeListener interface extends java.util.EventListener to provide support for handing constrained property change events.

Visibility

The Visibility interface is used to signal whether a bean needs a GUI to perform its processing.

Classes

BeanDescriptor

The BeanDescriptor class is a subclass of FeatureDescriptor that provides global information about a bean.

Beans

The Beans class is a subclass of Object that provides general-purpose bean support.

EventSetDescriptor

The EventSetDescriptor class is a subclass of FeatureDescriptor that describes the events supported by a bean.

FeatureDescriptor

The FeatureDescriptor class is a subclass of Object that serves as a base class for explicit bean descriptions.

IndexedPropertyDescriptor

The IndexedPropertyDescriptor class is a subclass of PropertyDescriptor that supports indexed property descriptions.

Introspector

The Introspector class is a subclass of Object that provides static methods for obtaining information about a bean.

MethodDescriptor

The MethodDescriptor class is a subclass of FeatureDescriptor that provides information about a bean's methods.

ParameterDescriptor

The ParameterDescriptor class is a subclass of FeatureDescriptor that describes the parameters supported by a bean method.

PropertyChangeEvent

The PropertyChangeEvent class is a subclass of java.util.EventObject that signals a change in a bean's properties.

PropertyChangeSupport

The PropertyChangeSupport class is a subclass of Object that provides support for PropertyChangeEvent handling. It implements the java.io.Serializable interface.

PropertyDescriptor

The PropertyDescriptor class is a subclass of FeatureDescriptor that describes a bean property.

PropertyEditorManager

The PropertyEditorManager class is a subclass of Object that is used to access bean property editors.

PropertyEditorSupport

The PropertyEditorSupport class is a subclass of Object that provides a basic implementation of the PropertyEditor interface.

SimpleBeanInfo

The SimpleBeanInfo class is a subclass of Object that provides a basic implementation of the BeanInfo interface.

VetoableChangeSupport

The VetoableChangeSupport class is a subclass of Object that provides support for property change event handling. It implements the java.io.Serializable interface.

Exceptions and Errors

IntrospectionException

The IntrospectionException class is a subclass of java.lang.Exception that indicates that an exception occurred during introspection.

PropertyVetoException

The PropertyVetoException class is a subclass of java.lang.Exception that indicates an invalid property change.

Package java.beans.beancontext

The java.beans.beancontext package provides 11 classes and eight interfaces that implement an execution context for beans. The java.beans.beancontext package is covered in Chapter 29, "Glasgow Developments."

Interfaces

BeanContext

The BeanContext interface is implemented by classes that act as containers for other beans. It extends the BeanContextChild, java.util.Collection, java.beans.DesignMode, and java.beans.Visibility interfaces.

BeanContextChild

The BeanContextChild interface defines methods that allow classes to access their execution environment.

BeanContextContainer

The BeanContextContainer interface provides access to a bean's AWT Container object if the bean is contained in an AWT container.

BeanContextMembershipListener

The BeanContextMembershipListener interface defines methods for handling events associated with changes in membership in a bean context. It extends the java.util.EventListener interface.

BeanContextServiceProvider

The BeanContextServiceProvider interface defines methods that are used to provide services to a bean context.

BeanContextServiceRevokedListener

The BeanContextServiceRevokedListener interface supports the handling of events associated with revocation of a service to a bean context. It extends the java.util.EventListener interface.

BeanContextServices

The BeanContextServices interface defines methods that allow a BeanContext object to make services available to its contained BeanContextChild objects. It extends the BeanContext and BeanContextServicesListener interfaces.

BeanContextServicesListener

The BeanContextServicesListener interface defines methods for handling events associated with a service becoming available to a bean context. It extends the BeanContextServiceRevokedListener interface.

Classes

BeanContextAddedEvent

The BeanContextAddedEvent class is a subclass of BeanContextMembershipEvent that defines the event generated when a bean is added to a bean context.

BeanContextChildSupport

The BeanContextChildSupport class is a subclass of Object that provides a basic implementation of the BeanContextChild interface. It also implements the BeanContextServicesListener and java.io.Serializable interfaces.

BeanContextEvent

The BeanContextEvent class is a subclass of java.util.EventObject that serves as the base class for bean context-related events.

BeanContextMembershipEvent

The BeanContextMembershipEvent class is a subclass of BeanContextEvent that is used to signal a change in the set of beans that is contained in a bean context.

BeanContextRemovedEvent

The BeanContextRemovedEvent class is a subclass of BeanContextMembershipEvent that indicates that a bean has been removed from a bean context.

BeanContextServiceAvailableEvent

The BeanContextServiceAvailableEvent class is a subclass of BeanContextEvent that indicates that a service has been made available to a bean context.

BeanContextServiceRevokedEvent

The BeanContextServiceRevokedEvent class is a subclass of BeanContextEvent that indicates that a service is no longer available to a bean context.

BeanContextServicesSupport

The BeanContextServicesSupport class is a subclass of BeanContextSupport that provides a basic implementation of the BeanContextServices interface.

BeanContextServicesSupport.BCSSServiceProvider

The BeanContextServicesSupport.BCSSServiceProvider class is an inner class of BeanContextServicesSupport that is used to specify the behavior of a BeanContextServicesProvider object. It is a subclass of Object that implements the java.io.Serializable interface.

BeanContextSupport

The BeanContextSupport class is a subclass of BeanContextChildSupport that provides a basic implementation of the BeanContext interface. It also implements the java.beans.PropertyChangeListener, java.beans.VetoableChangeListener, and java.io.Serializable interfaces.

BeanContextSupport.BCSIterator

The BeanContextSupport.BCSIterator class is an inner class of BeanContextSupport that is used as an iterator within its parent. It is a subclass of Object that implements the java.util.Iterator interface.

Exceptions and Errors

None.

Package java.io

The java.io package provides 50 classes and 10 interfaces that implement stream-based input and output. Chapter 17, "Input/Output Streams," shows how to use java.io to perform a wide variety of input and output.

Interfaces

DataInput

The DataInput interface provides methods for reading primitive types from a byte stream.

DataOutput

The DataOutput interface provides methods for writing primitive types to a byte stream.

Externalizable

The Externalizable interface extends the Serializable interface to provide methods for writing objects to a stream and for reading them back from a stream.

FileFilter

The FileFilter interface provides the capability to filter file names during file name selection.

FilenameFilter

The FilenameFilter interface provides the capability to filter file names during file name selection.

ObjectInput

The ObjectInput interface extends the DataInput interface to support the reading of objects from input streams.

ObjectInputValidation

The ObjectInputValidation interface supports the validation of objects within a graph.

ObjectOutput

The ObjectOutput interface extends the DataOutput interface to support the writing of objects to output streams.

ObjectStreamConstants

The ObjectStreamConstants interface provides constants that are used to perform object-based input and output.

Serializable

The Serializable interface identifies an object as being capable of being written to and read from a stream.

Classes

BufferedInputStream

The BufferedInputStream class is a subclass of FilterInputStream that supports input buffering.

BufferedOutputStream

The BufferedOutputStream class is a subclass of FilterOutputStream that supports output buffering.

BufferedReader

The BufferedReader class is a subclass of Reader that supports input buffering.

BufferedWriter

The BufferedWriter class is a subclass of Writer that supports output buffering.

ByteArrayInputStream

The ByteArrayInputStream class is a subclass of InputStream that supports input from a byte array.

ByteArrayOutputStream

The ByteArrayOutputStream class is a subclass of OutputStream that supports output to a byte array.

CharArrayReader

The CharArrayReader class is a subclass of Reader that supports input from a character array.

CharArrayWriter

The CharArrayWriter class is a subclass of Writer that supports output to a character array.

DataInputStream

The DataInputStream class is a subclass of FilterInputStream that allows primitive types to be read from an input stream. It implements the DataInput interface.

DataOutputStream

The DataOutputStream class is a subclass of FilterOutputStream that allows primitive types to be written to an output stream. It implements the DataOutput interface.

File

The File class is a subclass of Object that encapsulates a disk file. It implements the Serializabe and java.lang.Comparable interfaces.

FileDescriptor

The FileDescriptor class is a subclass of Object that encapsulates a file descriptor.

FileInputStream

The FileInputStream class is a subclass of InputStream that supports file-based input.

FileOutputStream

The FileOutputStream class is a subclass of OutputStream that supports file-based output.

FilePermission

The FilePermission class is a subclass of java.security.Permission that is used to control access to files. It implements the Serializable interface.

FileReader

The FileReader class is a subclass of InputStreamReader that supports file-based input.

FileWriter

The FileWriter class is a subclass of OutputStreamWriter that supports file-based output.

FilterInputStream

The FilterInputStream class is a subclass of InputStream that is used to filter data that is being read from a stream.

FilterOutputStream

The FilterOutputStream class is a subclass of OutputStream that is used to filter data that is being written to a stream.

FilterReader

The FilterReader class is a subclass of Reader that allows filtering of data that is being read.

FilterWriter

The FilterWriter class is a subclass of Writer that allows filtering of data that is being written.

InputStream

The InputStream class is a subclass of Object that provides the base class for all stream-based input.

InputStreamReader

The InputStreamReader class is a subclass of Reader that is used to read a stream using a Reader object.

LineNumberInputStream

The LineNumberInputStream class is a subclass of FilterInputStream that supports line number identification.

LineNumberReader

The LineNumberReader class is a subclass of BufferedReader that supports line number identification.

ObjectInputStream

The ObjectInputStream class is a subclass of InputStream that supports the reading of objects from streams. It implements the ObjectInput and ObjectStreamConstants interfaces.

ObjectInputStream.GetField

The ObjectInputStream.GetField class is an inner class of ObjectInputStream that provides support for the reading of individual object fields. It is a subclass of Object.

ObjectOutputStream

The ObjectOutputStream class is a subclass of OutputStream that supports the writing of objects to streams. It implements the ObjectOutput and ObjectStreamConstants interfaces.

ObjectOutputStream.PutField

The ObjectOutputStream.PutField class is an inner class of ObjectOutputStream that allows individual object fields to be accessed. It is a subclass of Object.

ObjectStreamClass

The ObjectStreamClass class is a subclass of Object that describes a serialized class. It implements the Serializable interface.

ObjectStreamField

The ObjectStreamField class is a subclass of Object that describes a field of a serialized class. It implements the java.lang.Comparable interface.

OutputStream

The OutputStream class is a subclass of Object that provides the basis for stream-based output.

OutputStreamWriter

The OutputStreamWriter class is a subclass of Writer that allows output streams to be accessed as Writer objects.

PipedInputStream

The PipedInputStream class is a subclass of InputStream that supports communication between threads.

PipedOutputStream

The PipedOutputStream class is a subclass of OutputStream that supports communication between threads.

PipedReader

The PipedReader class is a subclass of Reader that supports communication between threads.

PipedWriter

The PipedWriter class is a subclass of Writer that supports communication between threads.

PrintStream

The PrintStream class is a subclass of FilterOutputStream that supports printing to the standard output stream.

PrintWriter

The PrintWriter class is a subclass of Writer that supports printing to the standard output stream.

PushbackInputStream

The PushbackInputStream class is a subclass of FilterInputStream that allows data that is read in to be pushed back onto the input stream.

PushbackReader

The PushbackReader class is a subclass of FilterReader that allows data that is read in to be pushed back onto the input source.

RandomAccessFile

The RandomAccessFile class is a subclass of Object that supports random file input and output. It implements the DataInput and DataOutput interfaces.

Reader

The Reader class is a subclass of Object that provides the basis for Unicode character input.

SequenceInputStream

The SequenceInputStream class is a subclass of InputStream that supports the concatenation of two or more input streams.

SerializablePermission

The SerializablePermission class is a subclass of java.security.BasicPermission that controls access to object serialization.

StreamTokenizer

The StreamTokenizer class is a subclass of Object that supports input stream parsing.

StringBufferInputStream

The StringBufferInputStream class is a subclass of InputStream that supports input from String objects.

StringReader

The StringReader class is a subclass of Reader that supports input from String objects.

StringWriter

The StringWriter class is a subclass of Writer that supports output to String objects.

Writer

The Writer class is a subclass of Object that provides the basis for Unicode character-based output.

Exceptions and Errors

CharConversionException

The CharConversionException class is a subclass of IOException that signals that an error occurred during character conversion.

EOFException

The EOFException class is a subclass of IOException that signals that the end of a file has been encountered.

FileNotFoundException

The FileNotFoundException class is a subclass of IOException that signals that a file cannot be located.

IOException

The IOException class is a subclass of java.lang.Exception that serves as the base class for defining I/O-based exceptions.

InterruptedIOException

The InterruptedIOException class is a subclass of IOException signals that an I/O operation has been interrupted.

InvalidClassException

The InvalidClassException class is a subclass of ObjectStreamException that signals that an invalid class was encountered during object serialization.

InvalidObjectException

The InvalidObjectException class is a subclass of ObjectStreamException that signals that an invalid object was encountered during object serialization.

NotActiveException

The NotActiveException class is a subclass of ObjectStreamException that signals that serialization is not active.

NotSerializableException

The NotSerializableException class is a subclass of ObjectStreamException that signals that an object is not serializable.

ObjectStreamException

The ObjectStreamException class is a subclass of IOException that serves as a base class for defining exceptions that occur during object I/O.

OptionalDataException

The OptionalDataException class is a subclass of ObjectStreamException that signals that additional data was encountered when reading an object from an input stream.

StreamCorruptedException

The StreamCorruptedException class is a subclass of ObjectStreamException that signals that an object stream contains errors.

SyncFailedException

The SyncFailedException class is a subclass of IOException that signals that synchronization of I/O could not take place.

UTFDataFormatException

The UTFDataFormatException class is a subclass of IOException that signals that an invalid UTF-8 string was read.

UnsupportedEncodingException

The UnsupportedEncodingException class is a subclass of IOException that identifies the use of unsupported data encoding.

WriteAbortedException

The WriteAbortedException class is a subclass of ObjectStreamException indicating that the writing of an object was aborted.

Package java.lang

The java.lang package provides 29 classes and three interfaces that implement fundamental Java objects. Because of its importance, the java.lang package is included with all Java platforms, ranging from EmbeddedJava to the full-blown JDK. The java.lang package is covered in Chapter 10, "Writing Console Applications."

Interfaces

Cloneable

The Cloneable interface identifies a class as being cloneable by the clone() method of the Object class.

Comparable

The Comparable interface provides the compareTo() method for ordering the objects of a class.

Runnable

The Runnable interface identifies a class as being runnable as a separate thread.

Classes

Boolean

The Boolean class is a subclass of Object that wraps the primitive boolean type as a class. It implements the java.io.Serializable interface.

Byte

The Byte class is a subclass of Number that encapsulates a byte value. It implements the Comparable interface.

Character

The Character class is a subclass of Object that encapsulates a two-byte Unicode character value. It implements the Comparable and java.io.Serializable interfaces.

Character.Subset

The Character.Subset class is an inner class of Character that defines Unicode constants. It is a subclass of Object.

Class

The Class class is a subclass of Object that is used to refer to classes as objects. It implements the java.io.Serializable interface.

ClassLoader

The ClassLoader class is a subclass of Object that is the base class for implementing custom class loaders for use with the runtime system.

Compiler

The Compiler class is a subclass of Object that is used to implement Just-In-Time (JIT) compilation.

Double

The Double class is a subclass of Number that encapsulates the double primitive type. It implements the Comparable interface.

Float

The Float class is a subclass of Number that encapsulates the float primitive type. It implements the Comparable interface.

Integer

The Integer class is a subclass of Number that encapsulates the int primitive type. It implements the Comparable interface.

Long

The Math class is a subclass of Number that encapsulates the long primitive type. It implements the Comparable interface.

Math

The Math class is a subclass of Object that provides access to mathematical constants and functions.

Number

The Number class is a subclass of Object that is used as the base class for the wrapping of primitive numerical types. It implements the java.io.Serializable interface.

Object

The Object class is the highest class in the Java class hierarchy. It provides methods that are inherited by all Java classes.

Package

The Package class is a subclass of Object that is used to provide version information about a Java package.

Process

The Process class is a subclass of Object that is used to control external processes that are executed from within the Java runtime environment.

Runtime

The Runtime class is a subclass of Object that provides access to the Java runtime environment.

RuntimePermission

The RuntimePermission class is a subclass of java.security.BasicPermission that is used to control access to the runtime environment.

SecurityManager

The SecurityManager class is a subclass of Object that is used to implement a Java security policy.

Short

The Short class is a subclass of Number that encapsulates a short integer value. It implements the Comparable interface.

String

The String class is a subclass of Object that encapsulates a growable Unicode text string. It implements the Comparable and java.io.Serializable interfaces.

StringBuffer

The StringBuffer class is a subclass of Object that provides a buffer for the implementation of String objects. It implements the java.io.Serializable interface.

System

The System class is a subclass of Object that provides access to operating system- specific resources.

Thread

The Thread class is a subclass of Object that provides the capability to create objects that run as separate threads. It implements the Runnable interface.

ThreadGroup

The ThreadGroup class is a subclass of Object that represents a collection of Thread objects.

ThreadLocal

The ThreadLocal class is a subclass of Object that provides variables that are local to a specific thread instance.

Throwable

The Throwable class is a subclass of Object that is the base class for all Java errors and exceptions. It implements the java.io.Serializable interface.

Void

The ArithmeticException class is a subclass of Object that represents the class of the void primitive type.

Exceptions and Errors

AbstractMethodError

The AbstractMethodError class is a subclass of IncompatibleClassChangeError that indicates an attempt to invoke an abstract method.

ArithmeticException

The ArithmeticException class is a subclass of RuntimeException that is used to signal an arithmetic error, such as divide by zero.

ArrayIndexOutOfBoundsException

The ArrayIndexOutOfBoundsException class is a subclass of IndexOutOfBoundsException that indicates that an array index has exceeded its legal range.

ArrayStoreException

The ArrayStoreException class is a subclass of RuntimeException that indicates an attempt to store the wrong type of object in an array.

ClassCastException

The ClassCastException class is a subclass of RuntimeException that indicates an attempt to perform an illegal object cast.

ClassCircularityError

The ClassCircularityError class is a subclass of LinkageError that indicates a circularity in a class definition.

ClassFormatError

The ClassFormatError class is a subclass of LinkageError that indicates an error in the format of a class's bytecode file.

ClassNotFoundException

The ClassNotFoundException class is a subclass of Exception that signals that the class loader is unable to locate a particular class.

CloneNotSupportedException

The CloneNotSupportedException class is a subclass of Exception that signals an attempt to clone an object that does not implement the Cloneable interface.

Error

The Error class is a subclass of Throwable that is the base class of all Java error classes.

Exception

The Exception class is a subclass of Throwable that is the base class of all Java exception classes.

ExceptionInInitializerError

The ExceptionInInitializerError class is a subclass of LinkageError that indicates the occurrence of an unexpected exception.

IllegalAccessError

The IllegalAccessError class is a subclass of IncompatibleClassChangeError that indicates an attempt to access a field or method that violates the access modifier assigned to the field or method.

IllegalAccessException

The IllegalAccessException class is a subclass of Exception that signals an illegal attempt to load a class.

IllegalArgumentException

The IllegalArgumentException class is a subclass of RuntimeException that indicates an illegal attempt to pass an argument.

IllegalMonitorStateException

The IllegalMonitorStateException class is a subclass of RuntimeException that signals an attempt to use a monitor without owning it.

IllegalStateException

The IllegalStateException class is a subclass of RuntimeException that signals that a method invocation occurred while the runtime environment was not in an appropriate state for the method invocation.

IllegalThreadStateException

The IllegalThreadStateException class is a subclass of IllegalArgumentException that signals that a thread is not in an appropriate state for a requested operation.

IncompatibleClassChangeError

The IncompatibleClassChangeError class is a subclass of LinkageError that indicates an incompatible change to a class definition has occurred.

IndexOutOfBoundsException

The IndexOutOfBoundsException class is a subclass of RuntimeException that indicates an index has exceeded its range.

InstantiationError

The InstantiationError class is a subclass of IncompatibleClassChangeError indicating that an attempt to instantiate an abstract class or interface has occurred.

InstantiationException

The InstantiationException class is a subclass of Exception that indicates an attempt to instantiate an abstract class or interface.

InternalError

The InternalError class is a subclass of VirtualMachineError that indicates an unexpected internal error has occurred in the virtual machine.

InterruptedException

The InterruptedException class is a subclass of Exception that is thrown when a thread is interrupted.

LinkageError

The LinkageError class is a subclass of Error that indicates a class has changed in such a way that dependencies on that class are no longer valid.

NegativeArraySizeException

The NegativeArraySizeException class is a subclass of RuntimeException that is thrown as the result of attempting to allocate an array of negative size.

NoClassDefFoundError

The NoClassDefFoundError class is a subclass of LinkageError that indicates that a class definition cannot be found.

NoSuchFieldError

The NoSuchFieldError class is a subclass of IncompatibleClassChangeError that indicates an attempt to access a field that no longer exists.

NoSuchFieldException

The NoSuchFieldException class is a subclass of Exception that indicates that a referenced field name does not exist.

NoSuchMethodError

The NoSuchMethodError class is a subclass of IncompatibleClassChangeError that indicates an attempt to access a method that no longer exists.

NoSuchMethodException

The NoSuchMethodException class is a subclass of Exception indicating that a referenced method name does not exist.

NullPointerException

The NullPointerException class is a subclass of RuntimeException that is thrown by the use of a null reference.

NumberFormatException

The NumberFormatException class is a subclass of IllegalArgumentException that is thrown when an attempt is made to convert a String object to a number and the object does not have a valid numeric representation.

OutOfMemoryError

The OutOfMemoryError class is a subclass of VirtualMachineError that indicates that the JVM is out of memory and no memory could be made available.

RuntimeException

The RuntimeException class is a subclass of Exception that serves as the base class for defining exceptions that occur at runtime during normal JVM operation.

SecurityException

The SecurityException class is a subclass of RuntimeException that is thrown by a security policy violation.

StackOverflowError

The StackOverflowError class is a subclass of VirtualMachineError that indicates that a stack overflow has occurred.

StringIndexOutOfBoundsException

The StringIndexOutOfBoundsException class is a subclass of IndexOutOfBoundsException that indicates an attempt to access an element of a String object that is outside the string's bounds.

ThreadDeath

The ThreadDeath class is a subclass of Error that is thrown after a thread is stopped.

UnknownError

The UnknownError class is a subclass of VirtualMachineError that indicates that an unknown error occurred in the JVM.

UnsatisfiedLinkError

The UnsatisfiedLinkError class is a subclass of LinkageError that signals an attempt to access a nonexistent native method.

UnsupportedOperationException

The UnsupportedOperationException class is a subclass of RuntimeException that is thrown by an object to indicate that it does not support a particular method.

VerifyError

The VerifyError class is a subclass of LinkageError that is thrown when the verifier encounters an inconsistency in a class file that it is verifying.

VirtualMachineError

The VirtualMachineError class is a subclass of Error that indicates that the virtual machine is incapable of further processing.

Package java.lang.ref

The java.lang.ref package provides five classes that implement the new JDK 1.2 reference object capability. Reference objects are objects that are used to refer to other objects. They are similar to C and C++ pointers. The java.lang.ref package is covered in Chapter 10.

Interfaces

None.

Classes

PhantomReference

The PhantomReference class is a subclass of Reference. When the referent of a registered PhantomReference object is no longer strongly, guardedly, or weakly reachable, the PhantomReference object is cleared and added to the ReferenceQueue to which it is registered.

Reference

The Reference class is a subclass of Object that implements a reference to another object.

ReferenceQueue

The ReferenceQueue class is a subclass of Object that is used to collect Reference objects whose reachability has changed.

SoftReference

The SoftReference class is a subclass of Reference. An instance of this class is automatically cleared when memory is low and its referent is reachable only via soft references.

WeakReference

The WeakReference class is a subclass of Reference. When the referent of a registered WeakReference object is no longer strongly or guardedly reachable, the WeakReference object is cleared and added to the ReferenceQueue to which it is registered. The referent is then subject to finalization.

Exceptions and Errors

None.

Package java.lang.reflect

The java.lang.reflect package contains seven classes and one interface that provide the capability to implement runtime discovery of information about an object's class. The java.lang.reflect package is covered in Chapter 10.

Interfaces

Member

The Member interface is used to provide information that is reflected about a Field, Constructor, or Method.

Classes

AccessibleObject

The AccessibleObject class is a subclass of Object that is the superclass of the Constructor, Field, and Method classes. It was added to the class hierarchy in JDK 1.2 to provide the capability to specify whether an object suppresses reflection access control checks.

Array

The Array class is a subclass of Object that is used to obtain information about, create, and manipulate arrays.

Constructor

The Constructor class is a subclass of AccessibleObject that is used to obtain information about class constructors. It implements the Member interface.

Field

The Field class is a subclass of AccessibleObject that is used to obtain information about and access the field variables of a class. It implements the Member interface.

Method

The Method class is a subclass of Object that is used to obtain information about and access the methods of a class. It implements the Member interface.

Modifier

The Modifier class is a subclass of Object that is used to decode integers that represent the modifiers of classes, interfaces, field variables, constructors, and methods.

ReflectPermission

The ReflectPermission class is a subclass of java.security.BasicPermission that is used to specify whether the default language access checks should be suppressed for reflected objects.

Exceptions and Errors

InvocationTargetException

The InvocationTargetException class is a subclass of java.lang.Exception that wraps an exception thrown by an invoked method or constructor.

Package java.math

The java.math package provides two classes, BigDecimal and BigInteger, that provide the capability to perform arbitrary-precision arithmetic. This package is covered in Chapter 11, "Using the Utility and Math Packages."

Interfaces

None.

Classes

BigDecimal

The BigDecimal class is a subclass of java.lang.Number that provides the capability to perform arbitrary-precision decimal arithmetic. It implements the java.lang.Comparable interface.

BigInteger

The BigInteger class is a subclass of java.lang.Number that provides the capability to perform arbitrary-length integer arithmetic. It implements the java.lang.Comparable interface.

Exceptions and Errors

None.

Package java.net

The java.net package provides 20 classes and five interfaces for TCP/IP network programming. Six new classes are introduced with JDK 1.2. The java.net package is covered in Part VIII, "Network Programming."

Interfaces

ContentHandlerFactory

The ContentHandlerFactory interface is implemented by classes that create ContentHandler objects.

FileNameMap

The FileNameMap interface is implemented by classes that map file names to MIME types.

SocketImplFactory

The SocketImplFactory interface is implemented by classes that create SocketImpl objects.

SocketOptions

The SocketOptions interface provides constants and methods for setting TCP socket options.

URLStreamHandlerFactory

The URLStreamHandlerFactory interface is implemented by classes that create URLStreamHandler objects.

Classes

Authenticator

The Authenticator class is a subclass of Object that is used to authenticate a network connection.

ContentHandler

The ContentHandler class is a subclass of Object that is used to handle downloaded content based on its MIME type.

DatagramPacket

The DatagramPacket class is a subclass of Object that is used to implement UDP socket communication.

DatagramSocket

The DatagramSocket class is a subclass of Object that is used for UDP communication.

DatagramSocketImpl

The DatagramSocketImpl class is a subclass of Object that is a base class for implementing connectionless socket-based communication.

HttpURLConnection

The HttpURLConnection class is a subclass of URLConnection that supports the Hypertext Transfer Protocol (HTTP).

InetAddress

The InetAddress class is a subclass of Object that encapsulates an IP address.

JarURLConnection

The JarURLConnection class is a subclass of URLConnection that is used to access a JAR file via a network connection.

MulticastSocket

The MulticastSocket class is a subclass of DatagramSocket that supports multicast communication.

NetPermission

The NetPermission class is a subclass of java.security.BasicPermission that supports network security policy implementation.

PasswordAuthentication

The PasswordAuthentication class is a subclass of Object that supports network authentication by password.

ServerSocket

The ServerSocket class is a subclass of Object that is used to implement the server side of client/server applications.

Socket

The Socket class is a subclass of Object that provides an encapsulation of the client side of TCP and UDP sockets.

SocketImpl

The SocketImpl class is a subclass of Object that is used to create custom socket implementations.

SocketPermission

The SocketPermission class is a subclass of java.security.Permission that is used to define socket-level access controls. It implements the java.io.Serializable interface.

URL

The URL class is a subclass of Object that encapsulates a uniform resource locator (URL). It implements the java.lang.Comparable and java.io.Serializable interfaces.

URLClassLoader

The URLClassLoader class is a subclass of java.security.SecureClassLoader that is used to load classes from a location specified by a URL.

URLConnection

The URLConnection class is a subclass of Object that is used as a base class for implementing TCP connections to a URL-referenced resource.

URLDecoder

The URLDecoder class is a subclass of Object that supports x-www-form-urlencoded decoding.

URLEncoder

The URLEncoder class is a subclass of Object that supports x-www-form-urlencoded encoding.

URLStreamHandler

The URLStreamHandler class is a subclass of Object that is used to support the development of stream-based protocol handlers.

Exceptions and Errors

Exceptions
BindException

The BindException class is a subclass of SocketException that indicates that an error occurred during socket binding.

ConnectException

The ConnectException class is a subclass of SocketException that indicates that an error occurred during socket connection.

MalformedURLException

The MalformedURLException class is a subclass of java.io.IOException that identifies the use of an incorrectly formed URL.

NoRouteToHostException

The NoRouteToHostException class is a subclass of SocketException that indicates that the network was not able to establish a route to a remote host.

ProtocolException

The ProtocolException class is a subclass of java.io.IOException indicating that an error occurred in the protocol stack.

SocketException

The SocketException class is a subclass of java.io.IOException that indicates that an error occurred in the underlying socket implementation.

UnknownHostException

The UnknownHostException class is a subclass of java.io.IOException that is thrown by a reference to a host whose IP address could not be resolved.

UnknownServiceException

The UnknownServiceException class is a subclass of java.io.IOException that is thrown by an attempt to use a network service that is unknown to the requestor.

Package java.rmi

The java.rmi package provides three classes and one interface that support basic remote method invocation (RMI) capabilities. It is covered in Chapter 38, "Building Distributed Applications with the java.rmi Packages," and Chapter 39, "Working with Remote Objects."

Interfaces

Remote

The Remote interface is used to identify an object as being remotely accessible. It does not define any constants or methods.

Classes

MarshalledObject

The MarshalledObject class is a subclass of Object that supports object persistence for remote object activation by representing method arguments and return values as serialized byte streams. It implements the java.io.Serializable interface.

Naming

The Naming class is a subclass of Object that provides static methods for accessing remote objects via RMI URLs. It is used to bind object names to the remote objects they represent.

RMISecurityManager

The RMISecurityManager class is a subclass of java.lang.SecurityManager that defines the default security policy used with remote objects. This class can be extended to implement custom RMI security policies.

Exceptions and Errors

AccessException

The AccessException class is a subclass of RemoteException that is used to signal an access violation.

AlreadyBoundException

The AlreadyBoundException class is a subclass of java.lang.Exception that is used to signal that a name has already been bound.

ConnectException

The ConnectException class is a subclass of RemoteException that signals that a connection was refused by the remote host.

ConnectIOException

The ConnectIOException class is a subclass of RemoteException that signals that an I/O error occurred during connection establishment.

MarshalException

The MarshalException class is a subclass of RemoteException that identifies that an error in object marshalling occurred.

NoSuchObjectException

The NoSuchObjectException class is a subclass of RemoteException that identifies an attempt to invoke a method on an object that is no longer available.

NotBoundException

The NotBoundException class is a subclass of java.lang.Exception that identifies an attempt to look up a name that has not been bound.

RMISecurityException

The RMISecurityException class is a subclass of java.lang.SecurityException that identifies that a security exception has occurred during RMI.

RemoteException

The RemoteException class is a subclass of java.io.IOException that serves as a base class for RMI-related exceptions.

ServerError

The ServerError class is a subclass of RemoteException that identifies that an error occurred on a remote server as the result of processing a method invocation.

ServerException

The ServerException class is a subclass of RemoteException that identifies that an exception occurred on a remote server as the result of processing a method invocation.

ServerRuntimeException

The ServerRuntimeException class is a subclass of RemoteException that identifies that a runtime exception occurred on a remote server as the result of processing a method invocation.

StubNotFoundException

The StubNotFoundException class is a subclass of RemoteException that identifies that the stub of a requested remote object has not been exported.

UnexpectedException

The UnexpectedException class is a subclass of RemoteException that identifies that an exception occurred during a remote method invocation that was not specified in the method's signature.

UnknownHostException

The UnknownHostException class is a subclass of RemoteException that identifies an attempt to access the registry of an unknown host.

UnmarshalException

The UnmarshalException class is a subclass of RemoteException that identifies that an error occurred in the unmarshalling of a marshalled object.

Package java.rmi.activation

The java.rmi.activation package supports persistent object references and remote object activation. It contains seven classes and four interfaces. Chapter 39 shows how to work with these classes and interfaces.

Interfaces

ActivationInstantiator

The ActivationInstantiator interface is implemented by classes that create remotely activatable objects. It extends the Remote interface.

ActivationMonitor

The ActivationMonitor interface is implemented by classes that monitor the activation status of an ActivationGroup object. The ActivationGroup object notifies its ActivationMonitor when objects in the group change their activation status or when the group as a whole becomes inactive. ActivationMonitor extends the Remote interface.

ActivationSystem

The ActivationSystem interface is implemented by classes that support the registration of activatable objects and ActivationGroup objects. It extends the Remote interface.

Activator

The Activator interface is implemented by a class that activates classes whose objects are remotely activatable. The system Activator object is invoked by a faulting remote reference. It then initiates the activation of the object needed to complete the remote reference. It extends the Remote interface.

Classes

Activatable

The Activatable class is a subclass of RemoteServer that is the base class for developing remotely activatable classes. It is extended by classes that require remote activation or object persistence.

ActivationDesc

The ActivationDesc class is a subclass of Object that encapsulates the information needed to activate a remotely activatable object. This information includes the object's class name, activation group, code location, and initialization data. The ActivationDesc class implements the java.io.Serializable interface.

ActivationGroup

The ActivationGroup class is a subclass of UnicastRemoteObject that is used to manage a group of activatable objects. It implements the ActivationInstantiator interface.

ActivationGroupDesc

The ActivationGroupDesc class is a subclass of Object that encapsulates the information needed to activate an ActivationGroup object. This information includes the object's class name, code location, and initialization data. The ActivationGroupDesc class implements the java.io.Serializable interface.

ActivationGroupDesc.CommandEnvironment

The ActivationGroupDesc.CommandEnvironment class is a subclass of Object that contains startup information needed to activate an ActivationGroup object. It implements the java.io.Serializable interface.

ActivationGroupID

The ActivationGroupID class is a subclass of Object that uniquely identifies an ActivationGroup object as well as its ActivationSystem object. It implements the java.io.Serializable interface.

ActivationID

The ActivationID class is a subclass of Object that uniquely identifies a remotely activatable object as well as its Activator object. It implements the java.io.Serializable interface.

Exceptions and Errors

ActivateFailedException

The ActivateFailedException class is a subclass of java.rmi.RemoteException that identifies the failure to activate a remotely activatable object.

ActivationException

The ActivationException class is a subclass of java.lang.Exception that is the superclass of UnknownGroupException and UnknownObjectException.

UnknownGroupException

The UnknownGroupException class is a subclass of ActivationException that is generated by an attempt to activate an object from an unknown ActivationGroup object.

UnknownObjectException

The UnknownObjectException class is a subclass of ActivationException that is generated by an attempt to activate an object that is unknown to an Activator object.

Package java.rmi.dgc

The java.rmi.dgc package supports distributed garbage collection. It contains two classes and one interface and is covered in Chapter 38.

Interfaces

DGC

The DGC interface is implemented by the server side of the distributed garbage collector. It defines the clean() and dirty() methods for keeping track of which objects should be garbage-collected.

Classes

Lease

The Lease class is a subclass of Object that creates objects that are used to keep track of object references. It implements the java.io.Serializable interface.

VMID

The VMID class is a subclass of Object that implements an ID that uniquely identifies a Java virtual machine on a particular host. It implements the java.io.Serializable interface.

Exceptions and Errors

None.

Package java.rmi.registry

The java.rmi.registry package supports distributed registry operations. It contains one class and two interfaces. It is covered in Chapter 38.

Interfaces

Registry

The Registry interface provides methods for associating names with remotely accessible objects. It is implemented by classes that provide the RMI registry. It extends the Remote interface.

RegistryHandler

The RegistryHandler interface provides methods for accessing a Registry implementation. These methods have been deprecated in JDK 1.2.

Classes

LocateRegistry

The LocateRegistry class is a subclass of Object that provides methods for accessing the RMI registry on a particular host.

Exceptions and Errors

None.

Package java.rmi.server

The java.rmi.server package provides the low-level classes and interfaces that implement RMI. It contains 11 classes and seven interfaces. It is covered in Chapter 38.

Interfaces

LoaderHandler

The LoaderHandler interface provides methods for working with RMI class loaders.

RMIClientSocketFactory

The RMIClientSocketFactory interface provides the createSocket() method for creating a client-side RMI socket.

RMIServerSocketFactory

The RMIServerSocketFactory interface provides the createServerSocket() method for creating a server-side RMI socket.

RMIFailureHandler

The RMIFailureHandler interface defines methods for handling RMI failure events.

RemoteCall

The RemoteCall interface defines methods for supporting a remote method invocation.

RemoteRef

The RemoteRef interface extends the java.io.Externalizable interface and provides methods for implementing a reference to a remote object.

ServerRef

The ServerRef interface extends the RemoteRef interface to provide a server-side reference to a remote object.

Skeleton

The Skeleton interface provides methods that are implemented by server-side skeletons.

Unreferenced

The Unreferenced interface provides methods that are implemented by a remote object to determine when the object is no longer remotely referenced.

Classes

LogStream

The LogStream class is a subclass of java.io.PrintStream that supports the logging of RMI errors.

ObjID

The ObjID class is a subclass of Object that uniquely identifies a remote object. It implements the java.io.Serializable interface.

Operation

The Operation class is a subclass of Object that encapsulates a remote method.

RMIClassLoader

The RMIClassLoader class is a subclass of Object that supports class loading during RMI.

RMISocketFactory

The RMISocketFactory class is a subclass of Object that is used to load custom RMI socket implementations.

RemoteObject

The RemoteObject class is a subclass of Object that is the base class for developing remote objects. It implements the Remote and java.io.Serializable interfaces.

RemoteServer

The RemoteServer class is a subclass of RemoteObject that is the base class for implementing an RMI server.

RemoteStub

The RemoteStub class is a subclass of RemoteObject that is the base class of all RMI stubs.

UID

The UID class is a subclass of Object that uniquely identifies an object on a particular host. It implements the java.io.Serializable interface.

UnicastRemoteObject

The UnicastRemoteObject class is a subclass of RemoteServer that provides a default RMI server implementation.

Exceptions and Errors

ExportException

The ExportException class is a subclass of java.rmi.RemoteException indicating that an error occurred during object export.

ServerCloneException

The ServerCloneException class is a subclass of java.rmi.RemoteException that indicates an attempt to clone a non-cloneable remote object.

ServerNotActiveException

The ServerNotActiveException class is a subclass of java.lang.Exception that indicates that the remote server is not currently active.

SkeletonMismatchException

The SkeletonMismatchException class is a subclass of java.rmi.RemoteException indicating that the skeleton of a remote object is inappropriate for the object being referenced.

SkeletonNotFoundException

The SkeletonNotFoundException class is a subclass of java.rmi.RemoteException that signals that the skeleton of a remote object cannot be located.

SocketSecurityException

The SocketSecurityException class is a subclass of ExportException that signals a socket operation that violates the current security policy.

Package java.security

The java.security package provides 39 classes and eight interfaces that provide the foundation for the Security API. Refer to Chapter 3 and Chapter 8.

Interfaces

Certificate

The Certificate interface is a deprecated interface that provides support for digital certificates.

Guard

The Guard interface defines methods for objects that protect other objects.

Key

The Key interface extends the java.io.Serializable interface to encapsulate a cryptographic key.

Principal

The Principal interface provides methods for a subject that may have an identity.

PrivateKey

The PrivateKey interface extends the Key interface to provide support for a private key.

PrivilegedAction

The PrivilegedAction interface defines the run() method for use with operations that have privileges enabled.

PrivilegedException

The PrivilegedException interface defines the run() method for use with operations that have privileges enabled. This interface allows checked exceptions to be thrown.

PublicKey

The PublicKey interface extends the Key interface to provide support for a public key.

Classes

AccessControlContext

The AccessControlContext class is a subclass of Object that is used to make access control decisions.

AccessController

The AccessController class is a subclass of Object that implements security access controls.

AlgorithmParameterGenerator

The AlgorithmParameterGenerator class is a subclass of Object that generates parameters for use with cryptographic algorithms.

AlgorithmParameterGeneratorSpi

The AlgorithmParameterGeneratorSpi class is a subclass of Object that defines a service provider interface for an AlgorithmParameterGenerator class.

AlgorithmParameters

The AlgorithmParameters class is a subclass of Object that encapsulates parameters used with cryptographic algorithms.

AlgorithmParametersSpi

The AlgorithmParametersSpi class is a subclass of Object that provides a service provider interface for an AlgorithmParameters class.

AllPermission

The AllPermission class is a subclass of Permission that implies all other permissions.

BasicPermission

The BasicPermission class is a subclass of Permission that provides a base class for implementing permissions that use the same naming approach. It implements the java.io.Serializable interface.

CodeSource

The CodeSource class is a subclass of Object that identifies the location from which code is loaded. It implements the java.io.Serializable interface.

DigestInputStream

The DigestInputStream class is a subclass of java.io.FilterInputStream that is used to read a message digest.

DigestOutputStream

The DigestOutputStream class is a subclass of java.io.FilterOutputStream that is used to write a message digest.

GuardedObject

The GuardedObject class is a subclass of Object that is used to protect other objects. It implements the java.io.Serializable interface.

Identity

The Identity class is a subclass of Object that implements an identity used for making access control decisions. It implements the Principal and java.io.Serializable interfaces.

IdentityScope

The IdentityScope class is a subclass of Identity that defines the scope of an identity.

KeyFactory

The KeyFactory class is a subclass of Object that is used to create Key objects.

KeyFactorySpi

The KeyFactorySpi class is a subclass of Object that provides a service provider interface to a KeyFactory class.

KeyPair

The KeyPair class is a subclass of Object that encapsulates a public-private key pair.

KeyPairGenerator

The KeyPairGenerator class is a subclass of KeyPairGeneratorSpi that is used to create key pairs.

KeyPairGeneratorSpi

The KeyPairGeneratorSpi class is a subclass of Object that provides a service provider interface to a KeyPairGenerator object.

KeyStore

The KeyStore class is a subclass of Object that supports the management of cryptographic keys.

KeyStoreSpi

The KeyStoreSpi class is a subclass of Object that defines the service provider interface for the KeyPairGenerator class.

MessageDigest

The MessageDigest class is a subclass of MessageDigestSpi that implements a message digest.

MessageDigestSpi

The MessageDigestSpi class is a subclass of Object that provides a service provider interface to a MessageDigest class.

Permission

The Permission class is a subclass of Object that defines a permission to a protected resource. It implements the Guard and java.io.Serializable interfaces.

PermissionCollection

The PermissionCollection class is a subclass of Object that implements a collection of Permission objects. It implements the java.io.Serializable interface.

Permissions

The Permissions class is a subclass of PermissionCollection that supports a mixed collection of Permission objects. It implements the java.io.Serializable interface.

Policy

The Policy class is a subclass of Object that implements a Java security policy.

ProtectionDomain

The ProtectionDomain class is a subclass of Object that identifies a set of classes with the same permissions.

Provider

The Provider class is a subclass of java.util.Properties that implements a service provider.

SecureClassLoader

The SecureClassLoader class is a subclass of java.lang.ClassLoader that supports secure class loading.

SecureRandom

The SecureRandom class is a subclass of java.util.Random that provides secure random-number generation capabilities.

SecureRandomSpi

The SecureRandomSpi class is a subclass of Object that defines the service provider interface for the SecureRandom class.

Security

The Security class is a subclass of Object that provides common access to security-related objects.

SecurityPermission

The SecurityPermission class is a subclass of BasicPermission that defines security-related permissions.

Signature

The Signature class is a subclass of SignatureSpi that provides digital signature support.

SignatureSpi

The SignatureSpi class is a subclass of Object that provides a service provider interface to a Signature class.

SignedObject

The SignedObject class is a subclass of Object that represents an object that has been signed. It implements the java.io.Serializable interface.

Signer

The Signer class is a subclass of Identity that is capable of signing a signature-related object.

UnresolvedPermission

The UnresolvedPermission class is a subclass of Permission that does not have an accessible permission class. It implements the java.io.Serializable interface.

Exceptions and Errors

AccessControlException

The AccessControlException class is a subclass of SecurityException that indicates a violation of security access controls.

DigestException

The DigestException class is a subclass of GeneralSecurityException that is thrown by errors in message digest calculation.

GeneralSecurityException

The GeneralSecurityException class is a subclass of java.lang.Exception that is used as the base class for defining the security-related exceptions.

InvalidAlgorithmParameterException

The InvalidAlgorithmParameterException class is a subclass of GeneralSecurityException that indicates that an invalid parameter was supplied to a cryptographic algorithm.

InvalidKeyException

The InvalidKeyException class is a subclass of KeyException that indicates that an invalid key was supplied to a cryptographic algorithm.

InvalidParameterException

The InvalidParameterException class is a subclass of IllegalArgumentException indicating that an invalid parameter was supplied to a cryptographic algorithm.

KeyException

The KeyException class is a subclass of GeneralSecurityException that identifies an exception related to a cryptographic key.

KeyManagementException

The KeyManagementException class is a subclass of KeyException that identifies an exception in the management of keys.

KeyStoreException

The KeyStoreException class is a subclass of GeneralSecurityException that identifies an exception in the storage of keys.

NoSuchAlgorithmException

The NoSuchAlgorithmException class is a subclass of GeneralSecurityException indicating that a requested algorithm does not exist.

NoSuchProviderException

The NoSuchProviderException class is a subclass of GeneralSecurityException indicating that a requested service provider does not exist.

ProviderException

The ProviderException class is a subclass of java.lang.RuntimeException that is generated by a service provider.

SignatureException

The SignatureException class is a subclass of GeneralSecurityException that identifies an exception occurring during signature calculation.

UnrecoverableKeyException

The UnrecoverableKeyException class is a subclass of GeneralSecurityException that signals that a key cannot be recovered from a key store.

Package java.security.acl

The java.security.acl package provides five interfaces that provide the basic elements for implementing security access controls. This package is covered in Chapter 8.

Interfaces

Acl

The Acl interface extends the Owner interface to define methods for classes that implement access control lists. An Acl object consists of zero or more AclEntry objects.

AclEntry

The AclEntry interface defines methods for an entry in an access control list. It identifies a set of permissions for a principal. It extends the java.lang.Cloneable interface.

Group

The Group interface extends the java.security.Principal interface to provide methods for working with a group of Principal objects. A Group object may also contain other Group objects.

Owner

The Owner interface defines methods for working with the owners of an access control list.

Permission

The Permission interface defines methods for implementing permissions to access- protected resources.

Classes

None.

Exceptions and Errors

AclNotFoundException

The AclNotFoundException class is a subclass of java.lang.Exception that signals a reference to a nonexistent access control list.

LastOwnerException

The LastOwnerException class is a subclass of java.lang.Exception that signals an attempt to delete the last owner of an access control list.

NotOwnerException

The NotOwnerException class is a subclass of java.lang.Exception that signals an attempt to modify an access control list by an object that is not its owner.

Package java.security.cert

The java.security.cert package provides seven classes and one interface that implement digital certificates. It is covered in Chapter 8.

Interfaces

X509Extension

The X509Extension interface provides methods that encapsulate extensions defined for X.509 v3 certificates and v2 certificate revocation lists.

Classes

Certificate

The Certificate class is a subclass of Object that provides an abstract base class for implementing identity certificates.

CertificateFactory

The CertificateFactory class extends Object to provide a factory for the generation of certificates.

CertificateFactorySpi

The CertificateFactorySpi class extends Object to define the service provider interface for the CertificateFactory class.

X509CRLEntry

The X509CRLEntry class extends Object to define an abstract class for an entry in a certificate revocation list. It implements the X509Extension interface.

X509CRL

The X509CRL class is a subclass of Object that implements an X.509 certificate revocation list. It implements the X509Extension interface.

X509Certificate

The X509Certificate class is a subclass of Certificate that provides an abstract base class for implementing X.509 digital certificates.

Exceptions and Errors

CRLException

The CRLException class is a subclass of java.security.GeneralSecurityException that identifies an exception occurring in the processing of a certificate revocation list.

CertificateEncodingException

The CertificateEncodingException class is a subclass of CertificateException that identifies that an exception occurred during the encoding of a certificate.

CertificateException

The CertificateException class is a subclass of java.security.GeneralSecurityException that acts as a base class for other certificate-related exceptions.

CertificateExpiredException

The CertificateExpiredException class is a subclass of CertificateException that identifies that an expired certificate has been encountered.

CertificateNotYetValidException

The CertificateNotYetValidException class is a subclass of CertificateException that identifies that a certificate has been processed before its valid date range.

CertificateParsingException

The CertificateParsingException class is a subclass of CertificateException that indicates that an error occurred in the parsing of a certificate.

X509ExtensionException

The X509ExtensionException class is a subclass of java.security.GeneralSecurityException that an exception occurred in the processing of an X.509 extension.

Package java.security.interfaces

The java.security.interfaces package provides eight interfaces that support implementation of the NIST digital signature algorithm. It is covered in Chapter 8.

Interfaces

DSAKey

The DSAKey interface defines the getParams() method for accessing a Digital Signature Algorithm (DSA) public or private key.

DSAKeyPairGenerator

The DSAKeyPairGenerator interface is implemented by objects that can generate DSA key pairs.

DSAParams

The DSAParams interface defines methods for accessing a set of DSA key parameters.

DSAPrivateKey

The DSAPrivateKey interface extends the DSAKey and java.security.PrivateKey interfaces to provide access to a DSA private key.

DSAPublicKey

The DSAPublicKey interface extends the DSAKey and java.security.PublicKey interfaces to provide access to a DSA public key.

RSAPrivateCrtKey

The RSAPrivateCrtKey interface extends RSAPrivateKey to provide access to an RSA private key that uses the Chinese Remainder Theorem.

RSAPrivateKey

The RSAPrivateKey interface extends PrivateKey to provide access to an RSA private key.

RSAPublicKey

The RSAPublicKey interface extends PublicKey to provide access to an RSA private key.

Classes

None.

Exceptions and Errors

None.

Package java.security.spec

The java.security.spec package provides nine classes and two interfaces that provide specifications for cryptographic keys. It is covered in Chapter 8.

Interfaces

AlgorithmParameterSpec

The AlgorithmParameterSpec interface provides no constants or methods. It is used to identify an object that provides cryptographic algorithm parameters.

KeySpec

The KeySpec interface provides no constants or methods. It is used to identify an object that is a key for a cryptographic algorithm.

Classes

DSAParameterSpec

The DSAParameterSpec class is a subclass of Object that provides parameters for a Digital Signature Algorithm (DSA) implementation. It implements the AlgorithmParameterSpec and java.security.interfaces.DSAParams interfaces.

DSAPrivateKeySpec

The DSAPrivateKeySpec class is a subclass of Object that implements a private DSA key. It implements the KeySpec interface.

DSAPublicKeySpec

The DSAPublicKeySpec class is a subclass of Object that implements a public DSA key. It implements the KeySpec interface.

EncodedKeySpec

The EncodedKeySpec class is a subclass of Object that implements an encoded public or private key. It implements the KeySpec interface.

PKCS8EncodedKeySpec

The PKCS8EncodedKeySpec class is a subclass of EncodedKeySpec that represents the PKCS #8 standard encoding of a private key.

RSAPrivateCrtKeySpec

The RSAPrivateCrtKeySpec class extends RSAPrivateKeySpec to implement an RSA private key that uses the Chinese Remainder Theorem.

RSAPrivateKeySpec

The RSAPrivateKeySpec class extends Object to encapsulate an RSA private key. It implements the KeySpec interface.

RSAPublicKeySpec

The RSAPublicKeySpec class extends Object to encapsulate an RSA public key. It implements the KeySpec interface.

X509EncodedKeySpec

The X509EncodedKeySpec class is a subclass of EncodedKeySpec that represents the X.509 standard encoding of a public or private key.

Exceptions and Errors

InvalidKeySpecException

The InvalidKeySpecException class is a subclass of java.security.GeneralSecurityException that identifies an invalid key specification.

InvalidParameterSpecException

The InvalidParameterSpecException class is a subclass of java.security.GeneralSecurityException that identifies an invalid parameter specification.

Package java.sql

The java.sql package provides six classes and 16 interfaces that provide Java database connectivity. This package is covered in Part X, "Database Programming."

Interfaces

ArrayLocator

The ArrayLocator interface provides a reference to an array that is stored by the database server.

Blob

The Blob interface provides a reference to a binary large object that is stored by the database server.

CallableStatement

The CallableStatement interface extends the PreparedStatement interface to provide support for stored procedures.

Clob

The Clob interface provides a reference to a character large object that is stored by the database server.

Connection

The Connection interface encapsulates a database connection.

DatabaseMetaData

The DatabaseMetaData interface provides access to information about the database itself.

Driver

The Driver interface encapsulates a database driver.

PreparedStatement

The PreparedStatement interface provides access to precompiled, stored SQL statements.

Ref

The Ref interface provides a reference to a stored SQL value.

ResultSet

The ResultSet interface encapsulates the results of a database query.

ResultSetMetaData

The ResultSetMetaData interface provides information about a ResultSet object.

SQLData

The SQLData interface provides support for mapping SQL and Java data types.

SQLInput

The SQLInput interface represents an input stream of a SQL UDT instance.

SQLOutput

The SQLOutput interface represents a SQL UDT output stream.

Statement

The Statement interface provides support for executing SQL statements.

Struct

The Struct interface encapsulates a SQL structured type.

Classes

Date

The Date class is a subclass of java.util.Date that supports SQL date objects.

DriverManager

The DriverManager class is a subclass of Object that is used to manage database drivers.

DriverPropertyInfo

The DriverPropertyInfo class is a subclass of Object that provides information about a database driver.

Time

The Time class is a subclass of java.util.Time that supports SQL time objects.

Timestamp

The Timestamp class is a subclass of Object that encapsulates a SQL time stamp.

Types

The Types class is a subclass of Object that defines constants for use with SQL types.

Exceptions and Errors

BatchUpdateException

The BatchUpdateException class is a subclass of SQLException that signals the occurrence of errors during batch update operations.

DataTruncation

The DataTruncation class is a subclass of SQLWarning that indicates that a date value has been truncated.

SQLException

The SQLException class is a subclass of java.lang.Exception that serves as a base class for database exceptions.

SQLWarning

The SQLWarning class is a subclass of SQLException that signals warnings about database operations.

Package java.text

The java.text package provides 20 classes and two interfaces that support internationalization. The java.text package is covered in Chapter 19.

Interfaces

AttributedCharacterIterator

The AttributedCharacterIterator interface extends the CharacterIterator interface to provide support for iterating through text that is associated with style, internationalization, or other attributes.

CharacterIterator

The CharacterIterator interface provides internationalization support for bidirectional text iteration.

Classes

Annotation

The Annotation class is a subclass of Object that is used to work with text attribute values.

AttributedCharacterIterator.Attribute

The AttributedCharacterIterator.Attribute class extends Object to define the keys used with text attributes. It implements the java.io.Serializable interface.

AttributedString

The AttributedString class is a subclass of Object that encapsulates text and related attribute information.

BreakIterator

The BreakIterator class is a subclass of Object that provides support for identifying text-break boundaries. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

ChoiceFormat

The ChoiceFormat class is a subclass of NumberFormat that allows number formatting to be associated with a range of numbers.

CollationElementIterator

The CollationElementIterator class is a subclass of Object that is used to iterate through international text strings.

CollationKey

The CollationKey class is a subclass of Object that is used to compare two Collator objects. It implements the java.lang.Comparable interface.

Collator

The Collator class is a subclass of Object that supports locale-specific string comparisons. It implements the java.lang.Comparable, java.lang.Cloneable, and java.io.Serializable interfaces.

DateFormat

The DateFormat class is a subclass of Format that provides international date formatting support.

DateFormatSymbols

The DateFormatSymbols class is a subclass of Object that provides support for locale-specific date formatting information. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

DecimalFormat

The DecimalFormat class is a subclass of Object that provides international decimal point formatting support.

DecimalFormatSymbols

The DecimalFormatSymbols class is a subclass of Object that provides locale-specific decimal formatting information. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

FieldPosition

The FieldPosition class is a subclass of Object that is used to identify fields in formatted output.

Format

The Format class is a subclass of Object that is the base class for international formatting support. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

MessageFormat

The MessageFormat class is a subclass of Format that supports international message concatenation.

NumberFormat

The NumberFormat class is a subclass of Format that provides international number formatting support.

ParsePosition

The ParsePosition class is a subclass of Object that is used to keep track of the current parsing position.

RuleBasedCollator

The RuleBasedCollator class is a subclass of Collator that supports rule-based sorting.

SimpleDateFormat

The SimpleDateFormat class is a subclass of DateFormat that supports basic international date formatting.

StringCharacterIterator

The StringCharacterIterator class is a subclass of Object that provides a basic implementation of the CharacterIterator interface. It also implements the java.io.Serializable interface.

Exceptions and Errors

ParseException

The ParseException class is a subclass of java.lang.Exception that signals a parsing error.

Package java.util

The java.util package, like java.lang and java.io, is fundamental to any Java platform. It provides 34 classes and 13 interfaces that cover a wide variety of common programming needs. Most of the new classes and interfaces support the Collections API. The java.util package is covered in Chapter 11.

Interfaces

Collection

The Collection interface defines methods for working with arbitrary collections of objects.

Comparator

The Comparator interface defines methods for implementing a comparison function.

Enumeration

The Enumeration interface defines methods for working with an ordered collection of objects.

EventListener

The EventListener interface provides the basic interface to support Java event handling.

Iterator

The Iterator interface defines methods for iterating through an ordered collection.

List

The List interface extends the Collection interface to an ordered list of objects.

ListIterator

The ListIterator interface extends the Iterator interface to support iteration through a List object.

Map

The Map interface provides methods for mapping between two object sets.

Map.Entry

The Map.Entry interface defines methods for a single mapping element.

Observer

The Observer interface defines methods for observing the occurrence of an event, action, or processing.

Set

The Set interface extends the Collection interface to implement a collection in which each element occurs only once.

SortedMap

The SortedMap interface extends the Map interface to identify an ordering between the map elements.

SortedSet

The SortedSet interface extends the Set interface to order the collection of set elements.

Classes

AbstractCollection

The AbstractCollection class is a subclass of Object that provides an abstract implementation of the Collection interface.

AbstractList

The AbstractList class is a subclass of AbstractCollection that provides an abstract implementation of the List interface.

AbstractMap

The AbstractMap class is a subclass of Object that provides an abstract implementation of the Map interface.

AbstractSequentialList

The AbstractSequentialList class is a subclass of AbstractList that provides a sequential access data store.

AbstractSet

The AbstractSet class is a subclass of AbstractCollection that provides an abstract implementation of the Set interface.

ArrayList

The ArrayList class is a subclass of AbstractList that is implemented in terms of an array. It implements the List, java.lang.Cloneable, and java.io.Serializable interfaces.

Arrays

The Arrays class is a subclass of Object that provides support for array manipulation.

BitSet

The BitSet class is a subclass of Object that provides a growable vector of bits. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

Calendar

The Calendar class is a subclass of Object that provides basic support for date, time, and calendar functions. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

Collections

The Collections class is a subclass of Object that provides static methods for working with collections of objects.

Date

The Date class is a subclass of Object that provides basic date/time support. It implements the java.lang.Comparable, java.lang.Cloneable, and java.io.Serializable interfaces.

Dictionary

The Dictionary class is a subclass of Object that maps names to values.

EventObject

The EventObject class is a subclass of Object that provides the basic class from which most Java events are derived. It implements the java.io.Serializable interface.

GregorianCalendar

The GregorianCalendar class is a subclass of Calendar that implements a Gregorian calendar.

HashMap

The HashMap class is a subclass of AbstractMap that provides an implementation of the Map interface using a hash table. It implements the Map, java.lang.Cloneable, and java.io.Serializable interfaces.

HashSet

The HashSet class is a subclass of AbstractSet that implements the Set interface using a hash table. It implements the Set, java.lang.Cloneable, and java.io.Serializable interfaces.

Hashtable

The Hashtable class is a subclass of Dictionary that maps keys to their values. It implements the Map, java.lang.Cloneable, and java.io.Serializable interfaces.

LinkedList

The LinkedList class is a subclass of AbstractSequentialList that encapsulates a linked list data structure. It implements the List, java.lang.Cloneable, and java.io.Serializable interfaces.

ListResourceBundle

The ListResourceBundle class is a subclass of ResourceBundle that provides internationalization in the form of a list.

Locale

The Locale class is a subclass of Object that encapsulates a local region for internationalization purposes. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

Observable

The Observable class is a subclass of Object that represents observable data in the model-view paradigm.

Properties

The Properties class is a subclass of Hashtable that represents a set of properties and property values.

PropertyPermission

The PropertyPermission class is a subclass of java.security.BasicPermission that implements access controls on system properties.

PropertyResourceBundle

The PropertyResourceBundle class is a subclass of ResourceBundle that manages internationalization resources using properties.

Random

The Random class is a subclass of Object that provides random-number generation capabilities. It implements the java.io.Serializable interface.

ResourceBundle

The ResourceBundle class is a subclass of Object that is used to manage internationalization resources.

SimpleTimeZone

The SimpleTimeZone class is a subclass of TimeZone that provides basic time zone information.

Stack

The Stack class is a subclass of Vector that implements a stack data structure.

StringTokenizer

The StringTokenizer class is a subclass of Object that supports the parsing of strings. It implements the Enumeration interface.

TimeZone

The TimeZone class is a subclass of Object that encapsulates the notion of a time zone. It implements the java.lang.Cloneable and java.io.Serializable interfaces.

TreeMap

The TreeMap class is a subclass of AbstractMap that provides a tree-based implementation of the Map interface. It implements the SortedMap, java.lang.Cloneable, and java.io.Serializable interfaces.

TreeSet

The TreeSet class is a subclass of AbstractSet that provides a tree-based implementation of the Set interface. It implements the SortedSet, java.lang.Cloneable, and java.io.Serializable interfaces.

Vector

The Vector class is a subclass of AbstractList that provides a growable array of objects. It implements the List, java.lang.Cloneable, and java.io.Serializable interfaces.

WeakHashMap

The WeakHashMap class extends AbstractMap to implement a hashtable based on weak (garbage-collectable) keys. It implements the Map interface.

Exceptions and Errors

ConcurrentModificationException

The ConcurrentModificationException class is a subclass of java.lang.RuntimeException that identifies invalid concurrent accesses to collections objects.

EmptyStackException

The EmptyStackException class is a subclass of java.lang.RuntimeException that signals an attempt to pop an object from an empty stack.

MissingResourceException

The MissingResourceException class is a subclass of java.lang.RuntimeException that signals an access to a missing resource.

NoSuchElementException

The NoSuchElementException class is a subclass of java.lang.RuntimeException that indicates an Enumeration contains no more elements.

TooManyListenersException

The TooManyListenersException class is a subclass of java.lang.Exception indicating that too many event listeners are associated with an event.

Package java.util.jar

The java.util.jar package provides seven classes for working with JAR files. It is covered in Chapter 11. Chapter 8 shows how to use the jar tool to create JAR files.

Interfaces

None.

Classes

Attributes

The Attributes class is a subclass of Object that maps Manifest attribute names to string values. It implements the java.util.Map and java.lang.Cloneable interfaces.

Attributes.Name

The Attributes.Name class is an inner class of Attributes that represents a specific attribute name of the Attributes map. It is a subclass of Object.

JarEntry

The JarEntry class is a subclass of java.util.zip.ZipEntry that represents an entry in a JAR file. It provides methods for reading the attributes and identities of JAR file entries.

JarFile

The JarFile class is a subclass of java.util.zip.ZipFile that is used to read JAR files. It supports reading of the manifest as well as individual JAR file entries.

JarInputStream

The JarInputStream class is a subclass of java.util.zip.ZipInputStream that is used to read a JAR file from an input stream.

JarOutputStream

The JarOutputStream class is a subclass of java.util.zip.ZipOutputStream that is used to write the contents of a JAR file to an output stream.

Manifest

The Manifest class is a subclass of Object that implements a JAR file manifest. It provides methods for accessing manifest names and their attributes. It implements the java.lang.Cloneable interface.

Exceptions and Errors

JarException

The JarException class is a subclass of java.util.zip.ZipException that is used to report errors that occur in the reading or writing of a JAR file.

Package java.util.mime

The java.util.mime package provides two classes for working with MIME types. It is covered in Chapter 11.

Interfaces

None.

Classes

MimeType

The MimeType class is a subclass of Object that provides an object representation of a MIME type. It implements the java.lang.Cloneable and java.io.Externalizable interfaces.

MimeTypeParameterList

The MimeTypeParameterList class is a subclass of Object that provides the capability to work with a MIME type's parameters. It implements the java.lang.Cloneable interface.

Exceptions and Errors

MimeTypeParseException

The MimeTypeParseException class is a subclass of java.lang.Exception that identifies that an exception has occurred during MIME type parsing.

Package java.util.zip

The java.util.zip package provides 14 classes and one interface for working with compressed files. It is covered in Chapter 11.

Interfaces

Checksum

The Checksum interface provides a common set of methods for classes that compute a checksum.

Classes

Adler32

The Adler32 class is a subclass of Object that computes an Adler-32 checksum on an input stream. It implements the Checksum interface.

CRC32

The CRC32 class is a subclass of Object that computes an CRC-32 checksum on an input stream. It implements the Checksum interface.

CheckedInputStream

The CheckedInputStream class is a subclass of java.io.FilterInputStream that computes a checksum of the data being read.

CheckedOutputStream

The CheckedOutputStream class is a subclass of java.io.FilterOutputStream that computes a checksum of the data being written.

Deflater

The Deflater class is a subclass of Object that supports compression using the ZLIB compression library.

DeflaterOutputStream

The DeflaterOutputStream class is a subclass of java.io.FilterOutputStream that compresses stream output using the deflate format of the ZLIB compression library.

GZIPInputStream

The GZIPInputStream class is a subclass of InflatorInputStream that supports the reading of GZIP-compressed data.

GZIPOutputStream

The GZIPOutputStream class is a subclass of DeflatorOutputStream that supports the writing of GZIP-compressed data.

Inflater

The Inflater class is a subclass of Object that supports decompression using the ZLIB compression library.

InflaterInputStream

The InflaterInputStream class is a subclass of java.io.FilterIntputStream that decompresses stream input using the inflate format of the ZLIB compression library.

ZipEntry

The ZipEntry class is a subclass of Object that encapsulates a ZIP file entry. It implements the java.lang.Cloneable interface.

ZipFile

The ZipFile class is a subclass of Object that supports the reading of ZipEntry objects from ZIP files.

ZipInputStream

The ZipInputStream class is a subclass of InflaterInputStream that is used for reading streams that are in the compressed or uncompressed ZIP format.

ZipOutputStream

The ZipOutputStream class is a subclass of DeflaterOutputStream that is used to write compressed and uncompressed ZIP file entries to an output stream.

Exceptions and Errors

DataFormatException

The DataFormatException class is a subclass of java.lang.Exception that is used to identify the occurrence of a data format error during compression or decompression.

ZipException

The ZipException class is a subclass of java.io.IOException that signals an error in the reading or writing of a ZIP file or stream.

Package org.omg.CORBA

The org.omg.CORBA package consists of 57 classes and 42 interfaces that implement the foundation for supporting Java-CORBA integration.

Interfaces

ARG_IN

The ARG_IN interface identifies a method input argument.

ARG_INOUT

The ARG_INOUT interface identifies an argument that may be used as both an input and an output in a method invocation.

ARG_OUT

The ARG_OUT interface identifies a method output argument.

AliasDef

The AliasDef interface encapsulates an IDL AliasDef. It extends the Object and TypedefDef interfaces.

ArrayDef

The ArrayDef interface encapsulates an IDL ArrayDef. It extends the Object and IDLType interfaces.

AttributeDef

The AttributeDef interface encapsulates an IDL AttributeDef. It extends the Object and Contained interfaces.

CTX_RESTRICT_SCOPE

The CTX_RESTRICT_SCOPE interface is used as a flag to restrict the search scope of the get_values() method.

ConstantDef

The ConstantDef interface encapsulates an IDL ConstantDef. It extends the Object and Contained interfaces.

Contained

The Contained interface encapsulates an IDL Contained object. It extends the Object and IRObject interfaces.

Container

The Container interface encapsulates an IDL Container object. It extends the Object and IRObject interfaces.

ConstructionPolicy

The ConstructionPolicy interface extends the Object and Policy interfaces to allow user-specified construction policies.

DomainManager

The DomainManager interface extends the Object interface to support the management of a domain's policy objects.

DynAny

The DynAny interface extends the Object interface to support access to CORBA Any objects.

DynArray

The DynArray interface extends the Object and DynAny interfaces to support arrays.

DynEnum

The DynEnum interface extends the Object and DynAny interfaces to support IDL enum types.

DynFixed

The DynFixed interface extends the Object and DynAny interfaces to support IDL fixed types.

DynSequence

The DynSequence interface extends the Object and DynAny interfaces to support IDL sequence types.

DynStruct

The DynStruct interface extends the Object and DynAny interfaces to support IDL struct types.

DynUnion

The DynUnion interface extends the Object and DynAny interfaces to support IDL union types.

DynValue

The DynValue interface extends the Object and DynAny interfaces to support IDL values.

EnumDef

The EnumDef interface encapsulates an IDL EnumDef. It extends the Object and TypedefDef interfaces.

ExceptionDef

The ExceptionDef interface encapsulates an IDL ExceptionDef. It extends the Object, Container, and Contained interfaces.

IDLType

The IDLType interface encapsulates an IDL IDLType. It extends the Object and IRObject interfaces.

IRObject

The IRObject interface encapsulates an interface repository object. It extends the Object interface.

ImplementationDef

The ImplementationDef interface encapsulates an IDL ImplementationDef. It extends the Object interface.

InterfaceDef

The InterfaceDef interface encapsulates an IDL InterfaceDef. It extends the Object, Container, Contained, and IDLType interfaces.

InitializerDef

The InitializerDef interface extends the Object and Contained interfaces to support initializer definitions.

ModuleDef

The ModuleDef interface encapsulates an IDL ModuleDef. It extends the Object, Container, and Contained interfaces.

Object

The Object interface represents a CORBA object reference.

OperationDef

The OperationDef interface encapsulates an IDL OperationDef. It extends the Object and Contained interfaces.

Policy

The Policy interface extends the Object interface to support policy specification.

PrimitiveDef

The PrimitiveDef interface encapsulates an IDL PrimitiveDef. It extends the Object and IDLType interfaces.

Repository

The Repository interface encapsulates the IDL object repository.

SequenceDef

The SequenceDef interface encapsulates an IDL SequenceDef. It extends the Object and IDLType interfaces.

StringDef

The StringDef interface encapsulates an IDL StringDef. It extends the Object and IDLType interfaces.

StructDef

The StructDef interface encapsulates an IDL StructDef. It extends the Object, TypedefDef, and Container interfaces.

TypedefDef

The TypedefDef interface encapsulates an IDL TypedefDef. It extends the Object, IDLType, and Contained interfaces.

UnionDef

The UnionDef interface encapsulates an IDL UnionDef. It extends the Object, TypedefDef, and Container interfaces.

ValueBoxDef

The ValueBoxDef interface extends the Object and IDLType interfaces to support value box definitons.

ValueDef

The ValueDef interface extends the Object, Container, Contained, and IDLType interfaces to support value definitions.

ValueMemberDef

The ValueMemberDef interface extends the Object and Contained interfaces to support value member definitions.

Classes

Any

The Any class is a subclass of Object that acts as a container for data of any primitive IDL type.

AnyHolder

The AnyHolder class is a subclass of Object that acts as a holder for Any objects used as INOUT and OUT method parameters.

AttributeDescription

The AttributeDescription class is a subclass of Object that is used to describe an IDL type attribute.

AttributeMode

The AttributeMode class is a subclass of Object that is used to describe an IDL type mode.

BooleanHolder

The BooleanHolder class is a subclass of Object that is used to hold boolean values for use as INOUT and OUT arguments.

ByteHolder

The ByteHolder class is a subclass of Object that is used to hold byte values for use as INOUT and OUT arguments.

CharHolder

The CharHolder class is a subclass of Object that is used to hold char values for use as INOUT and OUT arguments.

CompletionStatus

The CompletionStatus class is a subclass of Object that identifies the completion status of a method that throws a SystemException.

ConstantDescription

The ConstantDescription class is a subclass of Object that is used to define a constant value.

Context

The Context class is a subclass of Object that provides information about the context in which a method invocation request takes place.

ContextList

The ContextList class is a subclass of Object that specifies properties associated with a Context object.

Current

The Current class is a subclass of org.omg.CORBA.portable.ObjectImpl that is used to access information about an execution thread.

DefinitionKind

The DefinitionKind class is a subclass of Object that is used to hold boolean types for use as INOUT and OUT arguments.

DoubleHolder

The DoubleHolder class is a subclass of Object that is used to hold double values for use as INOUT and OUT arguments.

DynamicImplementation

The DynamicImplementation class is a subclass of org.omg.CORBA.portable.ObjectImpl that provides support for the dynamic servant interface.

Environment

The Environment class is a subclass of Object that is used to make exceptions available to the client that requested a method invocation.

ExceptionDescription

The ExceptionDescription class is a subclass of Object that is used to describe a CORBA exception.

ExceptionList

The ExceptionList class is a subclass of Object that lists the exceptions that can be thrown by a method.

FloatHolder

The FloatHolder class is a subclass of Object that is used to hold float values for use as INOUT and OUT arguments.

Initializer

The Initializer class is a subclass of Object that supports member initialization.

IntHolder

The IntHolder class is a subclass of Object that is used to hold int values for use as INOUT and OUT arguments.

InterfaceDescription

The InterfaceDescription class is a subclass of Object that provides a description of a CORBA interface.

LongHolder

The LongHolder class is a subclass of Object that is used to hold long values for use as INOUT and OUT arguments.

ModuleDescription

The ModuleDescription class is a subclass of Object that describes a CORBA module.

NameValuePair

The NameValuePair class is a subclass of Object that holds the name and value of an IDL construct.

NVList

The NVList class is a subclass of Object that provides a list of NamedValue objects.

NamedValue

The NamedValue class is a subclass of Object that is used to describe method arguments and return values.

ORB

The ORB class is a subclass of Object that serves as the CORBA object request broker.

ObjectHolder

The ObjectHolder class is a subclass of Object that is used to hold object references for use as INOUT and OUT arguments.

OperationDescription

The OperationDescription class is a subclass of Object that describes a CORBA operation.

OperationMode

The OperationMode class is a subclass of Object that describes a CORBA operation mode.

ParameterDescription

The ParameterDescription class is a subclass of Object that describes a CORBA parameter.

ParameterMode

The ParameterMode class is a subclass of Object that describes a CORBA parameter mode.

PrimitiveKind

The PrimitiveKind class is a subclass of Object that provides static methods that define primitive IDL types.

Principal

The Principal class is a subclass of Object that identifies a client making a remote method invocation request.

PrincipalHolder

The PrincipalHolder class is a subclass of Object that is used to hold Principal objects for use as INOUT and OUT arguments.

PRIVATE

The PRIVATE class is a subclass of Object that support the implementation of private values.

PUBLIC

The PUBLIC class is a subclass of Object that support the implementation of public values.

Request

The Request class is a subclass of Object that encapsulates a client request to invoke a remote method.

ServerRequest

The ServerRequest class is a subclass of Object that encapsulates a dynamic skeleton interface request.

ShortHolder

The ShortHolder class is a subclass of Object that is used to hold short values for use as INOUT and OUT arguments.

StringHolder

The StringHolder class is a subclass of Object that is used to hold String objects for use as INOUT and OUT arguments.

StructMember

The StructMember class is a subclass of Object that describes a member of a CORBA data structure.

TCKind

The TCKind class is a subclass of Object that encapsulates the IDL TCKind object.

TypeCode

The TypeCode class is a subclass of Object that is used to identify a primitive IDL value type.

TypeCodeHolder

The TypeCodeHolder class is a subclass of Object that is used to hold TypeCode objects for use as INOUT and OUT arguments.

TypeDescription

The TypeDescription class is a subclass of Object that describes an IDL type.

UnionMember

The UnionMember class is a subclass of Object that provides support for IDL union constructs.

Exceptions and Errors

BAD_CONTEXT

The BAD_CONTEXT class is a subclass of SystemException that supports the CORBA BAD_CONTEXT exception.

BAD_INV_ORDER

The BAD_INV_ORDER class is a subclass of SystemException that supports the CORBA BAD_INV_ORDER exception.

BAD_OPERATION

The BAD_OPERATION class is a subclass of SystemException that supports the CORBA BAD_OPERATION exception.

BAD_PARAM

The BAD_PARAM class is a subclass of SystemException that supports the CORBA BAD_PARAM exception.

BAD_TYPECODE

The BAD_TYPECODE class is a subclass of SystemException that supports the CORBA BAD_TYPECODE exception.

Bounds

The Bounds class is a subclass of UserException that provides support for the user-defined bounds exception.

COMM_FAILURE

The COMM_FAILURE class is a subclass of SystemException that supports the CORBA COMM_FAILURE exception.

DATA_CONVERSION

The DATA_CONVERSION class is a subclass of SystemException that supports the CORBA DATA_CONVERSION exception.

FREE_MEM

The FREE_MEM class is a subclass of SystemException that supports the CORBA FREE_MEM exception.

IMP_LIMIT

The IMP_LIMIT class is a subclass of SystemException that supports the CORBA IMP_LIMIT exception.

INITIALIZE

The INITIALIZE class is a subclass of SystemException that supports the CORBA INITIALIZE exception.

INTERNAL

The INTERNAL class is a subclass of SystemException that supports the CORBA INTERNAL exception.

INTF_REPOS

The INTF_REPOS class is a subclass of SystemException that supports the CORBA INTF_REPOS exception.

INVALID_TRANSACTION

The INVALID_TRANSACTION class is a subclass of SystemException that supports the CORBA INVALID_TRANSACTION exception.

INV_FLAG

The INV_FLAG class is a subclass of SystemException that supports the CORBA INV_FLAG exception.

INV_IDENT

The INV_IDENT class is a subclass of SystemException that supports the CORBA INV_IDENT exception.

INV_OBJREF

The INV_OBJREF class is a subclass of SystemException that supports the CORBA INV_OBJREF exception.

MARSHAL

The MARSHAL class is a subclass of SystemException that supports the CORBA MARSHAL exception.

NO_IMPLEMENT

The NO_IMPLEMENT class is a subclass of SystemException that supports the CORBA NO_IMPLEMENT exception.

NO_MEMORY

The NO_MEMORY class is a subclass of SystemException that supports the CORBA NO_MEMORY exception.

NO_PERMISSION

The NO_PERMISSION class is a subclass of SystemException that supports the CORBA NO_PERMISSION exception.

NO_RESOURCES

The NO_RESOURCES class is a subclass of SystemException that supports the CORBA NO_RESOURCES exception.

NO_RESPONSE

The NO_RESPONSE class is a subclass of SystemException that supports the CORBA NO_RESPONSE exception.

OBJECT_NOT_EXIST

The OBJECT_NOT_EXIST class is a subclass of SystemException that supports the CORBA OBJECT_NOT_EXIST exception.

OBJ_ADAPTER

The OBJ_ADAPTER class is a subclass of SystemException that supports the CORBA OBJ_ADAPTER exception.

PERSIST_STORE

The PERSIST_STORE class is a subclass of SystemException that supports the CORBA PERSIST_STORE exception.

SystemException

The SystemException class is a subclass of java.lang.RuntimeException that serves as the base class for implementing CORBA exceptions.

TRANSACTION_REQUIRED

The TRANSACTION_REQUIRED class is a subclass of SystemException that supports the CORBA TRANSACTION_REQUIRED exception.

TRANSACTION_ROLLEDBACK

The TRANSACTION_ROLLEDBACK class is a subclass of SystemException that supports the CORBA TRANSACTION_ROLLEDBACK exception.

TRANSIENT

The TRANSIENT class is a subclass of SystemException that supports the CORBA TRANSIENT exception.

UNKNOWN

The UNKNOWN class is a subclass of SystemException that supports the CORBA UNKNOWN exception.

UnknownUserException

The UnknownUserException class is a subclass of UserException that identifies an unknown user exception returned by the remote server.

UserException

The UserException class is a subclass of java.lang.Exception that supports the implementation of IDL-defined user exceptions.

WrongTransaction

The WrongTransaction class is a subclass of UserException that identifies a requested transaction as being from an incorrect transaction scope.

Package org.omg.CORBA. ContainedPackage

The org.omg.CORBA.ContainedPackage package contains a single class, Description, that describes the type and value of a contained object.

Interfaces

None.

Classes

Description

The Description class is a subclass of Object that is used to describe a contained object.

Exceptions and Errors

None.

Package org.omg.CORBA.ContainerPackage

The org.omg.CORBA.ContainerPackage package contains a single class, Description, that describes the type, value, and object contained in a container object.

Interfaces

None.

Classes

Description

The Description class is a subclass of Object that is used to describe a contained object.

Exceptions and Errors

None.

Package org.omg.CORBA. InterfaceDefPackage

The org.omg.CORBA.InterfaceDefPackage package contains a single class, FullInterfaceDescription, that describes an interface definition.

Interfaces

None.

Classes

FullInterfaceDescription

The FullInterfaceDescription class is a subclass of Object that is used to describe a contained object.

Exceptions and Errors

None.

Package org.omg.CORBA.ORBPackage

The org.omg.CORBA.ORBPackage package defines the InvalidName exception, which is raised when an invalid name is passed to an object request broker.

Interfaces

None.

Classes

None.

Exceptions and Errors

InvalidName

The InvalidName class is a subclass of org.omg.CORBA.UserException that indicates that the ORB was passed a name for which there is no initial reference.

Package org.omg.CORBA.TypeCodePackage

The org.omg.CORBA.TypeCodePackage package defines the BadKind and Bounds exceptions, which are used to signal exceptions related to type usage and constraints.

Interfaces

None.

Classes

None.

Exceptions and Errors

BadKind

The BadKind class is a subclass of org.omg.CORBA.UserException that indicates that an inappropriate operation was attempted on an org.omg.CORBA.TypeCode object.

Bounds

The Bounds class is a subclass of org.omg.CORBA.UserException that indicates that an out-of-bounds exception occurred as the result of an operation on an org.omg.CORBA.TypeCode object.

Package org.omg.CORBA.portable

The org.omg.CORBA.portable package consists of five classes and three interfaces that are used to support vendor-specific CORBA implementations.

Interfaces

InvokeHandler

The InvokeHandler interface provides support for ORB request dispatch processing.

ResponseHandler

The ResponseHandler interface provides support for returning responses back to the ORB.

Streamable

The Streamable interface provides methods for marshalling and unmarshalling holders to and from streams.

Classes

Delegate

The Delegate class is a subclass of Object that specifies a portable API for ORB- vendor-specific implementation of the org.omg.CORBA.Object methods.

InputStream

The InputStream class is a subclass of Object that provides methods for reading IDL types from streams.

ObjectImpl

The ObjectImpl class is a subclass of Object that provides a default implementation of the org.omg.CORBA.Object interface.

OutputStream

The OutputStream class is a subclass of Object that provides methods for writing IDL types to streams.

ServantObject

The ServantObject class extends Object to encapsulate a CORBA servant object.

Exceptions and Errors

None.

Package org.omg.CosNaming

The org.omg.CosNaming package consists of 20 classes and two interfaces that implement a tree-structured naming service.

Interfaces

BindingIterator

The BindingIterator interface extends the org.omg.CORBA.Object interface and provides the capability to iterate through a list of name-object bindings.

NamingContext

The NamingContext interface extends the org.omg.CORBA.Object interface and provides access to the naming service.

Classes

Binding

The Binding class is a subclass of Object that associates a name with an object.

BindingHelper

The BindingHelper class is a subclass of Object that provides static methods for manipulating bindings.

BindingHolder

The BindingHolder class is a subclass of Object that holds the value of a Binding object.

BindingIteratorHelper

The BindingIteratorHelper class is a subclass of Object that provides static methods for manipulating binding iterators.

BindingIteratorHolder

The BindingIteratorHolder class is a subclass of Object that holds the value of a binding iterator.

BindingListHelper

The BindingListHelper class is a subclass of Object that provides static methods for manipulating binding lists.

BindingListHolder

The BindingListHolder class is a subclass of Object that holds the value of a binding list.

BindingType

The BindingType class is a subclass of Object that identifies the type of a Binding object.

BindingTypeHelper

The BindingTypeHelper class is a subclass of Object that provides static methods for manipulating binding types.

BindingTypeHolder

The BindingTypeHolder class is a subclass of Object that holds the value of a binding type.

IstringHelper

The IstringHelper class is a subclass of Object that provides static methods for manipulating strings.

NameComponent

The NameComponent class is a subclass of Object that is used to build hierarchical names.

NameComponentHelper

The NameComponentHelper class is a subclass of Object that provides static methods for manipulating name components.

NameComponentHolder

The NameComponentHolder class is a subclass of Object that holds the value of a name component. It implements the org.omg.CORBA.portable.Streamable interface.

NameHelper

The NameHelper class is a subclass of Object that provides static methods for manipulating names.

NameHolder

The NameHolder class is a subclass of Object that holds the value of a name. It implements the org.omg.CORBA.portable.Streamable interface.

NamingContextHelper

The NamingContextHelper class is a subclass of Object that provides static methods for manipulating name contexts.

NamingContextHolder

The NamingContextHolder class is a subclass of Object that holds the value of a naming context. It implements the org.omg.CORBA.portable.Streamable interface.

_BindingIteratorImplBase

The _BindingIteratorImplBase class is a subclass of org.omg.CORBA.DynamicImplementation that supports the implementation of binding iterators. It implements the BindingIterator interface.

_NamingContextImplBase

The _NamingContextImplBase class is a subclass of org.omg.CORBA.DynamicImplementation that supports the implementation of naming contexts. It implements the NamingContext interface.

Exceptions and Errors

None.

Package org.omg.CosNaming. NamingContextPackage

The org.omg.CosNaming.NamingContextPackage package consists of 13 classes that implement aspects of the naming service's name context. The name context implements nodes within the tree-structured naming scheme.

Interfaces

None.

Classes

AlreadyBoundHelper

The AlreadyBoundHelper class is a subclass of Object that provides support for the AlreadyBound exception.

AlreadyBoundHolder

The AlreadyBoundHolder class is a subclass of Object that provides support for the AlreadyBound exception. It implements the org.omg.CORBA.portable.Streamable interface.

CannotProceedHelper

The CannotProceedHelper class is a subclass of Object that provides support for the CannotProceed exception.

CannotProceedHolder

The CannotProceedHolder class is a subclass of Object that provides support for the CannotProceed exception. It implements the org.omg.CORBA.portable.Streamable interface.

InvalidNameHelper

The InvalidNameHelper class is a subclass of Object that provides support for the InvalidName exception.

InvalidNameHolder

The InvalidNameHolder class is a subclass of Object that provides support for the InvalidName exception. It implements the org.omg.CORBA.portable.Streamable interface.

NotEmptyHelper

The NotEmptyHelper class is a subclass of Object that provides support for the NotEmpty exception.

NotEmptyHolder

The NotEmptyHolder class is a subclass of Object that provides support for the NotEmpty exception. It implements the org.omg.CORBA.portable.Streamable interface.

NotFoundHelper

The NotFoundHelper class is a subclass of Object that provides support for the NotFound exception.

NotFoundHolder

The NotFoundHolder class is a subclass of Object that provides support for the NotFound exception.

NotFoundReason

The NotFoundReason class is a subclass of Object that provides support for the NotFound exception.

NotFoundReasonHelper

The NotFoundReasonHelper class is a subclass of Object that provides support for the NotFoundReason object.

NotFoundReasonHolder

The NotFoundReasonHolder class is a subclass of Object that provides storage for a NotFoundReason object. It implements the org.omg.CORBA.portable.Streamable interface.

Exceptions and Errors

AlreadyBound

The AlreadyBound class is a subclass of org.omg.CORBA.UserException that identifies a name as being already bound with an object.

CannotProceed

The CannotProceed class is a subclass of org.omg.CORBA.UserException that signals that the CORBA implementation has come to a standstill.

InvalidName

The InvalidName class is a subclass of org.omg.CORBA.UserException that indicates that an invalid name has been used.

NotEmpty

The NotEmpty class is a subclass of org.omg.CORBA.UserException that signals a non-empty reference was encountered when one was not expected.

NotFound

The NotFound class is a subclass of org.omg.CORBA.UserException that signals that a referenced name cannot be found.


Previous chapterContents

© Copyright, Macmillan Computer Publishing. All rights reserved.