Serialized Form


Package antlr

Class antlr.ANTLRError implements Serializable

Class antlr.ANTLRException implements Serializable

Class antlr.BaseAST implements Serializable

Serialized Fields

down

BaseAST down

right

BaseAST right

Class antlr.CharStreamException implements Serializable

Class antlr.CharStreamIOException implements Serializable

Serialized Fields

io

IOException io
Enabled:

Class antlr.CommonAST implements Serializable

Serialized Fields

ttype

int ttype

text

String text

Class antlr.CommonASTWithHiddenTokens implements Serializable

Serialized Fields

hiddenBefore

CommonHiddenStreamToken hiddenBefore

hiddenAfter

CommonHiddenStreamToken hiddenAfter

Class antlr.MismatchedCharException implements Serializable

Serialized Fields

mismatchType

int mismatchType
Enabled:


foundChar

char foundChar
Enabled:


expecting

int expecting
Enabled:


upper

int upper
Enabled:


set

BitSet set
Enabled:


scanner

CharScanner scanner
Enabled:

Class antlr.MismatchedTokenException implements Serializable

Serialized Fields

tokenNames

String[] tokenNames

token

Token token
Enabled:


node

AST node
Enabled:


tokenText

String tokenText

mismatchType

int mismatchType
Enabled:


expecting

int expecting
Enabled:


upper

int upper
Enabled:


set

BitSet set
Enabled:

Class antlr.NoViableAltException implements Serializable

Serialized Fields

token

Token token
Enabled:


node

AST node
Enabled:

Class antlr.NoViableAltForCharException implements Serializable

Serialized Fields

foundChar

char foundChar
Enabled:

Class antlr.RecognitionException implements Serializable

Serialized Fields

fileName

String fileName
Enabled:


line

int line
Enabled:


column

int column
Enabled:

Class antlr.SemanticException implements Serializable

Class antlr.TokenStreamException implements Serializable

Class antlr.TokenStreamIOException implements Serializable

Serialized Fields

io

IOException io
Enabled:

Class antlr.TokenStreamRecognitionException implements Serializable

Serialized Fields

recog

RecognitionException recog
Enabled:

Class antlr.TokenStreamRetryException implements Serializable


Package antlr.debug

Class antlr.debug.Event implements Serializable

Serialized Fields

type

int type

Class antlr.debug.GuessingEvent implements Serializable

Serialized Fields

guessing

int guessing

Class antlr.debug.InputBufferEvent implements Serializable

Serialized Fields

c

char c

lookaheadAmount

int lookaheadAmount

Class antlr.debug.MessageEvent implements Serializable

Serialized Fields

text

String text

Class antlr.debug.NewLineEvent implements Serializable

Serialized Fields

line

int line

Class antlr.debug.ParserMatchEvent implements Serializable

Serialized Fields

inverse

boolean inverse

matched

boolean matched

target

Object target

value

int value

text

String text

Class antlr.debug.ParserTokenEvent implements Serializable

Serialized Fields

value

int value

amount

int amount

Class antlr.debug.SemanticPredicateEvent implements Serializable

Serialized Fields

condition

int condition

result

boolean result

Class antlr.debug.SyntacticPredicateEvent implements Serializable

Class antlr.debug.TraceEvent implements Serializable

Serialized Fields

ruleNum

int ruleNum

data

int data


Package antlr.debug.misc

Class antlr.debug.misc.ASTFrame implements Serializable

Class antlr.debug.misc.JTreeASTPanel implements Serializable

Serialized Fields

tree

JTree tree


Package com.combex.e.edoc

Class com.combex.e.edoc.EParameter implements Serializable

Serialized Fields

myType

EType myType
parameter type information.


myName

String myName
paramter local name.


Package com.zooko.tray

Class com.zooko.tray.EPainter implements Serializable

Serialized Fields

mySelf

com.zooko.tray.EPainter.IPaint mySelf


Package java.awt

Class java.awt.AWTError implements Serializable

Class java.awt.AWTEvent implements Serializable

Serialized Fields

bdata

byte[] bdata

id

int id
The event's id.

 
See Also:
AWTEvent.getID(), AWTEvent.AWTEvent(java.awt.Event)

consumed

boolean consumed
Controls whether or not the event is sent back down to the peer once the source has processed it - false means it's sent to the peer; true means it's not. Semantic events always have a 'true' value since they were generated by the peer in response to a low-level event.

 
See Also:
AWTEvent.consume(), AWTEvent.isConsumed()

Class java.awt.AWTException implements Serializable

Class java.awt.AWTKeyStroke implements Serializable

Serialization Methods

readResolve

protected Object readResolve()
                      throws 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 implements Serializable

Class java.awt.BorderLayout implements Serializable

Serialized Fields

hgap

int hgap
Constructs a border layout with the horizontal gaps between components. The horizontal gap is specified by hgap.

 
See Also:
BorderLayout.getHgap(), setHgap()

vgap

int vgap
Constructs a border layout with the vertical gaps between components. The vertical gap is specified by vgap.

 
See Also:
BorderLayout.getVgap(), setVgap()

north

Component north
Constant to specify components location to be the north portion of the border layout.

 
See Also:
BorderLayout.getChild(java.lang.String, boolean), BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object), #getLayoutAlignment, BorderLayout.removeLayoutComponent(java.awt.Component)

west

Component west
Constant to specify components location to be the west portion of the border layout.

 
See Also:
BorderLayout.getChild(java.lang.String, boolean), BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object), #getLayoutAlignment, BorderLayout.removeLayoutComponent(java.awt.Component)

east

Component east
Constant to specify components location to be the east portion of the border layout.

 
See Also:
BorderLayout.getChild(java.lang.String, boolean), BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object), #getLayoutAlignment, BorderLayout.removeLayoutComponent(java.awt.Component)

south

Component south
Constant to specify components location to be the south portion of the border layout.

 
See Also:
BorderLayout.getChild(java.lang.String, boolean), BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object), #getLayoutAlignment, BorderLayout.removeLayoutComponent(java.awt.Component)

center

Component center
Constant to specify components location to be the center portion of the border layout.

 
See Also:
BorderLayout.getChild(java.lang.String, boolean), BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object), #getLayoutAlignment, BorderLayout.removeLayoutComponent(java.awt.Component)

firstLine

Component firstLine
A relative positioning constant, that can be used instead of north, south, east, west or center. mixing the two types of constants can lead to unpredicable results. If you use both types, the relative constants will take precedence. For example, if you add components using both the NORTH and BEFORE_FIRST_LINE constants in a container whose orientation is LEFT_TO_RIGHT, only the BEFORE_FIRST_LINE will be layed out. This will be the same for lastLine, firstItem, lastItem.

 

lastLine

Component lastLine
A relative positioning constant, that can be used instead of north, south, east, west or center. Please read Description for firstLine.

 

firstItem

Component firstItem
A relative positioning constant, that can be used instead of north, south, east, west or center. Please read Description for firstLine.

 

lastItem

Component lastItem
A relative positioning constant, that can be used instead of north, south, east, west or center. Please read Description for firstLine.

 

Class java.awt.Button implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive action events fired by the button. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
removeActionListener(), addActionListener(), java.awt.GraphicsEnvironment#isHeadless, Button.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable ActionListeners as optional data. The non-serializable ActionListeners are detected and no attempt is made to serialize them.

Serial Data:
null terminated sequence of 0 or more pairs: the pair consists of a String and an Object; the String indicates the type of object and is one of the following: actionListenerK indicating an ActionListener object
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), java.awt.Component.actionListenerK, Button.readObject(java.io.ObjectInputStream)
Serialized Fields

label

String label

actionCommand

String actionCommand

buttonSerializedDataVersion

int buttonSerializedDataVersion

Class java.awt.Canvas implements Serializable

Class java.awt.CardLayout implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Reads serializable fields from stream.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes serializable fields to stream.

Serialized Fields

currentCard

int currentCard

hgap

int hgap

tab

Hashtable tab
deprectated, for forward compatibility only

vector

Vector vector

vgap

int vgap

Class java.awt.Checkbox implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive item events fired by the Checkbox. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
removeActionListener(), addActionListener(), java.awt.GraphicsEnvironment#isHeadless, Checkbox.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable ItemListeners as optional data. The non-serializable ItemListeners are detected and no attempt is made to serialize them.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and an Object; the String indicates the type of object and is one of the following: itemListenerK indicating an ItemListener object
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), java.awt.Component.itemListenerK, Checkbox.readObject(java.io.ObjectInputStream)
Serialized Fields

label

String label
The label of the Checkbox. This field can be null. If a label is not specified it defaults to null or "".

 
See Also:
Checkbox.getLabel(), #setLabel()

state

boolean state
The state of the Checkbox.

 
See Also:
Checkbox.getState(), #setState()

group

CheckboxGroup group
The check box group. This field can be null indicating that the checkbox is not a group checkbox.

 
See Also:
getCheckBoxGroup(), setCheckBoxGroup()

checkboxSerializedDataVersion

int checkboxSerializedDataVersion

Class java.awt.CheckboxGroup implements Serializable

Serialized Fields

selectedCheckbox

Checkbox selectedCheckbox
The current choice.

 
See Also:
CheckboxGroup.getCurrent(), setCurrent()

Class java.awt.CheckboxMenuItem implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Description copied from class: MenuItem
Reads the ObjectInputStream and if it isn't null adds a listener to receive action events fired by the Menu Item. Unrecognized keys or values will be ignored.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable ItemListeners as optional data. The non-serializable ItemListeners are detected and no attempt is made to serialize them.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and an Object; the String indicates the type of object and is one of the following: itemListenerK indicating an ItemListener object
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), java.awt.Component.itemListenerK, CheckboxMenuItem.readObject(java.io.ObjectInputStream)
Serialized Fields

state

boolean state
The state of a checkbox menu item

 
See Also:
CheckboxMenuItem.getState(), #setState()

checkboxMenuItemSerializedDataVersion

int checkboxMenuItemSerializedDataVersion

Class java.awt.Choice implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive item events fired by the Choice item. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
removeActionListener(), addActionListener(), java.awt.GraphicsEnvironment#isHeadless, Choice.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable ItemListeners as optional data. The non-serializable ItemListeners are detected and no attempt is made to serialize them.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and an Object; the String indicates the type of object and is one of the following: itemListenerK indicating an ItemListener object
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), java.awt.Component.itemListenerK, Choice.readObject(java.io.ObjectInputStream)
Serialized Fields

pItems

Vector pItems
The items for the Choice. This can be a null value.

 
See Also:
add(), addItem(), getItem(), Choice.getItemCount(), insert(), remove()

selectedIndex

int selectedIndex
The index of the current choice for this Choice or -1 if nothing is selected.

 
See Also:
getSelectedItem, select()

choiceSerializedDataVersion

int choiceSerializedDataVersion

Class java.awt.Color implements Serializable

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[])

cs

java.awt.color.ColorSpace cs
The ColorSpace. If null, then it's default is sRGB.

 
See Also:
Color.getColor(java.lang.String), Color.getColorSpace(), Color.getColorComponents(float[])

Class java.awt.Component implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Reads the ObjectInputStream and if it isn't null adds a listener to receive a variety of events fired by the component. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
See Also:
Component.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a variety of serializable listeners as optional data. The non-serializable listeners are detected and no attempt is made to serialize them.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and an Object; the String indicates the type of object and is one of the following (as of 1.4): componentListenerK indicating an ComponentListener object; focusListenerK indicating an FocusListener object; keyListenerK indicating an KeyListener object; mouseListenerK indicating an MouseListener object; mouseMotionListenerK indicating an MouseMotionListener object; inputListenerK indicating an InputListener object; hierarchyListenerK indicating an HierarchyListener object; hierarchyBoundsListenerK indicating an HierarchyBoundsListener object; mouseWheelListenerK indicating an MouseWheelListener objectan optional ComponentOrientation (after inputMethodListener, as of 1.2)
IOException
See Also:
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener), Component.componentListenerK, Component.focusListenerK, Component.keyListenerK, Component.mouseListenerK, Component.mouseMotionListenerK, #inputListenerK, Component.hierarchyListenerK, Component.hierarchyBoundsListenerK, Component.mouseWheelListenerK, Component.readObject(java.io.ObjectInputStream)
Serialized Fields

x

int x
The x position of the component in the parent's coordinate system.

 
See Also:
Component.getLocation()

y

int y
The y position of the component in the parent's coordinate system.

 
See Also:
Component.getLocation()

width

int width
The width of the component.

 
See Also:
Component.getSize()

height

int height
The height of the component.

 
See Also:
Component.getSize()

foreground

Color foreground
The foreground color for this component. foreground can be null.

 
See Also:
Component.getForeground(), Component.setForeground(java.awt.Color)

background

Color background
The background color for this component. background can be null.

 
See Also:
Component.getBackground(), Component.setBackground(java.awt.Color)

font

Font font
The font used by this component. The font can be null.

 
See Also:
Component.getFont(), Component.setFont(java.awt.Font)

peerFont

Font peerFont
The font which the peer is currently using. (null if no peer exists.)


cursor

Cursor cursor
The cursor displayed when pointer is over this component. This value can be null.

 
See Also:
Component.getCursor(), Component.setCursor(java.awt.Cursor)

locale

Locale locale
The locale for the component.

 
See Also:
Component.getLocale(), Component.setLocale(java.util.Locale)

ignoreRepaint

boolean ignoreRepaint
True when the object should ignore all repaint events.

 
Since:
1.4
See Also:
Component.setIgnoreRepaint(boolean), Component.getIgnoreRepaint()

visible

boolean visible
True when the object is visible. An object that is not visible is not drawn on the screen.

 
See Also:
Component.isVisible(), Component.setVisible(boolean)

enabled

boolean enabled
True when the object is enabled. An object that is not enabled does not interact with the user.

 
See Also:
Component.isEnabled(), Component.setEnabled(boolean)

valid

boolean valid
True when the object is valid. An invalid object needs to be layed out. This flag is set to false when the object size is changed.

 
See Also:
Component.isValid(), Component.validate(), Component.invalidate()

dropTarget

DropTarget dropTarget
The DropTarget associated with this component.

 
Since:
1.2
See Also:
Component.setDropTarget(java.awt.dnd.DropTarget), Component.getDropTarget()

popups

Vector popups
 
See Also:
Component.add(java.awt.PopupMenu)

name

String name
A component's name. This field can be null.

 
See Also:
Component.getName(), Component.setName(String)

nameExplicitlySet

