Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

Serialized Form


Package java.awt

Class java.awt.AWTError extends java.lang.Error implements Serializable

serialVersionUID: -1819846354050686206l

Class java.awt.AWTEvent extends java.util.EventObject implements Serializable

serialVersionUID: -1825314779160409405l

Serialized Fields

id

int id

consumed

boolean consumed

Class java.awt.AWTException extends java.lang.Exception implements Serializable

serialVersionUID: -1900414231151323879l

Class java.awt.AWTKeyStroke extends java.lang.Object implements Serializable

Serialization Methods

readResolve

protected java.lang.Object readResolve()
                                throws java.io.ObjectStreamException
Returns a cached instance of AWTKeyStroke (or a subclass of AWTKeyStroke) which is equal to this instance.

Serialized Fields

keyChar

char keyChar

keyCode

int keyCode

modifiers

int modifiers

onKeyRelease

boolean onKeyRelease

Class java.awt.AWTPermission extends java.security.BasicPermission implements Serializable

serialVersionUID: 8890392402588814465l

Class java.awt.BorderLayout extends java.lang.Object implements Serializable

serialVersionUID: -8658291919501921765l

Serialized Fields

hgap

int hgap

vgap

int vgap

north

java.awt.Component north

west

java.awt.Component west

east

java.awt.Component east

south

java.awt.Component south

center

java.awt.Component center

Class java.awt.CardLayout extends java.lang.Object implements Serializable

serialVersionUID: -4328196481005934313l

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException

writeObject

private void writeObject(java.io.ObjectOutputStream)
                  throws java.io.IOException
Serialized Fields

Class java.awt.Color extends java.lang.Object implements Serializable

serialVersionUID: 118526816881161077l

Serialized Fields

value

int value
The color value.

 
See Also:
Color.getRGB()

frgbvalue

float[] frgbvalue
The color value in the default sRGB ColorSpace as float components (no alpha). If null after object construction, this must be an sRGB color constructed with 8-bit precision, so compute from the int color value.

 
See Also:
Color.getRGBColorComponents(float[]), Color.getRGBComponents(float[])

fvalue

float[] fvalue
The color value in the native ColorSpace as float components (no alpha). If null after object construction, this must be an sRGB color constructed with 8-bit precision, so compute from the int color value.

 
See Also:
Color.getRGBColorComponents(float[]), Color.getRGBComponents(float[])

falpha

float falpha
The alpha value as a float component. If frgbvalue is null, this is not valid data, so compute from the int color value.

 
See Also:
Color.getRGBComponents(float[]), Color.getComponents(float[])

Class java.awt.Component extends java.lang.Object implements Serializable

serialVersionUID: -7644114512714619750l

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException

writeObject

private void writeObject(java.io.ObjectOutputStream)
                  throws java.io.IOException
Serialized Fields

x

int x

y

int y

width

int width

height

int height

foreground

Color foreground

background

Color background

font

Font font

cursor

java.awt.Cursor cursor

locale

java.util.Locale locale

ignoreRepaint

boolean ignoreRepaint

visible

boolean visible

enabled

boolean enabled

valid

boolean valid

name

java.lang.String name

nameExplicitlySet

boolean nameExplicitlySet

focusable

boolean focusable

isFocusTraversableOverridden

int isFocusTraversableOverridden

focusTraversalKeys

java.util.Set[] focusTraversalKeys

focusTraversalKeysEnabled

boolean focusTraversalKeysEnabled

minSize

Dimension minSize

prefSize

Dimension prefSize

eventMask

long eventMask

changeSupport

java.beans.PropertyChangeSupport changeSupport

isPacked

boolean isPacked

componentSerializedDataVersion

int componentSerializedDataVersion

Class java.awt.Container extends java.awt.Component implements Serializable

serialVersionUID: 4613797578919906343l

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException

writeObject

private void writeObject(java.io.ObjectOutputStream)
                  throws java.io.IOException
Serialized Fields

ncomponents

int ncomponents

component

java.awt.Component[] component

layoutMgr

java.awt.LayoutManager layoutMgr

maxSize

Dimension maxSize

focusCycleRoot

boolean focusCycleRoot

containerSerializedDataVersion

int containerSerializedDataVersion

Class java.awt.ContainerOrderFocusTraversalPolicy extends java.awt.FocusTraversalPolicy implements Serializable

serialVersionUID: 486933713763926351l

Serialized Fields

implicitDownCycleTraversal

boolean implicitDownCycleTraversal

Class java.awt.Cursor extends java.lang.Object implements Serializable

serialVersionUID: 8028237497568985504l

Serialized Fields

type

int type

