当前页面:
在线文档首页 >
JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
Serialized Form - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
Serialized Form
Class java.applet.Applet implements Serializable |
Class java.awt.AWTError implements Serializable |
Class java.awt.AWTEvent implements Serializable |
consumed
boolean consumed
id
int id
Class java.awt.AWTException implements Serializable |
Class java.awt.AWTPermission implements Serializable |
Class java.awt.BorderLayout implements Serializable |
center
Component center
- Constant to specify components location to be the
center portion of the border layout.
-
- See Also:
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAllignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
east
Component east
- Constant to specify components location to be the
east portion of the border layout.
-
- See Also:
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAllignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
firstItem
Component firstItem
- A relative positioning constant, that can be used instead of
north, south, east, west or center.
Please read Description for firstLine.
-
firstLine
Component firstLine
- A relative positioning constant, that can be used instead of
north, south, east, west or center.
mixing the two types of constants can lead to unpredicable results. If
you use both types, the relative constants will take precedence.
For example, if you add components using both the
NORTH
and BEFORE_FIRST_LINE
constants in a container whose
orientation is LEFT_TO_RIGHT
, only the
BEFORE_FIRST_LINE
will be layed out.
This will be the same for lastLine, firstItem, lastItem. -
hgap
int hgap
- Constructs a border layout with the horizontal gaps
between components.
The horizontal gap is specified by
hgap
. -
- See Also:
BorderLayout.getHgap()
,
setHgap()
lastItem
Component lastItem
- A relative positioning constant, that can be used instead of
north, south, east, west or center.
Please read Description for firstLine.
-
lastLine
Component lastLine
- A relative positioning constant, that can be used instead of
north, south, east, west or center.
Please read Description for firstLine.
-
north
Component north
- Constant to specify components location to be the
north portion of the border layout.
-
- See Also:
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAllignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
south
Component south
- Constant to specify components location to be the
south portion of the border layout.
-
- See Also:
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAllignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
vgap
int vgap
- Constructs a border layout with the vertical gaps
between components.
The vertical gap is specified by
vgap
. -
- See Also:
BorderLayout.getVgap()
,
setVgap()
west
Component west
- Constant to specify components location to be the
west portion of the border layout.
-
- See Also:
#getChild
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
#getLayoutAllignment
,
BorderLayout.removeLayoutComponent(java.awt.Component)
Class java.awt.Button implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
actionCommand
String actionCommand
buttonSerializedDataVersion
int buttonSerializedDataVersion
label
String label
Class java.awt.Canvas implements Serializable |
graphicsConfig
GraphicsConfiguration graphicsConfig
Class java.awt.CardLayout implements Serializable |
hgap
int hgap
tab
Hashtable tab
vgap
int vgap
Class java.awt.Checkbox implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
checkboxSerializedDataVersion
int checkboxSerializedDataVersion
group
CheckboxGroup group
- The check box group.
This field can be null indicating that the checkbox
is not a group checkbox.
-
- See Also:
getCheckBoxGroup()
,
setCheckBoxGroup()
label
String label
- The label of the Checkbox.
This field can be null. If a label is not specified it
defaults to null or "".
-
- See Also:
Checkbox.getLabel()
,
setLabel()
state
boolean state
- The state of the Checkbox.
-
- See Also:
Checkbox.getState()
,
setLabel()
Class java.awt.CheckboxGroup implements Serializable |
selectedCheckbox
Checkbox selectedCheckbox
- The current choice.
-
- See Also:
CheckboxGroup.getCurrent()
,
setCurrent()
Class java.awt.CheckboxMenuItem implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
checkboxMenuItemSerializedDataVersion
int checkboxMenuItemSerializedDataVersion
state
boolean state
Class java.awt.Choice implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
choiceSerializedDataVersion
int choiceSerializedDataVersion
pItems
Vector pItems
- The items for the Choice.
This can be a null value.
-
- See Also:
add()
,
addItem()
,
getItem()
,
Choice.getItemCount()
,
insert()
,
remove()
selectedIndex
int selectedIndex
- The index of the current choice for this Choice.
-
- See Also:
getSelectedItem
,
select()
Class java.awt.Color implements Serializable |
cs
ColorSpace cs
- The ColorSpace. If null, then it's default sRGB.
-
- See Also:
getColor()
,
Color.getColorSpace()
,
getColorComponents()
falpha
float falpha
- The alpha value as a float component.
If frgbvalue is null, this is not valid data,
so compute from the int color value.
-
- See Also:
getRGBComponents()
,
getComponents()
frgbvalue
float[] frgbvalue
- The color value in the default sRGB ColorSpace as float
components (no alpha).
If null after object construction, this must be an sRGB color
constructed with 8-bit precision, so compute from the int color value.
-
- See Also:
getRGBColorComponents()
,
getRGBComponents()
fvalue
float[] fvalue
- The color value in the native ColorSpace as float components (no alpha).
If null after object construction, this must be an sRGB color
constructed with 8-bit precision, so compute from the int color value.
-
- See Also:
getRGBColorComponents()
,
getRGBComponents()
theContext
PaintContext theContext
value
int value
- The color value.
-
- See Also:
Color.getRGB()
Class java.awt.Component implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isnt null
add a listener to receive item events fired
by the components.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListener(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
background
Color background
- The background color for this component.
background can be null.
-
- See Also:
Component.getBackground()
,
Component.setBackground(java.awt.Color)
changeSupport
PropertyChangeSupport changeSupport
- If any PropertyChangeListeners have been registered, the
changeSupport field describes them.
-
- See Also:
addPropertyChangeListener()
,
removePropertyChangeListener()
,
firePropertyChange()
- Since:
- JDK 1.2
componentSerializedDataVersion
int componentSerializedDataVersion
- Component Serialized Data Version.
-
cursor
Cursor cursor
- The cursor displayed when pointer is over this component.
cursor must always be a non-null cursor image.
-
- See Also:
Component.getCursor()
,
Component.setCursor(java.awt.Cursor)
dropTarget
DropTarget dropTarget
- The DropTarget associated with this Component.
-
- See Also:
Component.setDropTarget(java.awt.dnd.DropTarget)
,
Component.getDropTarget()
- Since:
- JDK 1.2
enabled
boolean enabled
- True when the object is enabled. An object that is not
enabled does not interact with the user.
-
- See Also:
Component.isEnabled()
,
Component.setEnabled(boolean)
eventMask
long eventMask
- The eventMask is ONLY set by subclasses via enableEvents.
The mask should NOT be set when listeners are registered
so that we can distinguish the difference between when
listeners request events and subclasses request them.
One bit is used to indicate whether input methods are
enabled; this bit is set by enableInputMethods and is
on by default.
-
- See Also:
enableInputMethods()
font
Font font
- The font used by this component.
The font can be null.
-
- See Also:
Component.getFont()
,
Component.setFont(java.awt.Font)
foreground
Color foreground
- The foreground color for this component.
foreground color can be null.
-
- See Also:
Component.getForeground()
,
Component.setForeground(java.awt.Color)
hasFocus
boolean hasFocus
- True if this component has enabled focus events and currently
has the focus.
-
- See Also:
Component.hasFocus()
,
Component.processFocusEvent(java.awt.event.FocusEvent)
height
int height
- The height of the component.
-
- See Also:
Component.getSize()
isPacked
boolean isPacked
locale
Locale locale
- The locale for the component.
-
- See Also:
Component.getLocale()
,
Component.setLocale(java.util.Locale)
minSize
Dimension minSize
- Internal, cached size information.
(This field perhaps should have been transient).
-
name
String name
- A components name.
This field can be null.
-
- See Also:
Component.getName()
,
setName()
nameExplicitlySet
boolean nameExplicitlySet
- A bool to determine whether the name has
been set explicitly. nameExplicitlySet will
be false if the name has not been set and
true if it has.
-
- See Also:
Component.getName()
,
setName()
newEventsOnly
boolean newEventsOnly
- newEventsOnly will be true if the event is
one of the event types enabled for the component.
It will then allow for normal processing to
continue. If it is false the event is passed
to the components parent and up the ancestor
tree until the event has been consumed.
-
- See Also:
dispatchEvent()
peerFont
Font peerFont
- The font which the peer is currently using. (null if no peer exists.)
popups
Vector popups
-
- See Also:
add()
prefSize
Dimension prefSize
- Internal, cached size information
(This field perhaps should have been transient).
-
valid
boolean valid
- True when the object is valid. An invalid object needs to
be layed out. This flag is set to false when the object
size is changed.
-
- See Also:
Component.isValid()
,
Component.validate()
,
Component.invalidate()
visible
boolean visible
- True when the object is visible. An object that is not
visible is not drawn on the screen.
-
- See Also:
Component.isVisible()
,
Component.setVisible(boolean)
width
int width
- The width of the component.
-
- See Also:
Component.getSize()
x
int x
- The x position of the component in the parent's coordinate system.
-
- See Also:
Component.getLocation()
y
int y
- The y position of the component in the parent's coordinate system.
-
- See Also:
Component.getLocation()
Class java.awt.ComponentOrientation implements Serializable |
orientation
int orientation
Class java.awt.Container implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
component
Component[] component
- The components in this container.
-
- See Also:
add()
,
Container.getComponents()
containerSerializedDataVersion
int containerSerializedDataVersion
dispatcher
java.awt.LightweightDispatcher dispatcher
- Event router for lightweight components. If this container
is native, this dispatcher takes care of forwarding and
retargeting the events to lightweight components contained
(if any).
-
layoutMgr
LayoutManager layoutMgr
- Layout manager for this container.
-
- See Also:
Container.doLayout()
,
setLayout()
,
Container.getLayout()
maxSize
Dimension maxSize
ncomponents
int ncomponents
- The number of components in this container.
This value can be null.
-
- See Also:
getComponent()
,
Container.getComponents()
,
Container.getComponentCount()
Class java.awt.Cursor implements Serializable |
name
String name
- The user-visible name of the cursor.
-
- See Also:
Cursor.getName()
type
int type
- The chosen cursor type initially set to
the
DEFAULT_CURSOR
. -
- See Also:
Cursor.getType()
Class java.awt.Dialog implements Serializable |
modal
boolean modal
- Will be true if the Dialog is modal,
otherwise the dialog will be modeless.
A modal Dialog grabs all the input to
the owner frame from the user.
-
- See Also:
Dialog.isModal()
,
setModal()
resizable
boolean resizable
- A dialog's resizable property. Will be true
if the Dialog is to be resizable, otherwise
it will be false.
-
- See Also:
setResizable()
title
String title
- Specifies the title of the Dialog.
This field can be null.
-
- See Also:
Dialog.getTitle()
,
setTitle()
Class java.awt.Dimension implements Serializable |
height
int height
- The height dimension. Negative values can be used.
-
- See Also:
Dimension.getSize()
,
setSize()
width
int width
- The width dimension. Negative values can be used.
-
- See Also:
Dimension.getSize()
,
setSize()
Class java.awt.Event implements Serializable |
arg
Object arg
- An arbitrary argument of the event. The value of this field
depends on the type of event.
arg
has been replaced b event specific property. -
clickCount
int clickCount
- For
MOUSE_DOWN
events, this field indicates the
number of consecutive clicks. For other events, its value is
0
.
This field has been replaced by MouseEvent.getClickCount(). -
- See Also:
java.awt.MouseEvent.getClickCount().
consumed
boolean consumed
- This field controls whether or not the event is sent back
down to the peer once the target has processed it -
false means it's sent to the peer, true means it's not.
-
- See Also:
isConsumed()
evt
Event evt
- The next event. This field is set when putting events into a
linked list.
This has been replaced by EventQueue.
-
- See Also:
EventQueue
id
int id
- Indicates which type of event the event is, and which
other
Event
variables are relevant for the event.
This has been replaced by AWTEvent.getID() -
- See Also:
java.awt.AWTEvent.getID()
key
int key
- The key code of the key that was pressed in a keyboard event.
This has been replaced by KeyEvent.getKeyCode()
-
- See Also:
java.awt.KeyEvent#getKeyCode()
modifiers
int modifiers
- The state of the modifier keys.
This is replaced with InputEvent.getModifiers()
In java 1.1 MouseEvent and KeyEvent are subclasses
of InputEvent.
-
- See Also:
java.awt.InputEvent#getModifiers()
target
Object target
- The target component. This indicates the component over which the
event occurred or with which the event is associated.
This object has been replaced by AWTEvent.getSource()
-
- See Also:
EventObject.getSource()
when
long when
- The time stamp.
Replaced by InputEvent.getWhen().
-
- See Also:
java.awt.InputEvent#getWhen()
x
int x
- The x coordinate of the event.
Replaced by MouseEvent.getX()
-
- See Also:
java.awt.MouseEvent#getX()
y
int y
- The y coordinate of the event.
Replaced by MouseEvent.getY()
-
- See Also:
java.awt.MouseEvent#getY()
Class java.awt.FileDialog implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
dir
String dir
file
String file
filter
FilenameFilter filter
mode
int mode
Class java.awt.FlowLayout implements Serializable |
readObject
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
- Read this object out of a serialization stream, handling
objects written by older versions of the class that didn't contain all
of the fields we use now..
align
int align
align
is the proprty that determines
how each row distributes empty space.
It can be one of the following three values :
LEFT
RIGHT
CENTER
-
- See Also:
FlowLayout.getAlignment()
,
setAlignment()
hgap
int hgap
- The flow layout manager allows a seperation of
components with gaps. The horizontal gap will
specify the space between components.
-
- See Also:
FlowLayout.getHgap()
,
setHgap()
newAlign
int newAlign
newAlign
is the property that determines
how each row distributes empty space for JDK's >= JDK1.2.
It can be one of the following three values :
LEFT
RIGHT
CENTER
-
- See Also:
FlowLayout.getAlignment()
,
setAlignment()
- Since:
- JDK 1.2
serialVersionOnStream
int serialVersionOnStream
- This represent the
currentSerialVersion
which is bein used. It will be one of two values :
0
versions before JDK 1.2.
1
versions after JDK 1.2. -
- Since:
- JDK 1.2
vgap
int vgap
- The flow layout manager allows a seperation of
components with gaps. The vertical gap will
specify the space between rows.
-
- See Also:
FlowLayout.getVgap()
,
setVgap()
Class java.awt.Font implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isnt null
add a listener to receive item events fired
by the Font.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws ClassNotFoundException,
IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
fontSerializedDataVersion
int fontSerializedDataVersion
- The font Serializable Data Form.
-
fRequestedAttributes
Hashtable fRequestedAttributes
- A map of font attributes available in this font.
Attributes include things like ligatures and glyph substitution.
-
- See Also:
Font.getAttributes()
name
String name
- The logical name of this
Font
, as passed to the
constructor. -
- See Also:
Font.getName()
- Since:
- JDK1.0
pointSize
float pointSize
- The point size of this
Font
in float
. -
- See Also:
Font.getSize()
,
Font.getSize2D()
size
int size
- The point size of this
Font
, rounded to integer. -
- See Also:
Font.getSize()
- Since:
- JDK1.0
style
int style
- The style of this
Font
, as passed to the constructor.
This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC. -
- See Also:
Font.getStyle()
- Since:
- JDK1.0
Class java.awt.FontMetrics implements Serializable |
font
Font font
- The actual
Font
from which the font metrics are
created.
This cannot be null. -
- See Also:
FontMetrics.getFont()
Class java.awt.Frame implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isnt null
add a listener to receive item events fired
by the Frame.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
java.awt.Component.itemListenerK
frameSerializedDataVersion
int frameSerializedDataVersion
- Frame Serialized Data Version.
-
icon
Image icon
icon
is the graphical way we can
represent the frame.
icon
can be null, but obviously if
you try to set the icon image icon
cannot be null.-
- See Also:
Frame.getIconImage()
,
setIconImage()
mbManagement
boolean mbManagement
mbManagement
is only used by the Motif implementation.-
menuBar
MenuBar menuBar
- The frames menubar. If
menuBar
= null
the frame will not have a menubar. -
- See Also:
Frame.getMenuBar()
,
setMenuBar()
ownedWindows
Vector ownedWindows
resizable
boolean resizable
- This field indicates whether the the frame is resizable
This property can be changed at any time.
resizable
will be true if the frame is
resizable, otherwise it will be false. -
- See Also:
Frame.isResizable()
state
int state
title
String title
- This is the title of the frame. It can be changed
at any time.
title
can be null and if
this is the case the title
= "". -
- See Also:
Frame.getTitle()
,
setTitle()
Class java.awt.GraphicsConfigTemplate implements Serializable |
Class java.awt.GridBagConstraints implements Serializable |
anchor
int anchor
- This field is used when the component is smaller than its display
area. It determines where, within the display area, to place the
component. Possible values are
CENTER
,
NORTH
, NORTHEAST
, EAST
,
SOUTHEAST
, SOUTH
, SOUTHWEST
,
WEST
, and NORTHWEST
.
The default value is CENTER
. -
- See Also:
GridBagConstraints.clone()
fill
int fill
- This field is used when the component's display area is larger
than the component's requested size. It determines whether to
resize the component, and if so, how.
The following values are valid for fill
:
-
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
.
-
- See Also:
GridBagConstraints.clone()
gridheight
int gridheight
- Specifies the number of cells in a column for the component's
display area.
Use REMAINDER
to specify that the component be the
last one in its column. Use RELATIVE
to specify that
the component be the next-to-last one in its column.
gridheight should be a non-negative value and the default value is 1.
-
- See Also:
GridBagConstraints.clone()
,
GridBagConstraints.gridwidth
gridwidth
int gridwidth
- Specifies the number of cells in a row for the component's
display area.
Use REMAINDER
to specify that the component be the
last one in its row. Use RELATIVE
to specify that the
component be the next-to-last one in its row.
gridwidth should be non-negative and the default value is 1.
-
- See Also:
GridBagConstraints.clone()
,
GridBagConstraints.gridheight
gridx
int gridx
- Specifies the cell at the left of the component's display area,
where the leftmost cell has
gridx=0
. The value
RELATIVE
specifies that the component be placed just
to the right of the component that was added to the container just
before this component was added.
The default value is RELATIVE
.
gridx should be a non-negative value.
-
- See Also:
GridBagConstraints.clone()
,
GridBagConstraints.gridy
gridy
int gridy
- Specifies the cell at the top of the component's display area,
where the topmost cell has
gridy=0
. The value
RELATIVE
specifies that the component be placed just
below the component that was added to the container just before
this component was added.
The default value is RELATIVE
.
gridy should be a non-negative value.
-
- See Also:
GridBagConstraints.clone()
,
GridBagConstraints.gridx
insets
Insets insets
- This field specifies the external padding of the component, the
minimum amount of space between the component and the edges of its
display area.
The default value is new Insets(0, 0, 0, 0)
.
-
- See Also:
GridBagConstraints.clone()
ipadx
int ipadx
- This field specifies the internal padding of the component, how much
space to add to the minimum width of the component. The width of
the component is at least its minimum width plus
(ipadx * 2)
pixels.
The default value is 0
.
-
- See Also:
GridBagConstraints.clone()
,
GridBagConstraints.ipady
ipady
int ipady
- This field specifies the internal padding, that is, how much
space to add to the minimum height of the component. The height of
the component is at least its minimum height plus
(ipady * 2)
pixels.
The default value is 0.
-
- See Also:
GridBagConstraints.clone()
,
GridBagConstraints.ipadx
minHeight
int minHeight
- The minimum height of the component. It is used to calculate
ipadx
, where the default will be 0. -
- See Also:
ipadx
minWidth
int minWidth
- The minimum width of the component. It is used to calculate
ipady
, where the default will be 0. -
- See Also:
ipady
tempHeight
int tempHeight
- Temporary place holder for the Height of the component.
-
tempWidth
int tempWidth
- Temporary place holder for the Width of the component.
-
tempX
int tempX
- Temporary place holder for the x coordinate.
-
tempY
int tempY
- Temporary place holder for the y coordinate.
-
weightx
double weightx
- Specifies how to distribute extra horizontal space.
The grid bag layout manager calculates the weight of a column to
be the maximum weighty
of all the components in a
row. 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 zero receives no
extra space.
If all the weights are zero, all the extra space appears between
the grids of the cell and the left and right edges.
The default value of this field is 0
.
weightx should be a non-negative value.
-
- See Also:
GridBagConstraints.clone()
,
GridBagConstraints.weighty
weighty
double weighty
- Specifies how to distribute extra vertical space.
The grid bag layout manager calculates the weight of a row to be
the maximum weightx
of all the components in a row.
If the resulting layout is smaller vertically than the area it
needs to fill, the extra space is distributed to each row in
proportion to its weight. A row that has a weight of zero receives no
extra space.
If all the weights are zero, all the extra space appears between
the grids of the cell and the top and bottom edges.
The default value of this field is 0
.
weighty should be a non-negative value.
-
- See Also:
GridBagConstraints.clone()
,
GridBagConstraints.weightx
Class java.awt.GridBagLayout implements Serializable |
columnWeights
double[] columnWeights
- This field holds the overrides to the column weights.
If this field is non-null the values are
applied to the gridbag after all of the columns
weights have been calculated.
If columnWeights[i] > then 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.
-
- See Also:
columnWidths
int[] columnWidths
- This field holds the overrides to the column minimum
width. If this field is non-null the values are
applied to the gridbag after all of the minimum columns
widths have been calculated.
If columnWidths has more elements than the number of
columns, columns are added to the gridbag to match
the number of elements in columnWidth.
-
- See Also:
GridBagLayout.getLayoutDimensions()
comptable
Hashtable comptable
- This hashtable maintains the association between
a component and its gridbag constraints.
The Keys in comptable are the components and the
values are the instances of GridBagConstraints.
-
- See Also:
GridBagConstraints
defaultConstraints
GridBagConstraints defaultConstraints
- This field holds a gridbag constraints instance
containing the default values, so if a component
does not have gridbag constraints associated with
it, then the component will be assigned a
copy of the
defaultConstraints
. -
- See Also:
getConstraints()
,
setConstraints()
,
lookupConstraints()
layoutInfo
java.awt.GridBagLayoutInfo layoutInfo
- This field holds tha layout information
for the gridbag. The information in this field
is based on the most recent validation of the
gridbag.
If
layoutInfo
is null
this indicates that there are no components in
the gridbag or if there are components, they have
not yet been validated. -
- See Also:
GetLayoutInfo()
rowHeights
int[] rowHeights
- This field holds the overrides to the row minimum
heights. If this field is non-null the values are
applied to the gridbag after all of the minimum row
heights have been calculated.
If rowHeights has more elements than the number of
rows, rowa are added to the gridbag to match
the number of elements in rowHeights.
-
- See Also:
GridBagLayout.getLayoutDimensions()
rowWeights
double[] rowWeights
- This field holds the overrides to the row weights.
If this field is non-null the values are
applied to the gridbag after all of the rows
weights have been calculated.
If rowWeights[i] > then 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.
-
- See Also:
Class java.awt.GridLayout implements Serializable |
cols
int cols
- This is the number of columns specified for the grid. The number
of columns can be changed at any time.
This should be a non negative integer, where '0' means
'any number' meaning that the number of Columns in that
dimension depends on the other dimension.
-
- See Also:
GridLayout.getColumns()
,
setColumns()
hgap
int hgap
- This is the horizontal gap (in pixels) which specifies the space
between columns. They can be changed at any time.
This should be a non negative integer.
-
- See Also:
GridLayout.getHgap()
,
setHgap()
rows
int rows
- This is the number of rows specified for the grid. The number
of rows can be changed at any time.
This should be a non negative integer, where '0' means
'any number' meaning that the number of Rows in that
dimension depends on the other dimension.
-
- See Also:
GridLayout.getRows()
,
setRows()
vgap
int vgap
- This is the vertical gap (in pixels) which specifies the space
between rows. They can be changed at any time.
This should be a non negative integer.
-
- See Also:
GridLayout.getVgap()
,
setVgap()
Class java.awt.IllegalComponentStateException implements Serializable |
Class java.awt.Insets implements Serializable |
bottom
int bottom
- The inset from the bottom.
This value is added to the Bottom of the rectangle
to yield a new location for the Bottom.
-
- See Also:
Insets.clone()
left
int left
- The inset from the left.
This value is added to the left of the rectangle
to yield a new location for the left edge.
-
- See Also:
Insets.clone()
right
int right
- The inset from the right.
This value is added to the Right of the rectangle
to yield a new location for the Right edge.
-
- See Also:
Insets.clone()
top
int top
- The inset from the top.
This value is added to the Top of the rectangle
to yield a new location for the Top.
-
- See Also:
Insets.clone()
Class java.awt.Label implements Serializable |
alignment
int alignment
- The label's alignment. The default alignment is set
to be left justified.
-
- See Also:
Label.getAlignment()
,
setAlignment()
text
String text
- The text of this label.
This text can be modified by the program
but never by the user.
-
- See Also:
Label.getText()
,
setText()
Class java.awt.List implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isnt null
add a listener to receive item events fired
by the List.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
items
Vector items
- A vector created to contain items which will become
part of the List Component.
-
- See Also:
addItem()
,
getItem()
listSerializedDataVersion
int listSerializedDataVersion
- The List Components Serialized Data Version.
-
multipleMode
boolean multipleMode
multipleMode
is a variable that will
be set to true
if a list component is to be set to
multiple selection mode, that is where the user can
select more than one item in a list at one time.
multipleMode
will be set to false if the
list component is set to single selection, that is where
the user can only select one item on the list at any
one time.-
- See Also:
List.isMultipleMode()
,
setMultipleMode()
rows
int rows
- This field will represent the number of rows in the
List Component. It is specified only once, and
that is when the list component is actually
created. It will never change.
-
- See Also:
List.getRows()
selected
int[] selected
selected
is an array that will contain
the indices of items that have been selected.-
- See Also:
List.getSelectedIndexes()
,
List.getSelectedIndex()
visibleIndex
int visibleIndex
- This variable contains the value that will be used
when trying to make a particular list item visible.
-
- See Also:
makeVisible()
Class java.awt.MediaTracker implements Serializable |
head
java.awt.MediaEntry head
- The head of the list of Images that is being
tracked by the MediaTracker.
-
- See Also:
addImage()
,
removeImage()
target
Component target
- A given Component that will be
tracked by a media tracker where the image will
eventually be drawn.
-
- See Also:
MediaTracker()
Class java.awt.Menu implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isnt null
add a listener to receive item events fired
by the Menu.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws ClassNotFoundException,
IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
isHelpMenu
boolean isHelpMenu
- This field will be set to
true
if the Menu in question is actually a help
menu. Otherwise it will be set to
false
. -
items
Vector items
- A vector of the items that will be part of the Menu.
-
- See Also:
Menu.countItems()
menuSerializedDataVersion
int menuSerializedDataVersion
- The menu serialized Data Version.
-
tearOff
boolean tearOff
- This field indicates whether the menu has the
tear of property or not. It will be set to
true
if the menu has the tear off
property and it will be set to false>
if it does not.
A torn off menu can be deleted by a user when
it is no longer needed. -
- See Also:
Menu.isTearOff()
Class java.awt.MenuBar implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isnt null
add a listener to receive item events fired
by the MenuBar.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws ClassNotFoundException,
IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
helpMenu
Menu helpMenu
- This menu is a special menu dedicated to
help. The one thing to note about this menu
is that on some platforms it appears at the
right edge of the menubar.
-
- See Also:
MenuBar.getHelpMenu()
,
setHelpMenu()
menuBarSerializedDataVersion
int menuBarSerializedDataVersion
- The MenuBar's serialized data version.
-
menus
Vector menus
- This field represents a vector of the
actual menus that will be part of the MenuBar.
-
- See Also:
MenuBar.countMenus()
Class java.awt.MenuComponent implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
font
Font font
- The Menu Components Font.
This value can be null at which point a default will be used.
-
- See Also:
setFont()
,
MenuComponent.getFont()
name
String name
- The Menu Components name.
-
- See Also:
MenuComponent.getName()
,
setName()
nameExplicitlySet
boolean nameExplicitlySet
- A variable to indicate whether a name is explicitly set.
If it is true the name will be set explicitly.
-
- See Also:
setName()
newEventsOnly
boolean newEventsOnly
-
- See Also:
dispatchEvent()
Class java.awt.MenuItem implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isnt null
add a listener to receive item events fired
by the Menu Item.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
actionCommand
String actionCommand
- This field indicates the command tha has been issued
by a particular menu item.
By default the
actionCommand
is the label of the menu item, unless it has been
set using setActionCommand. -
- See Also:
setActionCommand()
,
MenuItem.getActionCommand()
enabled
boolean enabled
- A value to indicate whether a menu item is enabled
or not. If it is enabled,
enabled
will
be set to true. Else enabled
will
be set to false. -
- See Also:
MenuItem.isEnabled()
,
setEnabled()
eventMask
long eventMask
- The eventMask is ONLY set by subclasses via enableEvents.
The mask should NOT be set when listeners are registered
so that we can distinguish the difference between when
listeners request events and subclasses request them.
-
label
String label
label
is the label of a menu item.
It can be any string.-
- See Also:
MenuItem.getLabel()
,
setLabel()
menuItemSerializedDataVersion
int menuItemSerializedDataVersion
- Menu item serialized data version.
-
shortcut
MenuShortcut shortcut
- A sequence of key stokes that ia associated with
a menu item.
Note :in 1.1.2 you must use setActionCommand()
on a menu item in order for its shortcut to
work.
-
- See Also:
MenuItem.getShortcut()
,
setShortcut()
,
MenuItem.deleteShortcut()
Class java.awt.MenuShortcut implements Serializable |
key
int key
- This is indicates the virtual keycode for the menu shortcut.
It is the key code with which the menu short cut will be created.
In 1.1.2 you must use setActionCommand() on a menu item
in order for its shortcut to work, otherwise it will fire a null
action command.
Must use KeyEvent virtual keys - eg : VK_A.
-
- See Also:
MenuShortcut.getKey()
,
MenuShortcut.usesShiftModifier()
usesShift
boolean usesShift
- Indicates whether the shft key was pressed.
If true, the shift key was pressed.
If false, the shift key was not pressed
-
- See Also:
MenuShortcut.usesShiftModifier()
Class java.awt.Panel implements Serializable |
Class java.awt.Point implements Serializable |
x
int x
- The x coordinate.
If no x coordinate is set it will default to '0'.
-
- See Also:
Point.getLocation()
,
Move()
y
int y
- The y coordinate.
If no y coordinate is set it will default to '0'.
-
- See Also:
Point.getLocation()
,
Move()
Class java.awt.Polygon implements Serializable |
bounds
Rectangle bounds
- Bounds of the polygon.
This value can be NULL.
Please see the javadoc comments getBounds().
-
- See Also:
Polygon.getBoundingBox()
,
Polygon.getBounds()
npoints
int npoints
- The total number of points.
This value can be NULL.
-
- See Also:
Polygon.addPoint(int, int)
xpoints
int[] xpoints
- The array of x coordinates.
-
- See Also:
Polygon.addPoint(int, int)
ypoints
int[] ypoints
- The array of y coordinates.
-
- See Also:
Polygon.addPoint(int, int)
Class java.awt.PopupMenu implements Serializable |
Class java.awt.Rectangle implements Serializable |
height
int height
- The height of the
Rectangle
. -
- See Also:
Rectangle.setSize(int, int)
,
Rectangle.getSize()
width
int width
- The width of the
Rectangle
. -
- See Also:
Rectangle.setSize(int, int)
,
Rectangle.getSize()
- Since:
- JDK1.0.
x
int x
- The x coordinate of the
Rectangle
. -
- See Also:
Rectangle.setLocation(int, int)
,
Rectangle.getLocation()
y
int y
- The y coordinate of the
Rectangle
. -
- See Also:
Rectangle.setLocation(int, int)
,
Rectangle.getLocation()
Class java.awt.Scrollbar implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isnt null
add a listener to receive item events fired
by the Scrollbar.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListner(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating and ItemListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
lineIncrement
int lineIncrement
- The amount by which the scrollbar value will change when going
up or down by a line.
This value should be a non negative integer.
-
- See Also:
setLineIncrement()
,
Scrollbar.getLineIncrement()
maximum
int maximum
- The maximum value of the Scrollbar.
This value must be greater than the
minimum
value.
This integer can be either positive or negative, and
it's range can be altered at any time. -
- See Also:
Scrollbar.getMaximum()
,
setMaximum()
minimum
int minimum
- The minimum value of the Scrollbar.
This value must be greater than the
minimum
value.
This integer can be either positive or negative. -
- See Also:
Scrollbar.getMinimum()
,
setMinimum()
orientation
int orientation
- The Scrollbar's orientation--being either horizontal or vertical.
This value should be specified when the scrollbar is being
created.
orientation can be either : VERTICAL
or
HORIZONTAL
only. -
- See Also:
Scrollbar.getOrientation()
,
setOrientation()
pageIncrement
int pageIncrement
- The amount by which the scrollbar value will change when going
up or down by a page.
This value should be a non negative integer.
-
- See Also:
setPageIncrement()
,
Scrollbar.getPageIncrement()
scrollbarSerializedDataVersion
int scrollbarSerializedDataVersion
- The scrollbars serialized Data Version.
-
value
int value
- The value of the Scrollbar.
value should be either greater than
minimum
or less that maximum
-
- See Also:
Scrollbar.getValue()
,
setValue()
visibleAmount
int visibleAmount
- The size of the visible portion of the Scrollbar.
The size of the scrollbox is normally used to indicate
the visibleAmount.
-
- See Also:
Scrollbar.getVisibleAmount()
,
setVisibleAmount()
Class java.awt.ScrollPane implements Serializable |
hAdjustable
java.awt.ScrollPaneAdjustable hAdjustable
- An adjustable Horizontal Scrollbar.
It is important to not that you must NOT call 3 Adjustable method
ie : setMinimum(), setMaximum(), setVisibleAmount().
-
- See Also:
ScrollPane.getHAdjustable()
,
Adjustable
scrollbarDisplayPolicy
int scrollbarDisplayPolicy
- There are 3 ways in which a scroll bar can be displayed.
This integer will represent one of these 3 displays -
(SCROLLBARS_ALWAYS, SCROLLBARS_AS_NEEDED, SCROLLBARS_NEVER)
-
- See Also:
ScrollPane.getScrollbarDisplayPolicy()
vAdjustable
java.awt.ScrollPaneAdjustable vAdjustable
- An adjustable Vertical Scrollbar.
It is important to not that you must NOT call 3 Adjustable methods
ie : setMinimum(), setMaximum(), setVisibleAmount().
-
- See Also:
ScrollPane.getVAdjustable()
,
Adjustable
Class java.awt.SystemColor implements Serializable |
Class java.awt.TextArea implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream.
columns
int columns
- The number of columns in the TextArea.
A column is an approximate average character
width that is platform-dependent.
This parameter will determine the text area's width.
Guaranteed to be non-negative.
-
- See Also:
TextArea.getColumns()
,
setColumns()
rows
int rows
- The number of rows in the TextArea.
This parameter will determine the text area's height.
Guaranteed to be non-negative.
-
- See Also:
TextArea.getRows()
,
setRows()
scrollbarVisibility
int scrollbarVisibility
- Determines which scrollbars are created for the
text area. It can be one of four values :
SCROLLBARS_BOTH
= both scrollbars.
SCROLLBARS_HORIZONTAL_ONLY
= Horizontal bar only.
SCROLLBARS_VERTICAL_ONLY
= Vertical bar only.
SCROLLBARS_NONE
= No scrollbars.
-
- See Also:
TextArea.getScrollbarVisibility()
textAreaSerializedDataVersion
int textAreaSerializedDataVersion
- The textArea Serialized Data Version.
-
Class java.awt.TextComponent implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream, and if it isn't null,
add a listener to receive text events fired by the
TextComponent. Unrecognized keys or values will be
ignored.
- See Also:
removeTextListener()
,
addTextListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable TextListener(s) as optional data.
The non-serializable TextListener(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of zero or more pairs.
A pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
textListenerK indicating and TextListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.textListenerK
editable
boolean editable
- A boolean indicating whether or not this TextComponent is editable.
It will be
true
if the text component
is editable and false
if not. -
- See Also:
TextComponent.isEditable()
selectionEnd
int selectionEnd
- The selection refers to the selected text, and the selectionEnd
is the end position of the selected text.
-
- See Also:
TextComponent.getSelectionEnd()
,
setSelectionEnd()
selectionStart
int selectionStart
- The selection refers to the selected text, and the selectionStart
is the start position of the selected text.
-
- See Also:
TextComponent.getSelectionStart()
,
setSelectionStart()
text
String text
- The value of the text.
A null value is the same as "".
-
- See Also:
setText()
,
TextComponent.getText()
textComponentSerializedDataVersion
int textComponentSerializedDataVersion
- The textComponent SerializedDataVersion.
-
Class java.awt.TextField implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the ObjectInputStream and if it isn't null,
add a listener to receive action events fired by the
TextField. Unrecognized keys or values will be
ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ActionListener(s) as optional data.
The non-serializable ActionListener(s) are detected and
no attempt is made to serialize them.
- Serial Data:
- Null terminated sequence of zero or more pairs.
A pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
ActionListenerK indicating and ActionListener object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.actionListenerK
columns
int columns
- The number of columns in the text field.
A column is an approximate average character
width that is platform-dependent.
Guaranteed to be non-negative.
-
- See Also:
setColumns()
,
TextField.getColumns()
echoChar
char echoChar
- The echo character, which is used when
the user wishes to disguise the characters
typed into the text field.
The disguises are removed if echoChar =
0
. -
- See Also:
TextField.getEchoChar()
,
setEchoChar()
,
TextField.echoCharIsSet()
textFieldSerializedDataVersion
int textFieldSerializedDataVersion
- The textField Serialized Data Version.
-
Class java.awt.Window implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Read the default ObjectInputStream, a possibly null listener to
receive item events fired by the Window, and a possibly null
list of child Windows.
Unrecognised keys or values will be Ignored.
- See Also:
removeActionListener()
,
addActionListener()
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes default serializable fields to stream. Writes
a list of serializable ItemListener(s) as optional data.
The non-serializable ItemListener(s) are detected and
no attempt is made to serialize them. Write a list of
child Windows as optional data.
- Serial Data:
- Null terminated sequence of 0 or more pairs.
The pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
itemListenerK indicating an ItemListener object.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 :
ownedWindowK indicating a child Window object.
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
java.awt.Component.itemListenerK
,
java.awt.Component.ownedWindowK
focusMgr
java.awt.FocusManager focusMgr
- The Focus for the Window in question, and its components.
-
- Since:
- JDK1.2
state
int state
- An Integer value representing the Window State.
-
- See Also:
Window.show()
- Since:
- JDK1.2
warningString
String warningString
- This represents the warning message that is
to be displayed in a non secure window. ie :
a window that has a security manager installed for
which calling SecurityManager.checkTopLevelWindow()
is false. This message can be displayed anywhere in
the window.
-
- See Also:
Window.getWarningString()
windowSerializedDataVersion
int windowSerializedDataVersion
- The window serialized data version.
-
Class java.awt.color.CMMException implements Serializable |
Class java.awt.color.ProfileDataException implements Serializable |
Package java.awt.datatransfer |
Class java.awt.datatransfer.DataFlavor implements Serializable |
readExternal
public void readExternal(ObjectInput is)
throws IOException,
ClassNotFoundException
- restore this DataFlavor from an Serialized state
writeExternal
public void writeExternal(ObjectOutput os)
throws IOException
- Serialize this DataFlavor
Class java.awt.datatransfer.UnsupportedFlavorException implements Serializable |
Class java.awt.dnd.DragGestureEvent implements Serializable |
action
int action
component
Component component
dragSource
DragSource dragSource
events
List events
origin
Point origin
Class java.awt.dnd.DragSourceDragEvent implements Serializable |
dropAction
int dropAction
gestureModifiers
int gestureModifiers
targetActions
int targetActions
Class java.awt.dnd.DragSourceDropEvent implements Serializable |
dropAction
int dropAction
dropSuccess
boolean dropSuccess
Class java.awt.dnd.DragSourceEvent implements Serializable |
Class java.awt.dnd.DropTarget implements Serializable |
actions
int actions
active
boolean active
component
Component component
dtListener
DropTargetListener dtListener
Class java.awt.dnd.DropTargetDragEvent implements Serializable |
actions
int actions
dropAction
int dropAction
location
Point location
Class java.awt.dnd.DropTargetDropEvent implements Serializable |
actions
int actions
dropAction
int dropAction
isLocalTx
boolean isLocalTx
location
Point location
Class java.awt.dnd.DropTargetEvent implements Serializable |
context
DropTargetContext context
- The
DropTargetConext
associated with this
DropTargetEvent
.
Class java.awt.dnd.InvalidDnDOperationException implements Serializable |
Class java.awt.event.ActionEvent implements Serializable |
actionCommand
String actionCommand
- The nonlocalized string that gives more details
of what actually caused the event.
This information is very specific to the component
that fired it.
-
- See Also:
ActionEvent.getActionCommand()
modifiers
int modifiers
- This represents the key modifier that was selected,
and is used to determine the state of the selected key.
If no modifier has been selected it will default to
zero.
-
- See Also:
ActionEvent.getModifiers()
Class java.awt.event.AdjustmentEvent implements Serializable |
adjustable
Adjustable adjustable
- The adjustable object that fired the event.
-
- See Also:
AdjustmentEvent.getAdjustable()
adjustmentType
int adjustmentType
- The
adjustmentType
describes how the adjustable
object value has changed.
This value can be increased/decreased by a block or unit amount
where the block is associated with page increments/decrements,
and a unit is associated with line increments/decrements. -
- See Also:
AdjustmentEvent.getAdjustmentType()
value
int value
value
will contain the new value of the
adjustable object. This value will always be in a
range associated adjustable object.-
- See Also:
AdjustmentEvent.getValue()
Class java.awt.event.ComponentEvent implements Serializable |
Class java.awt.event.ContainerEvent implements Serializable |
child
Component child
- The non-null component that is being added or
removed from the Container.
-
- See Also:
getChild
Class java.awt.event.FocusEvent implements Serializable |
temporary
boolean temporary
- A focus event can have two different levels,
permanent and temporary. It will be set to true if some
operation takes away the focus temporarily and
intends on getting it back once the event is completed.
Otherwise it will be set to false.
-
- See Also:
FocusEvent.isTemporary()
Class java.awt.event.InputEvent implements Serializable |
modifiers
int modifiers
- The state of the modifier key at the time the input
event was fired.
-
- See Also:
InputEvent.getModifiers()
,
MouseEvent
when
long when
- The input events Time stamp. The time stamp is in
UTC format that indicates when the input event was
created.
-
- See Also:
InputEvent.getWhen()
Class java.awt.event.InputMethodEvent implements Serializable |
Class java.awt.event.InvocationEvent implements Serializable |
catchExceptions
boolean catchExceptions
- Set to true if dispatch() catches Exception and stores it in the
exception instance variable. If false, Exceptions are propagated up
to the EventDispatchThread's dispatch loop.
exception
Exception exception
- The (potentially null) Exception thrown during execution of the
Runnable.run() method. This variable will also be null if a particular
instance does not catch exceptions.
notifier
Object notifier
- The (potentially null) Object whose notifyAll() method will be called
immediately after the Runnable.run() method returns.
runnable
Runnable runnable
- The Runnable whose run() method will be called.
Class java.awt.event.ItemEvent implements Serializable |
item
Object item
- The item whose selection state has changed.
-
- See Also:
ItemEvent.getItem()
stateChange
int stateChange
stateChange
indicates whether the item
was selected or deselected.-
- See Also:
ItemEvent.getStateChange()
Class java.awt.event.KeyEvent implements Serializable |
keyChar
char keyChar
keyChar
is a valid unicode character
that is fired by a key or a key combination on
a keyboard.-
- See Also:
KeyEvent.getKeyChar()
,
setKeyChar()
keyCode
int keyCode
- The unique value assigned to each of the keys on the
keyboard. There is a common set of key codes that
can be fired by most keyboards.
The symbolic name for a key code should be used rather
than the code value itself.
-
- See Also:
KeyEvent.getKeyCode()
,
setKeyCode()
Class java.awt.event.MouseEvent implements Serializable |
clickCount
int clickCount
- Indicates the number of quick consecutive clicks of
a mouse button.
clickCount will be valid for only three mouse events :
MOUSE_CLICKED
,
MOUSE_PRESSED
and
MOUSE_RELEASED
.
For the above, the clickCount will be at least 1. For all
other events the count will be 0. -
- See Also:
MouseEvent.getClickCount().
popupTrigger
boolean popupTrigger
- A property used to indicate whether a Popup Menu
should appear with a certain gestures.
If
popupTrigger
= false
no popup menu
should appear. If it is true
then a popup menu should appear
. -
- See Also:
PopupMenu
,
MouseEvent.isPopupTrigger()
x
int x
- The mouse events x coordinate.
The x value is relative to the component
that fired the event.
-
- See Also:
MouseEvent.getX()
y
int y
- The mouse events y coordinate.
The y value is relative to the component
that fired the event.
-
- See Also:
MouseEvent.getY()
Class java.awt.event.PaintEvent implements Serializable |
updateRect
Rectangle updateRect
- This is the rectangle that represents the area on the source
component that requires a repaint.
This rectangle should be non null.
-
- See Also:
Rectangle
,
setUpdateRect()
,
PaintEvent.getUpdateRect()
Class java.awt.event.TextEvent implements Serializable |
Class java.awt.event.WindowEvent implements Serializable |
Class java.awt.font.TextAttribute implements Serializable |
Class java.awt.font.TransformAttribute implements Serializable |
transform
AffineTransform transform
Class java.awt.geom.AffineTransform implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws ClassNotFoundException,
IOException
m00
double m00
- The X coordinate scaling element of the 3x3
affine transformation matrix.
-
m01
double m01
- The X coordinate shearing element of the 3x3
affine transformation matrix.
-
m02
double m02
- The X coordinate of the translation element of the
3x3 affine transformation matrix.
-
m10
double m10
- The Y coordinate shearing element of the 3x3
affine transformation matrix.
-
m11
double m11
- The Y coordinate scaling element of the 3x3
affine transformation matrix.
-
m12
double m12
- The Y coordinate of the translation element of the
3x3 affine transformation matrix.
-
Class java.awt.geom.IllegalPathStateException implements Serializable |
Class java.awt.geom.NoninvertibleTransformException implements Serializable |
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 |
parameters
Vector parameters
- A Vector of non-source parameters, stored as arbitrary Objects.
sources
Vector sources
- A Vector of sources, stored as arbitrary Objects.
Class java.awt.print.PrinterAbortException implements Serializable |
Class java.awt.print.PrinterException implements Serializable |
Class java.awt.print.PrinterIOException implements Serializable |
mException
IOException mException
- The IO error that terminated the print job.
-
Class java.beans.IntrospectionException implements Serializable |
Class java.beans.PropertyChangeEvent implements Serializable |
newValue
Object newValue
- New value for property. May be null if not known.
-
oldValue
Object oldValue
- Previous value for property. May be null if not known.
-
propagationId
Object propagationId
- Propagation ID. May be null.
-
- See Also:
#getPropagationId.
propertyName
String propertyName
- name of the property that changed. May be null, if not known.
-
Class java.beans.PropertyChangeSupport implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Serial Data:
- Null terminated list of
PropertyChangeListeners
.
At serialization time we skip non-serializable listeners and
only serialize the serializable listeners.
children
Hashtable children
- Hashtable for managing listeners for specific properties.
Maps property names to PropertyChangeSupport objects.
-
- Since:
- JDK 1.2
propertyChangeSupportSerializedDataVersion
int propertyChangeSupportSerializedDataVersion
- Internal version number
-
- Since:
-
source
Object source
- The object to be provided as the "source" for any generated events.
-
Class java.beans.PropertyVetoException implements Serializable |
evt
PropertyChangeEvent evt
- A PropertyChangeEvent describing the vetoed change.
-
Class java.beans.VetoableChangeSupport implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Serial Data:
- Null terminated list of
VetoableChangeListeners
.
At serialization time we skip non-serializable listeners and
only serialize the serializable listeners.
children
Hashtable children
- Hashtable for managing listeners for specific properties.
Maps property names to VetoableChangeSupport objects.
-
- Since:
- JDK 1.2
source
Object source
- The object to be provided as the "source" for any generated events.
-
vetoableChangeSupportSerializedDataVersion
int vetoableChangeSupportSerializedDataVersion
- Internal version number
-
Package java.beans.beancontext |
Class java.beans.beancontext.BeanContextChildSupport implements Serializable |
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
- Restore a persistent object, must wait for subsequent setBeanContext()
to fully restore any resources obtained from the new nesting
BeanContext
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Write the persistence state of the object.
beanContextChildPeer
BeanContextChild beanContextChildPeer
pcSupport
PropertyChangeSupport pcSupport
vcSupport
VetoableChangeSupport vcSupport
Class java.beans.beancontext.BeanContextEvent implements Serializable |
propagatedFrom
BeanContext propagatedFrom
Class java.beans.beancontext.BeanContextMembershipEvent implements Serializable |
children
Collection children
Class java.beans.beancontext.BeanContextServiceAvailableEvent implements Serializable |
serviceClass
Class serviceClass
Class java.beans.beancontext.BeanContextServiceRevokedEvent implements Serializable |
invalidateRefs
boolean invalidateRefs
serviceClass
Class serviceClass
- fields
Class java.beans.beancontext.BeanContextServicesSupport implements Serializable |
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
- deserialize the instance
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- serialize the instance
Class java.beans.beancontext.BeanContextServicesSupport.BCSSChild implements Serializable |
this$0
BeanContextServicesSupport this$0
Class java.beans.beancontext.BeanContextServicesSupport.BCSSServiceProvider implements Serializable |
serviceProvider
BeanContextServiceProvider serviceProvider
Class java.beans.beancontext.BeanContextSupport implements Serializable |
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
- deserialize contents ... if this instance has a distinct peer the
children are *not* serialized here, the peer's readObject() must call
readChildren() after deserializing this instance.
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException,
ClassNotFoundException
- Serialize the BeanContextSupport, if this instance has a distinct
peer (that is this object is acting as a delegate for another) then
the children of this instance are not serialized here due to a
'chicken and egg' problem that occurs on deserialization of the
children at the same time as this instance.
Therefore in situations where there is a distinct peer to this instance
it should always call writeObject() followed by writeChildren() and
readObject() followed by readChildren().
designTime
boolean designTime
locale
Locale locale
okToUseGui
boolean okToUseGui
serializable
int serializable
Class java.beans.beancontext.BeanContextSupport.BCSChild implements Serializable |
child
Object child
proxyPeer
Object proxyPeer
this$0
BeanContextSupport this$0
Class java.io.CharConversionException implements Serializable |
Class java.io.EOFException implements Serializable |
Class java.io.File implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore this filename.
The original separator character is read. If it is different
than the separator character on this system, then the old seperator
is replaced by the local separator.
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- WriteObject is called to save this filename.
The separator character is saved also so it can be replaced
in case the path is reconstituted on a different host type.
path
String path
- This abstract pathname's normalized pathname string. A normalized
pathname string uses the default name-separator character and does not
contain any duplicate or redundant separators.
-
Class java.io.FileNotFoundException implements Serializable |
Class java.io.InterruptedIOException implements Serializable |
bytesTransferred
int bytesTransferred
- Reports how many bytes had been transferred as part of the I/O
operation before it was interrupted.
-
Class java.io.InvalidClassException implements Serializable |
classname
String classname
- Name of the invalid class.
Class java.io.InvalidObjectException implements Serializable |
Class java.io.IOException implements Serializable |
Class java.io.NotActiveException implements Serializable |
Class java.io.NotSerializableException implements Serializable |
Class java.io.ObjectStreamClass implements Serializable |
- Class ObjectStreamClass is special cased within the
Serialization Stream Protocol.
An ObjectStreamClass is written intially into an ObjectOutputStream
in the following format:
TC_CLASSDESC className, serialVersionUID, flags,
length, list of field descriptions.
FIELDNAME TYPES
DESCRIPTION
--------------------------------------
className primitive data String
Fully qualified class name.
serialVersionUID long
Stream Unique Identifier for compatible classes
with same base class name.
flags byte
Attribute bit fields defined in
java.io.ObjectStreamConstants.SC_*
.
length short
The number of field descriptions to follow.
fieldDescription (byte, primitive data String, String Object)
A pseudo-externalized format of class
java.io.ObjectStreamField
.
Consists of typeCode, fieldName, and,
if a nonPrimitive typecode, a fully qualified
class name. See Class.getName
method
for the typecode byte encodings.
The first time the class descriptor
is written into the stream, a new handle is generated.
Future references to the class descriptor are
written as references to the initial class descriptor instance.
- See Also:
ObjectOutputStream.writeUTF(java.lang.String)
Class java.io.ObjectStreamException implements Serializable |
Class java.io.OptionalDataException implements Serializable |
eof
boolean eof
- True if there is no more data in the buffered part of the stream.
-
length
int length
- The number of bytes of primitive data available to be read
in the current buffer.
-
Class java.io.SerializablePermission implements Serializable |
actions
String actions
-
Class java.io.StreamCorruptedException implements Serializable |
Class java.io.SyncFailedException implements Serializable |
Class java.io.UnsupportedEncodingException implements Serializable |
Class java.io.UTFDataFormatException implements Serializable |
Class java.io.WriteAbortedException implements Serializable |
detail
Exception detail
- Exception that was caught while writing the ObjectStream.
-
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.Boolean implements Serializable |
value
boolean value
- The value of the Boolean.
-
Class java.lang.Byte implements Serializable |
value
byte value
- The value of the Byte.
-
Class java.lang.Character implements Serializable |
value
char value
- The value of the Character.
-
Class java.lang.Class implements Serializable |
- Class Class is special cased within the Serialization Stream Protocol.
A Class instance is written intially into an ObjectOutputStream in the
following format:
TC_CLASS
ClassDescriptor
A ClassDescriptor is a special cased serialization of
a java.io.ObjectStreamClass
instance.
A new handle is generated for the initial time the class descriptor
is written into the stream. Future references to the class descriptor
are written as references to the initial class descriptor instance.
- See Also:
ObjectStreamClass
Class java.lang.ClassCastException implements Serializable |
Class java.lang.ClassCircularityError implements Serializable |
Class java.lang.ClassFormatError implements Serializable |
Class java.lang.ClassNotFoundException implements Serializable |
ex
Throwable ex
- This field holds the exception ex if the
ClassNotFoundException(String s, Throwable ex) constructor was
used to instantiate the object
-
- Since:
- JDK 1.2
Class java.lang.CloneNotSupportedException implements Serializable |
Class java.lang.Double implements Serializable |
value
double value
- The value of the Double.
-
Class java.lang.Error implements Serializable |
Class java.lang.Exception implements Serializable |
Class java.lang.ExceptionInInitializerError implements Serializable |
exception
Throwable exception
- This field holds the exception if the
ExceptionInInitializerError(Throwable thrown) constructor was
used to instantiate the object
-
Class java.lang.Float implements Serializable |
value
float value
- The value of the Float.
-
Class java.lang.IllegalAccessError implements Serializable |
Class java.lang.IllegalAccessException implements Serializable |
Class java.lang.IllegalArgumentException implements Serializable |
Class java.lang.IllegalMonitorStateException implements Serializable |
Class java.lang.IllegalStateException implements Serializable |
Class java.lang.IllegalThreadStateException implements Serializable |
Class java.lang.IncompatibleClassChangeError implements Serializable |
Class java.lang.IndexOutOfBoundsException implements Serializable |
Class java.lang.InstantiationError implements Serializable |
Class java.lang.InstantiationException implements Serializable |
Class java.lang.Integer implements Serializable |
value
int value
- The value of the Integer.
-
Class java.lang.InternalError implements Serializable |
Class java.lang.InterruptedException implements Serializable |
Class java.lang.LinkageError implements Serializable |
Class java.lang.Long implements Serializable |
value
long value
- The value of the Long.
-
Class java.lang.NegativeArraySizeException implements Serializable |
Class java.lang.NoClassDefFoundError implements Serializable |
Class java.lang.NoSuchFieldError implements Serializable |
Class java.lang.NoSuchFieldException implements Serializable |
Class java.lang.NoSuchMethodError implements Serializable |
Class java.lang.NoSuchMethodException implements Serializable |
Class java.lang.NullPointerException implements Serializable |
Class java.lang.Number implements Serializable |
Class java.lang.NumberFormatException implements Serializable |
Class java.lang.OutOfMemoryError implements Serializable |
Class java.lang.RuntimeException implements Serializable |
Class java.lang.RuntimePermission implements Serializable |
Class java.lang.SecurityException implements Serializable |
Class java.lang.Short implements Serializable |
value
short value
- The value of the Short.
-
Class java.lang.StackOverflowError implements Serializable |
Class java.lang.String implements Serializable |
- Class String is special cased within the Serialization Stream Protocol.
A String instance is written intially into an ObjectOutputStream in the
following format:
TC_STRING
(utf String)
The String is written by method DataOutput.writeUTF
.
A new handle is generated to refer to all future references to the
string instance within the stream.
Class java.lang.StringBuffer implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore the state of the StringBuffer from
a stream.
count
int count
- The count is the number of characters in the buffer.
-
shared
boolean shared
- A flag indicating whether the buffer is shared
-
value
char[] value
- The value is used for character storage.
-
Class java.lang.StringIndexOutOfBoundsException implements Serializable |
Class java.lang.ThreadDeath implements Serializable |
Class java.lang.Throwable implements Serializable |
detailMessage
String detailMessage
- Specific details about the Throwable. For example,
for FileNotFoundThrowables, this contains the name of
the file that could not be found.
-
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 |
target
Throwable target
- This field holds the target if the
InvocationTargetException(Throwable target) constructor was
used to instantiate the object
-
Class java.lang.reflect.ReflectPermission implements Serializable |
Class java.math.BigDecimal implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the BigDecimal instance from a stream (that is,
deserialize it).
intVal
BigInteger intVal
- The unscaled value of this BigDecimal, as returned by unscaledValue().
-
- See Also:
BigDecimal.unscaledValue()
scale
int scale
- The scale of this BigDecimal, as returned by scale().
-
- See Also:
BigDecimal.scale()
Class java.math.BigInteger implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the BigInteger instance from a stream (that is,
deserialize it).
bitCount
int bitCount
- The bitCount of this BigInteger, as returned by bitCount(), or -1
(either value is acceptable).
-
- See Also:
BigInteger.bitCount()
bitLength
int bitLength
- The bitLength of this BigInteger, as returned by bitLength(), or -1
(either value is acceptable).
-
- See Also:
BigInteger.bitLength()
firstNonzeroByteNum
int firstNonzeroByteNum
- The byte-number of the lowest-order nonzero byte in the magnitude of
this BigInteger, or -2 (either value is acceptable). The least
significant byte has byte-number 0, the next byte in order of
increasing significance has byte-number 1, and so forth.
-
lowestSetBit
int lowestSetBit
- The lowest set bit of this BigInteger, as returned by getLowestSetBit(),
or -2 (either value is acceptable).
-
- See Also:
BigInteger.getLowestSetBit()
magnitude
byte[] magnitude
- The magnitude of this BigInteger, in big-endian byte-order: the
zeroth element of this array is the most-significant byte of the
magnitude. The magnitude must be "minimal" in that the most-significant
byte (magnitude[0]) must be non-zero. This is necessary to
ensure that there is exactly one representation for each BigInteger
value. Note that this implies that the BigInteger zero has a
zero-length magnitude array.
-
signum
int signum
- The signum of this BigInteger: -1 for negative, 0 for zero, or
1 for positive. Note that the BigInteger zero must have
a signum of 0. This is necessary to ensures that there is exactly one
representation for each BigInteger value.
-
Class java.net.BindException implements Serializable |
Class java.net.ConnectException implements Serializable |
Class java.net.InetAddress implements Serializable |
address
int address
family
int family
-
hostName
String hostName
-
Class java.net.MalformedURLException implements Serializable |
Class java.net.NetPermission implements Serializable |
Class java.net.NoRouteToHostException implements Serializable |
Class java.net.ProtocolException implements Serializable |
Class java.net.SocketException implements Serializable |
Class java.net.UnknownHostException implements Serializable |
Class java.net.UnknownServiceException implements Serializable |
Class java.net.URL implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore the state of the URL from the
stream. It reads the components of the URL and finds the local
stream handler.
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- WriteObject is called to save the state of the URL to an
ObjectOutputStream. The handler is not saved since it is
specific to this system.
- Serial Data:
- the default write object value. When read back in,
the reader must ensure that calling getURLStreamHandler with
the protocol variable returns a valid URLStreamHandler and
throw an IOException if it does not.
file
String file
- The specified file name on that host.
hashCode
int hashCode
host
String host
- The host name in which to connect to.
port
int port
- The protocol port to connect to.
protocol
String protocol
- The protocol to use (ftp, http, nntp, ... etc.) .
ref
String ref
- # reference.
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 |
hash
int hash
- Stored hash code of contained object.
- See Also:
MarshalledObject.hashCode()
locBytes
byte[] locBytes
- Bytes of location annotations, which are ignored by
equals
. If locBytes
is null, there were no
non-null
annotations during marshalling.
objBytes
byte[] objBytes
- Bytes of serialized representation. If
objBytes
is
null
then the object marshalled was a null
reference.
Class java.rmi.NoSuchObjectException implements Serializable |
Class java.rmi.NotBoundException implements Serializable |
Class java.rmi.RemoteException implements Serializable |
detail
Throwable detail
- Nested Exception to hold wrapped remote exception.
-
- Since:
- JDK1.1
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 |
id
ActivationID id
- Activation Identifier for this object.
Class java.rmi.activation.ActivateFailedException implements Serializable |
Class java.rmi.activation.ActivationDesc implements Serializable |
className
String className
- the object's class name
data
MarshalledObject data
- the object's initialization data
groupID
ActivationGroupID groupID
- the group's identifier
location
String location
- the object's code location
restart
boolean restart
- indicates whether the object should be restarted
Class java.rmi.activation.ActivationException implements Serializable |
detail
Throwable detail
- Nested Exception to hold wrapped remote exceptions.
-
Class java.rmi.activation.ActivationGroup implements Serializable |
groupID
ActivationGroupID groupID
- the group's identifier
incarnation
long incarnation
- the group's incarnation number
monitor
ActivationMonitor monitor
- the group's monitor
Class java.rmi.activation.ActivationGroupDesc implements Serializable |
className
String className
- The group's fully package qualified className.
data
MarshalledObject data
- The group's initialization data.
env
ActivationGroupDesc.CommandEnvironment env
- The controlling options for executing the VM in
another process.
location
String location
- The location from where to load the group's class.
props
Properties props
- A properties map which will override those set
by default in the subprocess environment.
Class java.rmi.activation.ActivationGroupDesc.CommandEnvironment implements Serializable |
command
String command
-
options
String[] options
-
Class java.rmi.activation.ActivationGroupID implements Serializable |
system
ActivationSystem system
- The group's activation system.
uid
UID uid
- The group's unique id.
Class java.rmi.activation.ActivationID implements Serializable |
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- readObject for object serialization. Reads in a
java.rmi.server.UID
and a remote reference. The
remote reference is read via a direct call to
readExternal(ObjectInputStream in)
. Default
serialization is not used. The reference is used to create the
activator
field in this object. That is, the
activator
field is set to the stub returned from
RemoteProxy.getStub(activatorClassName, ref)
.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException,
ClassNotFoundException
- writeObject for object serialization. Writes out a
java.rmi.server.UID
and the reference to the
activator responsible for activating the object associated with
this id, the remote reference contained in the
activator
field.
- Serial Data:
- Writes out a
java.rmi.server.UID
, and
the unqualified class name, in UTF-8
, of the
remote reference contained in the activator
field. Delegates to the activator
's remote
reference to write itself to out
. Directly calls
writeExternal(ObjectStream out)
on the return
value of activator.getRef()
. Default serialization
is not used.
activator
Activator activator
- the object's activator
uid
UID uid
- the object's unique id
Class java.rmi.activation.UnknownGroupException implements Serializable |
Class java.rmi.activation.UnknownObjectException implements Serializable |
Class java.rmi.dgc.Lease implements Serializable |
value
long value
- Duration of this lease.
- See Also:
Lease.getValue()
vmid
VMID vmid
- Virtual Machine ID with which this Lease is associated.
- See Also:
Lease.getVMID()
Class java.rmi.dgc.VMID implements Serializable |
addr
byte[] addr
- array of bytes uniquely identifying host created on
uid
UID uid
- unique identifier with respect to host created on
Class java.rmi.server.ExportException implements Serializable |
Class java.rmi.server.ObjID implements Serializable |
objNum
long objNum
- object number
- See Also:
ObjID.hashCode()
space
UID space
- address space identifier (unique to host)
Class java.rmi.server.RemoteObject implements Serializable |
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- readObject for object serialization. Reads in the unqualified
class name of the remote reference field,
ref
, in
UTF-8
and delegates to the ref
field
to read in its representation. The ref
field is
read via a direct call to
ref.readExternal(ObjectInputStream in)
. Default
serialization is not used.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException,
ClassNotFoundException
- writeObject for object serialization. Writes out the class
name of the remote reference contained in this class and
delegates to the reference to write out its representation.
- Serial Data:
- Writes out the unqualified class name of the remote
reference field,
ref
, in UTF-8
and
delegates to the ref
field to write out its
representation. Different information will be written to
out
depending upon the ref
field's
type. Default serialization is not used.
Class java.rmi.server.RemoteServer implements Serializable |
Class java.rmi.server.RemoteStub implements Serializable |
Class java.rmi.server.ServerCloneException implements Serializable |
detail
Exception detail
- Nested exception for ServerCloneException
-
- Since:
- JDK1.1
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 |
count
short count
- Short used to create a hash key for
this
UID.
time
long time
- Long used to record the time. The
time
will be used to create a unique UID.
unique
int unique
- Integer that helps create a unique UID.
Class java.rmi.server.UnicastRemoteObject implements Serializable |
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Re-export the remote object when it is deserialized.
csf
RMIClientSocketFactory csf
- client-side socket factory (if any)
port
int port
- port number on which to export object
ssf
RMIServerSocketFactory ssf
- server-side socket factory (if any) to use when
exporting object
Class java.security.AccessControlException implements Serializable |
perm
Permission perm
Class java.security.CodeSource implements Serializable |
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
- Restores this object from a stream (i.e., deserializes it).
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Writes this object out to a stream (i.e., serializes it).
- Serial Data:
- An initial
URL
is followed by an
int
indicating the number of certificates to follow
(a value of "zero" denotes that there are no certificates associated
with this object).
Each certificate is written out starting with a String
denoting the certificate type, followed by an
int
specifying the length of the certificate encoding,
followed by the certificate encoding itself which is written out as an
array of bytes.
location
URL location
- The code location.
-
Class java.security.DigestException implements Serializable |
Class java.security.GeneralSecurityException implements Serializable |
Class java.security.GuardedObject implements Serializable |
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Writes this object out to a stream (i.e., serializes it).
We check the guard if there is one.
guard
Guard guard
object
Object object
Class java.security.Identity implements Serializable |
certificates
Vector certificates
- Deprecated.
- The certificates for this identity.
-
info
String info
- Deprecated.
- Generic, descriptive information about the identity.
-
name
String name
- Deprecated.
- The name for this identity.
-
publicKey
PublicKey publicKey
- Deprecated.
- The public key for this identity.
-
scope
IdentityScope scope
- Deprecated.
- The scope of the identity.
-
Class java.security.IdentityScope implements Serializable |
Class java.security.InvalidAlgorithmParameterException implements Serializable |
Class java.security.InvalidKeyException implements Serializable |
Class java.security.InvalidParameterException implements Serializable |
Class java.security.KeyException implements Serializable |
Class java.security.KeyManagementException implements Serializable |
Class java.security.KeyPair implements Serializable |
privateKey
PrivateKey privateKey
publicKey
PublicKey publicKey
Class java.security.KeyStoreException implements Serializable |
Class java.security.NoSuchAlgorithmException implements Serializable |
Class java.security.NoSuchProviderException implements Serializable |
Class java.security.Permission implements Serializable |
name
String name
Class java.security.PermissionCollection implements Serializable |
readOnly
boolean readOnly
Class java.security.PrivilegedActionException implements Serializable |
exception
Exception exception
-
Class java.security.Provider implements Serializable |
info
String info
- A description of the provider and its services.
-
name
String name
- The provider name.
-
version
double version
- The provider version number.
-
Class java.security.ProviderException implements Serializable |
Class java.security.SecureRandom implements Serializable |
counter
long counter
-
digest
MessageDigest digest
-
provider
Provider provider
- The provider.
-
- Since:
- JDK 1.2
randomBytes
byte[] randomBytes
- We know that the MessageDigest class does not implement
java.io.Serializable. However, since this field is no longer
used, it will always be NULL and won't affect the serialization
of the SecureRandom class itself.
randomBytesUsed
int randomBytesUsed
-
secureRandomSpi
SecureRandomSpi secureRandomSpi
- The provider implementation.
-
- Since:
- JDK 1.2
state
byte[] state
-
Class java.security.SecureRandomSpi implements Serializable |
Class java.security.SecurityPermission implements Serializable |
Class java.security.SignatureException implements Serializable |
Class java.security.SignedObject implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- readObject is called to restore the state of the SignedObject from
a stream.
content
byte[] content
signature
byte[] signature
thealgorithm
String thealgorithm
Class java.security.Signer implements Serializable |
privateKey
PrivateKey privateKey
- Deprecated.
- The signer's private key.
-
Class java.security.UnrecoverableKeyException implements Serializable |
Class java.security.UnresolvedPermission implements Serializable |
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
- Restores this object from a stream (i.e., deserializes it).
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Writes this object out to a stream (i.e., serializes it).
- Serial Data:
- An initial
String
denoting the
type
is followed by a String
denoting the
name
is followed by a String
denoting the
actions
is followed by an int
indicating the
number of certificates to follow
(a value of "zero" denotes that there are no certificates associated
with this object).
Each certificate is written out starting with a String
denoting the certificate type, followed by an
int
specifying the length of the certificate encoding,
followed by the certificate encoding itself which is written out as an
array of bytes.
actions
String actions
- The actions of the permission.
-
name
String name
- The permission name.
-
type
String type
- The class name of the Permission class that will be
created when this unresolved permission is resolved.
-
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.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.CRLException implements Serializable |
Package java.security.spec |
Class java.security.spec.InvalidKeySpecException implements Serializable |
Class java.security.spec.InvalidParameterSpecException implements Serializable |
Class java.sql.BatchUpdateException implements Serializable |
updateCounts
int[] updateCounts
-
Class java.sql.DataTruncation implements Serializable |
dataSize
int dataSize
-
index
int index
-
parameter
boolean parameter
-
read
boolean read
-
transferSize
int transferSize
-
Class java.sql.Date implements Serializable |
Class java.sql.SQLException implements Serializable |
next
SQLException next
-
SQLState
String SQLState
-
vendorCode
int vendorCode
-
Class java.sql.SQLWarning implements Serializable |
Class java.sql.Time implements Serializable |
Class java.sql.Timestamp implements Serializable |
nanos
int nanos
-
Class java.text.AttributedCharacterIterator.Attribute implements Serializable |
name
String name
- The name of this Attribute. The name is used primarily by readResolve
to look up the corresponding predefined instance when deserializing
an instance.
-
Class java.text.ChoiceFormat implements Serializable |
choiceFormats
String[] choiceFormats
- A list of choice strings. The formatter will return
choiceFormats[i]
if the number being formatted is greater than or equal to
choiceLimits[i]
and less than choiceLimits[i+1]
. -
choiceLimits
double[] choiceLimits
- A list of lower bounds for the choices. The formatter will return
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 |
calendar
Calendar calendar
- The calendar that
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 numberFormat
- The number formatter that
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.DateFormatSymbols implements Serializable |
ampms
String[] ampms
- AM and PM strings. For example: "AM" and "PM". An array of
2 strings, indexed by
Calendar.AM
and
Calendar.PM
. -
eras
String[] eras
- Era strings. For example: "AD" and "BC". An array of 2 strings,
indexed by
Calendar.BC
and Calendar.AD
. -
localPatternChars
String localPatternChars
- Localized date-time pattern characters. For example, a locale may
wish to use 'u' rather than 'y' to represent years in its date format
pattern strings.
This string must be exactly 18 characters long, with the index of
the characters described by
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. -
months
String[] months
- Month strings. For example: "January", "February", etc. An array
of 13 strings (some calendars have 13 months), indexed by
Calendar.JANUARY
, Calendar.FEBRUARY
, etc. -
shortMonths
String[] shortMonths
- Short month strings. For example: "Jan", "Feb", etc. An array of
13 strings (some calendars have 13 months), indexed by
Calendar.JANUARY
, Calendar.FEBRUARY
, etc. -
shortWeekdays
String[] shortWeekdays
- Short weekday strings. For example: "Sun", "Mon", etc. An array
of 8 strings, indexed by
Calendar.SUNDAY
,
Calendar.MONDAY
, etc.
The element shortWeekdays[0]
is ignored. -
weekdays
String[] weekdays
- Weekday strings. For example: "Sunday", "Monday", etc. An array
of 8 strings, indexed by
Calendar.SUNDAY
,
Calendar.MONDAY
, etc.
The element weekdays[0]
is ignored. -
zoneStrings
String[][] zoneStrings
- Localized names of time zones in this locale. This is a
two-dimensional array of strings of size n by m,
where m is at least 5. Each of the n rows is an
entry containing the localized names for a single
TimeZone
.
Each such row contains (with i
ranging from
0..n-1):
zoneStrings[i][0]
- time zone ID
zoneStrings[i][1]
- long name of zone in standard
time
zoneStrings[i][2]
- short name of zone in
standard time
zoneStrings[i][3]
- long name of zone in daylight
savings time
zoneStrings[i][4]
- short name of zone in daylight
savings time
The zone ID is not localized; it corresponds to the ID
value associated with a system time zone object. All other entries
are localized names. If a zone does not implement daylight savings
time, the daylight savings time names are ignored. -
- See Also:
java.text.resources.DateFormatZoneData
,
TimeZone
Class java.text.DecimalFormat implements Serializable |
readObject
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
- First, read the default serializable fields from the stream. Then
if
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.
decimalSeparatorAlwaysShown
boolean decimalSeparatorAlwaysShown
- If true, forces the decimal separator to always appear in a formatted
number, even if the fractional part of the number is zero.
-
- See Also:
DecimalFormat.isDecimalSeparatorAlwaysShown()
groupingSize
byte groupingSize
- The number of digits between grouping separators in the integer
portion of a number. Must be greater than 0 if
NumberFormat.groupingUsed
is true. -
- See Also:
DecimalFormat.getGroupingSize()
,
NumberFormat.isGroupingUsed()
minExponentDigits
byte minExponentDigits
- The minimum number of digits used to display the exponent when a number is
formatted in exponential notation. This field is ignored if
useExponentialNotation
is not true.
Note that the JDK 1.2 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.
-
- Since:
- JDK 1.2
multiplier
int multiplier
- The multiplier for use in percent, permill, etc.
-
- See Also:
DecimalFormat.getMultiplier()
negativePrefix
String negativePrefix
- The symbol used as a prefix when formatting negative numbers, e.g. "-".
-
- See Also:
DecimalFormat.getNegativePrefix()
negativeSuffix
String negativeSuffix
- The symbol used as a suffix when formatting negative numbers.
This is often an empty string.
-
- See Also:
DecimalFormat.getNegativeSuffix()
positivePrefix
String positivePrefix
- The symbol used as a prefix when formatting positive numbers, e.g. "+".
-
- See Also:
DecimalFormat.getPositivePrefix()
positiveSuffix
String positiveSuffix
- The symbol used as a suffix when formatting positive numbers.
This is often an empty string.
-
- See Also:
DecimalFormat.getPositiveSuffix()
serialVersionOnStream
int serialVersionOnStream
- The internal serial version which says which version was written
Possible values are:
- 0 (default): versions before JDK 1.2
- 1: version from JDK 1.2 and later, which includes the two new fields
useExponentialNotation
and minExponentDigits
.
-
- Since:
- JDK 1.2
symbols
DecimalFormatSymbols symbols
- The
DecimalFormatSymbols
object used by this format.
It contains the symbols used to format numbers, e.g. the grouping separator,
decimal separator, and so on. -
- See Also:
DecimalFormat.setDecimalFormatSymbols(java.text.DecimalFormatSymbols)
,
DecimalFormatSymbols
useExponentialNotation
boolean useExponentialNotation
- True to force the use of exponential (i.e. scientific) notation when formatting
numbers.
Note that the JDK 1.2 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.
-
- Since:
- JDK 1.2
Class java.text.DecimalFormatSymbols implements Serializable |
readObject
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
- Read the default serializable fields, then if
serialVersionOnStream
is less than 1, initialize monetarySeparator
to be
the same as decimalSeparator
and exponential
to be 'E'.
Finally, set serialVersionOnStream back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.
- Since:
- JDK 1.1.6
currencySymbol
String currencySymbol
- String denoting the local currency, e.g. "$".
-
- See Also:
DecimalFormatSymbols.getCurrencySymbol()
decimalSeparator
char decimalSeparator
- Character used for decimal sign.
-
- See Also:
DecimalFormatSymbols.getDecimalSeparator()
digit
char digit
- Character used for a digit in a pattern.
-
- See Also:
DecimalFormatSymbols.getDigit()
exponential
char exponential
- The character used to distinguish the exponent in a number formatted
in exponential notation, e.g. 'E' for a number such as "1.23E45".
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.
-
- Since:
- JDK 1.1.6
groupingSeparator
char groupingSeparator
- Character used for thousands separator.
-
- See Also:
DecimalFormatSymbols.getGroupingSeparator()
infinity
String infinity
- Character used to represent infinity.
-
- See Also:
DecimalFormatSymbols.getInfinity()
intlCurrencySymbol
String intlCurrencySymbol
- International string denoting the local currency, e.g. "USD".
-
- See Also:
DecimalFormatSymbols.getInternationalCurrencySymbol()
minusSign
char minusSign
- Character used to represent minus sign.
-
- See Also:
DecimalFormatSymbols.getMinusSign()
monetarySeparator
char monetarySeparator
- The decimal separator used when formatting currency values.
-
- See Also:
DecimalFormatSymbols.getMonetaryDecimalSeparator()
- Since:
- JDK 1.1.6
NaN
String NaN
- Character used to represent NaN.
-
- See Also:
DecimalFormatSymbols.getNaN()
patternSeparator
char patternSeparator
- Character used to separate positive and negative subpatterns
in a pattern.
-
- See Also:
DecimalFormatSymbols.getPatternSeparator()
percent
char percent
- Character used for percent sign.
-
- See Also:
DecimalFormatSymbols.getPercent()
perMill
char perMill
- Character used for mille percent sign.
-
- See Also:
DecimalFormatSymbols.getPerMill()
serialVersionOnStream
int serialVersionOnStream
- Describes the version of
DecimalFormatSymbols
present on the stream.
Possible values are:
- 0 (or uninitialized): versions prior to JDK 1.1.6.
- 1: Versions written by JDK 1.1.6 or later, which includes
two new fields:
monetarySeparator
and exponential
.
When streaming out a DecimalFormatSymbols
, the most recent format
(corresponding to the highest allowable serialVersionOnStream
)
is always written. -
- Since:
- JDK 1.1.6
zeroDigit
char zeroDigit
- Character used for zero.
-
- See Also:
DecimalFormatSymbols.getZeroDigit()
Class java.text.Format implements Serializable |
Class java.text.MessageFormat implements Serializable |
argumentNumbers
int[] argumentNumbers
- The argument numbers corresponding to each formatter. (The formatters are stored
in the order they occur in the pattern, not in the order in which the arguments
are specified.)
-
formats
Format[] formats
- An array of ten formatters, which are used to format the first ten arguments.
-
locale
Locale locale
- The locale to use for formatting numbers and dates.
-
maxOffset
int maxOffset
- One less than the number of entries in
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. -
offsets
int[] offsets
- The positions where the results of formatting each argument are to be inserted
into the pattern.
-
pattern
String pattern
- The string that the formatted values are to be plugged into. In other words, this
is the pattern supplied on construction with all of the {} expressions taken out.
-
Class java.text.NumberFormat implements Serializable |
readObject
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
- First, read in the default serializable data.
Then, if
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.
- Since:
- JDK 1.2
writeObject
private void writeObject(ObjectOutputStream stream)
throws IOException
- Write out the default serializable data, after first setting
the
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.
- Since:
- JDK 1.2
groupingUsed
boolean groupingUsed
- True if the the grouping (i.e. thousands) separator is used when
formatting and parsing numbers.
-
- See Also:
NumberFormat.isGroupingUsed()
maxFractionDigits
byte maxFractionDigits
- The maximum number of digits allowed in the fractional portion of a
number.
maximumFractionDigits
must be greater than or equal to
minimumFractionDigits
.
Note: This field exists only for serialization
compatibility with JDK 1.1. In JDK 1.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.
-
- See Also:
NumberFormat.getMaximumFractionDigits()
maximumFractionDigits
int maximumFractionDigits
- The maximum number of digits allowed in the fractional portion of a
number.
maximumFractionDigits
must be greater than or equal to
minimumFractionDigits
. -
- See Also:
NumberFormat.getMaximumFractionDigits()
- Since:
- JDK 1.2
maximumIntegerDigits
int maximumIntegerDigits
- The maximum number of digits allowed in the integer portion of a
number.
maximumIntegerDigits
must be greater than or equal to
minimumIntegerDigits
. -
- See Also:
NumberFormat.getMaximumIntegerDigits()
- Since:
- JDK 1.2
maxIntegerDigits
byte maxIntegerDigits
- The maximum number of digits allowed in the integer portion of a
number.
maxIntegerDigits
must be greater than or equal to
minIntegerDigits
.
Note: This field exists only for serialization
compatibility with JDK 1.1. In JDK 1.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.
-
- See Also:
NumberFormat.getMaximumIntegerDigits()
minFractionDigits
byte minFractionDigits
- The minimum number of digits allowed in the fractional portion of a
number.
minimumFractionDigits
must be less than or equal to
maximumFractionDigits
.
Note: This field exists only for serialization
compatibility with JDK 1.1. In JDK 1.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.
-
- See Also:
NumberFormat.getMinimumFractionDigits()
minimumFractionDigits
int minimumFractionDigits
- The minimum number of digits allowed in the fractional portion of a
number.
minimumFractionDigits
must be less than or equal to
maximumFractionDigits
. -
- See Also:
NumberFormat.getMinimumFractionDigits()
- Since:
- JDK 1.2
minimumIntegerDigits
int minimumIntegerDigits
- The minimum number of digits allowed in the integer portion of a
number.
minimumIntegerDigits
must be less than or equal to
maximumIntegerDigits
. -
- See Also:
NumberFormat.getMinimumIntegerDigits()
- Since:
- JDK 1.2
minIntegerDigits
byte minIntegerDigits
- The minimum number of digits allowed in the integer portion of a
number.
minimumIntegerDigits
must be less than or equal to
maximumIntegerDigits
.
Note: This field exists only for serialization
compatibility with JDK 1.1. In JDK 1.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.
-
- See Also:
NumberFormat.getMinimumIntegerDigits()
parseIntegerOnly
boolean parseIntegerOnly
- True if this format will parse numbers as integers only.
-
- See Also:
NumberFormat.isParseIntegerOnly()
serialVersionOnStream
int serialVersionOnStream
- Describes the version of
NumberFormat
present on the stream.
Possible values are:
- 0 (or uninitialized): the JDK 1.1 version of the stream format.
In this version, the
int
fields such as
maximumIntegerDigits
were not present, and the byte
fields such as maxIntegerDigits
are used instead.
- 1: the JDK 1.2 version of the stream format. The values of the
byte
fields such as maxIntegerDigits
are ignored,
and the int
fields such as maximumIntegerDigits
are used instead.
When streaming out a NumberFormat
, the most recent format
(corresponding to the highest allowable serialVersionOnStream
)
is always written. -
- Since:
- JDK 1.2
Class java.text.ParseException implements Serializable |
errorOffset
int errorOffset
- The zero-based character offset into the string being parsed at which
the error was found during parsing.
-
Class java.text.SimpleDateFormat implements Serializable |
readObject
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
- Override readObject.
defaultCenturyStart
Date defaultCenturyStart
- We map dates with two-digit years into the century starting at
defaultCenturyStart
, which may be any date. May
not be null. -
- Since:
- JDK1.1.4
formatData
DateFormatSymbols formatData
- The symbols used by this formatter for week names, month names,
etc. May not be null.
-
- See Also:
DateFormatSymbols
pattern
String pattern
- The pattern string of this formatter. This is always a non-localized
pattern. May not be null. See class documentation for details.
-
serialVersionOnStream
int serialVersionOnStream
- The version of the serialized data on the stream. Possible values:
- 0 or not present on stream: JDK 1.1.3. This version
has no
defaultCenturyStart
on stream.
- 1 JDK 1.1.4 or later. This version adds
defaultCenturyStart
.
When streaming out this class, the most recent format
and the highest allowable serialVersionOnStream
is written. -
- Since:
- JDK1.1.4
Class java.util.ArrayList implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the ArrayList instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the ArrayList instance to a stream (that
is, serialize it).
- Serial Data:
- The length of the array backing the ArrayList
instance is emitted (int), followed by all of its elements
(each an Object) in the proper order.
size
int size
- The size of the ArrayList (the number of elements it contains).
-
Class java.util.BitSet implements Serializable |
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- This override of readObject makes sure unitsInUse is set properly
when deserializing a bitset
bits
long[] bits
- The bits in this BitSet. The ith bit is stored in bits[i/64] at
bit position i % 64 (where bit position 0 refers to the least
significant bit and 63 refers to the most significant bit).
INVARIANT: The words in bits[] above unitInUse-1 are zero.
-
Class java.util.Calendar implements Serializable |
readObject
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
- Reconstitute this object from a stream (i.e., deserialize it).
writeObject
private void writeObject(ObjectOutputStream stream)
throws IOException
- Save the state of this object to a stream (i.e., serialize it).
Ideally,
Calendar
would only write out its state data and
the current time, and not write any field data out, such as
fields[]
, isTimeSet
, areFieldsSet
,
and isSet[]
. nextStamp
also should not be part
of the persistent state. Unfortunately, this didn't happen before JDK 1.1
shipped. To be compatible with JDK 1.1, we will always have to write out
the field values and state flags. However, nextStamp
can be
removed from the serialization stream; this will probably happen in the
near future.
areFieldsSet
boolean areFieldsSet
- True if
fields[]
are in sync with the currently set time.
If false, then the next attempt to get the value of a field will
force a recomputation of all fields from the current value of
time
. -
fields
int[] fields
- The field values for the currently set time for this calendar.
This is an array of
FIELD_COUNT
integers, with index values
ERA
through DST_OFFSET
. -
firstDayOfWeek
int firstDayOfWeek
- The first day of the week, with possible values
SUNDAY
,
MONDAY
, etc. This is a locale-dependent value. -
isSet
boolean[] isSet
- The flags which tell if a specified time field for the calendar is set.
A new object has no fields set. After the first call to a method
which generates the fields, they all remain set after that.
This is an array of
FIELD_COUNT
booleans, with index values
ERA
through DST_OFFSET
. -
isTimeSet
boolean isTimeSet
- True if then the value of
time
is valid.
The time is made invalid by a change to an item of field[]
. -
- See Also:
Calendar.time
lenient
boolean lenient
- True if this calendar allows out-of-range field values during computation
of
time
from fields[]
. -
- See Also:
Calendar.setLenient(boolean)
minimalDaysInFirstWeek
int minimalDaysInFirstWeek
- The number of days required for the first week in a month or year,
with possible values from 1 to 7. This is a locale-dependent value.
-
nextStamp
int nextStamp
- The next available value for
stamp[]
, an internal array.
This actually should not be written out to the stream, and will probably
be removed from the stream in the near future. In the meantime,
a value of MINIMUM_USER_STAMP
should be used. -
serialVersionOnStream
int serialVersionOnStream
- The version of the serialized data on the stream. Possible values:
- 0 or not present on stream
-
JDK 1.1.5 or earlier.
- 1
-
JDK 1.1.6 or later. Writes a correct 'time' value
as well as compatible values for other fields. This is a
transitional format.
When streaming out this class, the most recent format
and the highest allowable serialVersionOnStream
is written. -
- Since:
- JDK1.1.6
time
long time
- The currently set time for this calendar, expressed in milliseconds after
January 1, 1970, 0:00:00 GMT.
-
- See Also:
Calendar.isTimeSet
zone
TimeZone zone
- The
TimeZone
used by this calendar. Calendar
uses the time zone data to translate between locale and GMT time. -
Class java.util.ConcurrentModificationException implements Serializable |
Class java.util.Date implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute this object from a stream (i.e., deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of this object to a stream (i.e., serialize it).
- Serial Data:
- The value returned by
getTime()
is emitted (long). This represents the offset from
January 1, 1970, 00:00:00 GMT in milliseconds.
Class java.util.EmptyStackException implements Serializable |
Class java.util.EventObject implements Serializable |
Class java.util.GregorianCalendar implements Serializable |
gregorianCutover
long gregorianCutover
- The point at which the Gregorian calendar rules are used, measured in
milliseconds from the standard epoch. Default is October 15, 1582
(Gregorian) 00:00:00 UTC or -12219292800000L. For this value, October 4,
1582 (Julian) is followed by October 15, 1582 (Gregorian). This
corresponds to Julian day number 2299161.
-
Class java.util.HashMap implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the HashMap instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the HashMap instance to a stream (i.e.,
serialize it).
- Serial Data:
- The capacity of the HashMap (the length of the
bucket array) is emitted (int), followed by the
size of the HashMap (the number of key-value
mappings), followed by the key (Object) and value (Object)
for each key-value mapping represented by the HashMap
The key-value mappings are emitted in no particular order.
loadFactor
float loadFactor
- The load factor for the hashtable.
-
threshold
int threshold
- The table is rehashed when its size exceeds this threshold. (The
value of this field is (int)(capacity * loadFactor).)
-
Class java.util.HashSet implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the HashSet instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of this HashSet instance to a stream (that is,
serialize this set).
- Serial Data:
- The capacity of the backing HashMap instance
(int), and its load factor (float) are emitted, followed by
the size of the set (the number of elements it contains)
(int), followed by all of its elements (each an Object) in
no particular order.
Class java.util.Hashtable implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the Hashtable from a stream (i.e., deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the Hashtable to a stream (i.e., serialize it).
- Serial Data:
- The capacity of the Hashtable (the length of the
bucket array) is emitted (int), followed by the
size of the Hashtable (the number of key-value
mappings), followed by the key (Object) and value (Object)
for each key-value mapping represented by the Hashtable
The key-value mappings are emitted in no particular order.
loadFactor
float loadFactor
- The load factor for the hashtable.
-
threshold
int threshold
- The table is rehashed when its size exceeds this threshold. (The
value of this field is (int)(capacity * loadFactor).)
-
Class java.util.LinkedList implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute this LinkedList instance from a stream (that is
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of this LinkedList instance to a stream (that
is, serialize it).
- Serial Data:
- The size of the list (the number of elements it
contains) is emitted (int), followed by all of its
elements (each an Object) in the proper order.
Class java.util.Locale implements Serializable |
readObject
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Serial Data:
- The first three fields are three
String
objects:
the first is a 2-letter ISO 639 code representing the locale's language,
the second is a 2-letter ISO 3166 code representing the locale's region or
country, and the third is an optional chain of variant codes defined by this
library. Any of the fields may be the empty string. The fourth field is an
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.
writeObject
private void writeObject(ObjectOutputStream out)
throws IOException
- Serial Data:
- The first three fields are three
String
objects:
the first is a 2-letter ISO 639 code representing the locale's language,
the second is a 2-letter ISO 3166 code representing the locale's region or
country, and the third is an optional chain of variant codes defined by this
library. Any of the fields may be the empty string. The fourth field is an
int
whose value is always -1. This is a sentinel value indicating
the Locale
's hash code must be recomputed.
country
String country
-
- See Also:
Locale.getCountry()
hashcode
int hashcode
- Placeholder for the object's hash code. Always -1.
-
language
String language
-
- See Also:
Locale.getLanguage()
variant
String variant
-
- See Also:
Locale.getVariant()
Class java.util.MissingResourceException implements Serializable |
className
String className
- The class name of the resource bundle requested by the user.
-
key
String key
- The name of the specific resource requested by the user.
-
Class java.util.NoSuchElementException implements Serializable |
Class java.util.Properties implements Serializable |
defaults
Properties defaults
- A property list that contains default values for any keys not
found in this property list.
-
Class java.util.Random implements Serializable |
haveNextNextGaussian
boolean haveNextNextGaussian
nextNextGaussian
double nextNextGaussian
seed
long seed
- The internal state associated with this pseudorandom number generator.
(The specs for the methods in this class describe the ongoing
computation of this value.)
-
Class java.util.SimpleTimeZone implements Serializable |
readObject
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
- Reconstitute this object from a stream (i.e., deserialize it).
We handle both JDK 1.1
binary formats and full formats with a packed byte array.
writeObject
private void writeObject(ObjectOutputStream stream)
throws IOException
- Save the state of this object to a stream (i.e., serialize it).
- Serial Data:
- We write out two formats, a JDK 1.1 compatible format, using
DOW_IN_MONTH_MODE
rules, in the required section, followed
by the full rules, in packed format, in the optional section. The
optional section will be ignored by JDK 1.1 code upon stream in.
Contents of the optional section: The length of a byte array is
emitted (int); this is 4 as of this release. The byte array of the given
length is emitted. The contents of the byte array are the true values of
the fields startDay
, startDayOfWeek
,
endDay
, and endDayOfWeek
. The values of these
fields in the required section are approximate values suited to the rule
mode DOW_IN_MONTH_MODE
, which is the only mode recognized by
JDK 1.1.
dstSavings
int dstSavings
- A positive value indicating the amount of time saved during DST in
milliseconds.
Typically one hour (3600000); sometimes 30 minutes (1800000).
If useDaylight
is false, this value is ignored.
-
- Since:
- JDK1.1.4
endDay
int endDay
- This field has two possible interpretations:
endMode == DOW_IN_MONTH
-
endDay
indicates the day of the month of
endMonth
on which daylight
savings 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
savings time ends on. For example, a value of +1 and a
endDayOfWeek
of Calendar.SUNDAY
indicates the
first Sunday of endMonth
. Likewise, +2 would indicate the
second Sunday, and -1 the last Sunday. A value of 0 is illegal.
If useDaylight
is false, this value is ignored.
-
endDayOfWeek
int endDayOfWeek
- The day of the week on which daylight savings time ends. This value
must be between
Calendar.SUNDAY
and
Calendar.SATURDAY
inclusive.
If useDaylight
is false or
endMode == DAY_OF_MONTH
, this value is ignored.
-
endMode
int endMode
- Variables specifying the mode of the end rule. Takes the following
values:
DOM_MODE
-
Exact day of week; e.g., March 1.
DOW_IN_MONTH_MODE
-
Day of week in month; e.g., last Sunday in March.
DOW_GE_DOM_MODE
-
Day of week after day of month; e.g., Sunday on or after March 15.
DOW_LE_DOM_MODE
-
Day of week before day of month; e.g., Sunday on or before March 15.
The setting of this field affects the interpretation of the
endDay
field.
If useDaylight
is false, this value is ignored.
-
- Since:
- JDK1.1.4
endMonth
int endMonth
- The month in which daylight savings time ends. This value must be
between
Calendar.JANUARY
and
Calendar.UNDECIMBER
. This value must not equal
startMonth
.
If useDaylight
is false, this value is ignored.
-
endTime
int endTime
- The time in milliseconds after midnight at which daylight savings
time ends. This value is expressed as wall time, which means
it is compared to daylight time for the daylight savings end.
If useDaylight
is false, this value is ignored.
-
monthLength
byte[] monthLength
- This field was serialized in JDK 1.1, so we have to keep it that way
to maintain serialization compatibility. However, there's no need to
recreate the array each time we create a new time zone.
- An array of bytes containing the values {31, 28, 31, 30, 31, 30,
31, 31, 30, 31, 30, 31}. This is ignored as of JDK 1.2, however, it must
be streamed out for compatibility with JDK 1.1.
rawOffset
int rawOffset
- The offset in milliseconds between this zone and GMT. Negative offsets
are to the west of Greenwich. To obtain local standard time,
add the offset to GMT time. To obtain local wall time it may also be
necessary to add
dstSavings
. -
serialVersionOnStream
int serialVersionOnStream
- The version of the serialized data on the stream. Possible values:
- 0 or not present on stream
-
JDK 1.1.3 or earlier.
- 1
-
JDK 1.1.4 or later. Includes three new fields:
startMode
,
endMode
, and dstSavings
.
When streaming out this class, the most recent format
and the highest allowable serialVersionOnStream
is written. -
- Since:
- JDK1.1.4
startDay
int startDay
- This field has two possible interpretations:
startMode == DOW_IN_MONTH
-
startDay
indicates the day of the month of
startMonth
on which daylight
savings 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
savings time starts on. For example, a value of +1 and a
startDayOfWeek
of Calendar.SUNDAY
indicates the
first Sunday of startMonth
. Likewise, +2 would indicate the
second Sunday, and -1 the last Sunday. A value of 0 is illegal.
If useDaylight
is false, this value is ignored.
-
startDayOfWeek
int startDayOfWeek
- The day of the week on which daylight savings time starts. This value
must be between
Calendar.SUNDAY
and
Calendar.SATURDAY
inclusive.
If useDaylight
is false or
startMode == DAY_OF_MONTH
, this value is ignored.
-
startMode
int startMode
- Variables specifying the mode of the start rule. Takes the following
values:
DOM_MODE
-
Exact day of week; e.g., March 1.
DOW_IN_MONTH_MODE
-
Day of week in month; e.g., last Sunday in March.
DOW_GE_DOM_MODE
-
Day of week after day of month; e.g., Sunday on or after March 15.
DOW_LE_DOM_MODE
-
Day of week before day of month; e.g., Sunday on or before March 15.
The setting of this field affects the interpretation of the
startDay
field.
If useDaylight
is false, this value is ignored.
-
- Since:
- JDK1.1.4
startMonth
int startMonth
- The month in which daylight savings time starts. This value must be
between
Calendar.JANUARY
and
Calendar.DECEMBER
inclusive. This value must not equal
endMonth
.
If useDaylight
is false, this value is ignored.
-
startTime
int startTime
- The time in milliseconds after midnight at which daylight savings
time starts. This value is expressed as wall time, which means
it is compared to standard time for the daylight savings start.
If useDaylight
is false, this value is ignored.
-
startYear
int startYear
- The year in which daylight savings time is first observed. This is an AD
value. If this value is less than 1 then daylight savings is observed
for all AD years.
If useDaylight
is false, this value is ignored.
-
useDaylight
boolean useDaylight
- A boolean value which is true if and only if this zone uses daylight
savings time. If this value is false, several other fields are ignored.
-
Class java.util.Stack implements Serializable |
Class java.util.TimeZone implements Serializable |
ID
String ID
- The string identifier of this
TimeZone
. This is a
programmatic identifier used internally to look up TimeZone
objects from the system table and also to map them to their localized
display names. ID
values are unique in the system
table but may not be for dynamically created zones. -
Class java.util.TooManyListenersException implements Serializable |
Class java.util.TreeMap implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the TreeMap instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the TreeMap instance to a stream (i.e.,
serialize it).
- Serial Data:
- The size of the TreeMap (the number of key-value
mappings) is emitted (int), followed by the key (Object)
and value (Object) for each key-value mapping represented
by the TreeMap. The key-value mappings are emitted in
key-order (as determined by the TreeMap's Comparator,
or by the keys' natural ordering if the TreeMap has no
Comparator).
comparator
Comparator comparator
- The Comparator used to maintain order in this TreeMap, or
null if this TreeMap uses its elements natural ordering.
-
Class java.util.TreeSet implements Serializable |
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the TreeSet instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the TreeSet instance to a stream (that is,
serialize it).
- Serial Data:
- Emits the comparator used to order this set, or
null if it obeys its elements' natural ordering
(Object), followed by the size of the set (the number of
elements it contains) (int), followed by all of its
elements (each an Object) in order (as determined by the
set's Comparator, or by the elements' natural ordering if
the set has no Comparator).
Class java.util.Vector implements Serializable |
capacityIncrement
int capacityIncrement
- The amount by which the capacity of the vector is automatically
incremented when its size becomes greater than its capacity. If
the capacity increment is
0
, the capacity of the
vector is doubled each time it needs to grow. -
elementCount
int elementCount
- The number of valid components in this Vector object.
Components elementData[0] through
elementData[elementCount-1] are the actual items.
-
elementData
Object[] elementData
- The array buffer into which the components of the vector are
stored. The capacity of the vector is the length of this array buffer,
and is at least large enough to contain all the vector's elements.
Any array elements following the last element in the Vector are null.
-
Class java.util.jar.JarException implements Serializable |
Class java.util.zip.DataFormatException implements Serializable |
Class java.util.zip.ZipException implements Serializable |
Class org.omg.CORBA.Any implements Serializable |
Class org.omg.CORBA.BAD_CONTEXT implements Serializable |
Class org.omg.CORBA.BAD_INV_ORDER implements Serializable |
Class org.omg.CORBA.BAD_OPERATION implements Serializable |
Class org.omg.CORBA.BAD_PARAM implements Serializable |
Class org.omg.CORBA.BAD_TYPECODE implements Serializable |
Class org.omg.CORBA.Bounds implements Serializable |
Class org.omg.CORBA.COMM_FAILURE implements Serializable |
Class org.omg.CORBA.CompletionStatus implements Serializable |
_value
int _value
Class org.omg.CORBA.DATA_CONVERSION implements Serializable |
Class org.omg.CORBA.DefinitionKind implements Serializable |
_value
int _value
-
Class org.omg.CORBA.FREE_MEM implements Serializable |
Class org.omg.CORBA.IMP_LIMIT implements Serializable |
Class org.omg.CORBA.INITIALIZE implements Serializable |
Class org.omg.CORBA.INTERNAL implements Serializable |
Class org.omg.CORBA.INTF_REPOS implements Serializable |
Class org.omg.CORBA.INV_FLAG implements Serializable |
Class org.omg.CORBA.INV_IDENT implements Serializable |
Class org.omg.CORBA.INV_OBJREF implements Serializable |
Class org.omg.CORBA.INV_POLICY implements Serializable |
Class org.omg.CORBA.INVALID_TRANSACTION implements Serializable |
Class org.omg.CORBA.MARSHAL implements Serializable |
Class org.omg.CORBA.NameValuePair implements Serializable |
id
String id
- The name to be associated with a value by this
NameValuePair
object.
value
Any value
- The value to be associated with a name by this
NameValuePair
object.
Class org.omg.CORBA.NO_IMPLEMENT implements Serializable |
Class org.omg.CORBA.NO_MEMORY implements Serializable |
Class org.omg.CORBA.NO_PERMISSION implements Serializable |
Class org.omg.CORBA.NO_RESOURCES implements Serializable |
Class org.omg.CORBA.NO_RESPONSE implements Serializable |
Class org.omg.CORBA.OBJ_ADAPTER implements Serializable |
Class org.omg.CORBA.OBJECT_NOT_EXIST implements Serializable |
Class org.omg.CORBA.PERSIST_STORE implements Serializable |
Class org.omg.CORBA.PolicyError implements Serializable |
reason
short reason
- The reason for the
PolicyError
exception being thrown. -
Class org.omg.CORBA.ServiceDetail implements Serializable |
service_detail
byte[] service_detail
service_detail_type
int service_detail_type
Class org.omg.CORBA.ServiceInformation implements Serializable |
service_details
ServiceDetail[] service_details
service_options
int[] service_options
Class org.omg.CORBA.SetOverrideType implements Serializable |
_value
int _value
Class org.omg.CORBA.StructMember implements Serializable |
name
String name
- The name of the struct member described by
this
StructMember
object. -
type
TypeCode type
- The type of the struct member described by
this
StructMember
object. -
type_def
IDLType type_def
- The typedef that represents the IDL type of the struct member described by
this
StructMember
object. -
Class org.omg.CORBA.SystemException implements Serializable |
completed
CompletionStatus completed
- The status of the operation that threw this exception.
-
minor
int minor
- The CORBA Exception minor code.
-
Class org.omg.CORBA.TRANSACTION_REQUIRED implements Serializable |
Class org.omg.CORBA.TRANSACTION_ROLLEDBACK implements Serializable |
Class org.omg.CORBA.TRANSIENT implements Serializable |
Class org.omg.CORBA.TypeCode implements Serializable |
Class org.omg.CORBA.UnionMember implements Serializable |
label
Any label
- The label of the union member described by this
UnionMember
object. -
name
String name
- The name of the union member described by this
UnionMember
object. -
type
TypeCode type
- The type of the union member described by this
UnionMember
object. -
type_def
IDLType type_def
- The typedef that represents the IDL type of the union member described by this
UnionMember
object. -
Class org.omg.CORBA.UNKNOWN implements Serializable |
Class org.omg.CORBA.UnknownUserException implements Serializable |
except
Any except
- The
Any
instance that contains the actual user exception thrown
by the server. -
Class org.omg.CORBA.UserException implements Serializable |
Class org.omg.CORBA.ValueMember implements Serializable |
access
short access
- The type of access (public, private) for the
value
member described by this ValueMember
object. -
defined_in
String defined_in
- The name of the
value
member described by this
ValueMember
object. -
id
String id
- The name of the
value
member described by this
ValueMember
object. -
name
String name
- The name of the
value
member described by this
ValueMember
object. -
type
TypeCode type
- The type of the
value
member described by this
ValueMember
object. -
type_def
IDLType type_def
- The typedef that represents the IDL type of the
value
member described by this ValueMember
object. -
version
String version
- The name of the
value
member described by this
ValueMember
object. -
Class org.omg.CORBA.WrongTransaction implements Serializable |
Package org.omg.CORBA.DynAnyPackage |
Class org.omg.CORBA.DynAnyPackage.Invalid implements Serializable |
Class org.omg.CORBA.DynAnyPackage.InvalidSeq implements Serializable |
Class org.omg.CORBA.DynAnyPackage.InvalidValue implements Serializable |
Class org.omg.CORBA.DynAnyPackage.TypeMismatch implements Serializable |
Package org.omg.CORBA.ORBPackage |
Class org.omg.CORBA.ORBPackage.InconsistentTypeCode implements Serializable |
Class org.omg.CORBA.ORBPackage.InvalidName implements Serializable |
Package org.omg.CORBA.portable |
Class org.omg.CORBA.portable.ApplicationException implements Serializable |
id
String id
ins
InputStream ins
Class org.omg.CORBA.portable.RemarshalException implements Serializable |
Package org.omg.CORBA.TypeCodePackage |
Class org.omg.CORBA.TypeCodePackage.BadKind implements Serializable |
Class org.omg.CORBA.TypeCodePackage.Bounds implements Serializable |
Package org.omg.CosNaming |
Class org.omg.CosNaming._BindingIteratorImplBase implements Serializable |
Class org.omg.CosNaming._BindingIteratorStub implements Serializable |
Class org.omg.CosNaming._NamingContextImplBase implements Serializable |
Class org.omg.CosNaming._NamingContextStub implements Serializable |
Class org.omg.CosNaming.Binding implements Serializable |
binding_name
NameComponent[] binding_name
binding_type
BindingType binding_type
Class org.omg.CosNaming.BindingType implements Serializable |
_value
int _value
Class org.omg.CosNaming.NameComponent implements Serializable |
id
String id
kind
String kind
Package org.omg.CosNaming.NamingContextPackage |
Class org.omg.CosNaming.NamingContextPackage.AlreadyBound implements Serializable |
Class org.omg.CosNaming.NamingContextPackage.CannotProceed implements Serializable |
cxt
NamingContext cxt
rest_of_name
NameComponent[] rest_of_name
Class org.omg.CosNaming.NamingContextPackage.InvalidName implements Serializable |
Class org.omg.CosNaming.NamingContextPackage.NotEmpty implements Serializable |
Class org.omg.CosNaming.NamingContextPackage.NotFound implements Serializable |
rest_of_name
NameComponent[] rest_of_name
why
NotFoundReason why
Class org.omg.CosNaming.NamingContextPackage.NotFoundReason implements Serializable |
_value
int _value
Private Serializable Classes
|
Class java.security.AllPermissionCollection implements Serializable |
all_allowed
boolean all_allowed
Class java.util.Arrays.ArrayList implements Serializable |
a
java.lang.Object[] a
Class java.security.BasicPermissionCollection implements Serializable |
all_allowed
boolean all_allowed
permissions
java.util.Hashtable permissions
Class java.util.Collections.CopiesList implements Serializable |
element
java.lang.Object element
n
int n
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 |
element
java.lang.Object element
Class java.util.Collections.SynchronizedCollection implements Serializable |
c
java.util.Collection c
mutex
java.lang.Object mutex
Class java.util.Collections.SynchronizedList implements Serializable |
list
java.util.List list
Class java.util.Collections.SynchronizedMap implements Serializable |
m
java.util.Map m
mutex
java.lang.Object mutex
Class java.util.Collections.SynchronizedSet implements Serializable |
Class java.util.Collections.SynchronizedSortedMap implements Serializable |
sm
java.util.SortedMap sm
Class java.util.Collections.SynchronizedSortedSet implements Serializable |
ss
java.util.SortedSet ss
Class java.util.Collections.UnmodifiableCollection implements Serializable |
c
java.util.Collection c
Class java.util.Collections.UnmodifiableList implements Serializable |
list
java.util.List list
Class java.util.Collections.UnmodifiableMap implements Serializable |
m
java.util.Map m
Class java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet implements Serializable |
Class java.util.Collections.UnmodifiableSet implements Serializable |
Class java.util.Collections.UnmodifiableSortedMap implements Serializable |
sm
java.util.SortedMap sm
Class java.util.Collections.UnmodifiableSortedSet implements Serializable |
ss
java.util.SortedSet ss
Class java.io.FilePermissionCollection implements Serializable |
permissions
java.util.Vector permissions
Class java.security.PermissionsHash implements Serializable |
perms
java.util.Hashtable perms
Class java.util.PropertyPermissionCollection implements Serializable |
all_allowed
boolean all_allowed
- Boolean saying if "*" is in the collection.
-
permissions
java.util.Hashtable permissions
- Table of permissions.
-
Class java.net.SocketPermissionCollection implements Serializable |
permissions
java.util.Vector permissions
- The SocketPermissions for this set.
Class java.security.UnresolvedPermissionCollection implements Serializable |
permissions
java.util.Hashtable permissions
Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.