boolean nameExplicitlySet
A bool to determine whether the name has been set explicitly. nameExplicitlySet will be false if the name has not been set and true if it has.

 
See Also:
Component.getName(), Component.setName(String)

focusable

boolean focusable
Indicates whether this Component can be focused.

 
Since:
1.4
See Also:
Component.setFocusable(boolean), Component.isFocusable()

isFocusTraversableOverridden

int isFocusTraversableOverridden
Tracks whether this Component is relying on default focus travesability.

 
Since:
1.4
See Also:
Component.isFocusTraversableOverridden

focusTraversalKeys

Set[] focusTraversalKeys
The focus traversal keys. These keys will generate focus traversal behavior for Components for which focus traversal keys are enabled. If a value of null is specified for a traversal key, this Component inherits that traversal key from its parent. If all ancestors of this Component have null specified for that traversal key, then the current KeyboardFocusManager's default traversal key is used.

 
Since:
1.4
See Also:
#setFocusTraversalKey, #getFocusTraversalKey

focusTraversalKeysEnabled

boolean focusTraversalKeysEnabled
Indicates whether focus traversal keys are enabled for this Component. Components for which focus traversal keys are disabled receive key events for focus traversal keys. Components for which focus traversal keys are enabled do not see these events; instead, the events are automatically converted to traversal operations.

 
Since:
1.4
See Also:
Component.setFocusTraversalKeysEnabled(boolean), Component.getFocusTraversalKeysEnabled()

minSize

Dimension minSize
Internal, cached size information. (This field perhaps should have been transient).

 

prefSize

Dimension prefSize
Internal, cached size information (This field perhaps should have been transient).

 

newEventsOnly

boolean newEventsOnly
newEventsOnly will be true if the event is one of the event types enabled for the component. It will then allow for normal processing to continue. If it is false the event is passed to the component's parent and up the ancestor tree until the event has been consumed.

 
See Also:
Component.dispatchEvent(java.awt.AWTEvent)

eventMask

long eventMask
The eventMask is ONLY set by subclasses via enableEvents. The mask should NOT be set when listeners are registered so that we can distinguish the difference between when listeners request events and subclasses request them. One bit is used to indicate whether input methods are enabled; this bit is set by enableInputMethods and is on by default.

 
See Also:
Component.enableInputMethods(boolean), AWTEvent

changeSupport

java.beans.PropertyChangeSupport changeSupport
If any PropertyChangeListeners have been registered, the changeSupport field describes them.

 
Since:
1.2
See Also:
Component.addPropertyChangeListener(java.beans.PropertyChangeListener), Component.removePropertyChangeListener(java.beans.PropertyChangeListener), Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)

isPacked

boolean isPacked

componentSerializedDataVersion

int componentSerializedDataVersion
Component Serialized Data Version.

 

accessibleContext

AccessibleContext accessibleContext

Class java.awt.ComponentOrientation implements Serializable

Serialized Fields

orientation

int orientation

Class java.awt.Container implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Deserializes this Container from the specified ObjectInputStream.

ClassNotFoundException
IOException
See Also:
Container.addContainerListener(java.awt.event.ContainerListener), Container.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serializes this Container to the specified ObjectOutputStream.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and Object; the String indicates the type of object and is one of the following: containerListenerK indicating an ContainerListener object; the Container's FocusTraversalPolicy, or null
IOException
See Also:
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener), Component.containerListenerK, Container.readObject(java.io.ObjectInputStream)
Serialized Fields

ncomponents

int ncomponents
The number of components in this container. This value can be null.

 
See Also:
Container.getComponent(int), Container.getComponents(), Container.getComponentCount()

component

Component[] component
The components in this container.

 
See Also:
Container.add(java.awt.Component), Container.getComponents()

layoutMgr

LayoutManager layoutMgr
Layout manager for this container.

 
See Also:
Container.doLayout(), Container.setLayout(java.awt.LayoutManager), Container.getLayout()

dispatcher

LightweightDispatcher dispatcher
Event router for lightweight components. If this container is native, this dispatcher takes care of forwarding and retargeting the events to lightweight components contained (if any).

 

maxSize

Dimension maxSize

focusCycleRoot

boolean focusCycleRoot
Indicates whether this Component is the root of a focus traversal cycle. Once focus enters a traversal cycle, typically it cannot leave it via focus traversal unless one of the up- or down-cycle keys is pressed. Normal traversal is limited to this Container, and all of this Container's descendants that are not descendants of inferior focus cycle roots.

 
Since:
1.4
See Also:
Container.setFocusCycleRoot(boolean), Container.isFocusCycleRoot(java.awt.Container)

containerSerializedDataVersion

int containerSerializedDataVersion
Container Serial Data Version.

 

Class java.awt.ContainerOrderFocusTraversalPolicy implements Serializable

Serialized Fields

implicitDownCycleTraversal

boolean implicitDownCycleTraversal

Class java.awt.Cursor implements Serializable

Serialized Fields

type

int type
The chosen cursor type initially set to the DEFAULT_CURSOR.

 
See Also:
Cursor.getType()

name

String name
The user-visible name of the cursor.

 
See Also:
Cursor.getName()

Class java.awt.DefaultFocusTraversalPolicy implements Serializable

Class java.awt.Dialog implements Serializable

Serialized Fields

resizable

boolean resizable
A dialog's resizable property. Will be true if the Dialog is to be resizable, otherwise it will be false.

 
See Also:
setResizable()

undecorated

boolean undecorated
This field indicates whether the dialog is undecorated. This property can only be changed while the dialog is not displayable. undecorated will be true if the dialog is undecorated, otherwise it will be false.

 
Since:
1.4
See Also:
#setUndecorated(), Dialog.isUndecorated(), Component.isDisplayable()

modal

boolean modal
Will be true if the Dialog is modal, otherwise the dialog will be modeless. A modal Dialog grabs all the input to the owner frame from the user.

 
See Also:
Dialog.isModal(), setModal()

title

String title
Specifies the title of the Dialog. This field can be null.

 
See Also:
Dialog.getTitle(), setTitle()

showAppContext

sun.awt.AppContext showAppContext
Stores the app context on which event dispatch thread the dialog is being shown. Initialized in show(), used in hideAndDisposeHandler()

Class java.awt.Dimension implements Serializable

Serialized Fields

width

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

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

height

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

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

Class java.awt.Event implements Serializable

Serialized Fields

target

Object target
Suppressed: The target component. This indicates the component over which the event occurred or with which the event is associated. This object has been replaced by AWTEvent.getSource()

 
See Also:
java.awt.AWTEvent#getSource()

when

long when
Suppressed: The time stamp. Replaced by InputEvent.getWhen().

 
See Also:
java.awt.event.InputEvent#getWhen()

id

int id
Suppressed: Indicates which type of event the event is, and which other Event variables are relevant for the event. This has been replaced by AWTEvent.getID()

 
See Also:
java.awt.AWTEvent#getID()

x

int x
Suppressed: The x coordinate of the event. Replaced by MouseEvent.getX()

 
See Also:
java.awt.event.MouseEvent#getX()

y

int y
Suppressed: The y coordinate of the event. Replaced by MouseEvent.getY()

 
See Also:
java.awt.event.MouseEvent#getY()

key

int key
Suppressed: The key code of the key that was pressed in a keyboard event. This has been replaced by KeyEvent.getKeyCode()

 
See Also:
java.awt.event.KeyEvent#getKeyCode()

modifiers

int modifiers
Suppressed: The state of the modifier keys. This is replaced with InputEvent.getModifiers() In java 1.1 MouseEvent and KeyEvent are subclasses of InputEvent.

 
See Also:
java.awt.event.InputEvent#getModifiers()

clickCount

int clickCount
Suppressed: For MOUSE_DOWN events, this field indicates the number of consecutive clicks. For other events, its value is 0. This field has been replaced by MouseEvent.getClickCount().

 
See Also:
java.awt.event.MouseEvent#getClickCount().

arg

Object arg
Suppressed: An arbitrary argument of the event. The value of this field depends on the type of event. arg has been replaced by event specific property.

 

evt

Event evt
Suppressed: The next event. This field is set when putting events into a linked list. This has been replaced by EventQueue.

 
See Also:
java.awt.EventQueue

consumed

boolean consumed
This field controls whether or not the event is sent back down to the peer once the target has processed it - false means it's sent to the peer, true means it's not.

 
See Also:
Event.isConsumed()

Class java.awt.FileDialog implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Reads the ObjectInputStream and performs a backwards compatibility check by converting either a dir or a file equal to an empty string to null.

Serialized Fields

mode

int mode

dir

String dir

file

String file

filter

FilenameFilter filter

Class java.awt.FlowLayout implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Reads this object out of a serialization stream, handling objects written by older versions of the class that didn't contain all of the fields we use now..

Serialized Fields

align

int align
align is the property that determines how each row distributes empty space. It can be one of the following values:

 
See Also:
FlowLayout.getAlignment(), FlowLayout.setAlignment(int)

newAlign

int newAlign
newAlign is the property that determines how each row distributes empty space for the Java 2 platform, v1.2 and greater. It can be one of the following three values:

 
Since:
1.2
See Also:
FlowLayout.getAlignment(), FlowLayout.setAlignment(int)

hgap

int hgap
The flow layout manager allows a seperation of components with gaps. The horizontal gap will specify the space between components.

 
See Also:
getHgap, setHgap

vgap

int vgap
The flow layout manager allows a seperation of components with gaps. The vertical gap will specify the space between rows.

 
See Also:
getVgap, setVgap

serialVersionOnStream

int serialVersionOnStream
This represent the currentSerialVersion which is bein used. It will be one of two values : 0 versions before Java 2 platform v1.2.. 1 versions after Java 2 platform v1.2..

 
Since:
1.2

Class java.awt.Font implements Serializable

Serialization Methods

readObject

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

ClassNotFoundException
IOException
See Also:
Font.writeObject(java.io.ObjectOutputStream)

writeObject

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

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

fRequestedAttributes

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

 
See Also:
Font.getAttributes()

name

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()

fontSerializedDataVersion

int fontSerializedDataVersion
The Font Serializable Data Form.

 

Class java.awt.FontFormatException implements Serializable

Class java.awt.FontMetrics implements Serializable

Serialized Fields

font

Font font
The actual Font from which the font metrics are created. This cannot be null.

 
See Also:
FontMetrics.getFont()

Class java.awt.Frame implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the ObjectInputStream. Tries to read an Icon, which is optional data available as of 1.4. If an Icon is not available, but anything other than an EOF is detected, an OptionalDataException will be thrown.. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
java.awt.GraphicsEnvironment#isHeadless(), javax.swing.Icon, Frame.writeObject(ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes an optional serializable Icon, which is available as of 1.4.

Serial Data:
an optional Icon
IOException
See Also:
javax.swing.Icon, Frame.readObject(ObjectInputStream)
Serialized Fields

maximizedBounds

Rectangle maximizedBounds
Maximized bounds for this frame.

 
Since:
1.4
See Also:
Frame.setMaximizedBounds(Rectangle), Frame.getMaximizedBounds()

title

String title
This is the title of the frame. It can be changed at any time. title can be null and if this is the case the title = "".

 
See Also:
Frame.getTitle(), Frame.setTitle(String)

menuBar

MenuBar menuBar
The frames menubar. If menuBar = null the frame will not have a menubar.

 
See Also:
Frame.getMenuBar(), Frame.setMenuBar(MenuBar)

resizable

boolean resizable
This field indicates whether the frame is resizable. This property can be changed at any time. resizable will be true if the frame is resizable, otherwise it will be false.

 
See Also:
Frame.isResizable()

undecorated

boolean undecorated
This field indicates whether the frame is undecorated. This property can only be changed while the frame is not displayable. undecorated will be true if the frame is undecorated, otherwise it will be false.

 
Since:
1.4
See Also:
Frame.setUndecorated(boolean), Frame.isUndecorated(), Component.isDisplayable()

mbManagement

boolean mbManagement
mbManagement is only used by the Motif implementation.

 

state

int state

ownedWindows

Vector ownedWindows

frameSerializedDataVersion

int frameSerializedDataVersion
Frame's Serialized Data Version.

 

Class java.awt.GraphicsConfigTemplate implements Serializable

Class java.awt.GridBagConstraints implements Serializable

Serialized Fields

gridx

int gridx
Enabled: Specifies the cell containing the leading edge of the component's display area, where the first cell in a row has gridx=0. The leading edge of a component's display area is its left edge for a horizontal, left-to-right container and its right edge for a horizontal, right-to-left container. The value RELATIVE specifies that the component be placed immediately following the component that was added to the container just before this component was added.

The default value is RELATIVE. gridx should be a non-negative value.

 
See Also:
GridBagConstraints.clone(), java.awt.GridBagConstraints#gridy, java.awt.ComponentOrientation

gridy

int gridy
Enabled: Specifies the cell at the top of the component's display area, where the topmost cell has gridy=0. The value RELATIVE specifies that the component be placed just below the component that was added to the container just before this component was added.

The default value is RELATIVE. gridy should be a non-negative value.

 
See Also:
GridBagConstraints.clone(), java.awt.GridBagConstraints#gridx

gridwidth

int gridwidth
Enabled: Specifies the number of cells in a row for the component's display area.

Use REMAINDER to specify that the component be the last one in its row. Use RELATIVE to specify that the component be the next-to-last one in its row.

gridwidth should be non-negative and the default value is 1.

 
See Also:
GridBagConstraints.clone(), java.awt.GridBagConstraints#gridheight

gridheight

int gridheight
Enabled: Specifies the number of cells in a column for the component's display area.

Use REMAINDER to specify that the component be the last one in its column. Use RELATIVE to specify that the component be the next-to-last one in its column.

gridheight should be a non-negative value and the default value is 1.

 
See Also:
GridBagConstraints.clone(), java.awt.GridBagConstraints#gridwidth

weightx

double weightx
Enabled: Specifies how to distribute extra horizontal space.

The grid bag layout manager calculates the weight of a column to be the maximum weightx of all the components in a column. If the resulting layout is smaller horizontally than the area it needs to fill, the extra space is distributed to each column in proportion to its weight. A column that has a weight of zero receives no extra space.

If all the weights are zero, all the extra space appears between the grids of the cell and the left and right edges.

The default value of this field is 0. weightx should be a non-negative value.

 
See Also:
GridBagConstraints.clone(), java.awt.GridBagConstraints#weighty

weighty

double weighty
Enabled: Specifies how to distribute extra vertical space.

