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