|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Package java.applet |
|---|
Class java.applet.Applet extends Panel implements Serializable |
|---|
serialVersionUID: -5836846270535785031L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
HeadlessException

- if
GraphicsEnvironment.isHeadless() returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()

| Serialized Fields |
|---|
AccessibleContext![]()
![]()
accessibleContext
Class java.applet.Applet.AccessibleApplet extends Panel.AccessibleAWTPanel implements Serializable |
|---|
serialVersionUID: 8127374778187708896L
| Package java.awt |
|---|
Class java.awt.AWTError extends Error implements Serializable |
|---|
serialVersionUID: -1819846354050686206L
Class java.awt.AWTEvent extends EventObject implements Serializable |
|---|
serialVersionUID: -1825314779160409405L
| Serialized Fields |
|---|
byte[] bdata
int id
AWTEvent.getID()
,
AWTEvent.AWTEvent(java.lang.Object, int)

boolean consumed
AWTEvent.consume()
,
AWTEvent.isConsumed()

Class java.awt.AWTException extends Exception implements Serializable |
|---|
serialVersionUID: -1900414231151323879L
Class java.awt.AWTKeyStroke extends Object implements Serializable |
|---|
serialVersionUID: -6430539691155161871L
| Serialization Methods |
|---|
protected Object![]()
![]()
readResolve() throws ObjectStreamException
![]()
![]()
AWTKeyStroke (or a subclass of
AWTKeyStroke) which is equal to this instance.
ObjectStreamException

| Serialized Fields |
|---|
char keyChar
int keyCode
int modifiers
boolean onKeyRelease
Class java.awt.AWTPermission extends BasicPermission implements Serializable |
|---|
serialVersionUID: 8890392402588814465L
Class java.awt.BorderLayout extends Object implements Serializable |
|---|
serialVersionUID: -8658291919501921765L
| Serialized Fields |
|---|
int hgap
hgap.
BorderLayout.getHgap()
,
BorderLayout.setHgap(int)

int vgap
vgap.
BorderLayout.getVgap()
,
BorderLayout.setVgap(int)

Component![]()
![]()
north
BorderLayout.getChild(String, boolean)
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
BorderLayout.getLayoutAlignmentX(java.awt.Container)
,
BorderLayout.getLayoutAlignmentY(java.awt.Container)
,
BorderLayout.removeLayoutComponent(java.awt.Component)

Component![]()
![]()
west
BorderLayout.getChild(String, boolean)
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
BorderLayout.getLayoutAlignmentX(java.awt.Container)
,
BorderLayout.getLayoutAlignmentY(java.awt.Container)
,
BorderLayout.removeLayoutComponent(java.awt.Component)

Component![]()
![]()
east
BorderLayout.getChild(String, boolean)
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
BorderLayout.getLayoutAlignmentX(java.awt.Container)
,
BorderLayout.getLayoutAlignmentY(java.awt.Container)
,
BorderLayout.removeLayoutComponent(java.awt.Component)

Component![]()
![]()
south
BorderLayout.getChild(String, boolean)
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
BorderLayout.getLayoutAlignmentX(java.awt.Container)
,
BorderLayout.getLayoutAlignmentY(java.awt.Container)
,
BorderLayout.removeLayoutComponent(java.awt.Component)

Component![]()
![]()
center
BorderLayout.getChild(String, boolean)
,
BorderLayout.addLayoutComponent(java.awt.Component, java.lang.Object)
,
BorderLayout.getLayoutAlignmentX(java.awt.Container)
,
BorderLayout.getLayoutAlignmentY(java.awt.Container)
,
BorderLayout.removeLayoutComponent(java.awt.Component)

Component![]()
![]()
firstLine
NORTH
and BEFORE_FIRST_LINE constants in a container whose
orientation is LEFT_TO_RIGHT, only the
BEFORE_FIRST_LINE will be layed out.
This will be the same for lastLine, firstItem, lastItem.
Component![]()
![]()
lastLine
Component![]()
![]()
firstItem
Component![]()
![]()
lastItem
Class java.awt.Button extends Component implements Serializable |
|---|
serialVersionUID: -8774683716313001058L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream and if
it isn't null adds a listener to
receive action events fired by the button.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

Button.removeActionListener(ActionListener)
,
Button.addActionListener(ActionListener)
,
GraphicsEnvironment.isHeadless()
,
Button.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
ActionListeners
as optional data. The non-serializable
ActionListeners are detected and
no attempt is made to serialize them.
null terminated sequence of 0 or
more pairs: the pair consists of a String
and an Object; the String
indicates the type of object and is one of the following:
actionListenerK indicating an
ActionListener objectIOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.actionListenerK
,
Button.readObject(ObjectInputStream)

| Serialized Fields |
|---|
String![]()
![]()
label
Button.getLabel()
,
setLabel()String![]()
![]()
actionCommand
Button.getActionCommand()
,
setActionCommand()int buttonSerializedDataVersion
Class java.awt.Button.AccessibleAWTButton extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: -5932203980244017102L
Class java.awt.Canvas extends Component implements Serializable |
|---|
serialVersionUID: -2284879212465893870L
Class java.awt.Canvas.AccessibleAWTCanvas extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: -6325592262103146699L
Class java.awt.CardLayout extends Object implements Serializable |
|---|
serialVersionUID: -4328196481005934313L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
IOException

| Serialized Fields |
|---|
int currentCard
int hgap
Hashtable![]()
![]()
<K,V> tab
Vector![]()
![]()
<E> vector
int vgap
Class java.awt.Checkbox extends Component implements Serializable |
|---|
serialVersionUID: 7270714317450821763L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream and if it
isn't null adds a listener to receive
item events fired by the Checkbox.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

Checkbox.removeItemListener(ItemListener)
,
Checkbox.addItemListener(ItemListener)
,
GraphicsEnvironment.isHeadless()
,
Checkbox.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
ItemListeners
as optional data. The non-serializable
ItemListeners are detected and
no attempt is made to serialize them.
null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following:
itemListenerK indicating an
ItemListener objectIOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.itemListenerK
,
Checkbox.readObject(ObjectInputStream)

| Serialized Fields |
|---|
String![]()
![]()
label
Checkbox.getLabel()
,
#setLabel(label)boolean state
Checkbox.
Checkbox.getState()
,
#setState(state)CheckboxGroup![]()
![]()
group
#getCheckBoxGroup(),
#setCheckBoxGroup(CheckBoxGroup)int checkboxSerializedDataVersion
Class java.awt.Checkbox.AccessibleAWTCheckbox extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: 7881579233144754107L
Class java.awt.CheckboxGroup extends Object implements Serializable |
|---|
serialVersionUID: 3729780091441768983L
| Serialized Fields |
|---|
Checkbox![]()
![]()
selectedCheckbox
CheckboxGroup.getCurrent()
,
CheckboxGroup.setCurrent(Checkbox)

Class java.awt.CheckboxMenuItem extends MenuItem implements Serializable |
|---|
serialVersionUID: 6190621106981774043L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
ItemListeners
as optional data. The non-serializable
ItemListeners are detected and
no attempt is made to serialize them.
null terminated sequence of
0 or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following:
itemListenerK indicating an
ItemListener objectIOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.itemListenerK
,
CheckboxMenuItem.readObject(ObjectInputStream)

| Serialized Fields |
|---|
boolean state
CheckboxMenuItem.getState()
,
CheckboxMenuItem.setState(boolean)

int checkboxMenuItemSerializedDataVersion
Class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem extends MenuItem.AccessibleAWTMenuItem implements Serializable |
|---|
serialVersionUID: -1122642964303476L
Class java.awt.Choice extends Component implements Serializable |
|---|
serialVersionUID: -4075310674757313071L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream and if it
isn't null adds a listener to receive
item events fired by the Choice item.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

Choice.removeItemListener(ItemListener)
,
Choice.addItemListener(ItemListener)
,
GraphicsEnvironment.isHeadless()
,
Choice.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
ItemListeners
as optional data. The non-serializable
ItemListeners are detected and
no attempt is made to serialize them.
null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following:
itemListenerK indicating an
ItemListener objectIOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.itemListenerK
,
Choice.readObject(ObjectInputStream)

| Serialized Fields |
|---|
Vector![]()
![]()
<E> pItems
Choice.
This can be a null value.
Choice.add(String)
,
Choice.addItem(String)
,
Choice.getItem(int)
,
Choice.getItemCount()
,
Choice.insert(String, int)
,
Choice.remove(String)

int selectedIndex
Choice
or -1 if nothing is selected.
Choice.getSelectedItem()
,
Choice.select(int)