The grid bag layout manager calculates the weight of a row to be the maximum weighty of all the components in a row. If the resulting layout is smaller vertically than the area it needs to fill, the extra space is distributed to each row in proportion to its weight. A row that has a weight of zero receives no extra space.

If all the weights are zero, all the extra space appears between the grids of the cell and the top and bottom edges.

The default value of this field is 0. weighty should be a non-negative value.

 
See Also:
GridBagConstraints.clone(), java.awt.GridBagConstraints#weightx

anchor

int anchor
Suppressed: This field is used when the component is smaller than its display area. It determines where, within the display area, to place the component.

There are two kinds of possible values: relative and absolute. Relative values are interpreted relative to the container's component orientation property while absolute values are not. The absolute values are: CENTER, NORTH, NORTHEAST, EAST, SOUTHEAST, SOUTH, SOUTHWEST, WEST, and NORTHWEST. The relative values are: PAGE_START, PAGE_END, LINE_START, LINE_END, FIRST_LINE_START, FIRST_LINE_END, LAST_LINE_START and LAST_LINE_END. The default value is CENTER.

 
See Also:
GridBagConstraints.clone(), java.awt.ComponentOrientation

fill

int fill
Enabled: This field is used when the component's display area is larger than the component's requested size. It determines whether to resize the component, and if so, how.

The following values are valid for fill:

The default value is NONE.

 
See Also:
GridBagConstraints.clone()

insets

Insets insets
Suppressed: This field specifies the external padding of the component, the minimum amount of space between the component and the edges of its display area.

The default value is new Insets(0, 0, 0, 0).

 
See Also:
GridBagConstraints.clone()

ipadx

int ipadx
Suppressed: This field specifies the internal padding of the component, how much space to add to the minimum width of the component. The width of the component is at least its minimum width plus (ipadx * 2) pixels.

The default value is 0.

 
See Also:
GridBagConstraints.clone(), java.awt.GridBagConstraints#ipady

ipady

int ipady
Suppressed: This field specifies the internal padding, that is, how much space to add to the minimum height of the component. The height of the component is at least its minimum height plus (ipady * 2) pixels.

The default value is 0.

 
See Also:
GridBagConstraints.clone(), java.awt.GridBagConstraints#ipadx

tempX

int tempX
Temporary place holder for the x coordinate.

 

tempY

int tempY
Temporary place holder for the y coordinate.

 

tempWidth

int tempWidth
Temporary place holder for the Width of the component.

 

tempHeight

int tempHeight
Temporary place holder for the Height of the component.

 

minWidth

int minWidth
The minimum width of the component. It is used to calculate ipady, where the default will be 0.

 
See Also:
ipady

minHeight

int minHeight
The minimum height of the component. It is used to calculate ipadx, where the default will be 0.

 
See Also:
ipadx

Class java.awt.GridBagLayout implements Serializable

Serialized Fields

comptable

Hashtable comptable
This hashtable maintains the association between a component and its gridbag constraints. The Keys in comptable are the components and the values are the instances of GridBagConstraints.

 
See Also:
java.awt.GridBagConstraints

defaultConstraints

GridBagConstraints defaultConstraints
This field holds a gridbag constraints instance containing the default values, so if a component does not have gridbag constraints associated with it, then the component will be assigned a copy of the defaultConstraints.

 
See Also:
GridBagLayout.getConstraints(Component), GridBagLayout.setConstraints(Component, GridBagConstraints), GridBagLayout.lookupConstraints(Component)

layoutInfo

GridBagLayoutInfo layoutInfo
This field holds the layout information for the gridbag. The information in this field is based on the most recent validation of the gridbag. If layoutInfo is null this indicates that there are no components in the gridbag or if there are components, they have not yet been validated.

 
See Also:
GridBagLayout.getLayoutInfo(Container, int)

columnWidths

int[] columnWidths
Suppressed: This field holds the overrides to the column minimum width. If this field is non-null the values are applied to the gridbag after all of the minimum columns widths have been calculated. If columnWidths has more elements than the number of columns, columns are added to the gridbag to match the number of elements in columnWidth.

 
See Also:
GridBagLayout.getLayoutDimensions()

rowHeights

int[] rowHeights
Suppressed: This field holds the overrides to the row minimum heights. If this field is non-null the values are applied to the gridbag after all of the minimum row heights have been calculated. If rowHeights has more elements than the number of rows, rowa are added to the gridbag to match the number of elements in rowHeights.

 
See Also:
GridBagLayout.getLayoutDimensions()

columnWeights

double[] columnWeights
Suppressed: This field holds the overrides to the column weights. If this field is non-null the values are applied to the gridbag after all of the columns weights have been calculated. If columnWeights[i] > weight for column i, then column i is assigned the weight in columnWeights[i]. If columnWeights has more elements than the number of columns, the excess elements are ignored - they do not cause more columns to be created.

 

rowWeights

double[] rowWeights
Suppressed: This field holds the overrides to the row weights. If this field is non-null the values are applied to the gridbag after all of the rows weights have been calculated. If rowWeights[i] > weight for row i, then row i is assigned the weight in rowWeights[i]. If rowWeights has more elements than the number of rows, the excess elements are ignored - they do not cause more rows to be created.

 

Class java.awt.GridLayout implements Serializable

Serialized Fields

hgap

int hgap
This is the horizontal gap (in pixels) which specifies the space between columns. They can be changed at any time. This should be a non-negative integer.

 
See Also:
GridLayout.getHgap(), setHgap()

vgap

int vgap
This is the vertical gap (in pixels) which specifies the space between rows. They can be changed at any time. This should be a non negative integer.

 
See Also:
GridLayout.getVgap(), setVgap()

rows

int rows
This is the number of rows specified for the grid. The number of rows can be changed at any time. This should be a non negative integer, where '0' means 'any number' meaning that the number of Rows in that dimension depends on the other dimension.

 
See Also:
GridLayout.getRows(), setRows()

cols

int cols
This is the number of columns specified for the grid. The number of columns can be changed at any time. This should be a non negative integer, where '0' means 'any number' meaning that the number of Columns in that dimension depends on the other dimension.

 
See Also:
GridLayout.getColumns(), setColumns()

Class java.awt.HeadlessException implements Serializable

Class java.awt.IllegalComponentStateException implements Serializable

Class java.awt.Insets implements Serializable

Serialized Fields

top

int top
Suppressed: The inset from the top. This value is added to the Top of the rectangle to yield a new location for the Top.

 
See Also:
Insets.clone()

left

int left
Suppressed: The inset from the left. This value is added to the Left of the rectangle to yield a new location for the Left edge.

 
See Also:
Insets.clone()

bottom

int bottom
Suppressed: The inset from the bottom. This value is subtracted from the Bottom of the rectangle to yield a new location for the Bottom.

 
See Also:
Insets.clone()

right

int right
Suppressed: The inset from the right. This value is subtracted from the Right of the rectangle to yield a new location for the Right edge.

 
See Also:
Insets.clone()

Class java.awt.Label implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Read a label from an object input stream.

ClassNotFoundException
IOException
HeadlessException
Since:
1.4
See Also:
java.awt.GraphicsEnvironment#isHeadless
Serialized Fields

text

String text
The text of this label. This text can be modified by the program but never by the user.

 
See Also:
Label.getText(), setText()

alignment

int alignment
The label's alignment. The default alignment is set to be left justified.

 
See Also:
Label.getAlignment(), setAlignment()

Class java.awt.List implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive both item events and action events (as specified by the key stored in the stream) fired by the List. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
removeActionListener(), addActionListener(), java.awt.GraphicsEnvironment#isHeadless, List.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable ItemListeners and ActionListeners as optional data. The non-serializable listeners are detected and no attempt is made to serialize them.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and an Object; the String indicates the type of object and is one of the following: itemListenerK indicating an ItemListener object; actionListenerK indicating an ActionListener object
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), java.awt.Component.itemListenerK, java.awt.Component.actionListenerK, List.readObject(java.io.ObjectInputStream)
Serialized Fields

items

Vector items
A vector created to contain items which will become part of the List Component.

 
See Also:
addItem(), getItem()

rows

int rows
This field will represent the number of visible rows in the List Component. It is specified only once, and that is when the list component is actually created. It will never change.

 
See Also:
List.getRows()

multipleMode

boolean multipleMode
multipleMode is a variable that will be set to true if a list component is to be set to multiple selection mode, that is where the user can select more than one item in a list at one time. multipleMode will be set to false if the list component is set to single selection, that is where the user can only select one item on the list at any one time.

 
See Also:
List.isMultipleMode(), setMultipleMode()

selected

int[] selected
selected is an array that will contain the indices of items that have been selected.

 
See Also:
List.getSelectedIndexes(), List.getSelectedIndex()

visibleIndex

int visibleIndex
This variable contains the value that will be used when trying to make a particular list item visible.

 
See Also:
makeVisible()

listSerializedDataVersion

int listSerializedDataVersion
The List component's Serialized Data Version.

 

Class java.awt.MediaTracker implements Serializable

Serialized Fields

target

Component target
A given Component that will be tracked by a media tracker where the image will eventually be drawn.

 
See Also:
MediaTracker()

head

MediaEntry head
The head of the list of Images that is being tracked by the MediaTracker.

 
See Also:
addImage(), removeImage()

Class java.awt.Menu implements Serializable

Serialization Methods

readObject

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

IOException
ClassNotFoundException
HeadlessException
See Also:
java.awt.GraphicsEnvironment#isHeadless, Menu.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream.

IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), Menu.readObject(java.io.ObjectInputStream)
Serialized Fields

items

Vector items
A vector of the items that will be part of the Menu.

 
See Also:
Menu.countItems()

tearOff

boolean tearOff
This field indicates whether the menu has the tear of property or not. It will be set to true if the menu has the tear off property and it will be set to false> if it does not. A torn off menu can be deleted by a user when it is no longer needed.

 
See Also:
Menu.isTearOff()

isHelpMenu

boolean isHelpMenu
This field will be set to true if the Menu in question is actually a help menu. Otherwise it will be set to false.

 

menuSerializedDataVersion

int menuSerializedDataVersion
The menu serialized Data Version.

 

Class java.awt.MenuBar implements Serializable

Serialization Methods

readObject

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

ClassNotFoundException
IOException
HeadlessException
See Also:
java.awt.GraphicsEnvironment#isHeadless, MenuBar.readObject(java.io.ObjectInputStream)

writeObject

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

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

menus

Vector menus
This field represents a vector of the actual menus that will be part of the MenuBar.

 
See Also:
MenuBar.countMenus()

helpMenu

Menu helpMenu
This menu is a special menu dedicated to help. The one thing to note about this menu is that on some platforms it appears at the right edge of the menubar.

 
See Also:
MenuBar.getHelpMenu(), setHelpMenu()

menuBarSerializedDataVersion

int menuBarSerializedDataVersion
The MenuBar's serialized data version.

 

Class java.awt.MenuComponent implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the menu component from an object input stream.

ClassNotFoundException
IOException
HeadlessException
See Also:
java.awt.GraphicsEnvironment#isHeadless
Serialized Fields

font

Font font
The menu component's font. This value can be null at which point a default will be used. This defaults to null.

 
See Also:
setFont(), MenuComponent.getFont()

name

String name
The menu component's name, which defaults to null.

 
See Also:
MenuComponent.getName(), setName()

nameExplicitlySet

boolean nameExplicitlySet
A variable to indicate whether a name is explicitly set. If true the name will be set explicitly. This defaults to false.

 
See Also:
setName()

newEventsOnly

boolean newEventsOnly
Defaults to false.

 
See Also:
dispatchEvent()

accessibleContext

AccessibleContext accessibleContext

Class java.awt.MenuItem implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive action events fired by the Menu Item. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
removeActionListener(), addActionListener(), MenuItem.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable ActionListeners as optional data. The non-serializable listeners are detected and no attempt is made to serialize them.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and an Object; the String indicates the type of object and is one of the following: actionListenerK indicating an ActionListener object
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), MenuItem.readObject(java.io.ObjectInputStream)
Serialized Fields

enabled

boolean enabled
A value to indicate whether a menu item is enabled or not. If it is enabled, enabled will be set to true. Else enabled will be set to false.

 
See Also:
MenuItem.isEnabled(), setEnabled()

label

String label
label is the label of a menu item. It can be any string.

 
See Also:
MenuItem.getLabel(), setLabel()

actionCommand

String actionCommand
This field indicates the command tha has been issued by a particular menu item. By default the actionCommand is the label of the menu item, unless it has been set using setActionCommand.

 
See Also:
setActionCommand(), MenuItem.getActionCommand()

eventMask

long eventMask
The eventMask is ONLY set by subclasses via enableEvents. The mask should NOT be set when listeners are registered so that we can distinguish the difference between when listeners request events and subclasses request them.

 

shortcut

MenuShortcut shortcut
A sequence of key stokes that ia associated with a menu item. Note :in 1.1.2 you must use setActionCommand() on a menu item in order for its shortcut to work.

 
See Also:
MenuItem.getShortcut(), setShortcut(), MenuItem.deleteShortcut()

menuItemSerializedDataVersion

int menuItemSerializedDataVersion
Menu item serialized data version.

 

Class java.awt.MenuShortcut implements Serializable

Serialized Fields

key

int key
The virtual keycode for the menu shortcut. This is the keycode with which the menu shortcut will be created. Note that it is a virtual keycode, not a character, e.g. KeyEvent.VK_A, not 'a'. Note: in 1.1.x you must use setActionCommand() on a menu item in order for its shortcut to work, otherwise it will fire a null action command.

 
Since:
JDK1.1
See Also:
MenuShortcut.getKey(), MenuShortcut.usesShiftModifier(), java.awt.event.KeyEvent

usesShift

boolean usesShift
Indicates whether the shft key was pressed. If true, the shift key was pressed. If false, the shift key was not pressed

 
Since:
JDK1.1
See Also:
MenuShortcut.usesShiftModifier()

Class java.awt.Panel implements Serializable

Class java.awt.Point implements Serializable

Serialized Fields

x

int x
Suppressed: 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
Suppressed: 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 implements Serializable

Serialized Fields

npoints

int npoints
Suppressed: 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
Suppressed: 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
Suppressed: 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.getBoundingBox(), Polygon.getBounds()

Class java.awt.PopupMenu implements Serializable

Class java.awt.Rectangle implements Serializable

Serialized Fields

x

int x
Suppressed: The x coordinate of the Rectangle.

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

y

int y
Suppressed: The y coordinate of the Rectangle.

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

