Serialized Form (Java 2 Platform SE v1.4.2)
JavaTM 2 Platform
Std. Ed. v1.4.2

Serialized Form


Package java.applet

Class java.applet.Applet extends Panel implements Serializable

serialVersionUID: -5836846270535785031l

Serialization Methods

readObject

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

Throws:
HeadlessException - if GraphicsEnvironment.isHeadless() returns true
ClassNotFoundException
IOException
Since:
1.4
See Also:
GraphicsEnvironment.isHeadless()
Serialized Fields

accessibleContext

AccessibleContext accessibleContext

Class java.applet.Applet.AccessibleApplet extends Panel.AccessibleAWTPanel implements Serializable


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

bdata

byte[] bdata

id

int id
The event's id.

 
See Also:
AWTEvent.getID(), AWTEvent.AWTEvent(java.lang.Object, int)

consumed

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

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

Class java.awt.AWTException extends Exception implements Serializable

serialVersionUID: -1900414231151323879l

Class java.awt.AWTKeyStroke extends Object implements Serializable

Serialization Methods

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Returns a cached instance of AWTKeyStroke (or a subclass of AWTKeyStroke) which is equal to this instance.

Serialized Fields

keyChar

char keyChar

keyCode

int keyCode

modifiers

int modifiers

onKeyRelease

boolean onKeyRelease

Class java.awt.AWTPermission extends BasicPermission implements Serializable

serialVersionUID: 8890392402588814465l

Class java.awt.BorderLayout extends Object implements Serializable

serialVersionUID: -8658291919501921765l

Serialized Fields

hgap

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

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

vgap

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

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

north

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

 
See Also:
#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)

west

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

 
See Also:
#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)

east

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

 
See Also:
#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)

south

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

 
See Also:
#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)

center

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

 
See Also:
#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)

firstLine

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

 

lastLine

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

 

firstItem

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

 

lastItem

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

 

Class java.awt.Button extends Component implements Serializable

serialVersionUID: -8774683716313001058l

Serialization Methods

readObject

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

Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true
ClassNotFoundException
IOException
See Also:
Button.removeActionListener(ActionListener), Button.addActionListener(ActionListener), GraphicsEnvironment.isHeadless(), #writeObject(ObjectOutputStream)

writeObject

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

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

label

String label

actionCommand

String actionCommand

buttonSerializedDataVersion

int buttonSerializedDataVersion

Class java.awt.Button.AccessibleAWTButton extends Component.AccessibleAWTComponent implements Serializable

Class java.awt.Canvas extends Component implements Serializable

serialVersionUID: -2284879212465893870l

Class java.awt.Canvas.AccessibleAWTCanvas extends Component.AccessibleAWTComponent implements Serializable

Class java.awt.CardLayout extends Object implements Serializable

serialVersionUID: -4328196481005934313l

Serialization Methods

readObject

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


writeObject

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

Serialized Fields

currentCard

int currentCard

hgap

int hgap

tab

Hashtable tab
deprectated, for forward compatibility only

vector

Vector vector

vgap

int vgap

Class java.awt.Checkbox extends Component implements Serializable

serialVersionUID: 7270714317450821763l

Serialization Methods

readObject

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

Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true
ClassNotFoundException
IOException
See Also:
Checkbox.removeItemListener(ItemListener), Checkbox.addItemListener(ItemListener), GraphicsEnvironment.isHeadless(), #writeObject(ObjectOutputStream)

writeObject

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

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

label

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

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

state

boolean state
The state of the Checkbox.

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

group

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

 
See Also:
#getCheckBoxGroup(), #setCheckBoxGroup(CheckBoxGroup)

checkboxSerializedDataVersion

int checkboxSerializedDataVersion

Class java.awt.Checkbox.AccessibleAWTCheckbox extends Component.AccessibleAWTComponent implements Serializable

Class java.awt.CheckboxGroup extends Object implements Serializable

serialVersionUID: 3729780091441768983l

Serialized Fields

selectedCheckbox

Checkbox selectedCheckbox
The current choice.

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