int choiceSerializedDataVersion
Class java.awt.Choice.AccessibleAWTChoice extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: 7175603582428509322L
Class java.awt.Color extends Object implements Serializable |
|---|
serialVersionUID: 118526816881161077L
| Serialized Fields |
|---|
int value
Color.getRGB()

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

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

float falpha
float component.
If frgbvalue is null, this is not valid
data, so compute from the int color value.
Color.getRGBComponents(float[])
,
Color.getComponents(float[])

ColorSpace![]()
![]()
cs
ColorSpace. If null, then it's
default is sRGB.
Color.getColor(java.lang.String)
,
Color.getColorSpace()
,
Color.getColorComponents(float[])

Class java.awt.Component extends Object implements Serializable |
|---|
serialVersionUID: -7644114512714619750L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ObjectInputStream and if it isn't
null adds a listener to receive a variety
of events fired by the component.
Unrecognized keys or values will be ignored.
ClassNotFoundException

IOException

Component.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
null terminated sequence of
0 or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following (as of 1.4):
componentListenerK indicating an
ComponentListener object;
focusListenerK indicating an
FocusListener object;
keyListenerK indicating an
KeyListener object;
mouseListenerK indicating an
MouseListener object;
mouseMotionListenerK indicating an
MouseMotionListener object;
inputListenerK indicating an
InputListener object;
hierarchyListenerK indicating an
HierarchyListener object;
hierarchyBoundsListenerK indicating an
HierarchyBoundsListener object;
mouseWheelListenerK indicating an
MouseWheelListener object, an optional ComponentOrientation
(after inputMethodListener, as of 1.2)IOException

AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
Component.componentListenerK
,
Component.focusListenerK
,
Component.keyListenerK
,
Component.mouseListenerK
,
Component.mouseMotionListenerK
,
#inputListenerK,
Component.hierarchyListenerK
,
Component.hierarchyBoundsListenerK
,
Component.mouseWheelListenerK
,
Component.readObject(ObjectInputStream)

| Serialized Fields |
|---|
int x
Component.getLocation()

int y
Component.getLocation()

int width
Component.getSize()

int height
Component.getSize()

Color![]()
![]()
foreground
foreground can be null.
Component.getForeground()
,
Component.setForeground(java.awt.Color)

Color![]()
![]()
background
background can be null.
Component.getBackground()
,
Component.setBackground(java.awt.Color)

Font![]()
![]()
font
font can be null.
Component.getFont()
,
Component.setFont(java.awt.Font)

Font![]()
![]()
peerFont
null if no peer exists.)
Cursor![]()
![]()
cursor
null.
Component.getCursor()
,
Component.setCursor(java.awt.Cursor)

Locale![]()
![]()
locale
Component.getLocale()
,
Component.setLocale(java.util.Locale)

boolean ignoreRepaint
Component.setIgnoreRepaint(boolean)
,
Component.getIgnoreRepaint()

boolean visible
Component.isVisible()
,
Component.setVisible(boolean)

boolean enabled
Component.isEnabled()
,
Component.setEnabled(boolean)

boolean valid
Component.isValid()
,
Component.validate()
,
Component.invalidate()

DropTarget![]()
![]()
dropTarget
DropTarget associated with this component.
Component.setDropTarget(java.awt.dnd.DropTarget)
,
Component.getDropTarget()

Vector![]()
![]()
<E> popups
Component.add(java.awt.PopupMenu)

String![]()
![]()
name
null.
Component.getName()
,
Component.setName(String)

boolean nameExplicitlySet
nameExplicitlySet will
be false if the name has not been set and
true if it has.
Component.getName()
,
Component.setName(String)

boolean focusable
Component.setFocusable(boolean)
,
Component.isFocusable()

int isFocusTraversableOverridden
Set![]()
![]()
<E>[] focusTraversalKeys
Component.setFocusTraversalKeys(int, java.util.Set extends java.awt.AWTKeyStroke>)
,
Component.getFocusTraversalKeys(int)

boolean focusTraversalKeysEnabled
Component.setFocusTraversalKeysEnabled(boolean)
,
Component.getFocusTraversalKeysEnabled()

Dimension![]()
![]()
minSize
boolean minSizeSet
Dimension![]()
![]()
prefSize
boolean prefSizeSet
Dimension![]()
![]()
maxSize
boolean maxSizeSet
boolean newEventsOnly
newEventsOnly will be true if the event is
one of the event types enabled for the component.
It will then allow for normal processing to
continue. If it is false the event is passed
to the component's parent and up the ancestor
tree until the event has been consumed.
Component.dispatchEvent(java.awt.AWTEvent)

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

PropertyChangeSupport![]()
![]()
changeSupport
PropertyChangeListeners have been registered,
the changeSupport field describes them.
Component.addPropertyChangeListener(java.beans.PropertyChangeListener)
,
Component.removePropertyChangeListener(java.beans.PropertyChangeListener)
,
Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)

boolean isPacked
int boundsOp
int componentSerializedDataVersion
AccessibleContext![]()
![]()
accessibleContext
Class java.awt.Component.AccessibleAWTComponent extends AccessibleContext implements Serializable |
|---|
serialVersionUID: 642321655757800191L
| Serialized Fields |
|---|
ComponentListener![]()
![]()
accessibleAWTComponentHandler
FocusListener![]()
![]()
accessibleAWTFocusHandler
Class java.awt.ComponentOrientation extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
int orientation
Class java.awt.Container extends Component implements Serializable |
|---|
serialVersionUID: 4613797578919906343L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
Container from the specified
ObjectInputStream.
ClassNotFoundException

IOException

Container.addContainerListener(java.awt.event.ContainerListener)
,
Container.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
Container to the specified
ObjectOutputStream.
null is written.
null terminated sequence of 0 or more pairs;
the pair consists of a String and Object;
the String indicates the type of object and
is one of the following:
containerListenerK indicating an
ContainerListener object;
the Container's FocusTraversalPolicy,
or nullIOException

AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
Component.containerListenerK
,
Container.readObject(ObjectInputStream)

| Serialized Fields |
|---|
Component[] component
int containerSerializedDataVersion
java.awt.LightweightDispatcher dispatcher
boolean focusCycleRoot
boolean focusTraversalPolicyProvider
LayoutManager![]()
![]()
layoutMgr
Dimension![]()
![]()
maxSize
int ncomponents
Class java.awt.Container.AccessibleAWTContainer extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: 5081320404842566097L
| Serialized Fields |
|---|
ContainerListener![]()
![]()
accessibleContainerHandler
Class java.awt.ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy implements Serializable |
|---|
serialVersionUID: 486933713763926351L
| Serialized Fields |
|---|
boolean implicitDownCycleTraversal
Class java.awt.Cursor extends Object implements Serializable |
|---|
serialVersionUID: 8028237497568985504L
| Serialized Fields |
|---|
int type
DEFAULT_CURSOR.
Cursor.getType()

String![]()
![]()
name
Cursor.getName()

Class java.awt.DefaultFocusTraversalPolicy extends ContainerOrderFocusTraversalPolicy implements Serializable |
|---|
Class java.awt.Dialog extends Window implements Serializable |
|---|
serialVersionUID: 5920926903803293709L
| Serialized Fields |
|---|
boolean resizable
Dialog.setResizable(boolean)

boolean undecorated
undecorated will be true if the dialog is
undecorated, otherwise it will be false.
Dialog.setUndecorated(boolean)
,
Dialog.isUndecorated()
,
Component.isDisplayable()

boolean modal
Dialog.isModal()
,
Dialog.setModal(boolean)

String![]()
![]()
title
Dialog.getTitle()
,
Dialog.setTitle(String)

Class java.awt.Dialog.AccessibleAWTDialog extends Window.AccessibleAWTWindow implements Serializable |
|---|
serialVersionUID: 4837230331833941201L
Class java.awt.Dimension extends Dimension2D implements Serializable |
|---|
serialVersionUID: 4723952579491349524L
| Serialized Fields |
|---|
int width
Dimension.getSize()
,
Dimension.setSize(double, double)

int height
Dimension.getSize()
,
Dimension.setSize(double, double)

Class java.awt.Event extends Object implements Serializable |
|---|
serialVersionUID: 5488922509400504703L
| Serialized Fields |
|---|
Object![]()
![]()
target
EventObject.getSource()

long when
InputEvent.getWhen()

int id
Event variables are relevant for the event.
This has been replaced by AWTEvent.getID()
AWTEvent.getID()

int x
MouseEvent.getX()

int y
MouseEvent.getY()

int key
KeyEvent.getKeyCode()

int modifiers
InputEvent.getModifiers()

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

Object![]()
![]()
arg
arg has been replaced by event specific property.
Event![]()
![]()
evt
EventQueue

boolean consumed
Event.isConsumed()