width

int width
Suppressed: The width of the Rectangle.

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

height

int height
Suppressed: The height of the Rectangle.

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

Class java.awt.Scrollbar implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the ObjectInputStream and if it isn't null adds a listener to receive adjustment events fired by the Scrollbar. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
java.awt.GraphicsEnvironment#isHeadless, Scrollbar.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable AdjustmentListeners as optional data. The non-serializable listeners are detected and no attempt is made to serialize them.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and an Object; the String indicates the type of object and is one of the following: adjustmentListenerK indicating an AdjustmentListener object
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), java.awt.Component.adjustmentListenerK, Scrollbar.writeObject(java.io.ObjectOutputStream)
Serialized Fields

value

int value
The value of the Scrollbar. This property must be greater than or equal to minimum and less than or equal to maximum - visibleAmount

 
See Also:
Scrollbar.getValue(), Scrollbar.setValue(int)

maximum

int maximum
The maximum value of the Scrollbar. This value must be greater than the minimum value.
This integer can be either positive or negative, and its range can be altered at any time.

 
See Also:
Scrollbar.getMaximum(), Scrollbar.setMaximum(int)

minimum

int minimum
The minimum value of the Scrollbar. This value must be less than the maximum value.
This integer can be either positive or negative.

 
See Also:
Scrollbar.getMinimum(), Scrollbar.setMinimum(int)

visibleAmount

int visibleAmount
The size of the visible portion of the Scrollbar. This parameter is normally used to indicate the range of values that are currently visible.

 
See Also:
Scrollbar.getVisibleAmount(), Scrollbar.setVisibleAmount(int)

orientation

int orientation
The Scrollbar's orientation--being either horizontal or vertical. This value should be specified when the scrollbar is created.
orientation can be either : VERTICAL or HORIZONTAL only.

 
See Also:
Scrollbar.getOrientation(), Scrollbar.setOrientation(int)

lineIncrement

int lineIncrement
The amount by which the scrollbar value will change when going up or down by a line. This value should be a non negative integer.

 
See Also:
Scrollbar.getLineIncrement(), Scrollbar.setLineIncrement(int)

pageIncrement

int pageIncrement
The amount by which the scrollbar value will change when going up or down by a page. This value should be a non negative integer.

 
See Also:
Scrollbar.getPageIncrement(), Scrollbar.setPageIncrement(int)

scrollbarSerializedDataVersion

int scrollbarSerializedDataVersion
The scrollbars serialized Data Version.

 

Class java.awt.ScrollPane implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads default serializable fields to stream.

ClassNotFoundException
IOException
HeadlessException
See Also:
java.awt.GraphicsEnvironment#isHeadless

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream.

Serialized Fields

scrollbarDisplayPolicy

int scrollbarDisplayPolicy
There are 3 ways in which a scroll bar can be displayed. This integer will represent one of these 3 displays - (SCROLLBARS_ALWAYS, SCROLLBARS_AS_NEEDED, SCROLLBARS_NEVER)

 
See Also:
ScrollPane.getScrollbarDisplayPolicy()

vAdjustable

ScrollPaneAdjustable vAdjustable
An adjustable vertical scrollbar. It is important to note that you must NOT call 3 Adjustable methods, namely: setMinimum(), setMaximum(), setVisibleAmount().

 
See Also:
ScrollPane.getVAdjustable()

hAdjustable

ScrollPaneAdjustable hAdjustable
An adjustable horizontal scrollbar. It is important to note that you must NOT call 3 Adjustable methods, namely: setMinimum(), setMaximum(), setVisibleAmount().

 
See Also:
ScrollPane.getHAdjustable()

wheelScrollingEnabled

boolean wheelScrollingEnabled
Indicates whether or not scrolling should take place when a MouseWheelEvent is received.

 
Since:
1.4

Class java.awt.ScrollPaneAdjustable implements Serializable

Serialized Fields

sp

ScrollPane sp
The ScrollPane this object is a scrollbar of.

 

orientation

int orientation
Orientation of this scrollbar.

 
See Also:
ScrollPaneAdjustable.getOrientation(), java.awt.Adjustable#HORIZONTAL, java.awt.Adjustable#VERTICAL

value

int value
The value of this scrollbar. value should be greater than minimum and less than maximum

 
See Also:
ScrollPaneAdjustable.getValue(), ScrollPaneAdjustable.setValue(int)

minimum

int minimum
The minimum value of this scrollbar. This value can only be set by the ScrollPane.

ATTN: In current implementation minimum is always 0. This field can only be altered via setSpan method and ScrollPane always calls that method with 0 for the minimum. getMinimum method always returns 0 without checking this field.

 
See Also:
ScrollPaneAdjustable.getMinimum(), ScrollPaneAdjustable.setSpan(int, int, int)

maximum

int maximum
The maximum value of this scrollbar. This value can only be set by the ScrollPane.

 
See Also:
ScrollPaneAdjustable.getMaximum(), ScrollPaneAdjustable.setSpan(int, int, int)

visibleAmount

int visibleAmount
The size of the visible portion of this scrollbar. This value can only be set by the ScrollPane.

 
See Also:
ScrollPaneAdjustable.getVisibleAmount(), ScrollPaneAdjustable.setSpan(int, int, int)

unitIncrement

int unitIncrement
The amount by which the scrollbar value will change when going up or down by a line. This value should be a non negative integer.

 
See Also:
ScrollPaneAdjustable.getUnitIncrement(), ScrollPaneAdjustable.setUnitIncrement(int)

blockIncrement

int blockIncrement
The amount by which the scrollbar value will change when going up or down by a page. This value should be a non negative integer.

 
See Also:
ScrollPaneAdjustable.getBlockIncrement(), ScrollPaneAdjustable.setBlockIncrement(int)

adjustmentListener

AdjustmentListener adjustmentListener

Class java.awt.SystemColor implements Serializable

Class java.awt.TextArea implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Read the ObjectInputStream.

ClassNotFoundException
IOException
HeadlessException
See Also:
java.awt.GraphicsEnvironment#isHeadless
Serialized Fields

rows

int rows
The number of rows in the TextArea. This parameter will determine the text area's height. Guaranteed to be non-negative.

 
See Also:
TextArea.getRows(), TextArea.setRows(int)

columns

int columns
The number of columns in the TextArea. A column is an approximate average character width that is platform-dependent. This parameter will determine the text area's width. Guaranteed to be non-negative.

 
See Also:
TextArea.setColumns(int), TextArea.getColumns()

scrollbarVisibility

int scrollbarVisibility
Determines which scrollbars are created for the text area. It can be one of four values : SCROLLBARS_BOTH = both scrollbars.
SCROLLBARS_HORIZONTAL_ONLY = Horizontal bar only.
SCROLLBARS_VERTICAL_ONLY = Vertical bar only.
SCROLLBARS_NONE = No scrollbars.

 
See Also:
TextArea.getScrollbarVisibility()

textAreaSerializedDataVersion

int textAreaSerializedDataVersion
The textArea Serialized Data Version.

 

Class java.awt.TextComponent implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Read the ObjectInputStream, and if it isn't null, add a listener to receive text events fired by the TextComponent. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
removeTextListener(), addTextListener(), java.awt.GraphicsEnvironment#isHeadless

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable TextListener(s) as optional data. The non-serializable TextListener(s) are detected and no attempt is made to serialize them.

Serial Data:
Null terminated sequence of zero or more pairs. A pair consists of a String and Object. The String indicates the type of object and is one of the following : textListenerK indicating and TextListener object.
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), java.awt.Component.textListenerK
Serialized Fields

text

String text
The value of the text. A null value is the same as "".

 
See Also:
setText(), TextComponent.getText()

editable

boolean editable
A boolean indicating whether or not this TextComponent is editable. It will be true if the text component is editable and false if not.

 
See Also:
TextComponent.isEditable()

selectionStart

int selectionStart
The selection refers to the selected text, and the selectionStart is the start position of the selected text.

 
See Also:
TextComponent.getSelectionStart(), setSelectionStart()

selectionEnd

int selectionEnd
The selection refers to the selected text, and the selectionEnd is the end position of the selected text.

 
See Also:
TextComponent.getSelectionEnd(), setSelectionEnd()

backgroundSetByClientCode

boolean backgroundSetByClientCode

textComponentSerializedDataVersion

int textComponentSerializedDataVersion
The textComponent SerializedDataVersion.

 

checkForEnableIM

boolean checkForEnableIM

Class java.awt.TextField implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Read the ObjectInputStream and if it isn't null, add a listener to receive action events fired by the TextField. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
removeActionListener(), addActionListener(), java.awt.GraphicsEnvironment#isHeadless

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable ActionListener(s) as optional data. The non-serializable ActionListener(s) are detected and no attempt is made to serialize them.

Serial Data:
Null terminated sequence of zero or more pairs. A pair consists of a String and Object. The String indicates the type of object and is one of the following : ActionListenerK indicating and ActionListener object.
IOException
See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener), java.awt.Component.actionListenerK
Serialized Fields

columns

int columns
The number of columns in the text field. A column is an approximate average character width that is platform-dependent. Guaranteed to be non-negative.

 
See Also:
setColumns(), TextField.getColumns()

echoChar

char echoChar
The echo character, which is used when the user wishes to disguise the characters typed into the text field. The disguises are removed if echoChar = 0.

 
See Also:
TextField.getEchoChar(), setEchoChar(), TextField.echoCharIsSet()

textFieldSerializedDataVersion

int textFieldSerializedDataVersion
The textField Serialized Data Version.

 

Class java.awt.Window implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException,
                        HeadlessException
Reads the ObjectInputStream and an optional list of listeners to receive various events fired by the component; also reads a list of (possibly null) child windows. Unrecognized keys or values will be ignored.

ClassNotFoundException
IOException
HeadlessException
See Also:
java.awt.GraphicsEnvironment#isHeadless, Window.writeObject(java.io.ObjectOutputStream)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes default serializable fields to stream. Writes a list of serializable WindowListeners and WindowFocusListeners as optional data. Writes a list of child windows as optional data.

Serial Data:
null terminated sequence of 0 or more pairs; the pair consists of a String and and Object; the String indicates the type of object and is one of the following: windowListenerK indicating a WindowListener object; windowFocusWindowK indicating a WindowFocusListener object; ownedWindowK indicating a child Window object
IOException
See Also:
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener), Component.windowListenerK, Component.windowFocusListenerK, Component.ownedWindowK, Window.readObject(java.io.ObjectInputStream)
Serialized Fields

warningString

String warningString
This represents the warning message that is to be displayed in a non secure window. ie : a window that has a security manager installed for which calling SecurityManager.checkTopLevelWindow() is false. This message can be displayed anywhere in the window.

 
See Also:
Window.getWarningString()

syncLWRequests

boolean syncLWRequests

isFirstPack

boolean isFirstPack

state

int state
An Integer value representing the Window State.

 
Since:
1.2
See Also:
Window.show()

focusMgr

FocusManager focusMgr
Unused. Maintained for serialization backward-compatibility.

 
Since:
1.2

focusableWindowState

boolean focusableWindowState
Indicates whether this Window can become the focused Window.

 
Since:
1.4
See Also:
Window.getFocusableWindowState(), Window.setFocusableWindowState(boolean)

windowSerializedDataVersion

int windowSerializedDataVersion
The window serialized data version.

 


Package java.awt.datatransfer

Class java.awt.datatransfer.DataFlavor implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput is)
                  throws IOException,
                         ClassNotFoundException
Suppressed: Restores this DataFlavor from a Serialized state.


writeExternal

public void writeExternal(ObjectOutput os)
                   throws IOException
Suppressed: Serializes this DataFlavor.

Class java.awt.datatransfer.UnsupportedFlavorException implements Serializable


Package java.awt.dnd

Class java.awt.dnd.DragGestureEvent implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Deserializes this DragGestureEvent. This method first performs default deserialization for all non-transient fields. An attempt is then made to deserialize this object's List of gesture events as well. This is first attempted by deserializing the field events, because, in releases prior to 1.4, a non-transient field of this name stored the List of gesture events. If this fails, the next object in the stream is used instead. If the resulting List is null, this object's List of gesture events is set to an empty List.

ClassNotFoundException
IOException
Since:
1.4

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serializes this DragGestureEvent. Performs default serialization and then writes out this object's List of gesture events if and only if the List can be serialized. If not, null is written instead. In this case, a DragGestureEvent created from the resulting deserialized stream will contain an empty List of gesture events.

Serial Data:
The default serializable fields, in alphabetical order, followed by either a List instance, or null.
IOException
Since:
1.4
Serialized Fields

dragSource

DragSource dragSource
The DragSource associated with this DragGestureEvent.

 

component

Component component
The Component associated with this DragGestureEvent.

 

origin

Point origin
The origin of the drag.

 

action

int action
The user's preferred action.

 

Class java.awt.dnd.DragGestureRecognizer implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Deserializes this DragGestureRecognizer. This method first performs default deserialization for all non-transient fields. This object's DragGestureListener is then deserialized as well by using the next object in the stream.

ClassNotFoundException
IOException
Since:
1.4

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serializes this DragGestureRecognizer. This method first performs default serialization. Then, this object's DragGestureListener is written out if and only if it can be serialized. If not, null is written instead.

Serial Data:
The default serializable fields, in alphabetical order, followed by either a DragGestureListener, or null.
IOException
Since:
1.4
Serialized Fields

dragSource

DragSource dragSource
The DragSource associated with this DragGestureRecognizer.

 

component

Component component
The Component associated with this DragGestureRecognizer.

 

sourceActions

int sourceActions
An int representing the type(s) of action(s) used in this Drag and Drop operation.

 

events

ArrayList events
The list of events (in order) that the DragGestureRecognizer "recognized" as a "gesture" that triggers a drag.

 

Class java.awt.dnd.DragSource implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Deserializes this DragSource. This method first performs default deserialization. Next, this object's FlavorMap is deserialized by using the next object in the stream. If the resulting FlavorMap is null, this object's FlavorMap is set to the default FlavorMap for this thread's ClassLoader. Next, this object's listeners are deserialized by reading a null-terminated sequence of 0 or more key/value pairs from the stream:

ClassNotFoundException
IOException
Since:
1.4
See Also:
java.awt.datatransfer.SystemFlavorMap#getDefaultFlavorMap

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serializes this DragSource. This method first performs default serialization. Next, it writes out this object's FlavorMap if and only if it can be serialized. If not, null is written instead. Next, it writes out Serializable listeners registered with this object. Listeners are written in a null-terminated sequence of 0 or more pairs. The pair consists of a String and an Object; the String indicates the type of the Object and is one of the following:

Serial Data:
Either a FlavorMap instance, or null, followed by a null-terminated sequence of 0 or more pairs; the pair consists of a String and an Object; the String indicates the type of the Object and is one of the following:
  • dragSourceListenerK indicating a DragSourceListener object;
  • dragSourceMotionListenerK indicating a DragSourceMotionListener object.
.
IOException
Since:
1.4

Class java.awt.dnd.DragSourceContext implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Deserializes this DragSourceContext. This method first performs default deserialization for all non-transient fields. This object's Transferable and DragSourceListener are then deserialized as well by using the next two objects in the stream. If the resulting Transferable is null, this object's Transferable is set to a dummy Transferable which supports no DataFlavors.

ClassNotFoundException
IOException
Since:
1.4

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serializes this DragSourceContext. This method first performs default serialization. Next, this object's Transferable is written out if and only if it can be serialized. If not, null is written instead. In this case, a DragSourceContext created from the resulting deserialized stream will contain a dummy Transferable which supports no DataFlavors. Finally, this object's DragSourceListener is written out if and only if it can be serialized. If not, null is written instead.

Serial Data:
The default serializable fields, in alphabetical order, followed by either a Transferable instance, or null, followed by either a DragSourceListener instance, or null.
IOException
Since:
1.4
Serialized Fields

trigger

DragGestureEvent trigger
The event which triggered the start of the drag.

 

cursor

Cursor cursor
The current drag cursor.

 

useCustomCursor

boolean useCustomCursor
true if the custom drag cursor is used instead of the default one.

 

sourceActions

int sourceActions
A bitwise mask of DnDConstants that represents the set of drop actions supported by the drag source for the drag operation associated with this DragSourceContext.

 

Class java.awt.dnd.DragSourceDragEvent implements Serializable

Serialized Fields

targetActions

int targetActions
The target drop action.

 

dropAction

int dropAction
The user drop action.

 

gestureModifiers

int gestureModifiers
The state of the input device modifiers associated with the user gesture.

 

Class java.awt.dnd.DragSourceDropEvent implements Serializable

Serialized Fields

dropSuccess

boolean dropSuccess
true if the drop was successful.

 

dropAction

int dropAction
The drop action.

 

Class java.awt.dnd.DragSourceEvent implements Serializable

Serialized Fields

locationSpecified

boolean locationSpecified
The boolean indicating whether the cursor location is specified for this event.

 

x

int x
The horizontal coordinate for the cursor location at the moment this event occured if the cursor location is specified for this event; otherwise zero.

 

y

int y
The vertical coordinate for the cursor location at the moment this event occured if the cursor location is specified for this event; otherwise zero.

 

Class java.awt.dnd.DropTarget implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Deserializes this DropTarget. This method first performs default deserialization for all non-transient fields. An attempt is then made to deserialize this object's DropTargetListener as well. This is first attempted by deserializing the field dtListener, because, in releases prior to 1.4, a non-transient field of this name stored the DropTargetListener. If this fails, the next object in the stream is used instead.

ClassNotFoundException
IOException
Since:
1.4

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serializes this DropTarget. Performs default serialization, and then writes out this object's DropTargetListener if and only if it can be serialized. If not, null is written instead.

Serial Data:
The default serializable fields, in alphabetical order, followed by either a DropTargetListener instance, or null.
IOException
Since:
1.4
Serialized Fields

dropTargetContext

DropTargetContext dropTargetContext
The DropTargetContext associated with this DropTarget.

 

component

Component component
The Component associated with this DropTarget.

 

actions

int actions
Default permissible actions supported by this DropTarget.

 
See Also:
DropTarget.setDefaultActions(int), DropTarget.getDefaultActions()

active

boolean active
true if the DropTarget is accepting Drag & Drop operations.

 

Class java.awt.dnd.DropTargetContext implements Serializable

Serialized Fields

dropTarget

DropTarget dropTarget
The DropTarget associated with this DropTargetContext.

 

Class java.awt.dnd.DropTargetDragEvent implements Serializable

Serialized Fields

location

Point location
The location of the drag cursor's hotspot in Component coordinates.

 

actions

int actions
The source drop actions.

 

dropAction

int dropAction
The user drop action.

 

Class java.awt.dnd.DropTargetDropEvent implements Serializable

Serialized Fields

location

Point location
The location of the drag cursor's hotspot in Component coordinates.

 

actions

int actions
The source drop actions.

 

dropAction

int dropAction
The user drop action.

 

isLocalTx

boolean isLocalTx
true if the source is in the same JVM as the target.

 

Class java.awt.dnd.DropTargetEvent implements Serializable

Serialized Fields

context

DropTargetContext context
The DropTargetContext associated with this DropTargetEvent.

 

Class java.awt.dnd.InvalidDnDOperationException implements Serializable

Class java.awt.dnd.MouseDragGestureRecognizer implements Serializable


Package java.awt.event

Class java.awt.event.ActionEvent implements Serializable

Serialized Fields

actionCommand

String actionCommand
The nonlocalized string that gives more details of what actually caused the event. This information is very specific to the component that fired it.

 
See Also:
ActionEvent.getActionCommand()

when

long when
Timestamp of when this event occurred. Because an ActionEvent is a high- level, semantic event, the timestamp is typically the same as an underlying InputEvent.

 
See Also:
ActionEvent.getWhen()

modifiers

int modifiers
This represents the key modifier that was selected, and is used to determine the state of the selected key. If no modifier has been selected it will default to zero.

 
See Also:
ActionEvent.getModifiers()

Class java.awt.event.AdjustmentEvent implements Serializable

Serialized Fields

adjustable

Adjustable adjustable
The adjustable object that fired the event.

 
See Also:
AdjustmentEvent.getAdjustable()

value

int value
value will contain the new value of the adjustable object. This value will always be in a range associated adjustable object.

 
See Also:
AdjustmentEvent.getValue()

adjustmentType

int adjustmentType
The adjustmentType describes how the adjustable object value has changed. This value can be increased/decreased by a block or unit amount where the block is associated with page increments/decrements, and a unit is associated with line increments/decrements.

 
See Also:
AdjustmentEvent.getAdjustmentType()

isAdjusting

boolean isAdjusting
The isAdjusting is true if the event is one of the series of multiple adjustment events.

 
Since:
1.4
See Also:
AdjustmentEvent.getValueIsAdjusting()

Class java.awt.event.ComponentEvent implements Serializable

Class java.awt.event.ContainerEvent implements Serializable

Serialized Fields

child

Component child
The non-null component that is being added or removed from the Container.

 
See Also:
getChild

Class java.awt.event.FocusEvent implements Serializable

Serialized Fields

temporary

boolean temporary
A focus event can have two different levels, permanent and temporary. It will be set to true if some operation takes away the focus temporarily and intends on getting it back once the event is completed. Otherwise it will be set to false.

 
See Also:
FocusEvent.isTemporary()

opposite

Component opposite
The other Component involved in this focus change. For a FOCUS_GAINED event, this is the Component that lost focus. For a FOCUS_LOST event, this is the Component that gained focus. If this focus change occurs with a native application, a Java application in a different VM, or with no other Component, then the opposite Component is null.

 
Since:
1.4
See Also:
FocusEvent.getOppositeComponent()

Class java.awt.event.HierarchyEvent implements Serializable

Serialized Fields

changed

Component changed

changedParent

Container changedParent

changeFlags

long changeFlags

Class java.awt.event.InputEvent implements Serializable

Serialized Fields

when

long when
The input events Time stamp. The time stamp is in UTC format that indicates when the input event was created.

 
See Also:
InputEvent.getWhen()

modifiers

int modifiers
The state of the modifier key at the time the input event was fired.

 
See Also:
InputEvent.getModifiers(), java.awt.event.MouseEvent

Class java.awt.event.InputMethodEvent implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException
Initializes the when field if it is not present in the object input stream. In that case, the field will be initialized by invoking java.awt.EventQueue#getMostRecentEventTime().

Serialized Fields

when

long when
The time stamp that indicates when the event was created.

 
Since:
1.4
See Also:
InputMethodEvent.getWhen()

Class java.awt.event.InvocationEvent implements Serializable

Serialized Fields

runnable

Runnable runnable
The Runnable whose run() method will be called.


notifier

Object notifier
The (potentially null) Object whose notifyAll() method will be called immediately after the Runnable.run() method returns.


catchExceptions

boolean catchExceptions
Set to true if dispatch() catches Exception and stores it in the exception instance variable. If false, Exceptions are propagated up to the EventDispatchThread's dispatch loop.


exception

Exception exception
The (potentially null) Exception thrown during execution of the Runnable.run() method. This variable will also be null if a particular instance does not catch exceptions.


when

long when
The timestamp of when this event occurred.

 
See Also:
InvocationEvent.getWhen()

Class java.awt.event.ItemEvent implements Serializable

Serialized Fields

item

Object item
The item whose selection state has changed.

 
See Also:
ItemEvent.getItem()

stateChange

int stateChange
stateChange indicates whether the item was selected or deselected.

 
See Also:
ItemEvent.getStateChange()

Class java.awt.event.KeyEvent implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Sets new modifiers by the old ones. The key modifiers override overlaping mouse modifiers.

Serialized Fields

isProxyActive

boolean isProxyActive
Stores the state of native event dispatching system - true, if when the event was created event proxying mechanism was active - false, if it was inactive Used in Component.dispatchEventImpl to correctly dispatch events when proxy is active


keyCode

int keyCode
The unique value assigned to each of the keys on the keyboard. There is a common set of key codes that can be fired by most keyboards. The symbolic name for a key code should be used rather than the code value itself.

 
See Also:
KeyEvent.getKeyCode(), setKeyCode()

keyChar

char keyChar
keyChar is a valid unicode character that is fired by a key or a key combination on a keyboard.

 
See Also:
KeyEvent.getKeyChar(), setKeyChar()

keyLocation

int keyLocation
The location of the key on the keyboard. Some keys occur more than once on a keyboard, e.g. the left and right shift keys. Additionally, some keys occur on the numeric keypad. This variable is used to distinguish such keys. The only legal values are KEY_LOCATION_UNKNOWN, KEY_LOCATION_STANDARD, KEY_LOCATION_LEFT, KEY_LOCATION_RIGHT, and KEY_LOCATION_NUMPAD.

 
See Also:
KeyEvent.getKeyLocation()

Class java.awt.event.MouseEvent implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Sets new modifiers by the old ones.

Serialized Fields

x

int x
The mouse event's x coordinate. The x value is relative to the component that fired the event.

 
See Also:
MouseEvent.getX()

y

int y
The mouse event's y coordinate. The y value is relative to the component that fired the event.

 
See Also:
MouseEvent.getY()

clickCount

int clickCount
Indicates the number of quick consecutive clicks of a mouse button. clickCount will be valid for only three mouse events :
MOUSE_CLICKED, MOUSE_PRESSED and MOUSE_RELEASED. For the above, the clickCount will be at least 1. For all other events the count will be 0.

 
See Also:
MouseEvent.getClickCount().

button

int button
Indicates which, if any, of the mouse buttons has changed state. The only legal values are the following constants: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3.

 
See Also:
MouseEvent.getButton().

popupTrigger

boolean popupTrigger
A property used to indicate whether a Popup Menu should appear with a certain gestures. If popupTrigger = false, no popup menu should appear. If it is true then a popup menu should appear.

 
See Also:
java.awt.PopupMenu, MouseEvent.isPopupTrigger()

Class java.awt.event.MouseWheelEvent implements Serializable

Serialized Fields

scrollType

int scrollType
Indicates what sort of scrolling should take place in response to this event, based on platform settings. Legal values are:

See Also:
MouseWheelEvent.getScrollType()

scrollAmount

int scrollAmount
Only valid for scrollType WHEEL_UNIT_SCROLL. Indicates number of units that should be scrolled per click of mouse wheel rotation, based on platform settings.

See Also:
MouseWheelEvent.getScrollAmount(), MouseWheelEvent.getScrollType()

wheelRotation

int wheelRotation
Indicates how far the mouse wheel was rotated.

See Also:
MouseWheelEvent.getWheelRotation()

Class java.awt.event.PaintEvent implements Serializable

Serialized Fields

updateRect

Rectangle updateRect
This is the rectangle that represents the area on the source component that requires a repaint. This rectangle should be non null.

 
See Also:
java.awt.Rectangle, setUpdateRect(), PaintEvent.getUpdateRect()

Class java.awt.event.TextEvent implements Serializable

Class java.awt.event.WindowEvent implements Serializable

Serialized Fields

opposite

Window opposite
The other Window involved in this focus or activation change. For a WINDOW_ACTIVATED or WINDOW_GAINED_FOCUS event, this is the Window that lost activation or focus. For a WINDOW_DEACTIVATED or WINDOW_LOST_FOCUS event, this is the Window that gained activation or focus. For any other type of WindowEvent, or if the focus or activation change occurs with a native application, a Java application in a different VM, or with no other Window, null is returned.

 
Since:
1.4
See Also:
WindowEvent.getOppositeWindow()

oldState

int oldState
TBS


newState

int newState


Package java.io

Class java.io.CharConversionException implements Serializable

Class java.io.EOFException implements Serializable

Class java.io.File implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore this filename. The original separator character is read. If it is different than the separator character on this system, then the old seperator is replaced by the local separator.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
WriteObject is called to save this filename. The separator character is saved also so it can be replaced in case the path is reconstituted on a different host type.

Serialized Fields

path

String path
This abstract pathname's normalized pathname string. A normalized pathname string uses the default name-separator character and does not contain any duplicate or redundant separators.

 

Class java.io.FileNotFoundException implements Serializable

Class java.io.FilePermissionCollection implements Serializable

Serialized Fields

permissions

Vector permissions

Class java.io.InterruptedIOException implements Serializable

Serialized Fields

bytesTransferred

int bytesTransferred
Enabled: Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.

 

Class java.io.InvalidClassException implements Serializable

Serialized Fields

classname

String classname
Enabled: Name of the invalid class.

Name of the invalid class.

Class java.io.InvalidObjectException implements Serializable

Class java.io.IOException implements Serializable

Class java.io.NotActiveException implements Serializable

Class java.io.NotSerializableException implements Serializable

Class java.io.ObjectStreamClass implements Serializable

Serialized Fields

Class java.io.ObjectStreamException implements Serializable