Class java.awt.CheckboxMenuItem extends MenuItem implements Serializable

serialVersionUID: 6190621106981774043l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws ClassNotFoundException,
                        IOException

writeObject

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

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

state

boolean state
The state of a checkbox menu item

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

checkboxMenuItemSerializedDataVersion

int checkboxMenuItemSerializedDataVersion

Class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem extends MenuItem.AccessibleAWTMenuItem implements Serializable

Class java.awt.Choice extends Component implements Serializable

serialVersionUID: -4075310674757313071l

Serialization Methods

readObject

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

Throws:
HeadlessException - if GraphicsEnvironment.isHeadless returns true
ClassNotFoundException
IOException
See Also:
Choice.removeItemListener(ItemListener), Choice.addItemListener(ItemListener), GraphicsEnvironment.isHeadless(), #writeObject(ObjectOutputStream)

writeObject

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

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

pItems

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

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

selectedIndex

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

 
See Also:
Choice.getSelectedItem(), Choice.select(int)

choiceSerializedDataVersion

int choiceSerializedDataVersion

Class java.awt.Choice.AccessibleAWTChoice extends Component.AccessibleAWTComponent implements Serializable

Class java.awt.Color extends Object implements Serializable

serialVersionUID: 118526816881161077l

Serialized Fields

value

int value
The color value.

 
See Also:
Color.getRGB()

frgbvalue

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

 
See Also:
Color.getRGBColorComponents(float[]), Color.getRGBComponents(float[])

fvalue

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

 
See Also:
Color.getRGBColorComponents(float[]), Color.getRGBComponents(float[])

falpha

float falpha
The alpha value as a float component. If frgbvalue is null, this is not valid data, so compute from the int color value.

 
See Also:
Color.getRGBComponents(float[]), Color.getComponents(float[])

cs

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

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

Class java.awt.Component extends Object implements Serializable

serialVersionUID: -7644114512714619750l

Serialization Methods

readObject

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

Throws:
ClassNotFoundException
IOException
See Also:
#writeObject(ObjectOutputStream)

writeObject

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

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

x

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

 
See Also:
Component.getLocation()

y

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

 
See Also:
Component.getLocation()

width

int width
The width of the component.

 
See Also:
Component.getSize()

height

int height
The height of the component.

 
See Also:
Component.getSize()

foreground

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

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

background

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

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

font

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

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

peerFont

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


cursor

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

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

locale

Locale locale
The locale for the component.

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

ignoreRepaint

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

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

visible

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

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

enabled

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

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

valid

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

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

dropTarget

DropTarget dropTarget
The DropTarget associated with this component.

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

popups

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

name

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

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

nameExplicitlySet

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

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

focusable

boolean focusable
Indicates whether this Component can be focused.

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

isFocusTraversableOverridden

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

 
Since:
1.4

focusTraversalKeys

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

 
Since:
1.4
See Also:
Component.setFocusTraversalKeys(int, java.util.Set), Component.getFocusTraversalKeys(int)

focusTraversalKeysEnabled

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

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

minSize

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

 

prefSize

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

 

newEventsOnly

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

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

eventMask

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

 
See Also:
Component.enableInputMethods(boolean), AWTEvent

changeSupport

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

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

isPacked

boolean isPacked

componentSerializedDataVersion

int componentSerializedDataVersion
Component Serialized Data Version.

 

accessibleContext

AccessibleContext accessibleContext

Class java.awt.Component.AccessibleAWTComponent extends AccessibleContext implements Serializable

Serialized Fields

accessibleAWTComponentHandler

ComponentListener accessibleAWTComponentHandler

accessibleAWTFocusHandler

FocusListener accessibleAWTFocusHandler

Class java.awt.ComponentOrientation extends Object implements Serializable

Serialized Fields

orientation

int orientation

Class java.awt.Container extends Component implements Serializable

serialVersionUID: 4613797578919906343l

Serialization Methods

readObject

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

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

writeObject

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

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

ncomponents

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

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

component

Component[] component
The components in this container.

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

layoutMgr

LayoutManager layoutMgr
Layout manager for this container.

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