Class java.awt.DefaultFocusTraversalPolicy extends java.awt.ContainerOrderFocusTraversalPolicy implements Serializable

Class java.awt.Dimension extends Dimension2D implements Serializable

serialVersionUID: 4723952579491349524l

Serialized Fields

width

int width
The width dimension; negative values can be used.

 
See Also:
Dimension.getSize(), Dimension.setSize(double, double)

height

int height
The height dimension; negative values can be used.

 
See Also:
Dimension.getSize(), Dimension.setSize(double, double)

Class java.awt.FlowLayout extends java.lang.Object implements Serializable

serialVersionUID: -7262534875583282631l

Serialized Fields

align

int align

hgap

int hgap

vgap

int vgap

Class java.awt.Font extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException
Reads the ObjectInputStream. Unrecognized keys or values will be ignored.

Throws:
java.lang.ClassNotFoundException
java.io.IOException
See Also:
#writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.lang.ClassNotFoundException,
                         java.io.IOException
Writes default serializable fields to a stream.

Throws:
java.lang.ClassNotFoundException
java.io.IOException
See Also:
AWTEventMulticaster#save(ObjectOutputStream, String, EventListener), #readObject(java.io.ObjectInputStream)
Serialized Fields

name

java.lang.String name
The logical name of this Font, as passed to the constructor.

 
Since:
JDK1.0
See Also:
Font.getName()

style

int style
The style of this Font, as passed to the constructor. This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC.

 
Since:
JDK1.0
See Also:
Font.getStyle()

size

int size
The point size of this Font, rounded to integer.

 
Since:
JDK1.0
See Also:
Font.getSize()

pointSize

float pointSize
The point size of this Font in float.

 
See Also:
Font.getSize(), Font.getSize2D()

fRequestedAttributes

java.util.Hashtable fRequestedAttributes
A map of font attributes available in this font. Attributes include things like ligatures and glyph substitution.

 
See Also:
Font.getAttributes()

fontSerializedDataVersion

int fontSerializedDataVersion
The Font Serializable Data Form.

 

Class java.awt.FontMetrics extends java.lang.Object implements Serializable

serialVersionUID: 1681126225205050147l

Serialized Fields

font

Font font

Class java.awt.Frame extends java.awt.Window implements Serializable

serialVersionUID: 2673458971256075116l

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException,
                        java.awt.HeadlessException

writeObject

private void writeObject(java.io.ObjectOutputStream)
                  throws java.io.IOException
Serialized Fields

title

java.lang.String title

resizable

boolean resizable

undecorated

boolean undecorated

mbManagement

boolean mbManagement

state

int state

frameSerializedDataVersion

int frameSerializedDataVersion

Class java.awt.GridBagConstraints extends java.lang.Object implements Serializable

serialVersionUID: -1000070633030801713l

Serialized Fields

gridx

int gridx

gridy

int gridy

gridwidth

int gridwidth

gridheight

int gridheight

weightx

double weightx

weighty

double weighty

anchor

int anchor

fill

int fill

insets

java.awt.Insets insets

ipadx

int ipadx

ipady

int ipady

tempX

int tempX

tempY

int tempY

tempWidth

int tempWidth

tempHeight

int tempHeight

minWidth

int minWidth

minHeight

int minHeight

Class java.awt.GridBagLayout extends java.lang.Object implements Serializable

serialVersionUID: 8838754796412211005l

Serialized Fields

comptable

java.util.Hashtable comptable

defaultConstraints

java.awt.GridBagConstraints defaultConstraints

columnWidths

int[] columnWidths

rowHeights

int[] rowHeights

columnWeights

double[] columnWeights

rowWeights

double[] rowWeights

Class java.awt.GridLayout extends java.lang.Object implements Serializable

Serialized Fields

hgap

int hgap

vgap

int vgap

rows

int rows

cols

int cols

Class java.awt.HeadlessException extends java.lang.UnsupportedOperationException implements Serializable

serialVersionUID: 167183644944358563l

Class java.awt.IllegalComponentStateException extends java.lang.IllegalStateException implements Serializable

serialVersionUID: -1889339587208144238l

Class java.awt.Insets extends java.lang.Object implements Serializable

serialVersionUID: -2272572637695466749l

Serialized Fields

top

int top

left

int left

bottom

int bottom

right

int right

Class java.awt.MediaTracker extends java.lang.Object implements Serializable

serialVersionUID: -483174189758638095l

Serialized Fields

target

java.awt.Component target

Class java.awt.Point extends Point2D implements Serializable

Serialized Fields

x

int x
The x coordinate. If no x coordinate is set it will default to 0.

 
See Also:
Point.getLocation(), Point.move(int, int)