Class java.io.OptionalDataException implements Serializable

Serialized Fields

length

int length
Enabled: The number of bytes of primitive data available to be read in the current buffer.

 

eof

boolean eof
Enabled: True if there is no more data in the buffered part of the stream.

 

Class java.io.SerializablePermission implements Serializable

Serialized Fields

actions

String actions
 

Class java.io.StreamCorruptedException implements Serializable

Class java.io.SyncFailedException implements Serializable

Class java.io.UnsupportedEncodingException implements Serializable

Class java.io.UTFDataFormatException implements Serializable

Class java.io.WriteAbortedException implements Serializable

Serialized Fields

detail

Exception detail
Enabled: Exception that was caught while writing the ObjectStream.

This field predates the general-purpose exception chaining facility. The Throwable.getCause() method is now the preferred means of obtaining this information.

 


Package java.lang

Class java.lang.AbstractMethodError implements Serializable

Class java.lang.ArithmeticException implements Serializable

Class java.lang.ArrayIndexOutOfBoundsException implements Serializable

Class java.lang.ArrayStoreException implements Serializable

Class java.lang.AssertionError implements Serializable

Class java.lang.Boolean implements Serializable

Serialized Fields

value

boolean value
The value of the Boolean.

 

Class java.lang.Byte implements Serializable

Serialized Fields

value

byte value
The value of the Byte.

 

Class java.lang.Character implements Serializable

Serialized Fields

value

char value
The value of the Character.

 

Class java.lang.Class implements Serializable

Serialization Overview

Class Class is special cased within the Serialization Stream Protocol. A Class instance is written intially into an ObjectOutputStream in the following format:
      TC_CLASS ClassDescriptor
      A ClassDescriptor is a special cased serialization of 
      a java.io.ObjectStreamClass instance. 
 
A new handle is generated for the initial time the class descriptor is written into the stream. Future references to the class descriptor are written as references to the initial class descriptor instance.

See Also:
java.io.ObjectStreamClass
Serialized Fields

Class java.lang.ClassCastException implements Serializable

Class java.lang.ClassCircularityError implements Serializable

Class java.lang.ClassFormatError implements Serializable

Class java.lang.ClassNotFoundException implements Serializable

Serialized Fields

ex

Throwable ex
This field holds the exception ex if the ClassNotFoundException(String s, Throwable ex) constructor was used to instantiate the object

 
Since:
1.2

Class java.lang.CloneNotSupportedException implements Serializable

Class java.lang.Double implements Serializable

Serialized Fields

value

double value
The value of the Double.

 

Class java.lang.Error implements Serializable

Class java.lang.Exception implements Serializable

Class java.lang.ExceptionInInitializerError implements Serializable

Serialized Fields

exception

Throwable exception
This field holds the exception if the ExceptionInInitializerError(Throwable thrown) constructor was used to instantiate the object

 

Class java.lang.Float implements Serializable

Serialized Fields

value

float value
The value of the Float.

 

Class java.lang.IllegalAccessError implements Serializable

Class java.lang.IllegalAccessException implements Serializable

Class java.lang.IllegalArgumentException implements Serializable

Class java.lang.IllegalMonitorStateException implements Serializable

Class java.lang.IllegalStateException implements Serializable

Class java.lang.IllegalThreadStateException implements Serializable

Class java.lang.IncompatibleClassChangeError implements Serializable

Class java.lang.IndexOutOfBoundsException implements Serializable

Class java.lang.InstantiationError implements Serializable

Class java.lang.InstantiationException implements Serializable

Class java.lang.Integer implements Serializable

Serialized Fields

value

int value
The value of the Integer.

 

Class java.lang.InternalError implements Serializable

Class java.lang.InterruptedException implements Serializable

Class java.lang.LinkageError implements Serializable

Class java.lang.Long implements Serializable

Serialized Fields

value

long value
The value of the Long.

 

Class java.lang.NegativeArraySizeException implements Serializable

Class java.lang.NoClassDefFoundError implements Serializable

Class java.lang.NoSuchFieldError implements Serializable

Class java.lang.NoSuchFieldException implements Serializable

Class java.lang.NoSuchMethodError implements Serializable

Class java.lang.NoSuchMethodException implements Serializable

Class java.lang.NullPointerException implements Serializable

Class java.lang.Number implements Serializable

Class java.lang.NumberFormatException implements Serializable

Class java.lang.OutOfMemoryError implements Serializable

Class java.lang.RuntimeException implements Serializable

Class java.lang.RuntimePermission implements Serializable

Class java.lang.SecurityException implements Serializable

Class java.lang.Short implements Serializable

Serialized Fields

value

short value
The value of the Short.

 

Class java.lang.StackOverflowError implements Serializable

Class java.lang.StackTraceElement implements Serializable

Serialized Fields

declaringClass

String declaringClass

methodName

String methodName

fileName

String fileName

lineNumber

int lineNumber

Class java.lang.String implements Serializable

Serialization Overview

Class String is special cased within the Serialization Stream Protocol. A String instance is written intially into an ObjectOutputStream in the following format:
      TC_STRING (utf String)
 
The String is written by method DataOutput.writeUTF. A new handle is generated to refer to all future references to the string instance within the stream.

Serialized Fields

Class java.lang.StringBuffer implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore the state of the StringBuffer from a stream.

Serialized Fields

value

char[] value
The value is used for character storage.

 

count

int count
The count is the number of characters in the buffer.

 

shared

boolean shared
A flag indicating whether the buffer is shared

 

Class java.lang.StringIndexOutOfBoundsException implements Serializable

Class java.lang.ThreadDeath implements Serializable

Class java.lang.Throwable implements Serializable

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serialized Fields

detailMessage

String detailMessage
Specific details about the Throwable. For example, for FileNotFoundException, this contains the name of the file that could not be found.

 

cause

Throwable cause
The throwable that caused this throwable to get thrown, or null if this throwable was not caused by another throwable, or if the causative throwable is unknown. If this field is equal to this throwable itself, it indicates that the cause of this throwable has not yet been initialized.

 
Since:
1.4

stackTrace

StackTraceElement[] stackTrace
The stack trace, as returned by Throwable.getStackTrace().

 
Since:
1.4

Class java.lang.UnknownError implements Serializable

Class java.lang.UnsatisfiedLinkError implements Serializable

Class java.lang.UnsupportedClassVersionError implements Serializable

Class java.lang.UnsupportedOperationException implements Serializable

Class java.lang.VerifyError implements Serializable

Class java.lang.VirtualMachineError implements Serializable


Package java.math

Class java.math.BigDecimal implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the BigDecimal instance from a stream (that is, deserialize it).

Serialized Fields

intVal

BigInteger intVal
The unscaled value of this BigDecimal, as returned by unscaledValue().

 
See Also:
BigDecimal.unscaledValue()

scale

int scale
The scale of this BigDecimal, as returned by scale().

 
See Also:
BigDecimal.scale

Class java.math.BigInteger implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the BigInteger instance from a stream (that is, deserialize it). The magnitude is read in as an array of bytes for historical reasons, but it is converted to an array of ints and the byte array is discarded.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the BigInteger instance to a stream. The magnitude of a BigInteger is serialized as a byte array for historical reasons.

Serial Data:
two necessary fields are written as well as obsolete fields for compatibility with older versions.
IOException
Serialization Overview
Serializable fields for BigInteger.

Serialized Fields

bitCount

int bitCount
number of bits in this BigInteger

bitLength

int bitLength
the number of bits in the minimal two's-complement representation of this BigInteger

lowestSetBit

int lowestSetBit
lowest set bit in the twos complement representation

magnitude

int[] magnitude
magnitude array of this BigInteger.

signum

int signum
signum of this BigInteger.


Package java.net

Class java.net.BindException implements Serializable

Class java.net.ConnectException implements Serializable

Class java.net.Inet4Address implements Serializable

Serialization Methods

writeReplace

private Object writeReplace()
                     throws ObjectStreamException
Replaces the object to be serialized with an InetAddress object.

Throws:
ObjectStreamException - if a new object replacing this object could not be created

Class java.net.Inet6Address implements Serializable

Serialized Fields

ipaddress

byte[] ipaddress
Holds a 128-bit (16 bytes) IPv6 address.

 

Class java.net.InetAddress implements Serializable

Serialization Methods

readResolve

private Object readResolve()
                    throws ObjectStreamException
Replaces the de-serialized object with an Inet4Address object.

Throws:
ObjectStreamException - if a new object replacing this object could not be created
Serialized Fields

hostName

String hostName
 

address

int address
Holds a 32-bit IPv4 address.

 

family

int family
Specifies the address family type, for instance, '1' for IPv4 addresses, and '2' for IPv6 addresses.

 

Class java.net.InetSocketAddress implements Serializable

Serialized Fields

hostname

String hostname

addr

InetAddress addr

port

int port

Class java.net.MalformedURLException implements Serializable

Class java.net.NetPermission implements Serializable

Class java.net.NoRouteToHostException implements Serializable

Class java.net.PortUnreachableException implements Serializable

Class java.net.ProtocolException implements Serializable

Class java.net.SocketAddress implements Serializable

Class java.net.SocketException implements Serializable

Class java.net.SocketPermission implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore the state of the SocketPermission from a stream.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
WriteObject is called to save the state of the SocketPermission to a stream. The actions are serialized, and the superclass takes care of the name.

Serialized Fields

actions

String actions
the actions string.

 

Class java.net.SocketPermissionCollection implements Serializable

Serialized Fields

permissions

Vector permissions
The SocketPermissions for this set.

 

Class java.net.SocketTimeoutException implements Serializable

Class java.net.UnknownHostException implements Serializable

Class java.net.UnknownServiceException implements Serializable

Class java.net.URI implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream is)
                 throws ClassNotFoundException,
                        IOException
Reconstitutes a URI from the given serial stream.

The java.io.ObjectInputStream#defaultReadObject() method is invoked to read the value of the string field. The result is then parsed in the usual way.


writeObject

private void writeObject(ObjectOutputStream os)
                  throws IOException
Saves the content of this URI to the given serial stream.

The only serializable field of a URI instance is its string field. That field is given a value, if it does not have one already, and then the java.io.ObjectOutputStream#defaultWriteObject() method of the given object-output stream is invoked.

Serialized Fields

string

String string
The string form of this URI.

 

Class java.net.URISyntaxException implements Serializable

Serialized Fields

input

String input

index

int index

Class java.net.URL implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore the state of the URL from the stream. It reads the components of the URL and finds the local stream handler.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
WriteObject is called to save the state of the URL to an ObjectOutputStream. The handler is not saved since it is specific to this system.

Serial Data:
the default write object value. When read back in, the reader must ensure that calling getURLStreamHandler with the protocol variable returns a valid URLStreamHandler and throw an IOException if it does not.
IOException
Serialized Fields

protocol

String protocol
The protocol to use (ftp, http, nntp, ... etc.) .

 

host

String host
The host name to connect to.

 

port

int port
The protocol port to connect to.

 

file

String file
The specified file name on that host. file is defined as path[?query]

 

authority

String authority
The authority part of this URL.

 

ref

String ref
# reference.

 

hashCode

int hashCode


Package java.security

Class java.security.AccessControlException implements Serializable

Serialized Fields

perm

Permission perm

Class java.security.AllPermission implements Serializable

Class java.security.AllPermissionCollection implements Serializable

Serialized Fields

all_allowed

boolean all_allowed

Class java.security.BasicPermission implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore the state of the BasicPermission from a stream.

Class java.security.BasicPermissionCollection implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore the state of the BasicPermissionCollection from a stream.

Serialized Fields

permissions

Hashtable permissions
The BasicPermissions in this BasicPermissionCollection. All BasicPermissions in the collection must belong to the same class.

the Hashtable is indexed by the BasicPermission name

all_allowed

boolean all_allowed
This is set to true if this BasicPermissionCollection contains a BasicPermission with '*' as its permission name.

 

permClass

Class permClass
The class to which all BasicPermissions in this BasicPermissionCollection belongs.

 

Class java.security.CodeSource implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws IOException,
                        ClassNotFoundException
Restores this object from a stream (i.e., deserializes it).


writeObject

private void writeObject(ObjectOutputStream oos)
                  throws IOException
Writes this object out to a stream (i.e., serializes it).

Serial Data:
An initial URL is followed by an int indicating the number of certificates to follow (a value of "zero" denotes that there are no certificates associated with this object). Each certificate is written out starting with a String denoting the certificate type, followed by an int specifying the length of the certificate encoding, followed by the certificate encoding itself which is written out as an array of bytes.
IOException
Serialized Fields

location

URL location
The code location.

 

Class java.security.DigestException implements Serializable

Class java.security.GeneralSecurityException implements Serializable

Class java.security.GuardedObject implements Serializable

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream oos)
                  throws IOException
Writes this object out to a stream (i.e., serializes it). We check the guard if there is one.

Serialized Fields

object

Object object

guard

Guard guard

Class java.security.Identity implements Serializable

Serialized Fields

name

String name
Deprecated. 
The name for this identity.

 

publicKey

PublicKey publicKey
Deprecated. 
The public key for this identity.

 

info

String info
Deprecated. 
Generic, descriptive information about the identity.

 

scope

IdentityScope scope
Deprecated. 
The scope of the identity.

 

certificates

Vector certificates
Deprecated. 
The certificates for this identity.

 

Class java.security.IdentityScope implements Serializable

Class java.security.InvalidAlgorithmParameterException implements Serializable

Class java.security.InvalidKeyException implements Serializable

Class java.security.InvalidParameterException implements Serializable

Class java.security.KeyException implements Serializable

Class java.security.KeyManagementException implements Serializable

Class java.security.KeyPair implements Serializable

Serialized Fields

privateKey

PrivateKey privateKey

publicKey

PublicKey publicKey

Class java.security.KeyStoreException implements Serializable

Class java.security.NoSuchAlgorithmException implements Serializable

Class java.security.NoSuchProviderException implements Serializable

Class java.security.Permission implements Serializable

Serialized Fields

name

String name

Class java.security.PermissionCollection implements Serializable

Serialized Fields

readOnly

boolean readOnly

Class java.security.PermissionsHash implements Serializable

Serialized Fields

perms

Hashtable perms

Class java.security.PrivilegedActionException implements Serializable

Serialized Fields

exception

Exception exception
 

Class java.security.Provider implements Serializable

Serialized Fields

name

String name
The provider name.

 

info

String info
A description of the provider and its services.

 

version

double version
The provider version number.

 