Class java.awt.FileDialog extends Dialog implements Serializable |
|---|
serialVersionUID: 5035145889651310422L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ObjectInputStream and performs
a backwards compatibility check by converting
either a dir or a file
equal to an empty string to null.
ClassNotFoundException

IOException

| Serialized Fields |
|---|
int mode
String![]()
![]()
dir
String![]()
![]()
file
FilenameFilter![]()
![]()
filter
Class java.awt.FlowLayout extends Object implements Serializable |
|---|
serialVersionUID: -7262534875583282631L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
stream) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

| Serialized Fields |
|---|
int align
align is the property that determines
how each row distributes empty space.
It can be one of the following values:
LEFT
RIGHT
CENTER
LEADING
TRAILING
FlowLayout.getAlignment()
,
FlowLayout.setAlignment(int)

int newAlign
newAlign is the property that determines
how each row distributes empty space for the Java 2 platform,
v1.2 and greater.
It can be one of the following three values:
LEFT
RIGHT
CENTER
LEADING
TRAILING
FlowLayout.getAlignment()
,
FlowLayout.setAlignment(int)

int hgap
Container.
FlowLayout.getHgap()
,
FlowLayout.setHgap(int)

int vgap
Container.
FlowLayout.getHgap()
,
FlowLayout.setHgap(int)

int serialVersionOnStream
currentSerialVersion
which is bein used. It will be one of two values :
0 versions before Java 2 platform v1.2..
1 versions after Java 2 platform v1.2..
Class java.awt.Font extends Object implements Serializable |
|---|
serialVersionUID: -4206021311591459213L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ObjectInputStream.
Unrecognized keys or values will be ignored.
ClassNotFoundException

IOException