y

int y
The y coordinate. If no y coordinate is set it will default to 0.

 
See Also:
Point.getLocation(), Point.move(int, int)

Class java.awt.Polygon extends java.lang.Object implements Serializable

Serialized Fields

npoints

int npoints
The total number of points. The value of npoints represents the number of valid points in this Polygon and might be less than the number of elements in xpoints or ypoints. This value can be NULL.

 
See Also:
Polygon.addPoint(int, int)

xpoints

int[] xpoints
The array of x coordinates. The number of elements in this array might be more than the number of x coordinates in this Polygon. The extra elements allow new points to be added to this Polygon without re-creating this array. The value of npoints is equal to the number of valid points in this Polygon.

 
See Also:
Polygon.addPoint(int, int)

ypoints

int[] ypoints
The array of y coordinates. The number of elements in this array might be more than the number of y coordinates in this Polygon. The extra elements allow new points to be added to this Polygon without re-creating this array. The value of npoints is equal to the number of valid points in this Polygon.

 
See Also:
Polygon.addPoint(int, int)

bounds

Rectangle bounds
Bounds of the polygon. This value can be NULL. Please see the javadoc comments getBounds().

 
See Also:
Polygon.getBounds()

Class java.awt.Rectangle extends Rectangle2D implements Serializable

Serialized Fields

x

int x
The x coordinate of the Rectangle.

 
See Also:
Rectangle.setLocation(int, int), Rectangle.getLocation()

y

int y
The y coordinate of the Rectangle.

 
See Also:
Rectangle.setLocation(int, int), Rectangle.getLocation()

width

int width
The width of the Rectangle.

 
Since:
JDK1.0.
See Also:
Rectangle.setSize(int, int), Rectangle.getSize()

height

int height
The height of the Rectangle.

 
See Also:
Rectangle.setSize(int, int), Rectangle.getSize()

Class java.awt.SystemColor extends Color implements Serializable

serialVersionUID: 4503142729533789064l

Class java.awt.Window extends java.awt.Container implements Serializable

serialVersionUID: 4497834738069338734l

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException,
                        java.awt.HeadlessException

writeObject

private void writeObject(java.io.ObjectOutputStream)
                  throws java.io.IOException
Serialized Fields

warningString

java.lang.String warningString

state

int state

focusableWindowState

boolean focusableWindowState

windowSerializedDataVersion

int windowSerializedDataVersion


Package java.awt.font

Class java.awt.font.NumericShaper extends java.lang.Object implements Serializable

Serialized Fields

key

int key
index of context for contextual shaping - values range from 0 to 18


mask

int mask
flag indicating whether to shape contextually (high bit) and which digit ranges to shape (bits 0-18)

Class java.awt.font.TextAttribute extends java.text.AttributedCharacterIterator.Attribute implements Serializable

Serialization Methods

readResolve

protected java.lang.Object readResolve()
                                throws java.io.InvalidObjectException
Resolves instances being deserialized to the predefined constants.

Class java.awt.font.TransformAttribute extends java.lang.Object implements Serializable

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.lang.ClassNotFoundException,
                         java.io.IOException
Serialized Fields

transform

AffineTransform transform
The AffineTransform for this TransformAttribute, or null if AffineTransform is the identity transform.


Package java.awt.geom

Class java.awt.geom.AffineTransform extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.lang.ClassNotFoundException,
                         java.io.IOException
Serialized Fields

m00

double m00
The X coordinate scaling element of the 3x3 affine transformation matrix.

 

m10

double m10
The Y coordinate shearing element of the 3x3 affine transformation matrix.

 

m01

double m01
The X coordinate shearing element of the 3x3 affine transformation matrix.

 

m11

double m11
The Y coordinate scaling element of the 3x3 affine transformation matrix.

 

m02

double m02
The X coordinate of the translation element of the 3x3 affine transformation matrix.

 

m12

double m12
The Y coordinate of the translation element of the 3x3 affine transformation matrix.

 

Class java.awt.geom.IllegalPathStateException extends java.lang.RuntimeException implements Serializable

Class java.awt.geom.NoninvertibleTransformException extends java.lang.Exception implements Serializable


Package java.awt.image

Class java.awt.image.ImagingOpException extends java.lang.RuntimeException implements Serializable

Class java.awt.image.RasterFormatException extends java.lang.RuntimeException implements Serializable


Package javax.imageio

Class javax.imageio.IIOException extends java.io.IOException implements Serializable


Package javax.microedition.agui.event

Class javax.microedition.agui.event.DeviceKeyEvent extends java.awt.event.KeyEvent implements Serializable


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.