Class java.security.ProviderException implements Serializable

Class java.security.SecureRandom implements Serializable

Serialized Fields

provider

Provider provider
The provider.

 
Since:
1.2

secureRandomSpi

SecureRandomSpi secureRandomSpi
The provider implementation.

 
Since:
1.2

state

byte[] state
 

digest

MessageDigest digest
 

randomBytes

byte[] randomBytes
We know that the MessageDigest class does not implement java.io.Serializable. However, since this field is no longer used, it will always be NULL and won't affect the serialization of the SecureRandom class itself.

randomBytesUsed

int randomBytesUsed
 

counter

long counter
 

Class java.security.SecureRandomSpi implements Serializable

Class java.security.SecurityPermission implements Serializable

Class java.security.SignatureException implements Serializable

Class java.security.SignedObject implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
readObject is called to restore the state of the SignedObject from a stream.

Serialized Fields

content

byte[] content

signature

byte[] signature

thealgorithm

String thealgorithm

Class java.security.Signer implements Serializable

Serialized Fields

privateKey

PrivateKey privateKey
Deprecated. 
The signer's private key.

 

Class java.security.UnrecoverableKeyException implements Serializable

Class java.security.UnresolvedPermission implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws IOException,
                        ClassNotFoundException
Restores this object from a stream (i.e., deserializes it).


writeObject

private void writeObject(ObjectOutputStream oos)
                  throws IOException
Writes this object out to a stream (i.e., serializes it).

Serial Data:
An initial String denoting the type is followed by a String denoting the name is followed by a String denoting the actions is followed by an int indicating the number of certificates to follow (a value of "zero" denotes that there are no certificates associated with this object). Each certificate is written out starting with a String denoting the certificate type, followed by an int specifying the length of the certificate encoding, followed by the certificate encoding itself which is written out as an array of bytes.
IOException
Serialized Fields

type

String type
The class name of the Permission class that will be created when this unresolved permission is resolved.

 

name

String name
The permission name.

 

actions

String actions
The actions of the permission.

 

Class java.security.UnresolvedPermissionCollection implements Serializable

Serialized Fields

permissions

Hashtable permissions


Package java.security.spec

Class java.security.spec.InvalidKeySpecException implements Serializable

Class java.security.spec.InvalidParameterSpecException implements Serializable


Package java.util

Class java.util.ArrayList implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the ArrayList instance from a stream (that is, deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the ArrayList instance to a stream (that is, serialize it).

Serial Data:
The length of the array backing the ArrayList instance is emitted (int), followed by all of its elements (each an Object) in the proper order.
IOException
Serialized Fields

size

int size
The size of the ArrayList (the number of elements it contains).

 

Class java.util.BitSet implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
This override of readObject makes sure unitsInUse is set properly when deserializing a bitset

Serialized Fields

bits

long[] bits
The bits in this BitSet. The ith bit is stored in bits[i/64] at bit position i % 64 (where bit position 0 refers to the least significant bit and 63 refers to the most significant bit). INVARIANT: The words in bits[] above unitInUse-1 are zero.

 

Class java.util.Calendar implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Reconstitute this object from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream stream)
                  throws IOException
Save the state of this object to a stream (i.e., serialize it). Ideally, Calendar would only write out its state data and the current time, and not write any field data out, such as fields[], isTimeSet, areFieldsSet, and isSet[]. nextStamp also should not be part of the persistent state. Unfortunately, this didn't happen before JDK 1.1 shipped. To be compatible with JDK 1.1, we will always have to write out the field values and state flags. However, nextStamp can be removed from the serialization stream; this will probably happen in the near future.

Serialized Fields

fields

int[] fields
The field values for the currently set time for this calendar. This is an array of FIELD_COUNT integers, with index values ERA through DST_OFFSET.

 

isSet

boolean[] isSet
The flags which tell if a specified time field for the calendar is set. A new object has no fields set. After the first call to a method which generates the fields, they all remain set after that. This is an array of FIELD_COUNT booleans, with index values ERA through DST_OFFSET.

 

time

long time
The currently set time for this calendar, expressed in milliseconds after January 1, 1970, 0:00:00 GMT.

 
See Also:
Calendar.isTimeSet

isTimeSet

boolean isTimeSet
True if then the value of time is valid. The time is made invalid by a change to an item of field[].

 
See Also:
Calendar.time

areFieldsSet

boolean areFieldsSet
True if fields[] are in sync with the currently set time. If false, then the next attempt to get the value of a field will force a recomputation of all fields from the current value of time.

 

lenient

boolean lenient
True if this calendar allows out-of-range field values during computation of time from fields[].

 
See Also:
Calendar.setLenient(boolean)

zone

TimeZone zone
The TimeZone used by this calendar. Calendar uses the time zone data to translate between locale and GMT time.

 

firstDayOfWeek

int firstDayOfWeek
The first day of the week, with possible values SUNDAY, MONDAY, etc. This is a locale-dependent value.

 

minimalDaysInFirstWeek

int minimalDaysInFirstWeek
The number of days required for the first week in a month or year, with possible values from 1 to 7. This is a locale-dependent value.

 

nextStamp

int nextStamp
The next available value for stamp[], an internal array. This actually should not be written out to the stream, and will probably be removed from the stream in the near future. In the meantime, a value of MINIMUM_USER_STAMP should be used.

 

serialVersionOnStream

int serialVersionOnStream
The version of the serialized data on the stream. Possible values:
0 or not present on stream
JDK 1.1.5 or earlier.
1
JDK 1.1.6 or later. Writes a correct 'time' value as well as compatible values for other fields. This is a transitional format.
When streaming out this class, the most recent format and the highest allowable serialVersionOnStream is written.

 
Since:
JDK1.1.6

Class java.util.ConcurrentModificationException implements Serializable

Class java.util.Currency implements Serializable

Serialization Methods

readResolve

private Object readResolve()
Resolves instances being deserialized to a single instance per currency.

Serialized Fields

currencyCode

String currencyCode
ISO 4217 currency code for this currency.

 

Class java.util.Date implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute this object from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of this object to a stream (i.e., serialize it).

Serial Data:
The value returned by getTime() is emitted (long). This represents the offset from January 1, 1970, 00:00:00 GMT in milliseconds.
IOException

Class java.util.EmptyStackException implements Serializable

Class java.util.EventObject implements Serializable

Class java.util.GregorianCalendar implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Updates internal state.

Serialized Fields

gregorianCutover

long gregorianCutover
The point at which the Gregorian calendar rules are used, measured in milliseconds from the standard epoch. Default is October 15, 1582 (Gregorian) 00:00:00 UTC or -12219292800000L. For this value, October 4, 1582 (Julian) is followed by October 15, 1582 (Gregorian). This corresponds to Julian day number 2299161.

 

Class java.util.HashMap implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the HashMap instance from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the HashMap instance to a stream (i.e., serialize it).

Serial Data:
The capacity of the HashMap (the length of the bucket array) is emitted (int), followed by the size of the HashMap (the number of key-value mappings), followed by the key (Object) and value (Object) for each key-value mapping represented by the HashMap The key-value mappings are emitted in the order that they are returned by entrySet().iterator().
IOException
Serialized Fields

threshold

int threshold
The next size value at which to resize (capacity * load factor).

 

loadFactor

float loadFactor
The load factor for the hash table.

 