Font.writeObject(java.io.ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Font.readObject(java.io.ObjectInputStream)

| Serialized Fields |
|---|
Hashtable![]()
![]()
<K,V> fRequestedAttributes
Font.getAttributes()

String![]()
![]()
name
Font, as passed to the
constructor.
Font.getName()

int style
Font, as passed to the constructor.
This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC.
Font.getStyle()

int size
Font, rounded to integer.
Font.getSize()

float pointSize
Font in float.
Font.getSize()
,
Font.getSize2D()

int fontSerializedDataVersion
Font Serializable Data Form.
Class java.awt.FontFormatException extends Exception implements Serializable |
|---|
Class java.awt.FontMetrics extends Object implements Serializable |
|---|
serialVersionUID: 1681126225205050147L
| Serialized Fields |
|---|
Font![]()
![]()
font
Font
from which the font metrics are
created.
This cannot be null.
FontMetrics.getFont()

Class java.awt.Frame extends Window implements Serializable |
|---|
serialVersionUID: 2673458971256075116L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream. Tries
to read an Icon, which is optional
data available as of 1.4. If an Icon
is not available, but anything other than an EOF
is detected, an OptionalDataException
will be thrown..
Unrecognized keys or values will be ignored.
OptionalDataException - if an Icon
is not available, but anything other than an EOF
is detected
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()
,
Icon
,
Frame.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
Icon, which is
available as of 1.4.
IconIOException

Icon
,
Frame.readObject(ObjectInputStream)

| Serialized Fields |
|---|
Rectangle![]()
![]()
maximizedBounds
Frame.setMaximizedBounds(Rectangle)
,
Frame.getMaximizedBounds()

String![]()
![]()
title
title can be null and if
this is the case the title = "".
Frame.getTitle()
,
Frame.setTitle(String)

MenuBar![]()
![]()
menuBar
menuBar = null
the frame will not have a menubar.
Frame.getMenuBar()
,
Frame.setMenuBar(MenuBar)

boolean resizable
resizable will be true if the frame is
resizable, otherwise it will be false.
Frame.isResizable()

boolean undecorated
undecorated will be true if the frame is
undecorated, otherwise it will be false.
Frame.setUndecorated(boolean)
,
Frame.isUndecorated()
,
Component.isDisplayable()

boolean mbManagement
mbManagement is only used by the Motif implementation.
int state
Vector![]()
![]()
<E> ownedWindows
int frameSerializedDataVersion
Frame's Serialized Data Version.
Class java.awt.Frame.AccessibleAWTFrame extends Window.AccessibleAWTWindow implements Serializable |
|---|
serialVersionUID: -6172960752956030250L
Class java.awt.GraphicsConfigTemplate extends Object implements Serializable |
|---|
Class java.awt.GridBagConstraints extends Object implements Serializable |
|---|
serialVersionUID: -1000070633030801713L
| Serialized Fields |
|---|
int gridx
gridx=0.
The leading edge of a component's display area is its left edge for
a horizontal, left-to-right container and its right edge for a
horizontal, right-to-left container.
The value
RELATIVE specifies that the component be placed
immediately following the component that was added to the container
just before this component was added.
The default value is RELATIVE.
gridx should be a non-negative value.
GridBagConstraints.clone()
,
GridBagConstraints.gridy
,
ComponentOrientation

int gridy
gridy=0. The value
RELATIVE specifies that the component be placed just
below the component that was added to the container just before
this component was added.
The default value is RELATIVE.
gridy should be a non-negative value.
GridBagConstraints.clone()
,
GridBagConstraints.gridx

int gridwidth
Use REMAINDER to specify that the component's
display area will be from gridx to the last
cell in the row.
Use RELATIVE to specify that the component's
display area will be from gridx to the next
to the last one in its row.
gridwidth should be non-negative and the default
value is 1.
GridBagConstraints.clone()
,
GridBagConstraints.gridheight

int gridheight
Use REMAINDER to specify that the component's
display area will be from gridy to the last
cell in the column.
Use RELATIVE to specify that the component's
display area will be from gridy to the next
to the last one in its column.
gridheight should be a non-negative value and the
default value is 1.
GridBagConstraints.clone()
,
GridBagConstraints.gridwidth

double weightx
The grid bag layout manager calculates the weight of a column to
be the maximum weightx of all the components in a
column. If the resulting layout is smaller horizontally than the area
it needs to fill, the extra space is distributed to each column in
proportion to its weight. A column that has a weight of zero receives
no extra space.
If all the weights are zero, all the extra space appears between the grids of the cell and the left and right edges.
The default value of this field is 0.
weightx should be a non-negative value.
GridBagConstraints.clone()
,
GridBagConstraints.weighty

double weighty
The grid bag layout manager calculates the weight of a row to be
the maximum weighty of all the components in a row.
If the resulting layout is smaller vertically than the area it
needs to fill, the extra space is distributed to each row in
proportion to its weight. A row that has a weight of zero receives no
extra space.
If all the weights are zero, all the extra space appears between the grids of the cell and the top and bottom edges.
The default value of this field is 0.
weighty should be a non-negative value.
GridBagConstraints.clone()
,
GridBagConstraints.weightx

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

int fill
The following values are valid for fill:
NONE: Do not resize the component.
HORIZONTAL: Make the component wide enough to fill
its display area horizontally, but do not change its height.
VERTICAL: Make the component tall enough to fill its
display area vertically, but do not change its width.
BOTH: Make the component fill its display area
entirely.
The default value is NONE.
GridBagConstraints.clone()

Insets![]()
![]()
insets
The default value is new Insets(0, 0, 0, 0).
GridBagConstraints.clone()

int ipadx
ipadx pixels.
The default value is 0.
GridBagConstraints.clone()
,
GridBagConstraints.ipady

int ipady
ipady pixels.
The default value is 0.
GridBagConstraints.clone()
,
GridBagConstraints.ipadx

int tempX
int tempY
int tempWidth
int tempHeight
int minWidth
ipady, where the default will be 0.
GridBagConstraints.ipady

int minHeight
ipadx, where the default will be 0.
GridBagConstraints.ipadx

Class java.awt.GridBagLayout extends Object implements Serializable |
|---|
serialVersionUID: 8838754796412211005L
| Serialized Fields |
|---|
Hashtable![]()
![]()
<K,V> comptable
comptable are the components and the
values are the instances of GridBagConstraints.
GridBagConstraints

GridBagConstraints![]()
![]()
defaultConstraints
defaultConstraints.
GridBagLayout.getConstraints(Component)
,
GridBagLayout.setConstraints(Component, GridBagConstraints)
,
GridBagLayout.lookupConstraints(Component)

java.awt.GridBagLayoutInfo layoutInfo
layoutInfo is null
this indicates that there are no components in
the gridbag or if there are components, they have
not yet been validated.
GridBagLayout.getLayoutInfo(Container, int)

int[] columnWidths
null the values are
applied to the gridbag after all of the minimum columns
widths have been calculated.
If columnWidths has more elements than the number of
columns, columns are added to the gridbag to match
the number of elements in columnWidth.
GridBagLayout.getLayoutDimensions()

int[] rowHeights
rowHeights has more elements than the number of
rows, rowa are added to the gridbag to match
the number of elements in rowHeights.
GridBagLayout.getLayoutDimensions()

double[] columnWeights
null the values are
applied to the gridbag after all of the columns
weights have been calculated.
If columnWeights[i] > weight for column i, then
column i is assigned the weight in columnWeights[i].
If columnWeights has more elements than the number
of columns, the excess elements are ignored - they do
not cause more columns to be created.
double[] rowWeights
rowWeights[i] > weight for row i, then
row i is assigned the weight in rowWeights[i].
If rowWeights has more elements than the number
of rows, the excess elements are ignored - they do
not cause more rows to be created.
Class java.awt.GridLayout extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
int hgap
GridLayout.getHgap()
,
GridLayout.setHgap(int)

int vgap
GridLayout.getVgap()
,
GridLayout.setVgap(int)

int rows
GridLayout.getRows()
,
GridLayout.setRows(int)

int cols
GridLayout.getColumns()
,
GridLayout.setColumns(int)

Class java.awt.HeadlessException extends UnsupportedOperationException implements Serializable |
|---|
serialVersionUID: 167183644944358563L
Class java.awt.IllegalComponentStateException extends IllegalStateException implements Serializable |
|---|
serialVersionUID: -1889339587208144238L
Class java.awt.Insets extends Object implements Serializable |
|---|
serialVersionUID: -2272572637695466749L
| Serialized Fields |
|---|
int top
Insets.clone()

int left
Insets.clone()

int bottom
Insets.clone()

int right
Insets.clone()

Class java.awt.Label extends Component implements Serializable |
|---|
serialVersionUID: 3094126758329070636L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
HeadlessException

- if
GraphicsEnvironment.isHeadless() returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()

| Serialized Fields |
|---|
String![]()
![]()
text
Label.getText()
,
Label.setText(String)

int alignment
Label.getAlignment()
,
Label.setAlignment(int)

Class java.awt.Label.AccessibleAWTLabel extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: -3568967560160480438L
Class java.awt.List extends Component implements Serializable |
|---|
serialVersionUID: -3304312411574666869L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream and if it
isn't null adds a listener to receive
both item events and action events (as specified
by the key stored in the stream) fired by the
List.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

List.removeItemListener(ItemListener)
,
List.addItemListener(ItemListener)
,
GraphicsEnvironment.isHeadless()
,
List.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
ItemListeners
and ActionListeners as optional data.
The non-serializable listeners are detected and
no attempt is made to serialize them.
null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String
indicates the type of object and is one of the
following:
itemListenerK indicating an
ItemListener object;
actionListenerK indicating an
ActionListener objectIOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.itemListenerK
,
Component.actionListenerK
,
List.readObject(ObjectInputStream)

| Serialized Fields |
|---|
Vector![]()
![]()
<E> items
List.addItem(String)
,
List.getItem(int)

int rows
List Component. It is specified only once, and
that is when the list component is actually
created. It will never change.
List.getRows()

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

int[] selected
selected is an array that will contain
the indices of items that have been selected.
List.getSelectedIndexes()
,
List.getSelectedIndex()

int visibleIndex
List.makeVisible(int)

int listSerializedDataVersion
List component's
Serialized Data Version.
Class java.awt.List.AccessibleAWTList extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: 7924617370136012829L
Class java.awt.List.AccessibleAWTList.AccessibleAWTListChild extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: 4412022926028300317L
| Serialized Fields |
|---|
List![]()
![]()
parent
int indexInParent
Class java.awt.MediaTracker extends Object implements Serializable |
|---|
serialVersionUID: -483174189758638095L
| Serialized Fields |
|---|
Component![]()
![]()
target
Component that will be
tracked by a media tracker where the image will
eventually be drawn.
MediaTracker.MediaTracker(Component)

java.awt.MediaEntry head
Images that is being
tracked by the MediaTracker.
MediaTracker.addImage(Image, int)
,
MediaTracker.removeImage(Image)

Class java.awt.Menu extends MenuItem implements Serializable |
|---|
serialVersionUID: -8809584163345499784L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
IOException

ClassNotFoundException

GraphicsEnvironment.isHeadless()
,
Menu.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
IOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Menu.readObject(ObjectInputStream)

| Serialized Fields |
|---|
Vector![]()
![]()
<E> items
Menu.countItems()

boolean tearOff
true if the menu has the tear off
property and it will be set to false>
if it does not.
A torn off menu can be deleted by a user when
it is no longer needed.
Menu.isTearOff()

boolean isHelpMenu
true
if the Menu in question is actually a help
menu. Otherwise it will be set to
false.
int menuSerializedDataVersion
Class java.awt.Menu.AccessibleAWTMenu extends MenuItem.AccessibleAWTMenuItem implements Serializable |
|---|
serialVersionUID: 5228160894980069094L
Class java.awt.MenuBar extends MenuComponent implements Serializable |
|---|
serialVersionUID: -4930327919388951260L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()
,
MenuBar.writeObject(java.io.ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
MenuBar.readObject(java.io.ObjectInputStream)

| Serialized Fields |
|---|
Vector![]()
![]()
<E> menus
MenuBar.countMenus()

Menu![]()
![]()
helpMenu
MenuBar.getHelpMenu()
,
MenuBar.setHelpMenu(Menu)

int menuBarSerializedDataVersion
Class java.awt.MenuBar.AccessibleAWTMenuBar extends MenuComponent.AccessibleAWTMenuComponent implements Serializable |
|---|
serialVersionUID: -8577604491830083815L
Class java.awt.MenuComponent extends Object implements Serializable |
|---|
serialVersionUID: -4536902356223894379L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()

| Serialized Fields |
|---|
Font![]()
![]()
font
null at which point a default will be used.
This defaults to null.
MenuComponent.setFont(Font)
,
MenuComponent.getFont()

String![]()
![]()
name
null.
MenuComponent.getName()
,
MenuComponent.setName(String)

boolean nameExplicitlySet
true the name will be set explicitly.
This defaults to false.
MenuComponent.setName(String)

boolean newEventsOnly
false.
MenuComponent.dispatchEvent(AWTEvent)

AccessibleContext![]()
![]()
accessibleContext
Class java.awt.MenuComponent.AccessibleAWTMenuComponent extends AccessibleContext implements Serializable |
|---|
serialVersionUID: -4269533416223798698L
Class java.awt.MenuItem extends MenuComponent implements Serializable |
|---|
serialVersionUID: -21757335363267194L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream and if it
isn't null adds a listener to receive
action events fired by the Menu Item.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

#removeActionListener(actionListener),
#addActionListener(actionListener),
MenuItem.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
ActionListeners
as optional data. The non-serializable listeners are
detected and no attempt is made to serialize them.
null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String
indicates the type of object and is one of the following:
actionListenerK indicating an
ActionListener objectIOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
MenuItem.readObject(ObjectInputStream)

| Serialized Fields |
|---|
boolean enabled
enabled will
be set to true. Else enabled will
be set to false.
MenuItem.isEnabled()
,
MenuItem.setEnabled(boolean)

String![]()
![]()
label
label is the label of a menu item.
It can be any string.
MenuItem.getLabel()
,
MenuItem.setLabel(String)

String![]()
![]()
actionCommand
actionCommand
is the label of the menu item, unless it has been
set using setActionCommand.
MenuItem.setActionCommand(String)
,
MenuItem.getActionCommand()

long eventMask
MenuShortcut![]()
![]()
shortcut
MenuItem.getShortcut()
,
MenuItem.setShortcut(MenuShortcut)
,
MenuItem.deleteShortcut()

int menuItemSerializedDataVersion
Class java.awt.MenuItem.AccessibleAWTMenuItem extends MenuComponent.AccessibleAWTMenuComponent implements Serializable |
|---|
serialVersionUID: -217847831945965825L
Class java.awt.MenuShortcut extends Object implements Serializable |
|---|
serialVersionUID: 143448358473180225L
| Serialized Fields |
|---|
int key
MenuShortcut.getKey()
,
MenuShortcut.usesShiftModifier()
,
KeyEvent

boolean usesShift
MenuShortcut.usesShiftModifier()

Class java.awt.Panel extends Container implements Serializable |
|---|
serialVersionUID: -2728009084054400034L
Class java.awt.Panel.AccessibleAWTPanel extends Container.AccessibleAWTContainer implements Serializable |
|---|
serialVersionUID: -6409552226660031050L
Class java.awt.Point extends Point2D implements Serializable |
|---|
serialVersionUID: -5276940640259749850L
| Serialized Fields |
|---|
int x
Point.getLocation()
,
Point.move(int, int)

int y
Point.getLocation()
,
Point.move(int, int)

Class java.awt.Polygon extends Object implements Serializable |
|---|
serialVersionUID: -6460061437900069969L
| Serialized Fields |
|---|
int npoints
npoints
represents the number of valid points in this Polygon
and might be less than the number of elements in
xpoints
or ypoints
.
This value can be NULL.
Polygon.addPoint(int, int)

int[] xpoints
Polygon. The extra elements allow new points
to be added to this Polygon without re-creating this
array. The value of npoints
is equal to the
number of valid points in this Polygon.
Polygon.addPoint(int, int)

int[] ypoints
Polygon. The extra elements allow new points
to be added to this Polygon without re-creating this
array. The value of npoints is equal to the
number of valid points in this Polygon.
Polygon.addPoint(int, int)

Rectangle![]()
![]()
bounds
Polygon.getBoundingBox()
,
Polygon.getBounds()

Class java.awt.PopupMenu extends Menu implements Serializable |
|---|
serialVersionUID: -4620452533522760060L
Class java.awt.PopupMenu.AccessibleAWTPopupMenu extends Menu.AccessibleAWTMenu implements Serializable |
|---|
serialVersionUID: -4282044795947239955L
Class java.awt.Rectangle extends Rectangle2D implements Serializable |
|---|
serialVersionUID: -4345857070255674764L
| Serialized Fields |
|---|
int x
Rectangle.
Rectangle.setLocation(int, int)
,
Rectangle.getLocation()

int y
Rectangle.
Rectangle.setLocation(int, int)
,
Rectangle.getLocation()

int width
Rectangle.
Rectangle.setSize(int, int)
,
Rectangle.getSize()

int height
Rectangle.
Rectangle.setSize(int, int)
,
Rectangle.getSize()

Class java.awt.Scrollbar extends Component implements Serializable |
|---|
serialVersionUID: 8451667562882310543L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream and if
it isn't null adds a listener to
receive adjustment events fired by the
Scrollbar.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()
,
Scrollbar.writeObject(ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
AdjustmentListeners
as optional data. The non-serializable listeners are
detected and no attempt is made to serialize them.
null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following:
adjustmentListenerK indicating an
AdjustmentListener objectIOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.adjustmentListenerK
,
Scrollbar.readObject(ObjectInputStream)

| Serialized Fields |
|---|
int value
Scrollbar.
This property must be greater than or equal to minimum
and less than or equal to
maximum - visibleAmount
Scrollbar.getValue()
,
Scrollbar.setValue(int)

int maximum
Scrollbar.
This value must be greater than the minimum
value.
Scrollbar.getMaximum()
,
Scrollbar.setMaximum(int)

int minimum
Scrollbar.
This value must be less than the maximum
value.
Scrollbar.getMinimum()
,
Scrollbar.setMinimum(int)

int visibleAmount
Scrollbar's bubble.
When a scroll bar is used to select a range of values,
the visibleAmount represents the size of this range.
This is visually indicated by the size of the bubble.
Scrollbar.getVisibleAmount()
,
Scrollbar.setVisibleAmount(int)

int orientation
Scrollbar's orientation--being either horizontal
or vertical.
This value should be specified when the scrollbar is created.VERTICAL or
HORIZONTAL only.
Scrollbar.getOrientation()
,
Scrollbar.setOrientation(int)

int lineIncrement
Scrollbar.getLineIncrement()
,
Scrollbar.setLineIncrement(int)

int pageIncrement
Scrollbar.getPageIncrement()
,
Scrollbar.setPageIncrement(int)

int scrollbarSerializedDataVersion
Class java.awt.Scrollbar.AccessibleAWTScrollBar extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: -344337268523697807L
Class java.awt.ScrollPane extends Container implements Serializable |
|---|
serialVersionUID: 7956609840827222915L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
HeadlessException

- if
GraphicsEnvironment.isHeadless() returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
IOException

| Serialized Fields |
|---|
int scrollbarDisplayPolicy
ScrollPane.getScrollbarDisplayPolicy()

ScrollPaneAdjustable![]()
![]()
vAdjustable
Adjustable methods, namely:
setMinimum(), setMaximum(),
setVisibleAmount().
ScrollPane.getVAdjustable()

ScrollPaneAdjustable![]()
![]()
hAdjustable
Adjustable methods, namely:
setMinimum(), setMaximum(),
setVisibleAmount().
ScrollPane.getHAdjustable()

boolean wheelScrollingEnabled
Class java.awt.ScrollPane.AccessibleAWTScrollPane extends Container.AccessibleAWTContainer implements Serializable |
|---|
serialVersionUID: 6100703663886637L
Class java.awt.ScrollPaneAdjustable extends Object implements Serializable |
|---|
serialVersionUID: -3359745691033257079L
| Serialized Fields |
|---|
ScrollPane![]()
![]()
sp
ScrollPane this object is a scrollbar of.
int orientation
ScrollPaneAdjustable.getOrientation()
,
Adjustable.HORIZONTAL
,
Adjustable.VERTICAL

int value
value should be greater than minimum
and less than maximum
ScrollPaneAdjustable.getValue()
,
ScrollPaneAdjustable.setValue(int)

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

int maximum
ScrollPane.
ScrollPaneAdjustable.getMaximum()
,
ScrollPaneAdjustable.setSpan(int, int, int)

int visibleAmount
ScrollPane.
ScrollPaneAdjustable.getVisibleAmount()
,
ScrollPaneAdjustable.setSpan(int, int, int)

int unitIncrement
ScrollPaneAdjustable.getUnitIncrement()
,
ScrollPaneAdjustable.setUnitIncrement(int)

int blockIncrement
ScrollPaneAdjustable.getBlockIncrement()
,
ScrollPaneAdjustable.setBlockIncrement(int)

AdjustmentListener![]()
![]()
adjustmentListener
Class java.awt.SystemColor extends Color implements Serializable |
|---|
serialVersionUID: 4503142729533789064L
Class java.awt.TextArea extends TextComponent implements Serializable |
|---|
serialVersionUID: 3692302836626095722L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
HeadlessException

- if
GraphicsEnvironment.isHeadless() returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()

| Serialized Fields |
|---|
int rows
TextArea.
This parameter will determine the text area's height.
Guaranteed to be non-negative.
TextArea.getRows()
,
TextArea.setRows(int)

int columns
TextArea.
A column is an approximate average character
width that is platform-dependent.
This parameter will determine the text area's width.
Guaranteed to be non-negative.
TextArea.setColumns(int)
,
TextArea.getColumns()

int scrollbarVisibility
SCROLLBARS_BOTH = both scrollbars.SCROLLBARS_HORIZONTAL_ONLY = Horizontal bar only.SCROLLBARS_VERTICAL_ONLY = Vertical bar only.SCROLLBARS_NONE = No scrollbars.
TextArea.getScrollbarVisibility()

int textAreaSerializedDataVersion
Class java.awt.TextArea.AccessibleAWTTextArea extends TextComponent.AccessibleAWTTextComponent implements Serializable |
|---|
serialVersionUID: 3472827823632144419L
Class java.awt.TextComponent extends Component implements Serializable |
|---|
serialVersionUID: -2214773872412987419L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
HeadlessException

- if
GraphicsEnvironment.isHeadless() returns
true
ClassNotFoundException

IOException

#removeTextListener(),
#addTextListener(),
GraphicsEnvironment.isHeadless()

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
IOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.textListenerK

| Serialized Fields |
|---|
String![]()
![]()
text
null value is the same as "".
TextComponent.setText(String)
,
TextComponent.getText()

boolean editable
TextComponent is editable.
It will be true if the text component
is editable and false if not.
TextComponent.isEditable()

int selectionStart
selectionStart is the start position
of the selected text.
TextComponent.getSelectionStart()
,
TextComponent.setSelectionStart(int)

int selectionEnd
selectionEnd
is the end position of the selected text.
TextComponent.getSelectionEnd()
,
TextComponent.setSelectionEnd(int)

boolean backgroundSetByClientCode
int textComponentSerializedDataVersion
boolean checkForEnableIM
Class java.awt.TextComponent.AccessibleAWTTextComponent extends Component.AccessibleAWTComponent implements Serializable |
|---|
serialVersionUID: 3631432373506317811L
Class java.awt.TextField extends TextComponent implements Serializable |
|---|
serialVersionUID: -2966288784432217853L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
HeadlessException

- if
GraphicsEnvironment.isHeadless() returns
true
ClassNotFoundException

IOException

TextField.removeActionListener(ActionListener)
,
TextField.addActionListener(ActionListener)
,
GraphicsEnvironment.isHeadless()

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
IOException

AWTEventMulticaster.save(ObjectOutputStream, String, EventListener)
,
Component.actionListenerK

| Serialized Fields |
|---|
int columns
TextField.setColumns(int)
,
TextField.getColumns()

char echoChar
0.
TextField.getEchoChar()
,
TextField.setEchoChar(char)
,
TextField.echoCharIsSet()

int textFieldSerializedDataVersion
Class java.awt.TextField.AccessibleAWTTextField extends TextComponent.AccessibleAWTTextComponent implements Serializable |
|---|
serialVersionUID: 6219164359235943158L
Class java.awt.Window extends Container implements Serializable |
|---|
serialVersionUID: 4497834738069338734L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
, HeadlessException
![]()
![]()
ObjectInputStream and an optional
list of listeners to receive various events fired by
the component; also reads a list of
(possibly null) child windows.
Unrecognized keys or values will be ignored.
HeadlessException

- if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException

IOException

GraphicsEnvironment.isHeadless()
,
Window.writeObject(java.io.ObjectOutputStream)

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
WindowListeners and
WindowFocusListeners as optional data.
Writes a list of child windows as optional data.
null terminated sequence of
0 or more pairs; the pair consists of a String
and and Object; the String
indicates the type of object and is one of the following:
windowListenerK indicating a
WindowListener object;
windowFocusWindowK indicating a
WindowFocusListener object;
ownedWindowK indicating a child
Window objectIOException

AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)
,
Component.windowListenerK
,
Component.windowFocusListenerK
,
Component.ownedWindowK
,
Window.readObject(ObjectInputStream)

| Serialized Fields |
|---|
String![]()
![]()
warningString
Window.getWarningString()

boolean syncLWRequests
int state
Window.show()

boolean alwaysOnTop
Window.setAlwaysOnTop(boolean)
,
Window.isAlwaysOnTop()

java.awt.FocusManager focusMgr
boolean focusableWindowState
Window.getFocusableWindowState()
,
Window.setFocusableWindowState(boolean)

int windowSerializedDataVersion
boolean locationByPlatform
Class java.awt.Window.AccessibleAWTWindow extends Container.AccessibleAWTContainer implements Serializable |
|---|
serialVersionUID: 4215068635060671780L
| Package java.awt.color |
|---|
Class java.awt.color.CMMException extends RuntimeException implements Serializable |
|---|
Class java.awt.color.ColorSpace extends Object implements Serializable |
|---|
serialVersionUID: -409452704308689724L
| Serialized Fields |
|---|
int type
int numComponents
Class java.awt.color.ICC_ColorSpace extends ColorSpace implements Serializable |
|---|
serialVersionUID: 3455889114070431483L
| Serialized Fields |
|---|
ICC_Profile![]()
![]()
thisProfile
float[] minVal
float[] maxVal
float[] diffMinMax
float[] invDiffMinMax
boolean needScaleInit
Class java.awt.color.ICC_Profile extends Object implements Serializable |
|---|
serialVersionUID: -3938515861990936766L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
String is the name of one of
CS_* constants defined in the
ColorSpace
class if the profile object is a profile
for a predefined color space (for example
"CS_sRGB"). The string is null
otherwise.
The byte[] array is the profile data for the
profile. It will usually be null for the
predefined profiles.
If the string is recognized as a constant name for
predefined color space the object will be resolved into
profile obtained with
getInstance(int cspace) and the profile
data are ignored. Otherwise the object will be resolved
into profile obtained with
getInstance(byte[] data).
IOException

- thrown by ObjectInputStream.
ClassNotFoundException

- thrown by ObjectInputStream.ICC_Profile.readResolve()
,
ICC_Profile.getInstance(int)
,
ICC_Profile.getInstance(byte[])

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
String is the name of one of
CS_* constants defined in the
ColorSpace
class if the profile object is a profile
for a predefined color space (for example
"CS_sRGB"). The string is null
otherwise.
The byte[] array is the profile data for the
profile. For predefined color spaces null is
written instead of the profile data. If in the future
versions of Java API new predefined color spaces will be
added, future versions of this class may choose to write
for new predefined color spaces not only the color space
name, but the profile data as well so that older versions
could still deserialize the object.
IOException

- thrown by ObjectInputStream.protected Object![]()
![]()
readResolve() throws ObjectStreamException
![]()
![]()
ObjectStreamException

- never thrown, but mandated by the serialization spec.| Serialized Fields |
|---|
int iccProfileSerializedDataVersion
1 corresponds to Java 2
Platform, v1.3.
Class java.awt.color.ICC_ProfileGray extends ICC_Profile implements Serializable |
|---|
Class java.awt.color.ICC_ProfileRGB extends ICC_Profile implements Serializable |
|---|
Class java.awt.color.ProfileDataException extends RuntimeException implements Serializable |
|---|
| Package java.awt.datatransfer |
|---|
Class java.awt.datatransfer.DataFlavor extends Object implements Serializable |
|---|
serialVersionUID: 8367026044764648243L
| Serialization Methods |
|---|
public void readExternal(ObjectInput![]()
![]()
is) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
DataFlavor from a Serialized state.
IOException

- if I/O errors occur
ClassNotFoundException

- If the class for an object being
restored cannot be found.public void writeExternal(ObjectOutput![]()
![]()
os) throws IOException
![]()
![]()
DataFlavor.
IOException

- Includes any I/O exceptions that may occur
Class java.awt.datatransfer.FlavorEvent extends EventObject implements Serializable |
|---|
Class java.awt.datatransfer.UnsupportedFlavorException extends Exception implements Serializable |
|---|
serialVersionUID: 5383814944251665601L
| Package java.awt.dnd |
|---|
Class java.awt.dnd.DragGestureEvent extends EventObject implements Serializable |
|---|
serialVersionUID: 9080172649166731306L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
DragGestureEvent. This method first
performs default deserialization for all non-transient
fields. An attempt is then made to deserialize this object's
List of gesture events as well. This is first attempted
by deserializing the field events, because, in releases
prior to 1.4, a non-transient field of this name stored the
List of gesture events. If this fails, the next object in
the stream is used instead. If the resulting List is
null, this object's List of gesture events
is set to an empty List.
ClassNotFoundException

IOException

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

| Serialized Fields |
|---|
DragSource![]()
![]()
dragSource
Component![]()
![]()
component
Point![]()
![]()
origin
int action
Class java.awt.dnd.DragGestureRecognizer extends Object implements Serializable |
|---|
serialVersionUID: 8996673345831063337L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
DragGestureRecognizer. This method first
performs default deserialization for all non-transient
fields. This object's DragGestureListener is then
deserialized as well by using the next object in the stream.
ClassNotFoundException

IOException

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

| Serialized Fields |
|---|
DragSource![]()
![]()
dragSource
DragSource
associated with this
DragGestureRecognizer.
Component![]()
![]()
component
Component
associated with this DragGestureRecognizer.
int sourceActions
int representing
the type(s) of action(s) used
in this Drag and Drop operation.
ArrayList![]()
![]()
<E> events
DragGestureRecognizer
"recognized" as a "gesture" that triggers a drag.
Class java.awt.dnd.DragSource extends Object implements Serializable |
|---|
serialVersionUID: 6236096958971414066L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
DragSource. This method first performs
default deserialization. Next, this object's FlavorMap is
deserialized by using the next object in the stream.
If the resulting FlavorMap is null, this
object's FlavorMap is set to the default FlavorMap for
this thread's ClassLoader.
Next, this object's listeners are deserialized by reading a
null-terminated sequence of 0 or more key/value pairs
from the stream:
String equal to
dragSourceListenerK, a DragSourceListener is
deserialized using the corresponding value object and added to this
DragSource.
String equal to
dragSourceMotionListenerK, a
DragSourceMotionListener is deserialized using the
corresponding value object and added to this DragSource.
ClassNotFoundException

IOException

SystemFlavorMap.getDefaultFlavorMap()

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

Class java.awt.dnd.DragSourceContext extends Object implements Serializable |
|---|
serialVersionUID: -115407898692194719L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
DragSourceContext. This method first
performs default deserialization for all non-transient
fields. This object's Transferable and
DragSourceListener are then deserialized as well by using
the next two objects in the stream. If the resulting
Transferable is null, this object's
Transferable is set to a dummy Transferable
which supports no DataFlavors.
ClassNotFoundException

IOException

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

| Serialized Fields |
|---|
DragGestureEvent![]()
![]()
trigger
Cursor![]()
![]()
cursor
boolean useCustomCursor
true if the custom drag cursor is used instead of the
default one.
int sourceActions
DnDConstants that represents the set of
drop actions supported by the drag source for the drag operation associated
with this DragSourceContext.
Class java.awt.dnd.DragSourceDragEvent extends DragSourceEvent implements Serializable |
|---|
serialVersionUID: 481346297933902471L
| Serialized Fields |
|---|
int targetActions
int dropAction
int gestureModifiers
boolean invalidModifiers
gestureModifiers are invalid.
Class java.awt.dnd.DragSourceDropEvent extends DragSourceEvent implements Serializable |
|---|
serialVersionUID: -5571321229470821891L
| Serialized Fields |
|---|
boolean dropSuccess
true if the drop was successful.
int dropAction
Class java.awt.dnd.DragSourceEvent extends EventObject implements Serializable |
|---|
serialVersionUID: -763287114604032641L
| Serialized Fields |
|---|
boolean locationSpecified
boolean indicating whether the cursor location
is specified for this event.
int x
int y
Class java.awt.dnd.DropTarget extends Object implements Serializable |
|---|
serialVersionUID: -6283860791671019047L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
DropTarget. This method first performs
default deserialization for all non-transient fields. An
attempt is then made to deserialize this object's
DropTargetListener as well. This is first attempted by
deserializing the field dtListener, because, in releases
prior to 1.4, a non-transient field of this name stored the
DropTargetListener. If this fails, the next object in the
stream is used instead.
ClassNotFoundException

IOException

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

| Serialized Fields |
|---|
DropTargetContext![]()
![]()
dropTargetContext
Component![]()
![]()
component
int actions
DropTarget.setDefaultActions(int)
,
DropTarget.getDefaultActions()

boolean active
true if the DropTarget is accepting Drag & Drop operations.
Class java.awt.dnd.DropTargetContext extends Object implements Serializable |
|---|
serialVersionUID: -634158968993743371L
| Serialized Fields |
|---|
DropTarget![]()
![]()
dropTarget
Class java.awt.dnd.DropTargetDragEvent extends DropTargetEvent implements Serializable |
|---|
serialVersionUID: -8422265619058953682L
| Serialized Fields |
|---|
Point![]()
![]()
location
int actions
int dropAction
Class java.awt.dnd.DropTargetDropEvent extends DropTargetEvent implements Serializable |
|---|
serialVersionUID: -1721911170440459322L
| Serialized Fields |
|---|
Point![]()
![]()
location
int actions
int dropAction
boolean isLocalTx
true if the source is in the same JVM as the target.
Class java.awt.dnd.DropTargetEvent extends EventObject implements Serializable |
|---|
serialVersionUID: 2821229066521922993L
| Serialized Fields |
|---|
DropTargetContext![]()
![]()
context
DropTargetContext associated with this
DropTargetEvent.
Class java.awt.dnd.InvalidDnDOperationException extends IllegalStateException implements Serializable |
|---|
Class java.awt.dnd.MouseDragGestureRecognizer extends DragGestureRecognizer implements Serializable |
|---|
serialVersionUID: 6220099344182281120L
| Package java.awt.event |
|---|
Class java.awt.event.ActionEvent extends AWTEvent implements Serializable |
|---|
serialVersionUID: -7671078796273832149L
| Serialized Fields |
|---|
String![]()
![]()
actionCommand
ActionEvent.getActionCommand()

long when
ActionEvent.getWhen()

int modifiers
ActionEvent.getModifiers()

Class java.awt.event.AdjustmentEvent extends AWTEvent implements Serializable |
|---|
serialVersionUID: 5700290645205279921L
| Serialized Fields |
|---|
Adjustable![]()
![]()
adjustable
AdjustmentEvent.getAdjustable()

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

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

boolean isAdjusting
isAdjusting is true if the event is one
of the series of multiple adjustment events.
AdjustmentEvent.getValueIsAdjusting()

Class java.awt.event.ComponentEvent extends AWTEvent implements Serializable |
|---|
serialVersionUID: 8101406823902992965L
Class java.awt.event.ContainerEvent extends ComponentEvent implements Serializable |
|---|
serialVersionUID: -4114942250539772041L
| Serialized Fields |
|---|
Component![]()
![]()
child
ContainerEvent.getChild()

Class java.awt.event.FocusEvent extends ComponentEvent implements Serializable |
|---|
serialVersionUID: 523753786457416396L
| Serialized Fields |
|---|
boolean temporary
FocusEvent.isTemporary()

Class java.awt.event.HierarchyEvent extends AWTEvent implements Serializable |
|---|
| Serialized Fields |
|---|
Component![]()
![]()
changed
Container![]()
![]()
changedParent
long changeFlags
Class java.awt.event.InputEvent extends ComponentEvent implements Serializable |
|---|
serialVersionUID: -2482525981698309786L
| Serialized Fields |
|---|
long when
InputEvent.getWhen()

int modifiers
InputEvent.getModifiers()
,
InputEvent.getModifiersEx()
,
KeyEvent
,
MouseEvent

Class java.awt.event.InputMethodEvent extends AWTEvent implements Serializable |
|---|
serialVersionUID: 4727190874778922661L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
when field if it is not present in the
object input stream. In that case, the field will be initialized by
invoking EventQueue.getMostRecentEventTime()
.
ClassNotFoundException

IOException

| Serialized Fields |
|---|
long when
InputMethodEvent.getWhen()

Class java.awt.event.InvocationEvent extends AWTEvent implements Serializable |
|---|
serialVersionUID: 436056344909459450L
| Serialized Fields |
|---|
Runnable![]()
![]()
runnable
Object![]()
![]()
notifier
boolean catchExceptions
Exception![]()
![]()
exception
Throwable![]()
![]()
throwable
long when
InvocationEvent.getWhen()

Class java.awt.event.ItemEvent extends AWTEvent implements Serializable |
|---|
serialVersionUID: -608708132447206933L
| Serialized Fields |
|---|
Object![]()
![]()
item
ItemEvent.getItem()

int stateChange
stateChange indicates whether the item
was selected or deselected.
ItemEvent.getStateChange()

Class java.awt.event.KeyEvent extends InputEvent implements Serializable |
|---|
serialVersionUID: -2352130953028126954L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

| Serialized Fields |
|---|
boolean isProxyActive
int keyCode
KeyEvent.getKeyCode()
,
KeyEvent.setKeyCode(int)

char keyChar
keyChar is a valid unicode character
that is fired by a key or a key combination on
a keyboard.
KeyEvent.getKeyChar()
,
KeyEvent.setKeyChar(char)

int keyLocation
KEY_LOCATION_UNKNOWN,
KEY_LOCATION_STANDARD, KEY_LOCATION_LEFT,
KEY_LOCATION_RIGHT, and KEY_LOCATION_NUMPAD.
KeyEvent.getKeyLocation()

Class java.awt.event.MouseEvent extends InputEvent implements Serializable |
|---|
serialVersionUID: -991214153494842848L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

| Serialized Fields |
|---|
int x
MouseEvent.getX()

int y
MouseEvent.getY()

int clickCount
MOUSE_CLICKED,
MOUSE_PRESSED and
MOUSE_RELEASED.
For the above, the clickCount will be at least 1.
For all other events the count will be 0.
MouseEvent.getClickCount().

int button
NOBUTTON,
BUTTON1,
BUTTON2 or
BUTTON3.
MouseEvent.getButton().

boolean popupTrigger
popupTrigger = false,
no popup menu should appear. If it is true
then a popup menu should appear.
PopupMenu
,
MouseEvent.isPopupTrigger()

Class java.awt.event.MouseWheelEvent extends MouseEvent implements Serializable |
|---|
| Serialized Fields |
|---|
int scrollType
MouseWheelEvent.getScrollType()

int scrollAmount
MouseWheelEvent.getScrollAmount()
,
MouseWheelEvent.getScrollType()

int wheelRotation
MouseWheelEvent.getWheelRotation()

Class java.awt.event.PaintEvent extends ComponentEvent implements Serializable |
|---|
serialVersionUID: 1267492026433337593L
| Serialized Fields |
|---|
Rectangle![]()
![]()
updateRect
Rectangle
,
PaintEvent.setUpdateRect(Rectangle)
,
PaintEvent.getUpdateRect()

Class java.awt.event.TextEvent extends AWTEvent implements Serializable |
|---|
serialVersionUID: 6269902291250941179L
Class java.awt.event.WindowEvent extends ComponentEvent implements Serializable |
|---|
serialVersionUID: -1567959133147912127L
| Serialized Fields |
|---|
int oldState
int newState
| Package java.awt.font |
|---|
Class java.awt.font.NumericShaper extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
int key
int mask
Class java.awt.font.TextAttribute extends AttributedCharacterIterator.Attribute implements Serializable |
|---|
serialVersionUID: 7744112784117861702L
| Serialization Methods |
|---|
protected Object![]()
![]()
readResolve() throws InvalidObjectException
![]()
![]()
InvalidObjectException

Class java.awt.font.TransformAttribute extends Object implements Serializable |
|---|
serialVersionUID: 3356247357827709530L
| Serialization Methods |
|---|
private void writeObject(ObjectOutputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

| Serialized Fields |
|---|
AffineTransform![]()
![]()
transform
AffineTransform for this
TransformAttribute, or null
if AffineTransform is the identity transform.
| Package java.awt.geom |
|---|
Class java.awt.geom.AffineTransform extends Object implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

private void writeObject(ObjectOutputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

| Serialized Fields |
|---|
double m00
double m10
double m01
double m11
double m02
double m12
Class java.awt.geom.IllegalPathStateException extends RuntimeException implements Serializable |
|---|
Class java.awt.geom.NoninvertibleTransformException extends Exception implements Serializable |
|---|
| Package java.awt.image |
|---|
Class java.awt.image.ImagingOpException extends RuntimeException implements Serializable |
|---|
Class java.awt.image.RasterFormatException extends RuntimeException implements Serializable |
|---|
| Package java.awt.image.renderable |
|---|
Class java.awt.image.renderable.ParameterBlock extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Vector![]()
![]()
<E> sources
Vector![]()
![]()
<E> parameters
| Package java.awt.print |
|---|
Class java.awt.print.PrinterAbortException extends PrinterException implements Serializable |
|---|
Class java.awt.print.PrinterException extends Exception implements Serializable |
|---|
Class java.awt.print.PrinterIOException extends PrinterException implements Serializable |
|---|
serialVersionUID: 5850870712125932846L
| Serialized Fields |
|---|
IOException![]()
![]()
mException
| Package java.beans |
|---|
Class java.beans.IndexedPropertyChangeEvent extends PropertyChangeEvent implements Serializable |
|---|
| Serialized Fields |
|---|
int index
Class java.beans.IntrospectionException extends Exception implements Serializable |
|---|
Class java.beans.PropertyChangeEvent extends EventObject implements Serializable |
|---|
| Serialized Fields |
|---|
String![]()
![]()
propertyName
Object![]()
![]()
newValue
Object![]()
![]()
oldValue
Object![]()
![]()
propagationId
#getPropagationId.
Class java.beans.PropertyChangeSupport extends Object implements Serializable |
|---|
serialVersionUID: 6401253773779951803L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
PropertyChangeListeners.
At serialization time we skip non-serializable listeners and only serialize the serializable listeners.
IOException

| Serialized Fields |
|---|
Hashtable![]()
![]()
<K,V> children
Object![]()
![]()
source
int propertyChangeSupportSerializedDataVersion
Class java.beans.PropertyVetoException extends Exception implements Serializable |
|---|
| Serialized Fields |
|---|
PropertyChangeEvent![]()
![]()
evt
Class java.beans.VetoableChangeSupport extends Object implements Serializable |
|---|
serialVersionUID: -5090210921595982017L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws ClassNotFoundException
![]()
![]()
, IOException
![]()
![]()
ClassNotFoundException

IOException

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
VetoableChangeListeners.
At serialization time we skip non-serializable listeners and only serialize the serializable listeners.
IOException

| Serialized Fields |
|---|
Hashtable![]()
![]()
<K,V> children
Object![]()
![]()
source
int vetoableChangeSupportSerializedDataVersion
| Package java.beans.beancontext |
|---|
Class java.beans.beancontext.BeanContextChildSupport extends Object implements Serializable |
|---|
serialVersionUID: 6328947014421475877L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
ois) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

private void writeObject(ObjectOutputStream![]()
![]()
oos) throws IOException
![]()
![]()
IOException

| Serialized Fields |
|---|
BeanContextChild![]()
![]()
beanContextChildPeer
BeanContext in which
this BeanContextChild is nested.
PropertyChangeSupport![]()
![]()
pcSupport
VetoableChangeSupport![]()
![]()
vcSupport
Class java.beans.beancontext.BeanContextEvent extends EventObject implements Serializable |
|---|
| Serialized Fields |
|---|
BeanContext![]()
![]()
propagatedFrom
BeanContext from which this event was propagated
Class java.beans.beancontext.BeanContextMembershipEvent extends BeanContextEvent implements Serializable |
|---|
| Serialized Fields |
|---|
Collection![]()
![]()
<E> children
Class java.beans.beancontext.BeanContextServiceAvailableEvent extends BeanContextEvent implements Serializable |
|---|
| Serialized Fields |
|---|
Class![]()
![]()
<T> serviceClass
Class reference to the newly available service
Class java.beans.beancontext.BeanContextServiceRevokedEvent extends BeanContextEvent implements Serializable |
|---|
| Serialized Fields |
|---|
Class![]()
![]()
<T> serviceClass
Class reference to the service that is being revoked.
boolean invalidateRefs
Class java.beans.beancontext.BeanContextServicesSupport extends BeanContextSupport implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
ois) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

private void writeObject(ObjectOutputStream![]()
![]()
oos) throws IOException
![]()
![]()
IOException

Class java.beans.beancontext.BeanContextServicesSupport.BCSSChild extends BeanContextSupport.BCSChild implements Serializable |
|---|
serialVersionUID: -3263851306889194873L
Class java.beans.beancontext.BeanContextServicesSupport.BCSSServiceProvider extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
BeanContextServiceProvider![]()
![]()
serviceProvider
Class java.beans.beancontext.BeanContextSupport extends BeanContextChildSupport implements Serializable |
|---|
serialVersionUID: -4879613978649577204L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
ois) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

private void writeObject(ObjectOutputStream![]()
![]()
oos) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

| Serialized Fields |
|---|
int serializable
Locale![]()
![]()
locale
boolean okToUseGui
boolean designTime
Class java.beans.beancontext.BeanContextSupport.BCSChild extends Object implements Serializable |
|---|
serialVersionUID: -5815286101609939109L
| Serialized Fields |
|---|
Object![]()
![]()
child
Object![]()
![]()
proxyPeer
| Package java.io |
|---|
Class java.io.CharConversionException extends IOException implements Serializable |
|---|
Class java.io.EOFException extends IOException implements Serializable |
|---|
Class java.io.File extends Object implements Serializable |
|---|
serialVersionUID: 301077366599181567L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
s) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