dispatcher

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

 

maxSize

Dimension maxSize

focusCycleRoot

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

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

containerSerializedDataVersion

int containerSerializedDataVersion
Container Serial Data Version.

 

Class java.awt.Container.AccessibleAWTContainer extends Component.AccessibleAWTComponent implements Serializable

Serialized Fields

accessibleContainerHandler

ContainerListener accessibleContainerHandler

Class java.awt.ContainerOrderFocusTraversalPolicy extends FocusTraversalPolicy implements Serializable

Serialized Fields

implicitDownCycleTraversal

boolean implicitDownCycleTraversal

Class java.awt.Cursor extends Object implements Serializable

serialVersionUID: 8028237497568985504l

Serialized Fields

type

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

 
See Also:
Cursor.getType()

name

String name
The user-visible name of the cursor.

 
See Also:
Cursor.getName()

Class java.awt.DefaultFocusTraversalPolicy extends ContainerOrderFocusTraversalPolicy implements Serializable

Class java.awt.Dialog extends Window implements Serializable

serialVersionUID: 5920926903803293709l

Serialized Fields

resizable

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

 
See Also:
Dialog.setResizable(boolean)

undecorated

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

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

modal

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

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

title

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

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

Class java.awt.Dialog.AccessibleAWTDialog extends Window.AccessibleAWTWindow implements Serializable

Class java.awt.Dimension extends Dimension2D implements Serializable

serialVersionUID: 4723952579491349524l

Serialized Fields

width

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

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

height

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

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

Class java.awt.Event extends Object implements Serializable

serialVersionUID: 5488922509400504703l

Serialized Fields

target

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

 
See Also:
EventObject.getSource()

when

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

 
See Also:
InputEvent.getWhen()

id

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

 
See Also:
AWTEvent.getID()

x

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

 
See Also:
MouseEvent.getX()

y

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

 
See Also:
MouseEvent.getY()

key

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

 
See Also:
KeyEvent.getKeyCode()

modifiers

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

 
See Also:
InputEvent.getModifiers()

clickCount

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

 
See Also:
MouseEvent.getClickCount().

arg

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

 

evt

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

 
See Also:
EventQueue

consumed

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

 
See Also:
#isConsumed()

Class java.awt.FileDialog extends Dialog implements Serializable

serialVersionUID: 5035145889651310422l

Serialization Methods

readObject

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

Serialized Fields

mode

int mode

dir

String dir

file

String file

filter

FilenameFilter filter

Class java.awt.FlowLayout extends Object implements Serializable

serialVersionUID: -7262534875583282631l

Serialization Methods

readObject

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

Serialized Fields

align

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

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

newAlign

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

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

hgap

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

 
See Also:
FlowLayout.getHgap(), FlowLayout.setHgap(int)

vgap

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

 
See Also:
FlowLayout.getHgap(), FlowLayout.setHgap(int)

serialVersionOnStream

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

 
Since:
1.2

Class java.awt.Font extends Object implements Serializable

serialVersionUID: -4206021311591459213l

Serialization Methods

readObject

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

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

writeObject

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

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

fRequestedAttributes

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

 
See Also:
Font.getAttributes()

name

String name
The logical name of this Font, as passed to the constructor.

 
Since:
JDK1.0
See Also:
Font.getName()

style

int style
The style of this Font, as passed to the constructor. This style can be PLAIN, BOLD, ITALIC, or BOLD+ITALIC.

 
Since:
JDK1.0
See Also:
Font.getStyle()

size

int size
The point size of this Font, rounded to integer.

 
Since:
JDK1.0
See Also:
Font.getSize()

pointSize

float pointSize
The point size of this Font in float.

 
See Also:
Font.getSize(), Font.getSize2D()

fontSerializedDataVersion

int fontSerializedDataVersion
The Font Serializable Data Form.

 

Class java.awt.FontFormatException extends Exception implements Serializable

Class java.awt.FontMetrics extends Object implements Serializable

serialVersionUID: 1681126225205050147l

Serialized Fields

font

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

 
See Also:
FontMetrics.getFont()