Class java.util.HashSet implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the HashSet instance from a stream (that is, deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of this HashSet instance to a stream (that is, serialize this set).

Serial Data:
The capacity of the backing HashMap instance (int), and its load factor (float) are emitted, followed by the size of the set (the number of elements it contains) (int), followed by all of its elements (each an Object) in no particular order.
IOException

Class java.util.Hashtable implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the Hashtable from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the Hashtable to a stream (i.e., serialize it).

Serial Data:
The capacity of the Hashtable (the length of the bucket array) is emitted (int), followed by the size of the Hashtable (the number of key-value mappings), followed by the key (Object) and value (Object) for each key-value mapping represented by the Hashtable The key-value mappings are emitted in no particular order.
IOException
Serialized Fields

threshold

int threshold
The table is rehashed when its size exceeds this threshold. (The value of this field is (int)(capacity * loadFactor).)

 

loadFactor

float loadFactor
The load factor for the hashtable.

 

Class java.util.IdentityHashMap implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the IdentityHashMap instance from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the IdentityHashMap instance to a stream (i.e., serialize it).

Serial Data:
The size of the HashMap (the number of key-value mappings) (int), followed by the key (Object) and value (Object) for each key-value mapping represented by the IdentityHashMap. The key-value mappings are emitted in no particular order.
IOException
Serialized Fields

size

int size
The number of key-value mappings contained in this identity hash map.

 

Class java.util.LinkedHashMap implements Serializable

Serialized Fields

accessOrder

boolean accessOrder
The iteration ordering method for this linked hash map: true for access-order, false for insertion-order.

 

Class java.util.LinkedHashSet implements Serializable

Class java.util.LinkedList implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute this LinkedList instance from a stream (that is deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of this LinkedList instance to a stream (that is, serialize it).

Serial Data:
The size of the list (the number of elements it contains) is emitted (int), followed by all of its elements (each an Object) in the proper order.
IOException

Class java.util.Locale implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Serial Data:
The first three fields are three String objects: the first is a 2-letter ISO 639 code representing the locale's language, the second is a 2-letter ISO 3166 code representing the locale's region or country, and the third is an optional chain of variant codes defined by this library. Any of the fields may be the empty string. The fourth field is an intrepresenting the locale's hash code, but is ignored by readObject(). Whatever this field's value, the hash code is initialized to -1, a sentinel value that indicates the hash code must be recomputed.
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serial Data:
The first three fields are three String objects: the first is a 2-letter ISO 639 code representing the locale's language, the second is a 2-letter ISO 3166 code representing the locale's region or country, and the third is an optional chain of variant codes defined by this library. Any of the fields may be the empty string. The fourth field is an int whose value is always -1. This is a sentinel value indicating the Locale's hash code must be recomputed.
IOException
Serialized Fields

language

String language
 
See Also:
Locale.getLanguage()

country

String country
 
See Also:
Locale.getCountry()

variant

String variant
 
See Also:
Locale.getVariant()

hashcode

int hashcode
Placeholder for the object's hash code. Always -1.

 

Class java.util.MissingResourceException implements Serializable

Serialized Fields

className

String className
The class name of the resource bundle requested by the user.

 

key

String key
The name of the specific resource requested by the user.

 

Class java.util.NoSuchElementException implements Serializable

Class java.util.Properties implements Serializable

Serialized Fields

defaults

Properties defaults
A property list that contains default values for any keys not found in this property list.

 

Class java.util.PropertyPermissionCollection implements Serializable

Serialized Fields

permissions

Hashtable permissions
Table of permissions.

 

all_allowed

boolean all_allowed
Boolean saying if "*" is in the collection.

 

Class java.util.Random implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the Random instance from a stream (that is, deserialize it). The seed is read in as long for historical reasons, but it is converted to an AtomicLong.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the Random instance to a stream. The seed of a Random is serialized as a long for historical reasons.

Serialization Overview
Serializable fields for Random.

Serialized Fields

haveNextNextGaussian

boolean haveNextNextGaussian
nextNextGaussian is valid

nextNextGaussian

double; nextNextGaussian
next Gaussian to be returned

seed

long; seed
seed for random computations

Class java.util.SimpleTimeZone implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Reconstitute this object from a stream (i.e., deserialize it). We handle both JDK 1.1 binary formats and full formats with a packed byte array.


writeObject

private void writeObject(ObjectOutputStream stream)
                  throws IOException
Save the state of this object to a stream (i.e., serialize it).

Serial Data:
We write out two formats, a JDK 1.1 compatible format, using DOW_IN_MONTH_MODE rules, in the required section, followed by the full rules, in packed format, in the optional section. The optional section will be ignored by JDK 1.1 code upon stream in.

Contents of the optional section: The length of a byte array is emitted (int); this is 4 as of this release. The byte array of the given length is emitted. The contents of the byte array are the true values of the fields startDay, startDayOfWeek, endDay, and endDayOfWeek. The values of these fields in the required section are approximate values suited to the rule mode DOW_IN_MONTH_MODE, which is the only mode recognized by JDK 1.1.

IOException
Serialized Fields

startMonth

int startMonth
The month in which daylight saving time starts. This value must be between Calendar.JANUARY and Calendar.DECEMBER inclusive. This value must not equal endMonth.

If useDaylight is false, this value is ignored.

 

startDay

int startDay
This field has two possible interpretations:
startMode == DOW_IN_MONTH
startDay indicates the day of the month of startMonth on which daylight saving time starts, from 1 to 28, 30, or 31, depending on the startMonth.
startMode != DOW_IN_MONTH
startDay indicates which startDayOfWeek in th month startMonth daylight saving time starts on. For example, a value of +1 and a startDayOfWeek of Calendar.SUNDAY indicates the first Sunday of startMonth. Likewise, +2 would indicate the second Sunday, and -1 the last Sunday. A value of 0 is illegal.

If useDaylight is false, this value is ignored.

 

startDayOfWeek

int startDayOfWeek
The day of the week on which daylight saving time starts. This value must be between Calendar.SUNDAY and Calendar.SATURDAY inclusive.

If useDaylight is false or startMode == DAY_OF_MONTH, this value is ignored.

 

startTime

int startTime
The time in milliseconds after midnight at which daylight saving time starts. This value is expressed as wall time, standard time, or UTC time, depending on the setting of startTimeMode.

If useDaylight is false, this value is ignored.

 

startTimeMode

int startTimeMode
The format of startTime, either WALL_TIME, STANDARD_TIME, or UTC_TIME.

 
Since:
1.3

endMonth

int endMonth
The month in which daylight saving time ends. This value must be between Calendar.JANUARY and Calendar.UNDECIMBER. This value must not equal startMonth.

If useDaylight is false, this value is ignored.

 

endDay

int endDay
This field has two possible interpretations:
endMode == DOW_IN_MONTH
endDay indicates the day of the month of endMonth on which daylight saving time ends, from 1 to 28, 30, or 31, depending on the endMonth.
endMode != DOW_IN_MONTH
endDay indicates which endDayOfWeek in th month endMonth daylight saving time ends on. For example, a value of +1 and a endDayOfWeek of Calendar.SUNDAY indicates the first Sunday of endMonth. Likewise, +2 would indicate the second Sunday, and -1 the last Sunday. A value of 0 is illegal.

If useDaylight is false, this value is ignored.

 

endDayOfWeek

int endDayOfWeek
The day of the week on which daylight saving time ends. This value must be between Calendar.SUNDAY and Calendar.SATURDAY inclusive.

If useDaylight is false or endMode == DAY_OF_MONTH, this value is ignored.

 

endTime

int endTime
The time in milliseconds after midnight at which daylight saving time ends. This value is expressed as wall time, standard time, or UTC time, depending on the setting of endTimeMode.

If useDaylight is false, this value is ignored.

 

endTimeMode

int endTimeMode
The format of endTime, either WALL_TIME, STANDARD_TIME, or UTC_TIME.

 
Since:
1.3

startYear

int startYear
The year in which daylight saving time is first observed. This is an AD value. If this value is less than 1 then daylight saving time is observed for all AD years.

If useDaylight is false, this value is ignored.

 

rawOffset

int rawOffset
The offset in milliseconds between this zone and GMT. Negative offsets are to the west of Greenwich. To obtain local standard time, add the offset to GMT time. To obtain local wall time it may also be necessary to add dstSavings.

 

useDaylight

boolean useDaylight
A boolean value which is true if and only if this zone uses daylight saving time. If this value is false, several other fields are ignored.

 

monthLength

byte[] monthLength
This field was serialized in JDK 1.1, so we have to keep it that way to maintain serialization compatibility. However, there's no need to recreate the array each time we create a new time zone.

An array of bytes containing the values {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}. This is ignored as of the Java 2 platform v1.2, however, it must be streamed out for compatibility with JDK 1.1.

startMode

int startMode
Variables specifying the mode of the start rule. Takes the following values:
DOM_MODE
Exact day of week; e.g., March 1.
DOW_IN_MONTH_MODE
Day of week in month; e.g., last Sunday in March.
DOW_GE_DOM_MODE
Day of week after day of month; e.g., Sunday on or after March 15.
DOW_LE_DOM_MODE
Day of week before day of month; e.g., Sunday on or before March 15.
The setting of this field affects the interpretation of the startDay field.

If useDaylight is false, this value is ignored.

 
Since:
1.1.4

endMode

int endMode
Variables specifying the mode of the end rule. Takes the following values:
DOM_MODE
Exact day of week; e.g., March 1.
DOW_IN_MONTH_MODE
Day of week in month; e.g., last Sunday in March.
DOW_GE_DOM_MODE
Day of week after day of month; e.g., Sunday on or after March 15.
DOW_LE_DOM_MODE
Day of week before day of month; e.g., Sunday on or before March 15.
The setting of this field affects the interpretation of the endDay field.

If useDaylight is false, this value is ignored.

 
Since:
1.1.4

dstSavings

int dstSavings
A positive value indicating the amount of time saved during DST in milliseconds. Typically one hour (3600000); sometimes 30 minutes (1800000).

If useDaylight is false, this value is ignored.

 
Since:
1.1.4

serialVersionOnStream

int serialVersionOnStream
The version of the serialized data on the stream. Possible values:
0 or not present on stream
JDK 1.1.3 or earlier.
1
JDK 1.1.4 or later. Includes three new fields: startMode, endMode, and dstSavings.
2
JDK 1.3 or later. Includes two new fields: startTimeMode and endTimeMode.
When streaming out this class, the most recent format and the highest allowable serialVersionOnStream is written.

 
Since:
1.1.4

Class java.util.Stack implements Serializable

Class java.util.TimeZone implements Serializable

Serialized Fields

ID

String ID
The string identifier of this TimeZone. This is a programmatic identifier used internally to look up TimeZone objects from the system table and also to map them to their localized display names. ID values are unique in the system table but may not be for dynamically created zones.

 

Class java.util.TooManyListenersException implements Serializable

Class java.util.TreeMap implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the TreeMap instance from a stream (i.e., deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the TreeMap instance to a stream (i.e., serialize it).

Serial Data:
The size of the TreeMap (the number of key-value mappings) is emitted (int), followed by the key (Object) and value (Object) for each key-value mapping represented by the TreeMap. The key-value mappings are emitted in key-order (as determined by the TreeMap's Comparator, or by the keys' natural ordering if the TreeMap has no Comparator).
IOException
Serialized Fields

comparator

Comparator comparator
The Comparator used to maintain order in this TreeMap, or null if this TreeMap uses its elements natural ordering.

 

Class java.util.TreeSet implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Reconstitute the TreeSet instance from a stream (that is, deserialize it).


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Save the state of the TreeSet instance to a stream (that is, serialize it).

Serial Data:
Emits the comparator used to order this set, or null if it obeys its elements' natural ordering (Object), followed by the size of the set (the number of elements it contains) (int), followed by all of its elements (each an Object) in order (as determined by the set's Comparator, or by the elements' natural ordering if the set has no Comparator).
IOException

Class java.util.Vector implements Serializable

Serialized Fields

elementData

Object[] elementData
The array buffer into which the components of the vector are stored. The capacity of the vector is the length of this array buffer, and is at least large enough to contain all the vector's elements.

Any array elements following the last element in the Vector are null.

 

elementCount

int elementCount
The number of valid components in this Vector object. Components elementData[0] through elementData[elementCount-1] are the actual items.

 

capacityIncrement

int capacityIncrement
The amount by which the capacity of the vector is automatically incremented when its size becomes greater than its capacity. If the capacity increment is less than or equal to zero, the capacity of the vector is doubled each time it needs to grow.

 


Package javax.swing

Class javax.swing.AbstractAction implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serialized Fields

enabled

boolean enabled
Specifies whether action is enabled; the default is true.


changeSupport

SwingPropertyChangeSupport changeSupport
If any PropertyChangeListeners have been registered, the changeSupport field describes them.

Class javax.swing.AbstractButton implements Serializable

Serialized Fields

model

ButtonModel model
The data model that determines the button's state.


text

String text

margin

Insets margin

defaultMargin

Insets defaultMargin

defaultIcon

Icon defaultIcon

pressedIcon

Icon pressedIcon

disabledIcon

Icon disabledIcon

selectedIcon

Icon selectedIcon

disabledSelectedIcon

Icon disabledSelectedIcon

rolloverIcon

Icon rolloverIcon

rolloverSelectedIcon

Icon rolloverSelectedIcon

paintBorder

boolean paintBorder

paintFocus

boolean paintFocus

rolloverEnabled

boolean rolloverEnabled

contentAreaFilled

boolean contentAreaFilled

verticalAlignment

int verticalAlignment

horizontalAlignment

int horizontalAlignment

verticalTextPosition

int verticalTextPosition

horizontalTextPosition

int horizontalTextPosition

iconTextGap

int iconTextGap

mnemonic

int mnemonic

mnemonicIndex

int mnemonicIndex

multiClickThreshhold

long multiClickThreshhold

accessibleIcon

AccessibleIcon accessibleIcon

changeListener

ChangeListener changeListener
The button model's changeListener.


actionListener

ActionListener actionListener
The button model's ActionListener.


itemListener

ItemListener itemListener
The button model's ItemListener.


action

Action action

actionPropertyChangeListener

java.beans.PropertyChangeListener actionPropertyChangeListener

Class javax.swing.AbstractCellEditor implements Serializable

Serialized Fields

listenerList

EventListenerList listenerList

Class javax.swing.AbstractListModel implements Serializable

Serialized Fields

listenerList

EventListenerList listenerList

Class javax.swing.ActionMap implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serialized Fields

parent

ActionMap parent
Parent that handles any bindings we don't contain.

Class javax.swing.Box implements Serializable

Serialized Fields

accessibleContext

AccessibleContext accessibleContext
The currently set AccessibleContext object.

Class javax.swing.BoxLayout implements Serializable

Serialized Fields

axis

int axis

target

Container target

Class javax.swing.ButtonGroup implements Serializable

Serialized Fields

buttons

Vector buttons

selection

ButtonModel selection
The current selection.

Class javax.swing.CellRendererPane implements Serializable

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Description copied from class: Container
Serializes this Container to the specified ObjectOutputStream.
  • Writes default serializable fields to the stream.
  • Writes a list of serializable ContainerListener(s) as optional data. The non-serializable ContainerListner(s) are detected and no attempt is made to serialize them.
  • Write this Container's FocusTraversalPolicy if and only if it is Serializable; otherwise, null is written.

Serialized Fields

accessibleContext

AccessibleContext accessibleContext

Class javax.swing.ComponentInputMap implements Serializable

Serialized Fields

component

JComponent component
Component binding is created for.

Class javax.swing.DefaultBoundedRangeModel implements Serializable

Serialized Fields

listenerList

EventListenerList listenerList
The listeners waiting for model changes.


value

int value

extent

int extent

min

int min

max

int max

isAdjusting

boolean isAdjusting

Class javax.swing.DefaultButtonModel implements Serializable

Serialized Fields

stateMask

int stateMask

actionCommand

String actionCommand

group

ButtonGroup group

mnemonic

int mnemonic

listenerList

EventListenerList listenerList

Class javax.swing.DefaultCellEditor implements Serializable

Serialized Fields

editorComponent

JComponent editorComponent
The Swing component being edited.


delegate

javax.swing.DefaultCellEditor.EditorDelegate delegate
The delegate class which handles all methods sent from the CellEditor.


clickCountToStart

int clickCountToStart
An integer specifying the number of clicks needed to start editing. Even if clickCountToStart is defined as zero, it will not initiate until a click occurs.

Class javax.swing.DefaultComboBoxModel implements Serializable

Serialized Fields

objects

Vector objects

selectedObject

Object selectedObject

Class javax.swing.DefaultDesktopManager implements Serializable

Serialized Fields

dragMode

int dragMode

Class javax.swing.DefaultListCellRenderer implements Serializable

Class javax.swing.DefaultListModel implements Serializable

Serialized Fields

delegate

Vector delegate

Class javax.swing.DefaultListSelectionModel implements Serializable

Serialized Fields

selectionMode

int selectionMode

minIndex

int minIndex

maxIndex

int maxIndex

anchorIndex

int anchorIndex

leadIndex

int leadIndex

firstAdjustedIndex

int firstAdjustedIndex

lastAdjustedIndex

int lastAdjustedIndex

isAdjusting

boolean isAdjusting

firstChangedIndex

int firstChangedIndex

lastChangedIndex

int lastChangedIndex

value

BitSet value

listenerList

EventListenerList listenerList

leadAnchorNotificationEnabled

boolean leadAnchorNotificationEnabled

Class javax.swing.DefaultSingleSelectionModel implements Serializable

Serialized Fields

listenerList

EventListenerList listenerList
The collection of registered listeners


index

int index

Class javax.swing.ImageIcon implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serialized Fields

imageObserver

java.awt.image.ImageObserver imageObserver

description

String description

width

int width

height

int height

accessibleContext

javax.swing.ImageIcon.AccessibleImageIcon accessibleContext
--- Accessibility Support ---

Class javax.swing.InputMap implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serialized Fields

parent

InputMap parent
Parent that handles any bindings we don't contain.

Class javax.swing.JApplet implements Serializable

Serialized Fields

rootPane

JRootPane rootPane
See Also:
JApplet.getRootPane(), JApplet.setRootPane(javax.swing.JRootPane)

rootPaneCheckingEnabled

boolean rootPaneCheckingEnabled
See Also:
JApplet.isRootPaneCheckingEnabled(), JApplet.setRootPaneCheckingEnabled(boolean)

accessibleContext

AccessibleContext accessibleContext

Class javax.swing.JButton implements Serializable

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
See readObject() and writeObject() in JComponent for more information about serialization in Swing.

Serialized Fields

defaultCapable

boolean defaultCapable

Class javax.swing.JCheckBox implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
See JComponent.readObject() for information about serialization in Swing.


writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Description copied from class: JToggleButton
See readObject() and writeObject() in JComponent for more information about serialization in Swing.

Serialized Fields

flat

boolean flat

Class javax.swing.JCheckBoxMenuItem implements Serializable

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
See readObject() and writeObject() in JComponent for more information about serialization in Swing.

Class javax.swing.JColorChooser implements Serializable

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
See readObject and writeObject in JComponent for more information about serialization in Swing.

Serialized Fields

selectionModel

javax.swing.colorchooser.ColorSelectionModel selectionModel

previewPanel

JComponent previewPanel

chooserPanels

javax.swing.colorchooser.AbstractColorChooserPanel[] chooserPanels

dragEnabled

boolean dragEnabled

accessibleContext

AccessibleContext accessibleContext

Class javax.swing.JComboBox implements Serializable

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
See readObject and writeObject in JComponent for more information about serialization in Swing.

Serialized Fields

dataModel

ComboBoxModel dataModel
This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead.

See Also:
JComboBox.getModel(), JComboBox.setModel(javax.swing.ComboBoxModel)

renderer

ListCellRenderer renderer
This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead.

See Also:
JComboBox.getRenderer(), JComboBox.setRenderer(javax.swing.ListCellRenderer)

editor

ComboBoxEditor editor
This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead.

See Also:
JComboBox.getEditor(), JComboBox.setEditor(javax.swing.ComboBoxEditor)

maximumRowCount

int maximumRowCount
This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead.

See Also:
JComboBox.getMaximumRowCount(), JComboBox.setMaximumRowCount(int)

isEditable

boolean isEditable
This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead.

See Also:
JComboBox.isEditable, JComboBox.setEditable(boolean)

keySelectionManager

javax.swing.JComboBox.KeySelectionManager keySelectionManager
This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead.

See Also:
JComboBox.setKeySelectionManager(javax.swing.JComboBox.KeySelectionManager), JComboBox.getKeySelectionManager()

actionCommand

String actionCommand
This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead.

See Also:
JComboBox.setActionCommand(java.lang.String), JComboBox.getActionCommand()

lightWeightPopupEnabled

boolean lightWeightPopupEnabled
This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead.

See Also:
JComboBox.setLightWeightPopupEnabled(boolean), JComboBox.isLightWeightPopupEnabled()

selectedItemReminder

Object selectedItemReminder
This protected field is implementation specific. Do not access directly or override.


prototypeDisplayValue

Object prototypeDisplayValue

firingActionEvent

boolean firingActionEvent

selectingItem

boolean selectingItem

action

Action action

actionPropertyChangeListener

java.beans.PropertyChangeListener actionPropertyChangeListener

Class javax.swing.JComponent implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
We use the ObjectInputStream "registerValidation" callback to update the UI for the entire tree of components after they've all been read in.

IOException
ClassNotFoundException
See Also:
ReadObjectCallback