private void writeObject(ObjectOutputStream![]()
![]()
s) throws IOException
![]()
![]()
IOException

| Serialized Fields |
|---|
String![]()
![]()
path
Class java.io.FileNotFoundException extends IOException implements Serializable |
|---|
Class java.io.FilePermissionCollection extends PermissionCollection implements Serializable |
|---|
serialVersionUID: 2202956749081564585L
| Serialization Methods |
|---|
private void readObject(ObjectInputStream![]()
![]()
in) throws IOException
![]()
![]()
, ClassNotFoundException
![]()
![]()
IOException

ClassNotFoundException

private void writeObject(ObjectOutputStream![]()
![]()
out) throws IOException
![]()
![]()
IOException

| Serialized Fields |
|---|
Vector![]()
![]()
<E> permissions
Class java.io.InterruptedIOException extends IOException implements Serializable |
|---|
| Serialized Fields |
|---|
int bytesTransferred
Class java.io.InvalidClassException extends ObjectStreamException implements Serializable |
|---|
| Serialized Fields |
|---|
String![]()
![]()
classname
Class java.io.InvalidObjectException extends ObjectStreamException implements Serializable |
|---|
Class java.io.IOException extends Exception implements Serializable |
|---|
Class java.io.NotActiveException extends ObjectStreamException implements Serializable |
|---|
Class java.io.NotSerializableException extends ObjectStreamException implements Serializable |
|---|
Class java.io.ObjectStreamClass extends Object implements Serializable |
|---|
serialVersionUID: -6120832682080437368L
| Serialized Fields |
|---|
Class java.io.ObjectStreamException extends IOException implements Serializable |
|---|
Class java.io.OptionalDataException extends ObjectStreamException implements Serializable |
|---|
| Serialized Fields |
|---|
int length
boolean eof
Class java.io.SerializablePermission extends BasicPermission implements Serializable |
|---|
| Serialized Fields |
|---|
String![]()
![]()
actions
Class java.io.StreamCorruptedException extends ObjectStreamException implements Serializable |
|---|
Class java.io.SyncFailedException extends IOException implements Serializable |
|---|
Class java.io.UnsupportedEncodingException extends IOException implements Serializable |
|---|
Class java.io.UTFDataFormatException extends IOException implements Serializable |
|---|
Class java.io.WriteAbortedException extends ObjectStreamException implements Serializable |
|---|
serialVersionUID: -3326426625597282442L
| Serialized Fields |
|---|
Exception![]()
![]()
detail
This field predates the general-purpose exception chaining facility.
The Throwable.getCause()
method is now the preferred means of
obtaining this information.