Class java.awt.Frame extends Window implements Serializable

serialVersionUID: 2673458971256075116l

Serialization Methods

readObject

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

Throws:
OptionalDataException - if an Icon is not available, but anything other than an EOF is detected
HeadlessException - if GraphicsEnvironment.isHeadless returns true
ClassNotFoundException
IOException
See Also:
GraphicsEnvironment.isHeadless(), Icon, #writeObject(ObjectOutputStream)

writeObject

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

Serial Data:
an optional Icon
Throws:
IOException
See Also:
Icon, #readObject(ObjectInputStream)
Serialized Fields

maximizedBounds

Rectangle maximizedBounds
Maximized bounds for this frame.

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

title

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

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

menuBar

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

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

resizable

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

 
See Also:
Frame.isResizable()

undecorated

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

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

mbManagement

boolean mbManagement
mbManagement is only used by the Motif implementation.

 

state

int state

ownedWindows

Vector ownedWindows

frameSerializedDataVersion

int frameSerializedDataVersion
Frame's Serialized Data Version.

 

Class java.awt.Frame.AccessibleAWTFrame extends Window.AccessibleAWTWindow implements Serializable

Class java.awt.GraphicsConfigTemplate extends Object implements Serializable

Class java.awt.GridBagConstraints extends Object implements Serializable

serialVersionUID: -1000070633030801713l

Serialized Fields

gridx

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

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

 
See Also:
GridBagConstraints.clone(), GridBagConstraints.gridy, ComponentOrientation

gridy

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

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

 
See Also:
GridBagConstraints.clone(), GridBagConstraints.gridx

gridwidth

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

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

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

 
See Also:
GridBagConstraints.clone(), GridBagConstraints.gridheight

gridheight

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

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

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

 
See Also:
GridBagConstraints.clone(), GridBagConstraints.gridwidth

weightx

double weightx
Specifies how to distribute extra horizontal space.

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

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

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

 
See Also:
GridBagConstraints.clone(), GridBagConstraints.weighty

weighty

double weighty
Specifies how to distribute extra vertical space.

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

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

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

 
See Also:
GridBagConstraints.clone(), GridBagConstraints.weightx

anchor

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

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

 
See Also:
GridBagConstraints.clone(), ComponentOrientation

fill

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

The following values are valid for fill:

The default value is NONE.

 
See Also:
GridBagConstraints.clone()

insets

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

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

 
See Also:
GridBagConstraints.clone()

ipadx

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

The default value is 0.

 
See Also:
GridBagConstraints.clone(), GridBagConstraints.ipady

ipady

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

The default value is 0.

 
See Also:
GridBagConstraints.clone(), GridBagConstraints.ipadx

tempX

int tempX
Temporary place holder for the x coordinate.

 

tempY

int tempY
Temporary place holder for the y coordinate.

 

tempWidth

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

 

tempHeight

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

 

minWidth

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

 
See Also:
GridBagConstraints.ipady

minHeight

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

 
See Also:
GridBagConstraints.ipadx

Class java.awt.GridBagLayout extends Object implements Serializable

serialVersionUID: 8838754796412211005l

Serialized Fields

comptable

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

 
See Also:
GridBagConstraints

defaultConstraints

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

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

layoutInfo

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

 
See Also:
GridBagLayout.getLayoutInfo(Container, int)

columnWidths

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

 
See Also:
GridBagLayout.getLayoutDimensions()

rowHeights

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

 
See Also:
GridBagLayout.getLayoutDimensions()

columnWeights

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

 

rowWeights

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

 

Class java.awt.GridLayout extends Object implements Serializable

Serialized Fields

hgap

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

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

vgap

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

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

rows

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

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

cols

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

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

Class java.awt.HeadlessException extends UnsupportedOperationException implements Serializable

Class java.awt.IllegalComponentStateException extends IllegalStateException implements Serializable

serialVersionUID: -1889339587208144238l

Class java.awt.Insets extends Object implements Serializable

serialVersionUID: -2272572637695466749l

Serialized Fields

top

int top
The inset from the top. This value is ad