[Skip Navigation] [CSUSB] / [CNS] / [Comp Sci Dept] / [R J Botting] / [Samples] / java.class.tree
[Index] [Contents] [Source Text] [About] [Notation] [Copyright] [Comment/Contact] [Search ]
Tue Sep 18 15:25:51 PDT 2007

Contents


    Java Application Programmers Interface

      The Java Application Programmers Interface 1.0.2

      This is no longer documented or supported by its developers: Sun.

      Also see [ java.classes.html ] which displays the classes hierarchically complete with properties and selected fields and methods. This API is also indexed and documented by:

    1. API_1_2::=following
      Net
        Notes:
        • All defined are for classes unless marked interface etc.
        • The "@C" are the possible subsets/subtypes/extensions of class C.
        • All class extend Object.
        • The name is defined by a link to a page specifying all non-private fields and methods.
        • This does not show "Peer" and "Remote" classes.
        • Many of the classes added between 1.0 and 1.2 are not listed here.

        A

      1. AbstractMethodError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.AbstractMethodError.html

      2. Applet::@Panel, [ java.applet.Applet.html ]
      3. AppletContext::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.applet.AppletContext.html
      4. AppletStub::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.applet.AppletStub.html

      5. ArithmeticException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ArithmeticException.html
      6. ArrayIndexOutOfBoundsException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ArrayIndexOutOfBoundsException.html
      7. ArrayStoreException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ArrayStoreException.html

      8. AudioClip::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.applet.AudioClip.html

      9. AWTError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.AWTError.html
      10. AWTException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.AWTException.html

        B

      11. BitSet::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.BitSet.html
      12. Boolean::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Boolean.html

      13. BorderLayout::@#LayoutManager, [ java.awt.BorderLayout.html ] A LayoutManager that has a component in the center, top(north), bottom(south), left(west), and right(east) of it, or any subset of these.

      14. BufferedInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.BufferedInputStream.html
      15. BufferedOutputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.BufferedOutputStream.html

      16. Button::@Component, [ java.awt.Button.html ]

      17. ByteArrayInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.ByteArrayInputStream.html
      18. ByteArrayOutputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.ByteArrayOutputStream.html

        C

      19. Canvas::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Canvas.html, a Component that permits graphics.

      20. CardLayout::@#LayoutManager, [ java.awt.CardLayout.html ] A LayoutManager which allows only one of its components to visible at any one time as selected byte show(...) method.

      21. Character::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Character.html, reference to a 16bit Unicode symbol.

      22. Checkbox::@Component, [ java.awt.Checkbox.html ]
      23. CheckboxGroup::@Component, [ java.awt.CheckboxGroup.html ]
      24. CheckboxMenuItem::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.CheckboxMenuItem.html

      25. Choice::@Component, [ java.awt.Choice.html ]

      26. Class::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Class.html, meta-information about the class of an object.

      27. ClassCastException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ClassCastException.html
      28. ClassCircularityError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ClassCircularityError.html
      29. ClassFormatError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ClassFormatError.html

      30. ClassLoader::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ClassLoader.html

      31. ClassNotFoundException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ClassNotFoundException.html

      32. Cloneable::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Cloneable.html, interface, classes that allow their objects to copied to create a new Object with the same data store.

      33. CloneNotSupportedException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.CloneNotSupportedException.html

      34. Color::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Color.html
      35. ColorModel::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.ColorModel.html

      36. Compiler::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Compiler.html

      37. Component::@Object, [ java.awt.Component.html ] Components in a Graphic User Interface including: Button, List, TextField, TextArea, CheckBox, CheckBoxGroup, Dialog, Frame, Scrollbar, Choice, Canvas, Frame, Panel, Window.

      38. Container::@Component, [ java.awt.Container.html ] A class of graphical User interface objects that can contain a varying number of other graphic objects (Component). All Containers have a LayoutManager and a way to add and remove components.

      39. ContentHandler::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.ContentHandler.html
      40. ContentHandlerFactory::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.ContentHandlerFactory.html

      41. CropImageFilter::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.CropImageFilter.html

        D

      42. DatagramPacket::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.DatagramPacket.html
      43. DatagramSocket::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.DatagramSocket.html

      44. DataInput::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.DataInput.html
      45. DataInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.DataInputStream.html
      46. DataOutput::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.DataOutput.html
      47. DataOutputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.DataOutputStream.html

      48. Date::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.Date.html

      49. DebuggerCallback::= See http://www.javasoft.com/products/jdk/1.2/docs/api/sun.tools.debug.DebuggerCallback.html

      50. Dialog::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Dialog.html

      51. Dictionary::@HashTable, [ java.util.Dictionary.html ]

      52. Dimension::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Dimension.html, This is an object that can keep track of the int width and hieght of something.

      53. DirectColorModel::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.DirectColorModel.html

      54. Double::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Double.html, reference to a double length number.

        E

      55. EmptyStackException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.EmptyStackException.html

      56. Enumeration::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.Enumeration.html Java's iterator.

      57. EOFException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.EOFException.html

      58. Error::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Error.html

      59. Event::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Event.html

      60. Exception::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Exception.html

        F

      61. File::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.File.html
      62. FileDescriptor::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.FileDescriptor.html
      63. FileDialog::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.FileDialog.html
      64. FileInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.FileInputStream.html
      65. FilenameFilter::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.FilenameFilter.html
      66. FileNotFoundException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.FileNotFoundException.html
      67. FileOutputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.FileOutputStream.html

      68. FilteredImageSource::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.FilteredImageSource.html
      69. FilterInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.FilterInputStream.html
      70. FilterOutputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.FilterOutputStream.html

      71. Float::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Float.html, single length floating point object.

      72. FlowLayout::@#LayoutManager, [ java.awt.FlowLayout.html ] A LayoutManager a manager that places objects, in the order added across the component and then row by row. Or in columns. In each row items can be centered, left, or right aligned.

      73. Font::@Object, [ java.awt.Font.html ] In JDK1.0 the commonest fonts are Helvetica, TimeRoman, and Courier which caused copyright problems. The names have been changed to SanSerif, Serif, and Monospaced in JDK1.1. This class also defiines constants like Font.BOLD, Font.ITALIC, and Font.PLAIN.

      74. FontMetrics::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.FontMetrics.html

      75. Frame::@Window, [ java.awt.Frame.html ]

        G

      76. Graphics::@Object, [ java.awt.Graphics.html ] A Graphics object knows how to draw and fill: Rectangles (plain, 3D, or with rounded corners), ovals, arcs, lines, strings, in different Color's, and how to clear rectangles.

      77. GridBagConstraints::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.GridBagConstraints.html
      78. GridBagLayout::@LayoutMananger, [ java.awt.GridBagLayout.html ] A LayoutManager that is based on a grid but where each component can take up any non-overlapping (tiled) rectangular set of grid rectangles. Complex and clever.

      79. GridLayout::@LayoutManager, [ java.awt.GridLayout.html ] A LayoutManager a simple two dimensional grid with fixed dimensions.

        H

      80. Hashtable::@Object, [ java.util.Hashtable.html ]

        I

      81. IllegalAccessError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.IllegalAccessError.html
      82. IllegalAccessException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.IllegalAccessException.html
      83. IllegalArgumentException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.IllegalArgumentException.html
      84. IllegalMonitorStateException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.IllegalMonitorStateException.html
      85. IllegalThreadStateException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.IllegalThreadStateException.html

      86. Image::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Image.html
      87. ImageConsumer::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.ImageConsumer.html
      88. ImageFilter::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.ImageFilter.html
      89. ImageObserver::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.ImageObserver.html
      90. ImageProducer::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.ImageProducer.html

      91. IncompatibleClassChangeError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.IncompatibleClassChangeError.html

      92. IndexColorModel::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.IndexColorModel.html

      93. IndexOutOfBoundsException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.IndexOutOfBoundsException.html

      94. InetAddress::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.InetAddress.html

      95. InputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.InputStream.html

      96. Insets::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Insets.html

      97. InstantiationError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.InstantiationError.html
      98. InstantiationException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.InstantiationException.html

      99. Integer::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Integer.html

      100. InternalError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.InternalError.html

      101. InterruptedException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.InterruptedException.html
      102. InterruptedIOException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.InterruptedIOException.html
      103. IOException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.IOException.html

        L

      104. Label::@Component, [ java.awt.Label.html ]

      105. LayoutManager::=BorderLayout | CardLayout | FlowLayout | GridBagLayout | GridLayout. A class of objects that can control the positioning of components inside a Container. [ java.awt.LayoutManager.html ]

      106. LineNumberInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.LineNumberInputStream.html

      107. LinkageError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.LinkageError.html

      108. List::@Component, [ java.awt.List.html ] List of items in a scrollable window allowing the user to select one of them.

      109. LocalVariable::= See http://www.javasoft.com/products/jdk/1.2/docs/api/sun.tools.debug.LocalVariable.html

      110. Long::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Long.html, a reference to a long integer item of data.

        M

      111. MalformedURLException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.MalformedURLException.html

      112. Math::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Math.html, a collection of useful functions and constants.

      113. MediaTracker::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.MediaTracker.html

      114. MemoryImageSource::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.MemoryImageSource.html

      115. Menu::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Menu.html
      116. MenuBar::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.MenuBar.html
      117. MenuComponent::@Object, [ java.awt.MenuComponent.html ]
      118. MenuContainer::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.MenuContainer.html
      119. MenuItem::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.MenuItem.html

        N

      120. NegativeArraySizeException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.NegativeArraySizeException.html
      121. NoClassDefFoundError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.NoClassDefFoundError.html
      122. NoSuchElementException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.NoSuchElementException.html
      123. NoSuchFieldError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.NoSuchFieldError.html
      124. NoSuchMethodError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.NoSuchMethodError.html
      125. NoSuchMethodException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.NoSuchMethodException.html
      126. NullPointerException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.NullPointerException.html

      127. Number::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Number.html, superclass of Double, Float, Integer, ...
      128. NumberFormatException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.NumberFormatException.html

        O

      129. Object::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Object.html

      130. Observable::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.Observable.html
      131. Observer::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.Observer.html

      132. OutOfMemoryError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.OutOfMemoryError.html

      133. OutputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.OutputStream.html

        P

      134. Panel::@Container, [ java.awt.Panel.html ]

      135. PipedInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.PipedInputStream.html
      136. PipedOutputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.PipedOutputStream.html

      137. PixelGrabber::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.PixelGrabber.html

      138. Point::@Object, [ java.awt.Point.html ] This is not a graphic object but an object with two integer coordinates called x and y.

      139. Polygon::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Polygon.html

      140. PrintStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.PrintStream.html

      141. Process::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Process.html

      142. Properties::@Dictionary, [ java.util.Properties.html ]

      143. ProtocolException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.ProtocolException.html

      144. PushbackInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.PushbackInputStream.html

        R

      145. Random::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.Random.html

      146. RandomAccessFile::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.RandomAccessFile.html

      147. Rectangle::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Rectangle.html, this not a grphic object but a record of two co-ordinates (x and y) and a pair of dimensions(width and hieght). It comes with a lot of operations including intersection and union.

      148. RGBImageFilter::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.image.RGBImageFilter.html

      149. Runnable::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Runnable.html, interface for Classes of objects that have a public void run() function. A Runnable object can be execute by a Thread object in a separate concurrent thread of control.

      150. Runtime::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Runtime.html
      151. RuntimeConstants::= See http://www.javasoft.com/products/jdk/1.2/docs/api/sun.tools.java.RuntimeConstants.html
      152. RuntimeException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.RuntimeException.html

        S

      153. Scrollbar::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Scrollbar.html

      154. SecurityException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.SecurityException.html
      155. SecurityManager::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.SecurityManager.html

      156. SequenceInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.SequenceInputStream.html

      157. ServerSocket::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.ServerSocket.html
      158. Socket::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.Socket.html
      159. SocketException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.SocketException.html
      160. SocketImpl::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.SocketImpl.html
      161. SocketImplFactory::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.SocketImplFactory.html

      162. Stack::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.Stack.html, a specialized Vector.

      163. StackOverflowError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.StackOverflowError.html
      164. StreamTokenizer::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.StreamTokenizer.html

      165. String::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.String.html, a fixed sequence of characters.
      166. StringBuffer::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.StringBuffer.html, a variable sequence of characters.
      167. StringBufferInputStream::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.StringBufferInputStream.html
      168. StringIndexOutOfBoundsException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.StringIndexOutOfBoundsException.html
      169. StringTokenizer::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.StringTokenizer.html

      170. System::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.System.html

        T

      171. TextArea::@TextComponent, [ java.awt.TextArea.html ]

      172. TextComponent::@Component, [ java.awt.TextComponent.html ]

      173. TextField::@TextComponent, [ java.awt.TextField.html ]

      174. Thread::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Thread.html
      175. ThreadDeath::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ThreadDeath.html
      176. ThreadGroup::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.ThreadGroup.html

      177. Throwable::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.Throwable.html, Something that can be used in throw and catch statements. Includes Exception and Error.

      178. Toolkit::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Toolkit.html

        U

      179. UnknownError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.UnknownError.html
      180. UnknownHostException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.UnknownHostException.html
      181. UnknownServiceException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.UnknownServiceException.html
      182. UnsatisfiedLinkError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.UnsatisfiedLinkError.html

      183. URL::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.URL.html
      184. URLConnection::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.URLConnection.html
      185. URLEncoder::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.URLEncoder.html
      186. URLStreamHandler::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.URLStreamHandler.html
      187. URLStreamHandlerFactory::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.net.URLStreamHandlerFactory.html

      188. UTFDataFormatException::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.io.UTFDataFormatException.html

        V

      189. Vector::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.util.Vector.html, a dynamic array.

      190. VerifyError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.VerifyError.html
      191. VirtualMachineError::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.lang.VirtualMachineError.html

        W

      192. Window::= See http://www.javasoft.com/products/jdk/1.2/docs/api/java.awt.Window.html, Either a Dialog or a Frame.

      (End of Net API_1_2)

      The Java Application Programmers Interface 1.1.5

    2. API_1_1::=following
      Net
        The JDK uses the previous Application Programmer's Interface
      1. API_1_0 plus new features [ features.html ] some of which are defined given below.

        New Event Handling

        Many components(objects in class Component) implement a function like this: component.addTypeListener(l) where l is in a class that implements the TypeListener interface and Type is a name of a type of AWTEvent. The TypeListener interface defines a a void function actionsomething(TypeListener event). The something varies with the Type of the event. Another class can define a class that implements TypeListener by handling the events. It constructs an object of this tpe and passes it to the component using the addTypeListener function. When events occur the implemented function is called with arguments defining the event.
         	anXListener---implements--->interface----used by---->aComponent
         	anXListener-passed by-addXListener(anXListener)-to-->aComponent
         	anXListener<------gets called when an XEvent hits----aComponent
        A more detailed model using the Unified Modeling Language can be downloaded: [ listener.mdl ] and viewed with Rational Rose.

        To support this model Java1.2 makes it easier to construct and object and and describe its class in a single statement [ anonymous_class_object in java.syntax ] -- without having to name the class.

      2. AWTEvent::abstract_class=ActionEvent | ItemEvent | WindowEvent | ComponentEvent | AdjustmentEvent | MouseEvent | KeyEvent | FocusEvent. All these events have a getSource() method that tells a listener which object generated the event.

        The event handling uses grouped classes of AWTEvents, addListener functions, Listener interfaces, and Adapter classes. To implement one of the interfaces below the class must (1) state that it "implements Interface_name" in its header and (2) define all the functions listed in the interface. The Adapter classes supply default empty functions for the functions in the interface, so by extending an Adapter class you only have to defined the listening functions that do something.

        EventSent byToAdded byAdapter
        ActionEvent Button,List,MenuItem,TextField ActionListener:actionPerformed addActionListener ActionAdapter
        AdjustmentEvent Scrollbar AdjustmentListener:adjustmentValueChanged addAdjustmentListener AdjustmentAdapter
        ComponentEvent Dialog, Frame ComponentListener:componentMoved,componentHidden,componentResized,ComponentShown addComponentListener ComponentAdapter
        FocusEvent any Component FocusListener:focusGained,focusLost addFocusListener FocusAdapter
        ItemEvent Checkbox,CheckboxMenuItem,Choice,List ItemListener:itemStateChanged addItemListener ItemAdjuster
        KeyEvent any Component KeyListener:keyPressed,keyReleased,keyTyped addKeyListener KeyAdapter

        MouseEvent Canvas,Dialog,Frame,Panel,Window. MouseListener:mouseDragged,mousePressed,mouseClicked,mouseEntered,mouseExited addMouseListener MouseAdapter
        WindowEvent Dialog,Frame. WindowListener:windowClosing, windowOpened, windowIconified,windowDeiconified,windowClosed addWindowListener WindowAdapter
        MouseMovedEvent etc

      3. ActionEvent::@AWTEvent, sent by Button, List, MenuItem, and TextField.
      4. addActionListener::=add ActionListener (_) to the components list of listeners
      5. ActionListener::interface= { actionPerformed(ActionEvent) }.
      6. ActionAdapter::abstract_class, provides empty functions for the interface.

      7. AdjustmentEvent::@AWTEvent, sent by Scrollbar
      8. addAdjustmentEvent::=add AdjustmentListener (_) to the components list of listeners
      9. AdjustmentListener::interface={ adjustmentValueChanged(AdjustmentEvent)}.
      10. AdjustmentAdapter::abstract_class, provides empty functions for the interface.

      11. ComponentEvent::@AWTEvent, sent by Dialog and Frame.
      12. addComponentListener::=add ComponentListener (_) to the components list of listeners
      13. ComponentListener::interface={componentMoved(ComponentEvent),componentHidden(ComponentEvent),componentResized(ComponentEvent),componentShown(ComponentEvent)}.
      14. ComponentAdapter::abstract_class, provides empty functions for the interface.

      15. FocusEvent::@AWTEvent, could be sent by any Component.
      16. addFocusListener::=add FocusListener (_) to the components list of listeners
      17. FocusListener::interface={ focusGained(FocusEvent), focusLost(FocusEvent)}.
      18. FocusAdapter::abstract_class, provides empty functions for the interface.

      19. ItemEvent::@AWTEvent, sent by objects in classes Checkbox, CheckboxMenuItem, Choice, List.
      20. addItemListener::=add ItemListener (_) to the components list of listeners
      21. ItemListener::interface={ itemStateChanged(ItemEvent) }.
      22. ItemAdapter::abstract_class, provides empty functions for the interface.

      23. IOEvent::=KeyEvent | MouseEvent.

      24. KeyEvent::@AWTEvent, can be sent by any object in class Component.
      25. addKeyListener::=add KeyListener (_) to the components list of listeners
      26. KeyListener::interface={ keyPressed(KeyEvent), keyReleased(KeyEvent). keyTyped(KeyEvent)}
      27. KeyAdapter::abstract_class, provides empty functions for the interface.

      28. MouseEvent::@AWTEvent, Can be sent by objects that are: Canvas, Dialog, Frame, Panel, Window.
      29. addMouseListener::=add MouseListener (_) to the components list of listeners
      30. MouseListener::interface={ mouseDragged(MouseEvent),mousePressed(MouseEvent),mouseClicked(MouseEvent),mouseEntered(MouseEvent),mouseExited(MouseEvent)}.
      31. MouseAdapter::abstract_class, provides empty functions for the interface.

        There is also a set of MouseMovedEvents...

      32. WindowEvent::@AWTEvent, can be sent by objects in Dialog and Frame.
      33. addWindowListener::=add WindowListener (_) to the components list of listeners
      34. WindowListener::interface={ windowClosing(WindowEvent), windowOpened(WindowEvent), windowIconified(WindowEvent),windowDeiconified(WindowEvent),windowClosed(WindowEvent)}.
      35. WindowAdapter::abstract_class, provides empty functions for the interface.

        Character-based Input/Output

        These echo the structure of InputStream and OutputStream:

      36. Reader::abstract_class=BufferedReader | CharArrayReader | FileReader | PipedReader | StringReader.
      37. BufferedReader::@Reader.
      38. CharArrayReader::@Reader.
      39. FileReader::@Reader.
      40. PipedReader::@Reader.
      41. StringReader::@Reader.

      42. Writer::abstract_class=BufferedWriter | CharArrayWriter | FileWriter | PipedWriter | StringWriter.
      43. BufferedWriter::@Writer.
      44. CharArrayWriter::@Writer.
      45. FileWriter::@Writer.
      46. PipedWriter::@Writer.
      47. StringWriter::@Writer.

        Miscelaneous New Classes

      48. MenuShortCut::@Object.

      (End of Net)

      Glossary

    3. abstract_class::=`A class with one or more abstract functions. No objects can be made for this class but there can be references to abstract_classes and classes derived from them that are not abstract.
    4. interface::=a list of public abstract methods(functions) that other classes can implement. A variable can refer to any object that implements an interface but no objects can be created for an interface directly.

    . . . . . . . . . ( end of section Java Application Programmers Interface) <<Contents | End>>

End