|
JavaTM 2 Platform Std. Ed. v1.4.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Package java.applet |
Class java.applet.Applet implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
- if
GraphicsEnvironment.isHeadless()
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
Serialized Fields |
AccessibleContext accessibleContext
Class java.applet.Applet.AccessibleApplet implements Serializable |
Package java.awt |
Class java.awt.AWTError implements Serializable |
Class java.awt.AWTEvent implements Serializable |
Serialized Fields |
byte[] bdata
int id
boolean consumed
AWTEvent.consume()
,
AWTEvent.isConsumed()
Class java.awt.AWTException implements Serializable |
Class java.awt.AWTKeyStroke implements Serializable |
Serialization Methods |
protected Object readResolve() throws ObjectStreamException
AWTKeyStroke
(or a subclass of
AWTKeyStroke
) which is equal to this instance.
Serialized Fields |
char keyChar
int keyCode
int modifiers
boolean onKeyRelease
Class java.awt.AWTPermission implements Serializable |
Class java.awt.BorderLayout implements Serializable |
Serialized Fields |
int hgap
hgap
.
BorderLayout.getHgap()
,
setHgap()
int vgap
vgap
.
BorderLayout.getVgap()
,
setVgap()
Component north
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAlignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
Component west
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAlignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
Component east
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAlignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
Component south
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAlignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
Component center
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAlignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
Component firstLine
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.
Component lastLine
Component firstItem
Component lastItem
Class java.awt.Button implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
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.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
removeActionListener()
,
addActionListener()
,
GraphicsEnvironment.isHeadless()
,
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
ActionListeners
as optional data. The non-serializable
ActionListeners
are detected and
no attempt is made to serialize them.
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
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.actionListenerK
,
#readObject
Serialized Fields |
String label
String actionCommand
int buttonSerializedDataVersion
Class java.awt.Button.AccessibleAWTButton implements Serializable |
Class java.awt.Canvas implements Serializable |
Class java.awt.Canvas.AccessibleAWTCanvas implements Serializable |
Class java.awt.CardLayout implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
Serialized Fields |
int currentCard
int hgap
Hashtable tab
Vector vector
int vgap
Class java.awt.Checkbox implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
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.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
removeActionListener()
,
addActionListener()
,
GraphicsEnvironment.isHeadless()
,
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
ItemListeners
as optional data. The non-serializable
ItemListeners
are detected and
no attempt is made to serialize them.
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
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
,
#readObject
Serialized Fields |
String label
Checkbox.getLabel()
,
#setLabel()
boolean state
Checkbox
.
Checkbox.getState()
,
#setState()
CheckboxGroup group
getCheckBoxGroup()
,
setCheckBoxGroup()
int checkboxSerializedDataVersion
Class java.awt.Checkbox.AccessibleAWTCheckbox implements Serializable |
Class java.awt.CheckboxGroup implements Serializable |
Serialized Fields |
Checkbox selectedCheckbox
CheckboxGroup.getCurrent()
,
setCurrent()
Class java.awt.CheckboxMenuItem implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
ItemListeners
as optional data. The non-serializable
ItemListeners
are detected and
no attempt is made to serialize them.
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
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
,
#readObject
Serialized Fields |
boolean state
CheckboxMenuItem.getState()
,
#setState()
int checkboxMenuItemSerializedDataVersion
Class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem implements Serializable |
Class java.awt.Choice implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
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.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
removeActionListener()
,
addActionListener()
,
GraphicsEnvironment.isHeadless()
,
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
ItemListeners
as optional data. The non-serializable
ItemListeners
are detected and
no attempt is made to serialize them.
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
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
,
#readObject
Serialized Fields |
Vector pItems
Choice
.
This can be a null
value.
add()
,
addItem()
,
getItem()
,
Choice.getItemCount()
,
insert()
,
remove()
int selectedIndex
Choice
or -1 if nothing is selected.
getSelectedItem
,
select()
int choiceSerializedDataVersion
Class java.awt.Choice.AccessibleAWTChoice implements Serializable |
Class java.awt.Color implements Serializable |
Serialized Fields |
int value
Color.getRGB()
float[] frgbvalue
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.
float[] fvalue
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.
float falpha
float
component.
If frgbvalue
is null
, this is not valid
data, so compute from the int
color value.
ColorSpace cs
ColorSpace
. If null
, then it's
default is sRGB.
Class java.awt.Component implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
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
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
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
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
#componentListenerK
,
#focusListenerK
,
#keyListenerK
,
#mouseListenerK
,
#mouseMotionListenerK
,
#inputListenerK
,
#hierarchyListenerK
,
#hierarchyBoundsListenerK
,
#mouseWheelListenerK
,
#readObject
Serialized Fields |
int x
Component.getLocation()
int y
Component.getLocation()
int width
Component.getSize()
int height
Component.getSize()
Color foreground
foreground
can be null
.
Color background
background
can be null
.
Font font
font
can be null
.
Font peerFont
null
if no peer exists.)
Cursor cursor
null
.
Locale locale
boolean ignoreRepaint
Component.setIgnoreRepaint(boolean)
,
Component.getIgnoreRepaint()
boolean visible
boolean enabled
boolean valid
DropTarget dropTarget
DropTarget
associated with this component.
Component.setDropTarget(java.awt.dnd.DropTarget)
,
Component.getDropTarget()
Vector popups
Component.add(java.awt.PopupMenu)
String name
null
.
Component.getName()
,
Component.setName(String)
boolean nameExplicitlySet
nameExplicitlySet
will
be false if the name has not been set and
true if it has.
Component.getName()
,
Component.setName(String)
boolean focusable
Component.setFocusable(boolean)
,
Component.isFocusable()
int isFocusTraversableOverridden
#isFocusTraversableOverridden
Set[] focusTraversalKeys
#setFocusTraversalKey
,
#getFocusTraversalKey
boolean focusTraversalKeysEnabled
Component.setFocusTraversalKeysEnabled(boolean)
,
Component.getFocusTraversalKeysEnabled()
Dimension minSize
Dimension prefSize
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.
long eventMask
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.
PropertyChangeSupport changeSupport
PropertyChangeListeners
have been registered,
the changeSupport
field describes them.
boolean isPacked
int componentSerializedDataVersion
AccessibleContext accessibleContext
Class java.awt.Component.AccessibleAWTComponent implements Serializable |
Serialized Fields |
ComponentListener accessibleAWTComponentHandler
FocusListener accessibleAWTFocusHandler
Class java.awt.ComponentOrientation implements Serializable |
Serialized Fields |
int orientation
Class java.awt.Container implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
Container
from the specified
ObjectInputStream
.
private void writeObject(ObjectOutputStream s) throws IOException
Container
to the specified
ObjectOutputStream
.
null
is written.
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
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
Container#containerListenerK
,
#readObject
Serialized Fields |
int ncomponents
Component[] component
LayoutManager layoutMgr
LightweightDispatcher dispatcher
Dimension maxSize
boolean focusCycleRoot
Container.setFocusCycleRoot(boolean)
,
Container.isFocusCycleRoot(java.awt.Container)
int containerSerializedDataVersion
Class java.awt.Container.AccessibleAWTContainer implements Serializable |
Serialized Fields |
ContainerListener accessibleContainerHandler
Class java.awt.ContainerOrderFocusTraversalPolicy implements Serializable |
Serialized Fields |
boolean implicitDownCycleTraversal
Class java.awt.Cursor implements Serializable |
Serialized Fields |
int type
DEFAULT_CURSOR
.
Cursor.getType()
String name
Cursor.getName()
Class java.awt.DefaultFocusTraversalPolicy implements Serializable |
Class java.awt.Dialog implements Serializable |
Serialized Fields |
boolean resizable
setResizable()
boolean undecorated
undecorated
will be true if the dialog is
undecorated, otherwise it will be false.
#setUndecorated()
,
Dialog.isUndecorated()
,
Component.isDisplayable()
boolean modal
Dialog.isModal()
,
setModal()
String title
Dialog.getTitle()
,
setTitle()
sun.awt.AppContext showAppContext
Class java.awt.Dialog.AccessibleAWTDialog implements Serializable |
Class java.awt.Dimension implements Serializable |
Serialized Fields |
int width
int height
Class java.awt.Event implements Serializable |
Serialized Fields |
Object target
EventObject.getSource()
long when
InputEvent.getWhen()
int id
Event
variables are relevant for the event.
This has been replaced by AWTEvent.getID()
AWTEvent.getID()
int x
MouseEvent.getX()
int y
MouseEvent.getY()
int key
KeyEvent.getKeyCode()
int modifiers
InputEvent.getModifiers()
int clickCount
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().
MouseEvent.getClickCount().
Object arg
arg
has been replaced by event specific property.
Event evt
EventQueue
boolean consumed
isConsumed()
Class java.awt.FileDialog implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
and performs
a backwards compatibility check by converting
either a dir
or a file
equal to an empty string to null
.
Serialized Fields |
int mode
String dir
String file
FilenameFilter filter
Class java.awt.FlowLayout implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
Serialized Fields |
int align
align
is the property that determines
how each row distributes empty space.
It can be one of the following values:
LEFT
RIGHT
CENTER
LEADING
TRAILING
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:
LEFT
RIGHT
CENTER
LEADING
TRAILING
FlowLayout.getAlignment()
,
FlowLayout.setAlignment(int)
int hgap
getHgap
,
setHgap
int vgap
getVgap
,
setVgap
int serialVersionOnStream
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..
Class java.awt.Font implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ObjectInputStream
.
Unrecognized keys or values will be ignored.
ClassNotFoundException
IOException
#writeObject
private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
#readObject
Serialized Fields |
Hashtable fRequestedAttributes
Font.getAttributes()
String name
Font
, as passed to the
constructor.
Font.getName()
int style
Font
, as passed to the constructor.
This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC.
Font.getStyle()
int size
Font
, rounded to integer.
Font.getSize()
float pointSize
Font
in float
.
Font.getSize()
,
Font.getSize2D()
int fontSerializedDataVersion
Font
Serializable Data Form.
Class java.awt.FontFormatException implements Serializable |
Class java.awt.FontMetrics implements Serializable |
Serialized Fields |
Font font
Font
from which the font metrics are
created.
This cannot be null.
FontMetrics.getFont()
Class java.awt.Frame implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
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.
OptionalDataException
- if an Icon
is not available, but anything other than an EOF
is detected
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
,
Icon
,
#writeObject(ObjectOutputStream)
private void writeObject(ObjectOutputStream s) throws IOException
Icon
, which is
available as of 1.4.
Icon
IOException
Icon
,
#readObject(ObjectInputStream)
Serialized Fields |
Rectangle maximizedBounds
Frame.setMaximizedBounds(Rectangle)
,
Frame.getMaximizedBounds()
String title
title
can be null and if
this is the case the title
= "".
Frame.getTitle()
,
Frame.setTitle(String)
MenuBar menuBar
menuBar
= null
the frame will not have a menubar.
Frame.getMenuBar()
,
Frame.setMenuBar(MenuBar)
boolean resizable
resizable
will be true if the frame is
resizable, otherwise it will be false.
Frame.isResizable()
boolean undecorated
undecorated
will be true if the frame is
undecorated, otherwise it will be false.
Frame.setUndecorated(boolean)
,
Frame.isUndecorated()
,
Component.isDisplayable()
boolean mbManagement
mbManagement
is only used by the Motif implementation.
int state
Vector ownedWindows
int frameSerializedDataVersion
Frame
's Serialized Data Version.
Class java.awt.Frame.AccessibleAWTFrame implements Serializable |
Class java.awt.GraphicsConfigTemplate implements Serializable |
Class java.awt.GridBagConstraints implements Serializable |
Serialized Fields |
int gridx
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.
int gridy
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.
int gridwidth
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.
int gridheight
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.
double weightx
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.
double weighty
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.
int anchor
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
.
int fill
The following values are valid for fill
:
NONE
: Do not resize the component.
HORIZONTAL
: Make the component wide enough to fill
its display area horizontally, but do not change its height.
VERTICAL
: Make the component tall enough to fill its
display area vertically, but do not change its width.
BOTH
: Make the component fill its display area
entirely.
The default value is NONE
.
GridBagConstraints.clone()
Insets insets
The default value is new Insets(0, 0, 0, 0)
.
GridBagConstraints.clone()
int ipadx
(ipadx * 2)
pixels.
The default value is 0
.
int ipady
(ipady * 2)
pixels.
The default value is 0.
int tempX
int tempY
int tempWidth
int tempHeight
int minWidth
ipady
, where the default will be 0.
ipady
int minHeight
ipadx
, where the default will be 0.
ipadx
Class java.awt.GridBagLayout implements Serializable |
Serialized Fields |
Hashtable comptable
comptable
are the components and the
values are the instances of GridBagConstraints
.
GridBagConstraints
GridBagConstraints defaultConstraints
defaultConstraints
.
GridBagLayoutInfo layoutInfo
layoutInfo
is null
this indicates that there are no components in
the gridbag or if there are components, they have
not yet been validated.
int[] columnWidths
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.
GridBagLayout.getLayoutDimensions()
int[] rowHeights
rowHeights
has more elements than the number of
rows, rowa are added to the gridbag to match
the number of elements in rowHeights
.
GridBagLayout.getLayoutDimensions()
double[] columnWeights
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.
double[] rowWeights
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 |
int hgap
GridLayout.getHgap()
,
setHgap()
int vgap
GridLayout.getVgap()
,
setVgap()
int rows
GridLayout.getRows()
,
setRows()
int cols
GridLayout.getColumns()
,
setColumns()
Class java.awt.HeadlessException implements Serializable |
Class java.awt.IllegalComponentStateException implements Serializable |
Class java.awt.Insets implements Serializable |
Serialized Fields |
int top
Insets.clone()
int left
Insets.clone()
int bottom
Insets.clone()
int right
Insets.clone()
Class java.awt.Label implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
- if
GraphicsEnvironment.isHeadless()
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
Serialized Fields |
String text
Label.getText()
,
setText()
int alignment
Label.getAlignment()
,
setAlignment()
Class java.awt.Label.AccessibleAWTLabel implements Serializable |
Class java.awt.List implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
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.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
removeActionListener()
,
addActionListener()
,
GraphicsEnvironment.isHeadless()
,
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
ItemListeners
and ActionListeners
as optional data.
The non-serializable listeners are detected and
no attempt is made to serialize them.
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
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
,
java.awt.Component.actionListenerK
,
#readObject
Serialized Fields |
Vector items
addItem()
,
getItem()
int rows
List
Component. It is specified only once, and
that is when the list component is actually
created. It will never change.
List.getRows()
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.
List.isMultipleMode()
,
setMultipleMode()
int[] selected
selected
is an array that will contain
the indices of items that have been selected.
int visibleIndex
makeVisible()
int listSerializedDataVersion
List
component's
Serialized Data Version.
Class java.awt.List.AccessibleAWTList implements Serializable |
Class java.awt.List.AccessibleAWTList.AccessibleAWTListChild implements Serializable |
Serialized Fields |
List parent
int indexInParent
Class java.awt.MediaTracker implements Serializable |
Serialized Fields |
Component target
Component
that will be
tracked by a media tracker where the image will
eventually be drawn.
MediaTracker()
MediaEntry head
Images
that is being
tracked by the MediaTracker
.
addImage()
,
removeImage()
Class java.awt.Menu implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException, HeadlessException
ObjectInputStream
.
Unrecognized keys or values will be ignored.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
IOException
ClassNotFoundException
GraphicsEnvironment.isHeadless()
,
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
#readObject
Serialized Fields |
Vector items
Menu.countItems()
boolean tearOff
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.
Menu.isTearOff()
boolean isHelpMenu
true
if the Menu in question is actually a help
menu. Otherwise it will be set to
false
.
int menuSerializedDataVersion
Class java.awt.Menu.AccessibleAWTMenu implements Serializable |
Class java.awt.MenuBar implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
ObjectInputStream
.
Unrecognized keys or values will be ignored.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
,
#readObject
private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
#readObject
Serialized Fields |
Vector menus
MenuBar.countMenus()
Menu helpMenu
MenuBar.getHelpMenu()
,
setHelpMenu()
int menuBarSerializedDataVersion
Class java.awt.MenuBar.AccessibleAWTMenuBar implements Serializable |
Class java.awt.MenuComponent implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
Serialized Fields |
Font font
null
at which point a default will be used.
This defaults to null
.
setFont()
,
MenuComponent.getFont()
String name
null
.
MenuComponent.getName()
,
setName()
boolean nameExplicitlySet
true
the name will be set explicitly.
This defaults to false
.
setName()
boolean newEventsOnly
false
.
dispatchEvent()
AccessibleContext accessibleContext
Class java.awt.MenuComponent.AccessibleAWTMenuComponent implements Serializable |
Class java.awt.MenuItem implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
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.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
removeActionListener()
,
addActionListener()
,
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
ActionListeners
as optional data. The non-serializable listeners are
detected and no attempt is made to serialize them.
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
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
#readObject
Serialized Fields |
boolean enabled
enabled
will
be set to true. Else enabled
will
be set to false.
MenuItem.isEnabled()
,
setEnabled()
String label
label
is the label of a menu item.
It can be any string.
MenuItem.getLabel()
,
setLabel()
String actionCommand
actionCommand
is the label of the menu item, unless it has been
set using setActionCommand.
setActionCommand()
,
MenuItem.getActionCommand()
long eventMask
MenuShortcut shortcut
MenuItem.getShortcut()
,
setShortcut()
,
MenuItem.deleteShortcut()
int menuItemSerializedDataVersion
Class java.awt.MenuItem.AccessibleAWTMenuItem implements Serializable |
Class java.awt.MenuShortcut implements Serializable |
Serialized Fields |
int key
MenuShortcut.getKey()
,
MenuShortcut.usesShiftModifier()
,
KeyEvent
boolean usesShift
MenuShortcut.usesShiftModifier()
Class java.awt.Panel implements Serializable |
Class java.awt.Panel.AccessibleAWTPanel implements Serializable |
Class java.awt.Point implements Serializable |
Serialized Fields |
int x
Point.getLocation()
,
Point.move(int, int)
int y
Point.getLocation()
,
Point.move(int, int)
Class java.awt.Polygon implements Serializable |
Serialized Fields |
int npoints
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.
Polygon.addPoint(int, int)
int[] xpoints
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
.
Polygon.addPoint(int, int)
int[] ypoints
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
.
Polygon.addPoint(int, int)
Rectangle bounds
Polygon.getBoundingBox()
,
Polygon.getBounds()
Class java.awt.PopupMenu implements Serializable |
Class java.awt.PopupMenu.AccessibleAWTPopupMenu implements Serializable |
Class java.awt.Rectangle implements Serializable |
Serialized Fields |
int x
Rectangle
.
int y
Rectangle
.
int width
Rectangle
.
Rectangle.setSize(int, int)
,
Rectangle.getSize()
int height
Rectangle
.
Class java.awt.Scrollbar implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
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.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
,
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
AdjustmentListeners
as optional data. The non-serializable listeners are
detected and no attempt is made to serialize them.
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
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.adjustmentListenerK
,
#writeObject
Serialized Fields |
int value
Scrollbar
.
This property must be greater than or equal to minimum
and less than or equal to
maximum
- visibleAmount
Scrollbar.getValue()
,
Scrollbar.setValue(int)
int maximum
Scrollbar
.
This value must be greater than the minimum
value.
int minimum
Scrollbar
.
This value must be less than the maximum
value.
int visibleAmount
Scrollbar
.
This parameter is normally used to indicate the range of
values that are currently visible.
int orientation
Scrollbar
's orientation--being either horizontal
or vertical.
This value should be specified when the scrollbar is created.VERTICAL
or
HORIZONTAL
only.
int lineIncrement
int pageIncrement
int scrollbarSerializedDataVersion
Class java.awt.Scrollbar.AccessibleAWTScrollBar implements Serializable |
Class java.awt.ScrollPane implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
- if
GraphicsEnvironment.isHeadless()
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
private void writeObject(ObjectOutputStream s) throws IOException
Serialized Fields |
int scrollbarDisplayPolicy
ScrollPaneAdjustable vAdjustable
Adjustable
methods, namely:
setMinimum()
, setMaximum()
,
setVisibleAmount()
.
ScrollPane.getVAdjustable()
ScrollPaneAdjustable hAdjustable
Adjustable
methods, namely:
setMinimum()
, setMaximum()
,
setVisibleAmount()
.
ScrollPane.getHAdjustable()
boolean wheelScrollingEnabled
Class java.awt.ScrollPane.AccessibleAWTScrollPane implements Serializable |
Class java.awt.ScrollPaneAdjustable implements Serializable |
Serialized Fields |
ScrollPane sp
ScrollPane
this object is a scrollbar of.
int orientation
int value
value
should be greater than minimum
and less than maximum
int minimum
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.
ScrollPaneAdjustable.getMinimum()
,
#setSpan
int maximum
ScrollPane
.
ScrollPaneAdjustable.getMaximum()
,
#setSpan
int visibleAmount
ScrollPane
.
ScrollPaneAdjustable.getVisibleAmount()
,
#setSpan
int unitIncrement
int blockIncrement
AdjustmentListener adjustmentListener
Class java.awt.SystemColor implements Serializable |
Class java.awt.TextArea implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
- if
GraphicsEnvironment.isHeadless()
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
Serialized Fields |
int rows
TextArea
.
This parameter will determine the text area's height.
Guaranteed to be non-negative.
TextArea.getRows()
,
TextArea.setRows(int)
int columns
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.
int scrollbarVisibility
SCROLLBARS_BOTH
= both scrollbars.SCROLLBARS_HORIZONTAL_ONLY
= Horizontal bar only.SCROLLBARS_VERTICAL_ONLY
= Vertical bar only.SCROLLBARS_NONE
= No scrollbars.
TextArea.getScrollbarVisibility()
int textAreaSerializedDataVersion
Class java.awt.TextArea.AccessibleAWTTextArea implements Serializable |
Class java.awt.TextComponent implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
- if
GraphicsEnvironment.isHeadless()
returns
true
ClassNotFoundException
IOException
removeTextListener()
,
addTextListener()
,
GraphicsEnvironment.isHeadless()
private void writeObject(ObjectOutputStream s) throws IOException
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.textListenerK
Serialized Fields |
String text
null
value is the same as "".
setText()
,
TextComponent.getText()
boolean editable
TextComponent
is editable.
It will be true
if the text component
is editable and false
if not.
TextComponent.isEditable()
int selectionStart
selectionStart
is the start position
of the selected text.
TextComponent.getSelectionStart()
,
setSelectionStart()
int selectionEnd
selectionEnd
is the end position of the selected text.
TextComponent.getSelectionEnd()
,
setSelectionEnd()
boolean backgroundSetByClientCode
int textComponentSerializedDataVersion
boolean checkForEnableIM
Class java.awt.TextComponent.AccessibleAWTTextComponent implements Serializable |
Class java.awt.TextField implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
HeadlessException
- if
GraphicsEnvironment.isHeadless()
returns
true
ClassNotFoundException
IOException
removeActionListener()
,
addActionListener()
,
GraphicsEnvironment.isHeadless()
private void writeObject(ObjectOutputStream s) throws IOException
IOException
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.actionListenerK
Serialized Fields |
int columns
setColumns()
,
TextField.getColumns()
char echoChar
0
.
TextField.getEchoChar()
,
setEchoChar()
,
TextField.echoCharIsSet()
int textFieldSerializedDataVersion
Class java.awt.TextField.AccessibleAWTTextField implements Serializable |
Class java.awt.Window implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException, HeadlessException
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.
HeadlessException
- if
GraphicsEnvironment.isHeadless
returns
true
ClassNotFoundException
IOException
GraphicsEnvironment.isHeadless()
,
#writeObject
private void writeObject(ObjectOutputStream s) throws IOException
WindowListener
s and
WindowFocusListener
s as optional data.
Writes a list of child windows as optional 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
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
Component#windowListenerK
,
Component#windowFocusListenerK
,
Component#ownedWindowK
,
#readObject
Serialized Fields |
String warningString
Window.getWarningString()
boolean syncLWRequests
int state
Window.show()
FocusManager focusMgr
boolean focusableWindowState
Window.getFocusableWindowState()
,
Window.setFocusableWindowState(boolean)
int windowSerializedDataVersion
Class java.awt.Window.AccessibleAWTWindow implements Serializable |
Package java.awt.color |
Class java.awt.color.CMMException implements Serializable |
Class java.awt.color.ColorSpace implements Serializable |
Serialized Fields |
int type
int numComponents
Class java.awt.color.ICC_ColorSpace implements Serializable |
Serialized Fields |
ICC_Profile thisProfile
float[] minVal
float[] maxVal
float[] diffMinMax
float[] invDiffMinMax
boolean needScaleInit
Class java.awt.color.ICC_Profile implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
String
is the name of one of
CS_*
constants defined in the
ColorSpace
class if the profile object is a profile
for a predefined color space (for example
"CS_sRGB"
). The string is null
otherwise.
The byte[]
array is the profile data for the
profile. It will usually be null
for the
predefined profiles.
If the string is recognized as a constant name for
predefined color space the object will be resolved into
profile obtained with
getInstance(int cspace)
and the profile
data are ignored. Otherwise the object will be resolved
into profile obtained with
getInstance(byte[] data)
.
IOException
- thrown by ObjectInputStream
.
ClassNotFoundException
- thrown by ObjectInputStream
.ICC_Profile.readResolve()
,
ICC_Profile.getInstance(int)
,
ICC_Profile.getInstance(byte[])
private void writeObject(ObjectOutputStream s) throws IOException
String
is the name of one of
CS_*
constants defined in the
ColorSpace
class if the profile object is a profile
for a predefined color space (for example
"CS_sRGB"
). The string is null
otherwise.
The byte[]
array is the profile data for the
profile. For predefined color spaces null
is
written instead of the profile data. If in the future
versions of Java API new predefined color spaces will be
added, future versions of this class may choose to write
for new predefined color spaces not only the color space
name, but the profile data as well so that older versions
could still deserialize the object.
IOException
- thrown by ObjectInputStream
.protected Object readResolve() throws ObjectStreamException
ObjectStreamException
- never thrown, but mandated by the serialization spec.Serialized Fields |
int iccProfileSerializedDataVersion
1
corresponds to Java 2
Platform, v1.3.
Class java.awt.color.ICC_ProfileGray implements Serializable |
Class java.awt.color.ICC_ProfileRGB implements Serializable |
Class java.awt.color.ProfileDataException implements Serializable |
Package java.awt.datatransfer |
Class java.awt.datatransfer.DataFlavor implements Serializable |
Serialization Methods |
public void readExternal(ObjectInput is) throws IOException, ClassNotFoundException
DataFlavor
from a Serialized state.
public void writeExternal(ObjectOutput os) throws IOException
DataFlavor
.
Class java.awt.datatransfer.UnsupportedFlavorException implements Serializable |
Package java.awt.dnd |
Class java.awt.dnd.DragGestureEvent implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
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
private void writeObject(ObjectOutputStream s) throws IOException
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.
List
instance, or
null
.
IOException
Serialized Fields |
DragSource dragSource
Component component
Point origin
int action
Class java.awt.dnd.DragGestureRecognizer implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
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
private void writeObject(ObjectOutputStream s) throws IOException
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.
DragGestureListener
, or
null
.
IOException
Serialized Fields |
DragSource dragSource
DragSource
associated with this
DragGestureRecognizer
.
Component component
Component
associated with this DragGestureRecognizer
.
int sourceActions
int
representing
the type(s) of action(s) used
in this Drag and Drop operation.
ArrayList events
DragGestureRecognizer
"recognized" as a "gesture" that triggers a drag.
Class java.awt.dnd.DragSource implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
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:
String
equal to
dragSourceListenerK
, a DragSourceListener
is
deserialized using the corresponding value object and added to this
DragSource
.
String
equal to
dragSourceMotionListenerK
, a
DragSourceMotionListener
is deserialized using the
corresponding value object and added to this DragSource
.
ClassNotFoundException
IOException
SystemFlavorMap.getDefaultFlavorMap()
private void writeObject(ObjectOutputStream s) throws IOException
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:
dragSourceListenerK
indicating a
DragSourceListener
object;
dragSourceMotionListenerK
indicating a
DragSourceMotionListener
object.
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
Class java.awt.dnd.DragSourceContext implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
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 DataFlavor
s.
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
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
DataFlavor
s. Finally, this object's
DragSourceListener
is written out if and only if it can be
serialized. If not, null
is written instead.
Transferable
instance, or
null
, followed by either a
DragSourceListener
instance, or
null
.
IOException
Serialized Fields |
DragGestureEvent trigger
Cursor cursor
boolean useCustomCursor
true
if the custom drag cursor is used instead of the
default one.
int sourceActions
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 |
int targetActions
int dropAction
int gestureModifiers
Class java.awt.dnd.DragSourceDropEvent implements Serializable |
Serialized Fields |
boolean dropSuccess
true
if the drop was successful.
int dropAction
Class java.awt.dnd.DragSourceEvent implements Serializable |
Serialized Fields |
boolean locationSpecified
boolean
indicating whether the cursor location
is specified for this event.
int x
int y
Class java.awt.dnd.DropTarget implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
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
private void writeObject(ObjectOutputStream s) throws IOException
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.
DropTargetListener
instance, or null
.
IOException
Serialized Fields |
DropTargetContext dropTargetContext
Component component
int actions
boolean active
true
if the DropTarget is accepting Drag & Drop operations.
Class java.awt.dnd.DropTargetContext implements Serializable |
Serialized Fields |
DropTarget dropTarget
Class java.awt.dnd.DropTargetDragEvent implements Serializable |
Serialized Fields |
Point location
int actions
int dropAction
Class java.awt.dnd.DropTargetDropEvent implements Serializable |
Serialized Fields |
Point location
int actions
int dropAction
boolean isLocalTx
true
if the source is in the same JVM as the target.
Class java.awt.dnd.DropTargetEvent implements Serializable |
Serialized Fields |
DropTargetContext context
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 |
String actionCommand
ActionEvent.getActionCommand()
long when
ActionEvent.getWhen()
int modifiers
ActionEvent.getModifiers()
Class java.awt.event.AdjustmentEvent implements Serializable |
Serialized Fields |
Adjustable adjustable
AdjustmentEvent.getAdjustable()
int value
value
will contain the new value of the
adjustable object. This value will always be in a
range associated adjustable object.
AdjustmentEvent.getValue()
int adjustmentType
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.
AdjustmentEvent.getAdjustmentType()
boolean isAdjusting
isAdjusting
is true if the event is one
of the series of multiple adjustment events.
AdjustmentEvent.getValueIsAdjusting()
Class java.awt.event.ComponentEvent implements Serializable |
Class java.awt.event.ContainerEvent implements Serializable |
Serialized Fields |
Component child
getChild
Class java.awt.event.FocusEvent implements Serializable |
Serialized Fields |
boolean temporary
FocusEvent.isTemporary()
Component opposite
FocusEvent.getOppositeComponent()
Class java.awt.event.HierarchyEvent implements Serializable |
Serialized Fields |
Component changed
Container changedParent
long changeFlags
Class java.awt.event.InputEvent implements Serializable |
Serialized Fields |
long when
InputEvent.getWhen()
int modifiers
InputEvent.getModifiers()
,
MouseEvent
Class java.awt.event.InputMethodEvent implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
when
field if it is not present in the
object input stream. In that case, the field will be initialized by
invoking EventQueue.getMostRecentEventTime()
.
Serialized Fields |
long when
InputMethodEvent.getWhen()
Class java.awt.event.InvocationEvent implements Serializable |
Serialized Fields |
Runnable runnable
Object notifier
boolean catchExceptions
Exception exception
long when
InvocationEvent.getWhen()
Class java.awt.event.ItemEvent implements Serializable |
Serialized Fields |
Object item
ItemEvent.getItem()
int stateChange
stateChange
indicates whether the item
was selected or deselected.
ItemEvent.getStateChange()
Class java.awt.event.KeyEvent implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
boolean isProxyActive
int keyCode
KeyEvent.getKeyCode()
,
setKeyCode()
char keyChar
keyChar
is a valid unicode character
that is fired by a key or a key combination on
a keyboard.
KeyEvent.getKeyChar()
,
setKeyChar()
int keyLocation
KEY_LOCATION_UNKNOWN
,
KEY_LOCATION_STANDARD
, KEY_LOCATION_LEFT
,
KEY_LOCATION_RIGHT
, and KEY_LOCATION_NUMPAD
.
KeyEvent.getKeyLocation()
Class java.awt.event.MouseEvent implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
int x
MouseEvent.getX()
int y
MouseEvent.getY()
int clickCount
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.
MouseEvent.getClickCount().
int button
NOBUTTON
,
BUTTON1
,
BUTTON2
or
BUTTON3
.
MouseEvent.getButton().
boolean popupTrigger
popupTrigger
= false
,
no popup menu should appear. If it is true
then a popup menu should appear.
PopupMenu
,
MouseEvent.isPopupTrigger()
Class java.awt.event.MouseWheelEvent implements Serializable |
Serialized Fields |
int scrollType
MouseWheelEvent.getScrollType()
int scrollAmount
int wheelRotation
MouseWheelEvent.getWheelRotation()
Class java.awt.event.PaintEvent implements Serializable |
Serialized Fields |
Rectangle updateRect
Rectangle
,
setUpdateRect()
,
PaintEvent.getUpdateRect()
Class java.awt.event.TextEvent implements Serializable |
Class java.awt.event.WindowEvent implements Serializable |
Serialized Fields |
Window opposite
WindowEvent.getOppositeWindow()
int oldState
int newState
Package java.awt.font |
Class java.awt.font.NumericShaper implements Serializable |
Serialized Fields |
int key
int mask
Class java.awt.font.TextAttribute implements Serializable |
Serialization Methods |
protected Object readResolve() throws InvalidObjectException
Class java.awt.font.TransformAttribute implements Serializable |
Serialization Methods |
private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
Serialized Fields |
AffineTransform transform
AffineTransform
for this
TransformAttribute
, or null
if AffineTransform
is the identity transform.
Package java.awt.geom |
Class java.awt.geom.AffineTransform implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws ClassNotFoundException, IOException
Serialized Fields |
double m00
double m10
double m01
double m11
double m02
double m12
Class java.awt.geom.IllegalPathStateException implements Serializable |
Class java.awt.geom.NoninvertibleTransformException implements Serializable |
Package java.awt.image |
Class java.awt.image.ImagingOpException implements Serializable |
Class java.awt.image.RasterFormatException implements Serializable |
Package java.awt.image.renderable |
Class java.awt.image.renderable.ParameterBlock implements Serializable |
Serialized Fields |
Vector sources
Vector parameters
Package java.awt.print |
Class java.awt.print.PrinterAbortException implements Serializable |
Class java.awt.print.PrinterException implements Serializable |
Class java.awt.print.PrinterIOException implements Serializable |
Serialized Fields |
IOException mException
Package java.beans |
Class java.beans.IntrospectionException implements Serializable |
Class java.beans.PropertyChangeEvent implements Serializable |
Serialized Fields |
String propertyName
Object newValue
Object oldValue
Object propagationId
#getPropagationId.
Class java.beans.PropertyChangeSupport implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
PropertyChangeListeners
.
At serialization time we skip non-serializable listeners and only serialize the serializable listeners.
IOException
Serialized Fields |
Hashtable children
Object source
int propertyChangeSupportSerializedDataVersion
Class java.beans.PropertyVetoException implements Serializable |
Serialized Fields |
PropertyChangeEvent evt
Class java.beans.VetoableChangeSupport implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
VetoableChangeListeners
.
At serialization time we skip non-serializable listeners and only serialize the serializable listeners.
IOException
Serialized Fields |
Hashtable children
Object source
int vetoableChangeSupportSerializedDataVersion
Package java.beans.beancontext |
Class java.beans.beancontext.BeanContextChildSupport implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
Serialized Fields |
BeanContextChild beanContextChildPeer
BeanContext
in which
this BeanContextChild
is nested.
PropertyChangeSupport pcSupport
VetoableChangeSupport vcSupport
Class java.beans.beancontext.BeanContextEvent implements Serializable |
Serialized Fields |
BeanContext propagatedFrom
BeanContext
from which this event was propagated
Class java.beans.beancontext.BeanContextMembershipEvent implements Serializable |
Serialized Fields |
Collection children
Class java.beans.beancontext.BeanContextServiceAvailableEvent implements Serializable |
Serialized Fields |
Class serviceClass
Class
reference to the newly available service
Class java.beans.beancontext.BeanContextServiceRevokedEvent implements Serializable |
Serialized Fields |
Class serviceClass
Class
reference to the service that is being revoked.
boolean invalidateRefs
Class java.beans.beancontext.BeanContextServicesSupport implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
Class java.beans.beancontext.BeanContextServicesSupport.BCSSChild implements Serializable |
Class java.beans.beancontext.BeanContextServicesSupport.BCSSServiceProvider implements Serializable |
Serialized Fields |
BeanContextServiceProvider serviceProvider
Class java.beans.beancontext.BeanContextSupport implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException, ClassNotFoundException
Serialized Fields |
int serializable
Locale locale
boolean okToUseGui
boolean designTime
Class java.beans.beancontext.BeanContextSupport.BCSChild implements Serializable |
Serialized Fields |
Object child
Object proxyPeer
Package java.io |
Class java.io.CharConversionException implements Serializable |
Class java.io.EOFException implements Serializable |
Class java.io.File implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
Serialized Fields |
String path
Class java.io.FileNotFoundException implements Serializable |
Class java.io.FilePermissionCollection implements Serializable |
Serialized Fields |
Vector permissions
Class java.io.InterruptedIOException implements Serializable |
Serialized Fields |
int bytesTransferred
Class java.io.InvalidClassException implements Serializable |
Serialized Fields |
String classname
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 |
int length
boolean eof
Class java.io.SerializablePermission implements Serializable |
Serialized Fields |
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 |
Exception detail
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 |
boolean value
Class java.lang.Byte implements Serializable |
Serialized Fields |
byte value
Byte
.
Class java.lang.Character implements Serializable |
Serialized Fields |
char value
Character
.
Class java.lang.Class implements Serializable |
Serialization Overview |
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.TC_CLASS
ClassDescriptor A ClassDescriptor is a special cased serialization of ajava.io.ObjectStreamClass
instance.
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 |
Throwable ex
Class java.lang.CloneNotSupportedException implements Serializable |
Class java.lang.Double implements Serializable |
Serialized Fields |
double value
Class java.lang.Error implements Serializable |
Class java.lang.Exception implements Serializable |
Class java.lang.ExceptionInInitializerError implements Serializable |
Serialized Fields |
Throwable exception
Class java.lang.Float implements Serializable |
Serialized Fields |
float value
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 |
int value
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 |
long value
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 |
short value
Short
.
Class java.lang.StackOverflowError implements Serializable |
Class java.lang.StackTraceElement implements Serializable |
Serialized Fields |
String declaringClass
String methodName
String fileName
int lineNumber
Class java.lang.String implements Serializable |
Serialization Overview |
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 |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
char[] value
int count
boolean shared
Class java.lang.StringIndexOutOfBoundsException implements Serializable |
Class java.lang.ThreadDeath implements Serializable |
Class java.lang.Throwable implements Serializable |
Serialization Methods |
private void writeObject(ObjectOutputStream s) throws IOException
Serialized Fields |
String detailMessage
Throwable cause
StackTraceElement[] stackTrace
Throwable.getStackTrace()
.
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.lang.reflect |
Class java.lang.reflect.InvocationTargetException implements Serializable |
Serialized Fields |
Throwable target
Class java.lang.reflect.Proxy implements Serializable |
Serialized Fields |
InvocationHandler h
Class java.lang.reflect.ReflectPermission implements Serializable |
Class java.lang.reflect.UndeclaredThrowableException implements Serializable |
Serialized Fields |
Throwable undeclaredThrowable
Package java.math |
Class java.math.BigDecimal implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
BigInteger intVal
BigDecimal.unscaledValue()
int scale
BigDecimal.scale()
Class java.math.BigInteger implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialization Overview |
Serialized Fields |
int bitCount
int bitLength
int lowestSetBit
int[] magnitude
int signum
Package java.net |
Class java.net.BindException implements Serializable |
Class java.net.ConnectException implements Serializable |
Class java.net.Inet4Address implements Serializable |
Serialization Methods |
private Object writeReplace() throws ObjectStreamException
ObjectStreamException
- if a new object replacing this
object could not be createdClass java.net.Inet6Address implements Serializable |
Serialized Fields |
byte[] ipaddress
Class java.net.InetAddress implements Serializable |
Serialization Methods |
private Object readResolve() throws ObjectStreamException
ObjectStreamException
- if a new object replacing this
object could not be createdSerialized Fields |
String hostName
int address
int family
Class java.net.InetSocketAddress implements Serializable |
Serialized Fields |
String hostname
InetAddress addr
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.SocketPermissionCollection implements Serializable |
Serialized Fields |
Vector permissions
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 |
private void readObject(ObjectInputStream is) throws ClassNotFoundException, IOException
The ObjectInputStream.defaultReadObject()
method is
invoked to read the value of the string field. The result is
then parsed in the usual way.
private void writeObject(ObjectOutputStream os) throws IOException
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 ObjectOutputStream.defaultWriteObject()
method of the given object-output stream is invoked.
Serialized Fields |
String string
Class java.net.URISyntaxException implements Serializable |
Serialized Fields |
String input
int index
Class java.net.URL implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
String protocol
String host
int port
String file
file
is
defined as path[?query]
String authority
String ref
int hashCode
Package java.nio |
Class java.nio.BufferOverflowException implements Serializable |
Class java.nio.BufferUnderflowException implements Serializable |
Class java.nio.InvalidMarkException implements Serializable |
Class java.nio.ReadOnlyBufferException implements Serializable |
Package java.nio.channels |
Class java.nio.channels.AlreadyConnectedException implements Serializable |
Class java.nio.channels.AsynchronousCloseException implements Serializable |
Class java.nio.channels.CancelledKeyException implements Serializable |
Class java.nio.channels.ClosedByInterruptException implements Serializable |
Class java.nio.channels.ClosedChannelException implements Serializable |
Class java.nio.channels.ClosedSelectorException implements Serializable |
Class java.nio.channels.ConnectionPendingException implements Serializable |
Class java.nio.channels.FileLockInterruptionException implements Serializable |
Class java.nio.channels.IllegalBlockingModeException implements Serializable |
Class java.nio.channels.IllegalSelectorException implements Serializable |
Class java.nio.channels.NoConnectionPendingException implements Serializable |
Class java.nio.channels.NonReadableChannelException implements Serializable |
Class java.nio.channels.NonWritableChannelException implements Serializable |
Class java.nio.channels.NotYetBoundException implements Serializable |
Class java.nio.channels.NotYetConnectedException implements Serializable |
Class java.nio.channels.OverlappingFileLockException implements Serializable |
Class java.nio.channels.UnresolvedAddressException implements Serializable |
Class java.nio.channels.UnsupportedAddressTypeException implements Serializable |
Package java.nio.charset |
Class java.nio.charset.CharacterCodingException implements Serializable |
Class java.nio.charset.CoderMalfunctionError implements Serializable |
Class java.nio.charset.IllegalCharsetNameException implements Serializable |
Serialized Fields |
String charsetName
Class java.nio.charset.MalformedInputException implements Serializable |
Serialized Fields |
int inputLength
Class java.nio.charset.UnmappableCharacterException implements Serializable |
Serialized Fields |
int inputLength
Class java.nio.charset.UnsupportedCharsetException implements Serializable |
Serialized Fields |
String charsetName
Package java.rmi |
Class java.rmi.AccessException implements Serializable |
Class java.rmi.AlreadyBoundException implements Serializable |
Class java.rmi.ConnectException implements Serializable |
Class java.rmi.ConnectIOException implements Serializable |
Class java.rmi.MarshalException implements Serializable |
Class java.rmi.MarshalledObject implements Serializable |
Serialized Fields |
byte[] objBytes
objBytes
is
null
then the object marshalled was a null
reference.byte[] locBytes
equals
. If locBytes
is null, there were no
non-null
annotations during marshalling.int hash
MarshalledObject.hashCode()
Class java.rmi.NoSuchObjectException implements Serializable |
Class java.rmi.NotBoundException implements Serializable |
Class java.rmi.RemoteException implements Serializable |
Serialized Fields |
Throwable detail
This field predates the general-purpose exception chaining facility.
The Throwable.getCause()
method is now the preferred means of
obtaining this information.
Class java.rmi.RMISecurityException implements Serializable |
Class java.rmi.ServerError implements Serializable |
Class java.rmi.ServerException implements Serializable |
Class java.rmi.ServerRuntimeException implements Serializable |
Class java.rmi.StubNotFoundException implements Serializable |
Class java.rmi.UnexpectedException implements Serializable |
Class java.rmi.UnknownHostException implements Serializable |
Class java.rmi.UnmarshalException implements Serializable |
Package java.rmi.activation |
Class java.rmi.activation.Activatable implements Serializable |
Serialized Fields |
ActivationID id
Class java.rmi.activation.ActivateFailedException implements Serializable |
Class java.rmi.activation.ActivationDesc implements Serializable |
Serialized Fields |
ActivationGroupID groupID
String className
String location
MarshalledObject data
boolean restart
Class java.rmi.activation.ActivationException implements Serializable |
Serialized Fields |
Throwable detail
This field predates the general-purpose exception chaining facility.
The Throwable.getCause()
method is now the preferred means of
obtaining this information.
Class java.rmi.activation.ActivationGroup implements Serializable |
Serialized Fields |
ActivationGroupID groupID
ActivationMonitor monitor
long incarnation
Class java.rmi.activation.ActivationGroup_Stub implements Serializable |
Class java.rmi.activation.ActivationGroupDesc implements Serializable |
Serialized Fields |
String className
String location
MarshalledObject data
ActivationGroupDesc.CommandEnvironment env
Properties props
Class java.rmi.activation.ActivationGroupDesc.CommandEnvironment implements Serializable |
Serialized Fields |
String command
String[] options
Class java.rmi.activation.ActivationGroupID implements Serializable |
Serialized Fields |
ActivationSystem system
UID uid
Class java.rmi.activation.ActivationID implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
readObject
for custom serialization.
This method reads this object's serialized form for this class as follows:
The readObject
method is invoked on
in
to read this object's unique identifier
(a UID
instance).
Next, the readUTF
method is invoked on
in
to read the external ref type name of the
RemoteRef
instance for this object's
activator. Next, the RemoteRef
instance is created of an implementation-specific class
corresponding to the external ref type name (returned by
readUTF
), and the readExternal
method is invoked on that RemoteRef
instance
to read the external form corresponding to the external
ref type name.
Note: If the external ref type name is
"UnicastRef"
, "UnicastServerRef"
,
"UnicastRef2"
, "UnicastServerRef2"
,
"ActivatableRef"
, or
"ActivatableServerRef"
, a corresponding
implementation-specific class must be found, and its
readExternal
method must read the serial data
for that external ref type name as specified to be written
in the serialData documentation for this class.
If the external ref type name is any other string (of non-zero
length), a ClassNotFoundException
will be thrown,
unless the implementation provides an implementation-specific
class corresponding to that external ref type name, in which
case the RemoteRef
will be an instance of
that implementation-specific class.
private void writeObject(ObjectOutputStream out) throws IOException, ClassNotFoundException
writeObject
for custom serialization.
This method writes this object's serialized form for this class as follows:
The writeObject
method is invoked on
out
passing this object's unique identifier
(a UID
instance) as the argument.
Next, the getRefClass
method is invoked on the activator's
RemoteRef
instance to obtain its external ref
type name. Next, the writeUTF
method is
invoked on out
with the value returned by
getRefClass
, and then the
writeExternal
method is invoked on the
RemoteRef
instance passing out
as the argument.
java.rmi.server.UID
(written with
ObjectOutput.writeObject
) followed by the
external ref type name of the activator's
RemoteRef
instance (a string written with
ObjectOutput.writeUTF
), followed by the
external form of the RemoteRef
instance as
written by its writeExternal
method.
The external ref type name of the
RemoteRef
instance is
determined using the definitions of external ref type
names specified in the RemoteObject
writeObject
method
serialData specification. Similarly, the data
written by the writeExternal
method and read
by the readExternal
method of
RemoteRef
implementation classes
corresponding to each of the defined external ref type
names is specified in the RemoteObject
writeObject
method serialData
specification.
IOException
ClassNotFoundException
Class java.rmi.activation.UnknownGroupException implements Serializable |
Class java.rmi.activation.UnknownObjectException implements Serializable |
Package java.rmi.dgc |
Class java.rmi.dgc.Lease implements Serializable |
Serialized Fields |
VMID vmid
Lease.getVMID()
long value
Lease.getValue()
Class java.rmi.dgc.VMID implements Serializable |
Serialized Fields |
byte[] addr
UID uid
Package java.rmi.server |
Class java.rmi.server.ExportException implements Serializable |
Class java.rmi.server.ObjID implements Serializable |
Serialized Fields |
long objNum
ObjID.hashCode()
UID space
Class java.rmi.server.RemoteObject implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
readObject
for custom serialization.
This method reads this object's serialized form for this class as follows:
The readUTF
method is invoked on in
to read the external ref type name for the RemoteRef
instance to be filled in to this object's ref
field.
If the string returned by readUTF
has length zero,
the readObject
method is invoked on in
,
and than the value returned by readObject
is cast to
RemoteRef
and this object's ref
field is
set to that value.
Otherwise, this object's ref
field is set to a
RemoteRef
instance that is created of an
implementation-specific class corresponding to the external ref
type name returned by readUTF
, and then
the readExternal
method is invoked on
this object's ref
field.
If the external ref type name is
"UnicastRef"
, "UnicastServerRef"
,
"UnicastRef2"
, "UnicastServerRef2"
,
"ActivatableRef"
, or
"ActivatableServerRef"
, a corresponding
implementation-specific class must be found, and its
readExternal
method must read the serial data
for that external ref type name as specified to be written
in the serialData documentation for this class.
If the external ref type name is any other string (of non-zero
length), a ClassNotFoundException
will be thrown,
unless the implementation provides an implementation-specific
class corresponding to that external ref type name, in which
case this object's ref
field will be set to an
instance of that implementation-specific class.
private void writeObject(ObjectOutputStream out) throws IOException, ClassNotFoundException
writeObject
for custom serialization.
This method writes this object's serialized form for this class as follows:
The getRefClass
method is invoked on this object's ref
field
to obtain its external ref type name.
If the value returned by getRefClass
was
a non-null
string of length greater than zero,
the writeUTF
method is invoked on out
with the value returned by getRefClass
, and then
the writeExternal
method is invoked on
this object's ref
field passing out
as the argument; otherwise,
the writeUTF
method is invoked on out
with a zero-length string (""
), and then
the writeObject
method is invoked on out
passing this object's ref
field as the argument.
ObjectOutput.writeUTF
) that is either the external
ref type name of the contained RemoteRef
instance
(the ref
field) or a zero-length string, followed by
either the external form of the ref
field as written by
its writeExternal
method if the string was of non-zero
length, or the serialized form of the ref
field as
written by passing it to the serialization stream's
writeObject
if the string was of zero length.
If this object is an instance of
java.rmi.server.RemoteStub
that was returned from any of
the UnicastRemoteObject.exportObject
methods
and custom socket factories are not used,
the external ref type name is "UnicastRef"
.
If this object is an instance of
RemoteStub
that was returned from any of
the UnicastRemoteObject.exportObject
methods
and custom socket factories are used,
the external ref type name is "UnicastRef2"
.
If this object is an instance of
RemoteStub
that was returned from any of
the java.rmi.activation.Activatable.exportObject
methods,
the external ref type name is "ActivatableRef"
.
If this object is an instance of
RemoteStub
that was returned from
the RemoteObject.toStub
method (and the argument passed
to toStub
was not itself a RemoteStub
),
the external ref type name is a function of how the remote object
passed to toStub
was exported, as described above.
If this object is an instance of
RemoteStub
that was originally
created via deserialization,
the external ref type name is the same as that which was read
when this object was deserialized.
If this object is an instance of
java.rmi.server.UnicastRemoteObject
that does not
use custom socket factories,
the external ref type name is "UnicastServerRef"
.
If this object is an instance of
UnicastRemoteObject
that does
use custom socket factories,
the external ref type name is "UnicastServerRef2"
.
If this object is an instance of
java.rmi.activation.Activatable
,
the external ref type name is "ActivatableServerRef"
.
Following is the data that must be written by the
writeExternal
method and read by the
readExternal
method of RemoteRef
implementation classes that correspond to the each of the
defined external ref type names:
For "UnicastRef"
:
DataOutput.writeUTF(String)
DataOutput.writeInt(int)
ObjID
instance contained in the reference
false
,
written by DataOutput.writeBoolean(boolean)
For "UnicastRef2"
with a
null
client socket factory:
0x00
(indicating null
client socket factory),
written by DataOutput.writeByte(int)
DataOutput.writeUTF(String)
DataOutput.writeInt(int)
ObjID
instance contained in the reference
false
,
written by DataOutput.writeBoolean(boolean)
For "UnicastRef2"
with a
non-null
client socket factory:
0x01
(indicating non-null
client socket factory),
written by DataOutput.writeByte(int)
DataOutput.writeUTF(String)
DataOutput.writeInt(int)
java.rmi.server.RMIClientSocketFactory
),
written by passing it to an invocation of
writeObject
on the stream instance
ObjID
instance contained in the reference
false
,
written by DataOutput.writeBoolean(boolean)
For "ActivatableRef"
with a
null
nested remote reference:
java.rmi.activation.ActivationID
,
written by passing it to an invocation of
writeObject
on the stream instance
""
),
written by DataOutput.writeUTF(String)
For "ActivatableRef"
with a
non-null
nested remote reference:
java.rmi.activation.ActivationID
,
written by passing it to an invocation of
writeObject
on the stream instance
"UnicastRef2"
,
written by DataOutput.writeUTF(String)
writeExternal
method
with the stream instance
(see the description of the external form for
"UnicastRef2"
above)
For "UnicastServerRef"
,
"UnicastServerRef2"
, and
"ActivatableServerRef"
, no data is written by the
writeExternal
method or read by the
readExternal
method.
IOException
ClassNotFoundException
Class java.rmi.server.RemoteServer implements Serializable |
Class java.rmi.server.RemoteStub implements Serializable |
Class java.rmi.server.ServerCloneException implements Serializable |
Serialized Fields |
Exception detail
This field predates the general-purpose exception chaining facility.
The Throwable.getCause()
method is now the preferred means of
obtaining this information.
Class java.rmi.server.ServerNotActiveException implements Serializable |
Class java.rmi.server.SkeletonMismatchException implements Serializable |
Class java.rmi.server.SkeletonNotFoundException implements Serializable |
Class java.rmi.server.SocketSecurityException implements Serializable |
Class java.rmi.server.UID implements Serializable |
Serialized Fields |
int unique
UID
was generated in with respect to its host and at the given time
long time
System.currentTimeMillis()
) at which
the VM that this UID
was generated in was alive
short count
UID
instances created
in the same VM with the same time value
Class java.rmi.server.UnicastRemoteObject implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Serialized Fields |
int port
RMIClientSocketFactory csf
RMIServerSocketFactory ssf
Package java.security |
Class java.security.AccessControlException implements Serializable |
Serialized Fields |
Permission perm
Class java.security.AllPermissionCollection implements Serializable |
Serialized Fields |
boolean all_allowed
Class java.security.BasicPermission implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Class java.security.BasicPermissionCollection implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
Hashtable permissions
boolean all_allowed
true
if this BasicPermissionCollection
contains a BasicPermission with '*' as its permission name.
Class permClass
Class java.security.CodeSource implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
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 |
URL location
Class java.security.DigestException implements Serializable |
Class java.security.GeneralSecurityException implements Serializable |
Class java.security.GuardedObject implements Serializable |
Serialization Methods |
private void writeObject(ObjectOutputStream oos) throws IOException
Serialized Fields |
Object object
Guard guard
Class java.security.Identity implements Serializable |
Serialized Fields |
String name
PublicKey publicKey
String info
IdentityScope scope
Vector certificates
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
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 |
String name
Class java.security.PermissionCollection implements Serializable |
Serialized Fields |
boolean readOnly
Class java.security.PermissionsHash implements Serializable |
Serialized Fields |
Hashtable perms
Class java.security.PrivilegedActionException implements Serializable |
Serialized Fields |
Exception exception
Class java.security.Provider implements Serializable |
Serialized Fields |
String name
String info
double version
Class java.security.ProviderException implements Serializable |
Class java.security.SecureRandom implements Serializable |
Serialized Fields |
Provider provider
SecureRandomSpi secureRandomSpi
byte[] state
MessageDigest digest
byte[] randomBytes
int randomBytesUsed
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 |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
byte[] content
byte[] signature
String thealgorithm
Class java.security.Signer implements Serializable |
Serialized Fields |
PrivateKey privateKey
Class java.security.UnrecoverableKeyException implements Serializable |
Class java.security.UnresolvedPermission implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
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 |
String type
String name
String actions
Class java.security.UnresolvedPermissionCollection implements Serializable |
Serialized Fields |
Hashtable permissions
Package java.security.acl |
Class java.security.acl.AclNotFoundException implements Serializable |
Class java.security.acl.LastOwnerException implements Serializable |
Class java.security.acl.NotOwnerException implements Serializable |
Package java.security.cert |
Class java.security.cert.Certificate implements Serializable |
Serialization Methods |
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
- if a new object representing
this Certificate could not be createdSerialized Fields |
String type
Class java.security.cert.Certificate.CertificateRep implements Serializable |
Serialization Methods |
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
- if the Certificate
could not be resolvedSerialized Fields |
String type
byte[] data
Class java.security.cert.CertificateEncodingException implements Serializable |
Class java.security.cert.CertificateException implements Serializable |
Class java.security.cert.CertificateExpiredException implements Serializable |
Class java.security.cert.CertificateNotYetValidException implements Serializable |
Class java.security.cert.CertificateParsingException implements Serializable |
Class java.security.cert.CertPath implements Serializable |
Serialization Methods |
protected Object writeReplace() throws ObjectStreamException
CertPath
to be serialized with a
CertPathRep
object.
ObjectStreamException
- if a CertPathRep
object
representing this certification path could not be createdSerialized Fields |
String type
Class java.security.cert.CertPath.CertPathRep implements Serializable |
Serialization Methods |
protected Object readResolve() throws ObjectStreamException
CertPath
constructed from the type and data.
ObjectStreamException
- if a CertPath
could not
be constructedSerialized Fields |
String type
byte[] data
Class java.security.cert.CertPathBuilderException implements Serializable |
Class java.security.cert.CertPathValidatorException implements Serializable |
Serialized Fields |
int index
CertPath certPath
CertPath
that was being validated when
the exception was thrownClass java.security.cert.CertStoreException implements Serializable |
Class java.security.cert.CRLException implements Serializable |
Class java.security.cert.X509Certificate implements Serializable |
Package java.security.spec |
Class java.security.spec.InvalidKeySpecException implements Serializable |
Class java.security.spec.InvalidParameterSpecException implements Serializable |
Package java.sql |
Class java.sql.BatchUpdateException implements Serializable |
Serialized Fields |
int[] updateCounts
Class java.sql.DataTruncation implements Serializable |
Serialized Fields |
int index
boolean parameter
boolean read
int dataSize
int transferSize
Class java.sql.Date implements Serializable |
Class java.sql.SQLException implements Serializable |
Serialized Fields |
String SQLState
int vendorCode
SQLException next
Class java.sql.SQLPermission implements Serializable |
Class java.sql.SQLWarning implements Serializable |
Class java.sql.Time implements Serializable |
Class java.sql.Timestamp implements Serializable |
Serialized Fields |
int nanos
Package java.text |
Class java.text.AttributedCharacterIterator.Attribute implements Serializable |
Serialization Methods |
protected Object readResolve() throws InvalidObjectException
Serialized Fields |
String name
Class java.text.ChoiceFormat implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if the objects read from the stream is invalid.
IOException
ClassNotFoundException
Serialized Fields |
double[] choiceLimits
choiceFormats[i]
if the number being formatted is greater than or equal to
choiceLimits[i]
and less than choiceLimits[i+1]
.
String[] choiceFormats
choiceFormats[i]
if the number being formatted is greater than or equal to
choiceLimits[i]
and less than choiceLimits[i+1]
.
Class java.text.DateFormat implements Serializable |
Serialized Fields |
Calendar calendar
DateFormat
uses to produce the time field
values needed to implement date and time formatting. Subclasses should
initialize this to a calendar appropriate for the locale associated with
this DateFormat
.
NumberFormat numberFormat
DateFormat
uses to format numbers
in dates and times. Subclasses should initialize this to a number format
appropriate for the locale associated with this DateFormat
.
Class java.text.DateFormat.Field implements Serializable |
Serialization Methods |
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
- if the constant could not be
resolved.Serialized Fields |
int calendarField
Class java.text.DateFormatSymbols implements Serializable |
Serialized Fields |
String[] eras
Calendar.BC
and Calendar.AD
.
String[] months
Calendar.JANUARY
, Calendar.FEBRUARY
, etc.
String[] shortMonths
Calendar.JANUARY
, Calendar.FEBRUARY
, etc.
String[] weekdays
Calendar.SUNDAY
,
Calendar.MONDAY
, etc.
The element weekdays[0]
is ignored.
String[] shortWeekdays
Calendar.SUNDAY
,
Calendar.MONDAY
, etc.
The element shortWeekdays[0]
is ignored.
String[] ampms
Calendar.AM
and
Calendar.PM
.
String[][] zoneStrings
TimeZone
.
Each such row contains (with i
ranging from
0..n-1):
zoneStrings[i][0]
- time zone IDzoneStrings[i][1]
- long name of zone in standard
timezoneStrings[i][2]
- short name of zone in
standard timezoneStrings[i][3]
- long name of zone in daylight
savings timezoneStrings[i][4]
- short name of zone in daylight
savings time
TimeZone
String localPatternChars
DateFormat.ERA_FIELD
,
DateFormat.YEAR_FIELD
, etc. Thus, if the string were
"Xz...", then localized patterns would use 'X' for era and 'z' for year.
Class java.text.DecimalFormat implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
serialVersionOnStream
is less than 1, indicating that
the stream was written by JDK 1.1, initialize useExponentialNotation
to false, since it was not present in JDK 1.1.
Finally, set serialVersionOnStream back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.
If the minimum or maximum integer digit count is larger than
DOUBLE_INTEGER_DIGITS
or if the minimum or maximum fraction
digit count is larger than DOUBLE_FRACTION_DIGITS
, then the
stream data is invalid and this method throws an
InvalidObjectException
.
Stream versions older than 2 will not have the affix pattern variables
posPrefixPattern
etc. As a result, they will be initialized
to null
, which means the affix strings will be taken as
literal values. This is exactly what we want, since that corresponds to
the pre-version-2 behavior.
Serialized Fields |
String positivePrefix
DecimalFormat.getPositivePrefix()
String positiveSuffix
DecimalFormat.getPositiveSuffix()
String negativePrefix
DecimalFormat.getNegativePrefix()
String negativeSuffix
DecimalFormat.getNegativeSuffix()
String posPrefixPattern
positivePrefix
.
This pattern is expanded by the method expandAffix()
to
positivePrefix
to update the latter to reflect changes in
symbols
. If this variable is null
then
positivePrefix
is taken as a literal value that does not
change when symbols
changes. This variable is always
null
for DecimalFormat
objects older than
stream version 2 restored from stream.
String posSuffixPattern
positiveSuffix
. This variable is analogous to
posPrefixPattern
; see that variable for further
documentation.
String negPrefixPattern
negativePrefix
. This variable is analogous to
posPrefixPattern
; see that variable for further
documentation.
String negSuffixPattern
negativeSuffix
. This variable is analogous to
posPrefixPattern
; see that variable for further
documentation.
int multiplier
DecimalFormat.getMultiplier()
byte groupingSize
NumberFormat.groupingUsed
is true.
boolean decimalSeparatorAlwaysShown
DecimalFormatSymbols symbols
DecimalFormatSymbols
object used by this format.
It contains the symbols used to format numbers, e.g. the grouping separator,
decimal separator, and so on.
boolean useExponentialNotation
byte minExponentDigits
useExponentialNotation
is not true.
int serialVersionOnStream
useExponentialNotation
and minExponentDigits
.
posPrefixPattern
, posSuffixPattern
,
negPrefixPattern
, and negSuffixPattern
.
Class java.text.DecimalFormatSymbols implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
serialVersionOnStream
is less than 1, initializes monetarySeparator
to be
the same as decimalSeparator
and exponential
to be 'E'.
If serialVersionOnStream
is less then 2,
initializes locale
to the root locale.
Sets serialVersionOnStream
back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.
Initializes the currency from the intlCurrencySymbol field.
IOException
ClassNotFoundException
Serialized Fields |
char zeroDigit
DecimalFormatSymbols.getZeroDigit()
char groupingSeparator
char decimalSeparator
char perMill
DecimalFormatSymbols.getPerMill()
char percent
DecimalFormatSymbols.getPercent()
char digit
DecimalFormatSymbols.getDigit()
char patternSeparator
String infinity
DecimalFormatSymbols.getInfinity()
String NaN
DecimalFormatSymbols.getNaN()
char minusSign
DecimalFormatSymbols.getMinusSign()
String currencySymbol
String intlCurrencySymbol
char monetarySeparator
DecimalFormatSymbols.getMonetaryDecimalSeparator()
char exponential
Note that the public API provides no way to set this field, even though it is supported by the implementation and the stream format. The intent is that this will be added to the API in the future.
Locale locale
int serialVersionOnStream
DecimalFormatSymbols
present on the stream.
Possible values are:
monetarySeparator
and exponential
.
locale
field.
DecimalFormatSymbols
, the most recent format
(corresponding to the highest allowable serialVersionOnStream
)
is always written.
Class java.text.Format implements Serializable |
Class java.text.Format.Field implements Serializable |
Class java.text.MessageFormat implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if the objects read from the stream is invalid.
IOException
ClassNotFoundException
Serialized Fields |
Locale locale
String pattern
Format[] formats
int[] offsets
int[] argumentNumbers
int maxOffset
offsets
. Can also be thought of
as the index of the highest-numbered element in offsets
that is being used.
All of these arrays should have the same number of elements being used as offsets
does, and so this variable suffices to tell us how many entries are in all of them.
Class java.text.MessageFormat.Field implements Serializable |
Serialization Methods |
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
- if the constant could not be
resolved.Class java.text.NumberFormat implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
serialVersionOnStream
is less than 1, indicating that
the stream was written by JDK 1.1,
set the int
fields such as maximumIntegerDigits
to be equal to the byte
fields such as maxIntegerDigits
,
since the int
fields were not present in JDK 1.1.
Finally, set serialVersionOnStream back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.
If minimumIntegerDigits
is greater than
maximumIntegerDigits
or minimumFractionDigits
is greater than maximumFractionDigits
, then the stream data
is invalid and this method throws an InvalidObjectException
.
In addition, if any of these values is negative, then this method throws
an InvalidObjectException
.
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
byte
fields such as maxIntegerDigits
to be
equal to the int
fields such as maximumIntegerDigits
(or to Byte.MAX_VALUE
, whichever is smaller), for compatibility
with the JDK 1.1 version of the stream format.
IOException
Serialized Fields |
boolean groupingUsed
NumberFormat.isGroupingUsed()
byte maxIntegerDigits
maxIntegerDigits
must be greater than or equal to
minIntegerDigits
.
Note: This field exists only for serialization
compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new
int
field maximumIntegerDigits
is used instead.
When writing to a stream, maxIntegerDigits
is set to
maximumIntegerDigits
or Byte.MAX_VALUE
,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream
is less than 1.
byte minIntegerDigits
minimumIntegerDigits
must be less than or equal to
maximumIntegerDigits
.
Note: This field exists only for serialization
compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new
int
field minimumIntegerDigits
is used instead.
When writing to a stream, minIntegerDigits
is set to
minimumIntegerDigits
or Byte.MAX_VALUE
,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream
is less than 1.
byte maxFractionDigits
maximumFractionDigits
must be greater than or equal to
minimumFractionDigits
.
Note: This field exists only for serialization
compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new
int
field maximumFractionDigits
is used instead.
When writing to a stream, maxFractionDigits
is set to
maximumFractionDigits
or Byte.MAX_VALUE
,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream
is less than 1.
byte minFractionDigits
minimumFractionDigits
must be less than or equal to
maximumFractionDigits
.
Note: This field exists only for serialization
compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new
int
field minimumFractionDigits
is used instead.
When writing to a stream, minFractionDigits
is set to
minimumFractionDigits
or Byte.MAX_VALUE
,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream
is less than 1.
boolean parseIntegerOnly
NumberFormat.isParseIntegerOnly()
int maximumIntegerDigits
maximumIntegerDigits
must be greater than or equal to
minimumIntegerDigits
.
NumberFormat.getMaximumIntegerDigits()
int minimumIntegerDigits
minimumIntegerDigits
must be less than or equal to
maximumIntegerDigits
.
NumberFormat.getMinimumIntegerDigits()
int maximumFractionDigits
maximumFractionDigits
must be greater than or equal to
minimumFractionDigits
.
NumberFormat.getMaximumFractionDigits()
int minimumFractionDigits
minimumFractionDigits
must be less than or equal to
maximumFractionDigits
.
NumberFormat.getMinimumFractionDigits()
int serialVersionOnStream
NumberFormat
present on the stream.
Possible values are:
int
fields such as
maximumIntegerDigits
were not present, and the byte
fields such as maxIntegerDigits
are used instead.
byte
fields such as maxIntegerDigits
are ignored,
and the int
fields such as maximumIntegerDigits
are used instead.
NumberFormat
, the most recent format
(corresponding to the highest allowable serialVersionOnStream
)
is always written.
Class java.text.NumberFormat.Field implements Serializable |
Serialization Methods |
protected Object readResolve() throws InvalidObjectException
InvalidObjectException
- if the constant could not be
resolved.Class java.text.ParseException implements Serializable |
Serialized Fields |
int errorOffset
Class java.text.SimpleDateFormat implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
InvalidObjectException
- if the pattern is invalid
IOException
ClassNotFoundException
Serialized Fields |
int serialVersionOnStream
defaultCenturyStart
on stream.
defaultCenturyStart
.
serialVersionOnStream
is written.
String pattern
DateFormatSymbols formatData
DateFormatSymbols
Date defaultCenturyStart
defaultCenturyStart
, which may be any date. May
not be null.
Package java.util |
Class java.util.ArrayList implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
int size
Class java.util.Arrays.ArrayList implements Serializable |
Serialized Fields |
Object[] a
Class java.util.BitSet implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Serialized Fields |
long[] bits
Class java.util.Calendar implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
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 |
int[] fields
FIELD_COUNT
integers, with index values
ERA
through DST_OFFSET
.
boolean[] isSet
FIELD_COUNT
booleans, with index values
ERA
through DST_OFFSET
.
long time
Calendar.isTimeSet
boolean isTimeSet
time
is valid.
The time is made invalid by a change to an item of field[]
.
Calendar.time
boolean areFieldsSet
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
.
boolean lenient
time
from fields[]
.
Calendar.setLenient(boolean)
TimeZone zone
TimeZone
used by this calendar. Calendar
uses the time zone data to translate between locale and GMT time.
int firstDayOfWeek
SUNDAY
,
MONDAY
, etc. This is a locale-dependent value.
int minimalDaysInFirstWeek
int nextStamp
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.
int serialVersionOnStream
serialVersionOnStream
is written.
Class java.util.Collections.CopiesList implements Serializable |
Serialized Fields |
int n
Object element
Class java.util.Collections.EmptyList implements Serializable |
Class java.util.Collections.EmptySet implements Serializable |
Class java.util.Collections.ReverseComparator implements Serializable |
Class java.util.Collections.SingletonSet implements Serializable |
Serialized Fields |
Object element
Class java.util.Collections.SynchronizedCollection implements Serializable |
Serialized Fields |
Collection c
Object mutex
Class java.util.Collections.SynchronizedList implements Serializable |
Serialization Methods |
private Object readResolve()
Serialized Fields |
List list
Class java.util.Collections.SynchronizedMap implements Serializable |
Serialized Fields |
Map m
Object mutex
Class java.util.Collections.SynchronizedRandomAccessList implements Serializable |
Serialization Methods |
private Object writeReplace()
Class java.util.Collections.SynchronizedSet implements Serializable |
Class java.util.Collections.SynchronizedSortedMap implements Serializable |
Serialized Fields |
SortedMap sm
Class java.util.Collections.SynchronizedSortedSet implements Serializable |
Serialized Fields |
SortedSet ss
Class java.util.Collections.UnmodifiableCollection implements Serializable |
Serialized Fields |
Collection c
Class java.util.Collections.UnmodifiableList implements Serializable |
Serialization Methods |
private Object readResolve()
Serialized Fields |
List list
Class java.util.Collections.UnmodifiableMap implements Serializable |
Serialized Fields |
Map m
Class java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet implements Serializable |
Class java.util.Collections.UnmodifiableRandomAccessList implements Serializable |
Serialization Methods |
private Object writeReplace()
Class java.util.Collections.UnmodifiableSet implements Serializable |
Class java.util.Collections.UnmodifiableSortedMap implements Serializable |
Serialized Fields |
SortedMap sm
Class java.util.Collections.UnmodifiableSortedSet implements Serializable |
Serialized Fields |
SortedSet ss
Class java.util.ConcurrentModificationException implements Serializable |
Class java.util.Currency implements Serializable |
Serialization Methods |
private Object readResolve()
Serialized Fields |
String currencyCode
Class java.util.Date implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
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 |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
Serialized Fields |
long gregorianCutover
Class java.util.HashMap implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
int threshold
float loadFactor
Class java.util.HashSet implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Class java.util.Hashtable implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
int threshold
float loadFactor
Class java.util.IdentityHashMap implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
int size
Class java.util.LinkedHashMap implements Serializable |
Serialized Fields |
boolean accessOrder
Class java.util.LinkedHashSet implements Serializable |
Class java.util.LinkedList implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Class java.util.Locale implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
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
representing 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
private void writeObject(ObjectOutputStream out) throws IOException
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 |
String language
Locale.getLanguage()
String country
Locale.getCountry()
String variant
Locale.getVariant()
int hashcode
Class java.util.MissingResourceException implements Serializable |
Serialized Fields |
String className
String key
Class java.util.NoSuchElementException implements Serializable |
Class java.util.Properties implements Serializable |
Serialized Fields |
Properties defaults
Class java.util.PropertyPermissionCollection implements Serializable |
Serialized Fields |
Hashtable permissions
boolean all_allowed
Class java.util.Random implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
Serialization Overview |
Serialized Fields |
boolean haveNextNextGaussian
double; nextNextGaussian
long; seed
Class java.util.SimpleTimeZone implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
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 |
int startMonth
Calendar.JANUARY
and
Calendar.DECEMBER
inclusive. This value must not equal
endMonth
.
If useDaylight
is false, this value is ignored.
int startDay
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.
int startDayOfWeek
Calendar.SUNDAY
and
Calendar.SATURDAY
inclusive.
If useDaylight
is false or
startMode == DAY_OF_MONTH
, this value is ignored.
int startTime
startTimeMode
.
If useDaylight
is false, this value is ignored.
int startTimeMode
int endMonth
Calendar.JANUARY
and
Calendar.UNDECIMBER
. This value must not equal
startMonth
.
If useDaylight
is false, this value is ignored.
int endDay
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.
int endDayOfWeek
Calendar.SUNDAY
and
Calendar.SATURDAY
inclusive.
If useDaylight
is false or
endMode == DAY_OF_MONTH
, this value is ignored.
int endTime
endTimeMode
.
If useDaylight
is false, this value is ignored.
int endTimeMode
int startYear
If useDaylight
is false, this value is ignored.
int rawOffset
dstSavings
.
boolean useDaylight
byte[] monthLength
int startMode
DOM_MODE
DOW_IN_MONTH_MODE
DOW_GE_DOM_MODE
DOW_LE_DOM_MODE
startDay
field.
If useDaylight
is false, this value is ignored.
int endMode
DOM_MODE
DOW_IN_MONTH_MODE
DOW_GE_DOM_MODE
DOW_LE_DOM_MODE
endDay
field.
If useDaylight
is false, this value is ignored.
int dstSavings
If useDaylight
is false, this value is ignored.
int serialVersionOnStream
startMode
,
endMode
, and dstSavings
.
startTimeMode
and endTimeMode
.
serialVersionOnStream
is written.
Class java.util.Stack implements Serializable |
Class java.util.TimeZone implements Serializable |
Serialized Fields |
String ID
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 |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
Comparator comparator
Class java.util.TreeSet implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Class java.util.Vector implements Serializable |
Serialized Fields |
Object[] elementData
Any array elements following the last element in the Vector are null.
int elementCount
int capacityIncrement
Package java.util.jar |
Class java.util.jar.JarException implements Serializable |
Package java.util.logging |
Class java.util.logging.Level implements Serializable |
Serialization Methods |
private Object readResolve()
Serialized Fields |
String name
int value
String resourceBundleName
Class java.util.logging.LoggingPermission implements Serializable |
Class java.util.logging.LogRecord implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
Serialized Fields |
Level level
long sequenceNumber
String sourceClassName
String sourceMethodName
String message
int threadID
long millis
Throwable thrown
String loggerName
String resourceBundleName
Package java.util.regex |
Class java.util.regex.Pattern implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
String pattern
int flags
Class java.util.regex.PatternSyntaxException implements Serializable |
Serialized Fields |
String desc
String pattern
int index
Package java.util.zip |
Class java.util.zip.DataFormatException implements Serializable |
Class java.util.zip.ZipException implements Serializable |
Package javax.crypto |
Class javax.crypto.BadPaddingException implements Serializable |
Class javax.crypto.ExemptionMechanismException implements Serializable |
Class javax.crypto.IllegalBlockSizeException implements Serializable |
Class javax.crypto.NoSuchPaddingException implements Serializable |
Class javax.crypto.SealedObject implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
byte[] encodedParams
byte[] encryptedContent
String sealAlg
String paramsAlg
Class javax.crypto.ShortBufferException implements Serializable |
Package javax.crypto.spec |
Class javax.crypto.spec.SecretKeySpec implements Serializable |
Serialized Fields |
byte[] key
String algorithm
Package javax.imageio |
Class javax.imageio.IIOException implements Serializable |
Package javax.imageio.metadata |
Class javax.imageio.metadata.IIOInvalidTreeException implements Serializable |
Serialized Fields |
Node offendingNode
Node
that led to the parsing error, or
null
.
Package javax.naming |
Class javax.naming.AuthenticationException implements Serializable |
Class javax.naming.AuthenticationNotSupportedException implements Serializable |
Class javax.naming.BinaryRefAddr implements Serializable |
Serialized Fields |
byte[] buf
Class javax.naming.Binding implements Serializable |
Serialized Fields |
Object boundObj
Class javax.naming.CannotProceedException implements Serializable |
Serialized Fields |
Name remainingNewName
This field is initialized to null. It should not be manipulated directly: it should be accessed and updated using getRemainingName() and setRemainingName().
Hashtable environment
This field is initialized to null. It should not be manipulated directly: it should be accessed and updated using getEnvironment() and setEnvironment().
Name altName
altNameCtx
. It is a composite name.
If null, then no name is specified.
See the javax.naming.spi.ObjectFactory.getObjectInstance
method for details on how this is used.
This field is initialized to null. It should not be manipulated directly: it should be accessed and updated using getAltName() and setAltName().
Context altNameCtx
altName
is specified. If null, then the default initial
context is implied.
See the javax.naming.spi.ObjectFactory.getObjectInstance
method for details on how this is used.
This field is initialized to null. It should not be manipulated directly: it should be accessed and updated using getAltNameCtx() and setAltNameCtx().
Class javax.naming.CommunicationException implements Serializable |
Class javax.naming.CompositeName implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Class javax.naming.CompoundName implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Class javax.naming.ConfigurationException implements Serializable |
Class javax.naming.ContextNotEmptyException implements Serializable |
Class javax.naming.InsufficientResourcesException implements Serializable |
Class javax.naming.InterruptedNamingException implements Serializable |
Class javax.naming.InvalidNameException implements Serializable |
Class javax.naming.LimitExceededException implements Serializable |
Class javax.naming.LinkException implements Serializable |
Serialized Fields |
Name linkResolvedName
Object linkResolvedObj
Name linkRemainingName
String linkExplanation
Class javax.naming.LinkLoopException implements Serializable |
Class javax.naming.LinkRef implements Serializable |
Class javax.naming.MalformedLinkException implements Serializable |
Class javax.naming.NameAlreadyBoundException implements Serializable |
Class javax.naming.NameClassPair implements Serializable |
Serialized Fields |
String name
String className
boolean isRel
Class javax.naming.NameNotFoundException implements Serializable |
Class javax.naming.NamingException implements Serializable |
Serialized Fields |
Name resolvedName
Object resolvedObj
Name remainingName
Throwable rootException
Class javax.naming.NamingSecurityException implements Serializable |
Class javax.naming.NoInitialContextException implements Serializable |
Class javax.naming.NoPermissionException implements Serializable |
Class javax.naming.NotContextException implements Serializable |
Class javax.naming.OperationNotSupportedException implements Serializable |
Class javax.naming.PartialResultException implements Serializable |
Class javax.naming.RefAddr implements Serializable |
Serialized Fields |
String addrType
Class javax.naming.Reference implements Serializable |
Serialized Fields |
String className
Class.getName()
Vector addrs
String classFactory
String classFactoryLocation
Class javax.naming.ReferralException implements Serializable |
Class javax.naming.ServiceUnavailableException implements Serializable |
Class javax.naming.SizeLimitExceededException implements Serializable |
Class javax.naming.StringRefAddr implements Serializable |
Serialized Fields |
String contents
Class javax.naming.TimeLimitExceededException implements Serializable |
Package javax.naming.directory |
Class javax.naming.directory.AttributeInUseException implements Serializable |
Class javax.naming.directory.AttributeModificationException implements Serializable |
Serialized Fields |
ModificationItem[] unexecs
Class javax.naming.directory.BasicAttribute implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
String attrID
boolean ordered
Class javax.naming.directory.BasicAttributes implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
boolean ignoreCase
Class javax.naming.directory.InvalidAttributeIdentifierException implements Serializable |
Class javax.naming.directory.InvalidAttributesException implements Serializable |
Class javax.naming.directory.InvalidAttributeValueException implements Serializable |
Class javax.naming.directory.InvalidSearchControlsException implements Serializable |
Class javax.naming.directory.InvalidSearchFilterException implements Serializable |
Class javax.naming.directory.ModificationItem implements Serializable |
Serialized Fields |
int mod_op
Attribute attr
Class javax.naming.directory.NoSuchAttributeException implements Serializable |
Class javax.naming.directory.SchemaViolationException implements Serializable |
Class javax.naming.directory.SearchControls implements Serializable |
Serialized Fields |
int searchScope
int timeLimit
boolean derefLink
boolean returnObj
long countLimit
String[] attributesToReturn
Class javax.naming.directory.SearchResult implements Serializable |
Serialized Fields |
Attributes attrs
Package javax.naming.event |
Class javax.naming.event.NamingEvent implements Serializable |
Serialized Fields |
Object changeInfo
int type
Binding oldBinding
Binding newBinding
Class javax.naming.event.NamingExceptionEvent implements Serializable |
Serialized Fields |
NamingException exception
Package javax.naming.ldap |
Class javax.naming.ldap.LdapReferralException implements Serializable |
Class javax.naming.ldap.StartTlsRequest implements Serializable |
Class javax.naming.ldap.StartTlsResponse implements Serializable |
Class javax.naming.ldap.UnsolicitedNotificationEvent implements Serializable |
Serialized Fields |
UnsolicitedNotification notice
Package javax.naming.spi |
Class javax.naming.spi.ResolveResult implements Serializable |
Serialized Fields |
Object resolvedObj
Name remainingName
Package javax.net.ssl |
Class javax.net.ssl.HandshakeCompletedEvent implements Serializable |
Class javax.net.ssl.SSLException implements Serializable |
Class javax.net.ssl.SSLHandshakeException implements Serializable |
Class javax.net.ssl.SSLKeyException implements Serializable |
Class javax.net.ssl.SSLPeerUnverifiedException implements Serializable |
Class javax.net.ssl.SSLPermission implements Serializable |
Class javax.net.ssl.SSLProtocolException implements Serializable |
Class javax.net.ssl.SSLSessionBindingEvent implements Serializable |
Serialized Fields |
String name
Package javax.print |
Class javax.print.DocFlavor implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream s) throws IOException
Serialized Fields |
String myClassName
Class javax.print.DocFlavor.BYTE_ARRAY implements Serializable |
Class javax.print.DocFlavor.CHAR_ARRAY implements Serializable |
Class javax.print.DocFlavor.INPUT_STREAM implements Serializable |
Class javax.print.DocFlavor.READER implements Serializable |
Class javax.print.DocFlavor.SERVICE_FORMATTED implements Serializable |
Class javax.print.DocFlavor.STRING implements Serializable |
Class javax.print.DocFlavor.URL implements Serializable |
Class javax.print.PrintException implements Serializable |
Package javax.print.attribute |
Class javax.print.attribute.AttributeSetUtilities.SynchronizedAttributeSet implements Serializable |
Serialized Fields |
AttributeSet attrset
Class javax.print.attribute.AttributeSetUtilities.SynchronizedDocAttributeSet implements Serializable |
Class javax.print.attribute.AttributeSetUtilities.SynchronizedPrintJobAttributeSet implements Serializable |
Class javax.print.attribute.AttributeSetUtilities.SynchronizedPrintRequestAttributeSet implements Serializable |
Class javax.print.attribute.AttributeSetUtilities.SynchronizedPrintServiceAttributeSet implements Serializable |
Class javax.print.attribute.AttributeSetUtilities.UnmodifiableAttributeSet implements Serializable |
Serialized Fields |
AttributeSet attrset
Class javax.print.attribute.AttributeSetUtilities.UnmodifiableDocAttributeSet implements Serializable |
Class javax.print.attribute.AttributeSetUtilities.UnmodifiablePrintJobAttributeSet implements Serializable |
Class javax.print.attribute.AttributeSetUtilities.UnmodifiablePrintRequestAttributeSet implements Serializable |
Class javax.print.attribute.AttributeSetUtilities.UnmodifiablePrintServiceAttributeSet implements Serializable |
Class javax.print.attribute.DateTimeSyntax implements Serializable |
Serialized Fields |
Date value
java.util.Date
value.
Class javax.print.attribute.EnumSyntax implements Serializable |
Serialization Methods |
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
- if the stream can't be deserialised
InvalidObjectException
- Thrown if the enumeration value table is null, this enumeration
value's integer value does not correspond to an element in the
enumeration value table, or the corresponding element in the
enumeration value table is null. (Note: InvalidObjectException
is a subclass
of ObjectStreamException
, which
readResolve()
is declared to throw.)Serialized Fields |
int value
Class javax.print.attribute.HashAttributeSet implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
Serialized Fields |
Class myInterface
Attribute
or a subinterface thereof.
Class javax.print.attribute.HashDocAttributeSet implements Serializable |
Class javax.print.attribute.HashPrintJobAttributeSet implements Serializable |
Class javax.print.attribute.HashPrintRequestAttributeSet implements Serializable |
Class javax.print.attribute.HashPrintServiceAttributeSet implements Serializable |
Class javax.print.attribute.IntegerSyntax implements Serializable |
Serialized Fields |
int value
Class javax.print.attribute.ResolutionSyntax implements Serializable |
Serialized Fields |
int crossFeedResolution
int feedResolution
Class javax.print.attribute.SetOfIntegerSyntax implements Serializable |
Serialized Fields |
int[][] members
Class javax.print.attribute.Size2DSyntax implements Serializable |
Serialized Fields |
int x
int y
Class javax.print.attribute.TextSyntax implements Serializable |
Serialized Fields |
String value
Locale locale
Class javax.print.attribute.UnmodifiableSetException implements Serializable |
Class javax.print.attribute.URISyntax implements Serializable |
Serialized Fields |
URI uri
Package javax.print.attribute.standard |
Class javax.print.attribute.standard.Chromaticity implements Serializable |
Class javax.print.attribute.standard.ColorSupported implements Serializable |
Class javax.print.attribute.standard.Compression implements Serializable |
Class javax.print.attribute.standard.Copies implements Serializable |
Class javax.print.attribute.standard.CopiesSupported implements Serializable |
Class javax.print.attribute.standard.DateTimeAtCompleted implements Serializable |
Class javax.print.attribute.standard.DateTimeAtCreation implements Serializable |
Class javax.print.attribute.standard.DateTimeAtProcessing implements Serializable |
Class javax.print.attribute.standard.Destination implements Serializable |
Class javax.print.attribute.standard.DocumentName implements Serializable |
Class javax.print.attribute.standard.Fidelity implements Serializable |
Class javax.print.attribute.standard.Finishings implements Serializable |
Class javax.print.attribute.standard.JobHoldUntil implements Serializable |
Class javax.print.attribute.standard.JobImpressions implements Serializable |
Class javax.print.attribute.standard.JobImpressionsCompleted implements Serializable |
Class javax.print.attribute.standard.JobImpressionsSupported implements Serializable |
Class javax.print.attribute.standard.JobKOctets implements Serializable |
Class javax.print.attribute.standard.JobKOctetsProcessed implements Serializable |
Class javax.print.attribute.standard.JobKOctetsSupported implements Serializable |
Class javax.print.attribute.standard.JobMediaSheets implements Serializable |
Class javax.print.attribute.standard.JobMediaSheetsCompleted implements Serializable |
Class javax.print.attribute.standard.JobMediaSheetsSupported implements Serializable |
Class javax.print.attribute.standard.JobMessageFromOperator implements Serializable |
Class javax.print.attribute.standard.JobName implements Serializable |
Class javax.print.attribute.standard.JobOriginatingUserName implements Serializable |
Class javax.print.attribute.standard.JobPriority implements Serializable |
Class javax.print.attribute.standard.JobPrioritySupported implements Serializable |
Class javax.print.attribute.standard.JobSheets implements Serializable |
Class javax.print.attribute.standard.JobState implements Serializable |
Class javax.print.attribute.standard.JobStateReason implements Serializable |
Class javax.print.attribute.standard.JobStateReasons implements Serializable |
Class javax.print.attribute.standard.Media implements Serializable |
Class javax.print.attribute.standard.MediaName implements Serializable |
Class javax.print.attribute.standard.MediaPrintableArea implements Serializable |
Serialized Fields |
int x
int y
int w
int h
int units
Class javax.print.attribute.standard.MediaSize implements Serializable |
Serialized Fields |
MediaSizeName mediaName
Class javax.print.attribute.standard.MediaSizeName implements Serializable |
Class javax.print.attribute.standard.MediaTray implements Serializable |
Class javax.print.attribute.standard.MultipleDocumentHandling implements Serializable |
Class javax.print.attribute.standard.NumberOfDocuments implements Serializable |
Class javax.print.attribute.standard.NumberOfInterveningJobs implements Serializable |
Class javax.print.attribute.standard.NumberUp implements Serializable |
Class javax.print.attribute.standard.NumberUpSupported implements Serializable |
Class javax.print.attribute.standard.OrientationRequested implements Serializable |
Class javax.print.attribute.standard.OutputDeviceAssigned implements Serializable |
Class javax.print.attribute.standard.PageRanges implements Serializable |
Class javax.print.attribute.standard.PagesPerMinute implements Serializable |
Class javax.print.attribute.standard.PagesPerMinuteColor implements Serializable |
Class javax.print.attribute.standard.PDLOverrideSupported implements Serializable |
Class javax.print.attribute.standard.PresentationDirection implements Serializable |
Class javax.print.attribute.standard.PrinterInfo implements Serializable |
Class javax.print.attribute.standard.PrinterIsAcceptingJobs implements Serializable |
Class javax.print.attribute.standard.PrinterLocation implements Serializable |
Class javax.print.attribute.standard.PrinterMakeAndModel implements Serializable |
Class javax.print.attribute.standard.PrinterMessageFromOperator implements Serializable |
Class javax.print.attribute.standard.PrinterMoreInfo implements Serializable |
Class javax.print.attribute.standard.PrinterMoreInfoManufacturer implements Serializable |
Class javax.print.attribute.standard.PrinterName implements Serializable |
Class javax.print.attribute.standard.PrinterResolution implements Serializable |
Class javax.print.attribute.standard.PrinterState implements Serializable |
Class javax.print.attribute.standard.PrinterStateReason implements Serializable |
Class javax.print.attribute.standard.PrinterStateReasons implements Serializable |
Class javax.print.attribute.standard.PrinterURI implements Serializable |
Class javax.print.attribute.standard.PrintQuality implements Serializable |
Class javax.print.attribute.standard.QueuedJobCount implements Serializable |
Class javax.print.attribute.standard.ReferenceUriSchemesSupported implements Serializable |
Class javax.print.attribute.standard.RequestingUserName implements Serializable |
Class javax.print.attribute.standard.Severity implements Serializable |
Class javax.print.attribute.standard.SheetCollate implements Serializable |
Class javax.print.attribute.standard.Sides implements Serializable |
Package javax.print.event |
Class javax.print.event.PrintEvent implements Serializable |
Class javax.print.event.PrintJobAttributeEvent implements Serializable |
Serialized Fields |
PrintJobAttributeSet attributes
Class javax.print.event.PrintJobEvent implements Serializable |
Serialized Fields |
int reason
Class javax.print.event.PrintServiceAttributeEvent implements Serializable |
Serialized Fields |
PrintServiceAttributeSet attributes
Package javax.rmi.CORBA |
Class javax.rmi.CORBA.ClassDesc implements Serializable |
Serialized Fields |
String repid
String codebase
Class javax.rmi.CORBA.Stub implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
IOException
Package javax.security.auth |
Class javax.security.auth.AuthPermission implements Serializable |
Class javax.security.auth.DestroyFailedException implements Serializable |
Class javax.security.auth.PrivateCredentialPermission implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Serialized Fields |
String credentialClass
Set principals
PrivateCredentialPermission.CredOwner
.boolean testing
Class javax.security.auth.PrivateCredentialPermission.CredOwner implements Serializable |
Serialized Fields |
String principalClass
String principalName
Class javax.security.auth.RefreshFailedException implements Serializable |
Class javax.security.auth.Subject implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
Serialized Fields |
Set principals
Set
that provides a view of all of this
Subject's Principals
java.security.Principal
.
The set is a Subject.SecureSet
.boolean readOnly
Class javax.security.auth.Subject.SecureSet implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
IOException
Serialized Fields |
LinkedList elements
Subject this$0
Package javax.security.auth.callback |
Class javax.security.auth.callback.ChoiceCallback implements Serializable |
Serialized Fields |
String prompt
String[] choices
int defaultChoice
boolean multipleSelectionsAllowed
int[] selections
choices
list.Class javax.security.auth.callback.ConfirmationCallback implements Serializable |
Serialized Fields |
String prompt
int messageType
int optionType
int defaultOption
String[] options
int selection
Class javax.security.auth.callback.LanguageCallback implements Serializable |
Serialized Fields |
Locale locale
Class javax.security.auth.callback.NameCallback implements Serializable |
Serialized Fields |
String prompt
String defaultName
String inputName
Class javax.security.auth.callback.PasswordCallback implements Serializable |
Serialized Fields |
String prompt
boolean echoOn
char[] inputPassword
Class javax.security.auth.callback.TextInputCallback implements Serializable |
Serialized Fields |
String prompt
String defaultText
String inputText
Class javax.security.auth.callback.TextOutputCallback implements Serializable |
Serialized Fields |
int messageType
String message
Class javax.security.auth.callback.UnsupportedCallbackException implements Serializable |
Serialized Fields |
Callback callback
Package javax.security.auth.kerberos |
Class javax.security.auth.kerberos.DelegationPermission implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
Class javax.security.auth.kerberos.KerberosKey implements Serializable |
Serialized Fields |
KerberosPrincipal principal
int versionNum
KeyImpl key
KeyImpl
is serialized by writing out the ASN1 Encoded bytes
of the encryption key. The ASN1 encoding is defined in
RFC1510 and as follows:
EncryptionKey ::= SEQUENCE { keytype[0] INTEGER, keyvalue[1] OCTET STRING }
Class javax.security.auth.kerberos.KerberosPrincipal implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream oos) throws IOException
KerberosPrincipal
is serialized
by writing out the PrincipalName and the
realm in their DER-encoded form as specified in Section 5.2 of
RFC1510.
IOException
Class javax.security.auth.kerberos.KerberosTicket implements Serializable |
Serialized Fields |
byte[] asn1Encoding
KeyImpl sessionKey
KeyImpl
is serialized by writing out the ASN1 Encoded bytes
of the encryption key. The ASN1 encoding is defined in RFC1510 and as
follows:
EncryptionKey ::= SEQUENCE { keytype[0] INTEGER, keyvalue[1] OCTET STRING }
boolean[] flags
Date authTime
Date startTime
Date endTime
Date renewTill
KerberosPrincipal client
KerberosPrincipal server
InetAddress[] clientAddresses
Class javax.security.auth.kerberos.ServicePermission implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
Serialized Fields |
String actions
Package javax.security.auth.login |
Class javax.security.auth.login.AccountExpiredException implements Serializable |
Class javax.security.auth.login.CredentialExpiredException implements Serializable |
Class javax.security.auth.login.FailedLoginException implements Serializable |
Class javax.security.auth.login.LoginException implements Serializable |
Package javax.security.auth.x500 |
Class javax.security.auth.x500.X500Principal implements Serializable |
Serialization Methods |
private void readObject(ObjectInputStream s) throws IOException, NotActiveException, ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
X500Principal
is serialized
by writing out its DER-encoded form
(the value of getEncoded
is serialized).
IOException
Package javax.security.cert |
Class javax.security.cert.CertificateEncodingException implements Serializable |
Class javax.security.cert.CertificateException implements Serializable |
Class javax.security.cert.CertificateExpiredException implements Serializable |
Class javax.security.cert.CertificateNotYetValidException implements Serializable |
Class javax.security.cert.CertificateParsingException implements Serializable |
Package javax.sound.sampled |
Class javax.sound.sampled.AudioPermission implements Serializable |
Class javax.sound.sampled.LineUnavailableException implements Serializable |
Class javax.sound.sampled.UnsupportedAudioFileException implements Serializable |
Package javax.sound.midi |
Class javax.sound.midi.InvalidMidiDataException implements Serializable |
Class javax.sound.midi.MidiUnavailableException implements Serializable |
Package javax.sql |
Class javax.sql.ConnectionEvent implements Serializable |
Serialized Fields |
SQLException ex
SQLException
that the driver will throw to the
application when an error occurs and the pooled connection is no
longer usable.
Class javax.sql.RowSetEvent implements Serializable |
Package javax.transaction |
Class javax.transaction.InvalidTransactionException implements Serializable |
Class javax.transaction.TransactionRequiredException implements Serializable |
Class javax.transaction.TransactionRolledbackException implements Serializable |
Package javax.transaction.xa |
Class javax.transaction.xa.XAException implements Serializable |
Serialized Fields |
int errorCode
Package javax.xml.parsers |
Class javax.xml.parsers.FactoryConfigurationError implements Serializable |
Serialized Fields |
Exception exception
Class javax.xml.parsers.ParserConfigurationException implements Serializable |
Package javax.xml.transform |
Class javax.xml.transform.TransformerConfigurationException implements Serializable |
Class javax.xml.transform.TransformerException implements Serializable |
Serialized Fields |
SourceLocator locator
Throwable containedException
Class javax.xml.transform.TransformerFactoryConfigurationError implements Serializable |
Serialized Fields |
Exception exception
Package org.ietf.jgss |
Class org.ietf.jgss.GSSException implements Serializable |
Serialized Fields |
int major
int minor
String minorMessage
String majorString
Package org.w3c.dom |
Class org.w3c.dom.DOMException implements Serializable |
Serialized Fields |
short code
Package org.xml.sax |
Class org.xml.sax.SAXException implements Serializable |
Serialized Fields |
Exception exception
Class org.xml.sax.SAXNotRecognizedException implements Serializable |
Class org.xml.sax.SAXNotSupportedException implements Serializable |
Class org.xml.sax.SAXParseException implements Serializable |
Serialized Fields |
String publicId
SAXParseException.getPublicId()
String systemId
SAXParseException.getSystemId()
int lineNumber
SAXParseException.getLineNumber()
int columnNumber
SAXParseException.getColumnNumber()
|
JavaTM 2 Platform Std. Ed. v1.4.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.