GeezerVison is showing docs.oracle.com (truncated) — Serialized Form (Java Platform SE 8 )
Java™ Platform Standard Ed. 8
Serialized Form
-
Package java.applet
-
- serialVersionUID:
- -5836846270535785031L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 8127374778187708896L
-
Package java.awt
-
- serialVersionUID:
- -1819846354050686206L
-
- serialVersionUID:
- -1825314779160409405L
-
- serialVersionUID:
- -1900414231151323879L
-
- serialVersionUID:
- -6430539691155161871L
-
Serialization Methods
-
Serialized Fields
-
keyChar
char keyChar
-
keyCode
int keyCode
-
modifiers
int modifiers
-
onKeyRelease
boolean onKeyRelease
-
- serialVersionUID:
- 8890392402588814465L
-
- 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:
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)
-
west
Component west
Constant to specify components location to be the
west portion of the border layout.
- See Also:
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)
-
east
Component east
Constant to specify components location to be the
east portion of the border layout.
- See Also:
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)
-
south
Component south
Constant to specify components location to be the
south portion of the border layout.
- See Also:
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)
-
center
Component center
Constant to specify components location to be the
center portion of the border layout.
- See Also:
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)
-
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 unpredictable 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.
-
- serialVersionUID:
- -8774683716313001058L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- -5932203980244017102L
-
- serialVersionUID:
- -2284879212465893870L
-
- serialVersionUID:
- -6325592262103146699L
-
- serialVersionUID:
- -4328196481005934313L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 7270714317450821763L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 7881579233144754107L
-
- serialVersionUID:
- 3729780091441768983L
-
- serialVersionUID:
- 6190621106981774043L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- -1122642964303476L
-
- serialVersionUID:
- -4075310674757313071L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 7175603582428509322L
-
- 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[])
-
- 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:
Component.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;
inputMethodListenerK indicating an
InputMethodListener 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)
- Throws:
IOException
- See Also:
AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener),
Component.componentListenerK,
Component.focusListenerK,
Component.keyListenerK,
Component.mouseListenerK,
Component.mouseMotionListenerK,
Component.inputMethodListenerK,
Component.hierarchyListenerK,
Component.hierarchyBoundsListenerK,
Component.mouseWheelListenerK,
Component.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<E> 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<E>[] 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<? extends java.awt.AWTKeyStroke>),
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
Minimum size.
(This field perhaps should have been transient).
-
minSizeSet
boolean minSizeSet
Whether or not setMinimumSize has been invoked with a non-null value.
-
prefSize
Dimension prefSize
Preferred size.
(This field perhaps should have been transient).
-
prefSizeSet
boolean prefSizeSet
Whether or not setPreferredSize has been invoked with a non-null value.
-
maxSize
Dimension maxSize
Maximum size
-
maxSizeSet
boolean maxSizeSet
Whether or not setMaximumSize has been invoked with a non-null value.
-
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
-
boundsOp
int boundsOp
Pseudoparameter for direct Geometry API (setLocation, setBounds setSize
to signal setBounds what's changing. Should be used under TreeLock.
This is only needed due to the inability to change the cross-calling
order of public and deprecated methods.
-
autoFocusTransferOnDisposal
boolean autoFocusTransferOnDisposal
-
componentSerializedDataVersion
int componentSerializedDataVersion
Component Serialized Data Version.
-
accessibleContext
AccessibleContext accessibleContext
The AccessibleContext associated with this Component.
-
- serialVersionUID:
- 642321655757800191L
-
- serialVersionUID:
- -4113291392143563828L
-
Serialized Fields
-
orientation
int orientation
-
- serialVersionUID:
- 4613797578919906343L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Deserializes this Container from the specified
ObjectInputStream.
- Reads default serializable fields from the stream.
- Reads a list of serializable ContainerListener(s) as optional
data. If the list is null, no Listeners are installed.
- Reads this Container's FocusTraversalPolicy, which may be null,
as optional data.
- Throws:
ClassNotFoundException
IOException
- See Also:
Container.addContainerListener(java.awt.event.ContainerListener),
Container.writeObject(ObjectOutputStream)
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Serializes this Container to the specified
ObjectOutputStream.
- Writes default serializable fields to the stream.
- Writes a list of serializable ContainerListener(s) as optional
data. The non-serializable ContainerListner(s) are detected and
no attempt is made to serialize them.
- Write this Container's FocusTraversalPolicy if and only if it
is Serializable; otherwise,
null is written.
- 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),
Component.containerListenerK,
Container.readObject(ObjectInputStream)
-
Serialized Fields
-
component
Component[] component
The components in this container.
-
containerSerializedDataVersion
int containerSerializedDataVersion
Container Serial Data Version.
-
dispatcher
java.awt.LightweightDispatcher dispatcher
Event router for lightweight components. If this container
is native, this dispatcher takes care of forwarding and
retargeting the events to lightweight components contained
(if any).
-
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.
-
focusTraversalPolicyProvider
boolean focusTraversalPolicyProvider
Stores the value of focusTraversalPolicyProvider property.
-
layoutMgr
LayoutManager layoutMgr
Layout manager for this container.
-
maxSize
Dimension maxSize
Maximum size of this Container.
-
ncomponents
int ncomponents
The number of components in this container.
This value can be null.
-
- serialVersionUID:
- 5081320404842566097L
-
- serialVersionUID:
- 486933713763926351L
-
- serialVersionUID:
- 8028237497568985504L
-
- serialVersionUID:
- 8876966522510157497L
-
- serialVersionUID:
- 5920926903803293709L
-
Serialization Methods
-
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
True if this dialog is modal, false is the dialog is modeless.
A modal dialog blocks user input to some application top-level
windows. This field is kept only for backwards compatibility. Use the
ModalityType enum instead.
- See Also:
Dialog.isModal(),
Dialog.setModal(boolean),
Dialog.getModalityType(),
Dialog.setModalityType(java.awt.Dialog.ModalityType),
Dialog.ModalityType,
Dialog.ModalityType.MODELESS,
Dialog.DEFAULT_MODALITY_TYPE
-
modalityType
Dialog.ModalityType modalityType
Modality type of this dialog. If the dialog's modality type is not
ModalityType.MODELESS, it blocks all
user input to some application top-level windows.
- Since:
- 1.6
- See Also:
Dialog.ModalityType,
Dialog.getModalityType(),
Dialog.setModalityType(java.awt.Dialog.ModalityType)
-
title
String title
Specifies the title of the Dialog.
This field can be null.
- See Also:
Dialog.getTitle(),
Dialog.setTitle(String)
-
- serialVersionUID:
- 4837230331833941201L
-
- serialVersionUID:
- 4723952579491349524L
-
- 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:
Event.isConsumed()
-
- serialVersionUID:
- 5035145889651310422L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- -7262534875583282631L
-
Serialization Methods
-
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:
LEFT
RIGHT
CENTER
LEADING
TRAILING
- 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 and between
the components and the borders of the
Container.
- 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 and between the
the rows and the borders of the Container.
- See Also:
FlowLayout.getHgap(),
FlowLayout.setHgap(int)
-
alignOnBaseline
boolean alignOnBaseline
If true, components will be aligned on their baseline.
-
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
-
Serialized Fields
-
fRequestedAttributes
Hashtable<K,V> fRequestedAttributes
This is now only used during serialization. Typically
it is null.
- 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.
-
- serialVersionUID:
- -4481290147811361272L
-
- serialVersionUID:
- 1681126225205050147L
-
- serialVersionUID:
- 2673458971256075116L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException,
HeadlessException
Reads the ObjectInputStream. Tries
to read an icon Image, which is optional
data available as of 1.4. If an icon Image
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 Image
is not available, but anything other than an EOF
is detected
HeadlessException - if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException
IOException
- See Also:
GraphicsEnvironment.isHeadless(),
Image,
Frame.getIconImage(),
Frame.setIconImage(Image),
Frame.writeObject(ObjectOutputStream)
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Writes default serializable fields to stream. Writes
an optional serializable icon Image, which is
available as of 1.4.
- Serial Data:
- an optional icon
Image
- Throws:
IOException
- See Also:
Image,
Frame.getIconImage(),
Frame.setIconImage(Image),
Frame.readObject(ObjectInputStream)
-
Serialized Fields
-
- serialVersionUID:
- -6172960752956030250L
-
- serialVersionUID:
- -8061369279557787079L
-
- 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'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.
- 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'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.
- 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 three kinds of possible values: orientation
relative, baseline relative and absolute. Orientation relative
values are interpreted relative to the container's component
orientation property, baseline relative values are interpreted
relative to the baseline and absolute values are not. The
absolute values are:
CENTER, NORTH, NORTHEAST,
EAST, SOUTHEAST, SOUTH,
SOUTHWEST, WEST, and NORTHWEST.
The orientation 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
baseline relative values are:
BASELINE, BASELINE_LEADING,
BASELINE_TRAILING,
ABOVE_BASELINE, ABOVE_BASELINE_LEADING,
ABOVE_BASELINE_TRAILING,
BELOW_BASELINE, BELOW_BASELINE_LEADING,
and BELOW_BASELINE_TRAILING.
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:
-
NONE: Do not resize the component.
-
HORIZONTAL: Make the component wide enough to fill
its display area horizontally, but do not change its height.
-
VERTICAL: Make the component tall enough to fill its
display area vertically, but do not change its width.
-
BOTH: Make the component fill its display area
entirely.
The default value is NONE.
- See Also:
GridBagConstraints.clone()
-
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 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 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
-
- serialVersionUID:
- 8838754796412211005L
-
Serialized Fields
-
comptable
Hashtable<K,V> 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, rows 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.
-
componentAdjusting
Component componentAdjusting
The component being positioned. This is set before calling into
adjustForGravity.
-
- serialVersionUID:
- -4899416460737170217L
-
Serialized Fields
-
width
int width
-
height
int height
-
startx
int startx
-
starty
int starty
-
minWidth
int[] minWidth
-
minHeight
int[] minHeight
-
weightX
double[] weightX
-
weightY
double[] weightY
-
hasBaseline
boolean hasBaseline
-
baselineType
short[] baselineType
-
maxAscent
int[] maxAscent
-
maxDescent
int[] maxDescent
-
- serialVersionUID:
- -7411804673224730901L
-
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)
-
- serialVersionUID:
- 167183644944358563L
-
- serialVersionUID:
- -1889339587208144238L
-
- serialVersionUID:
- -2272572637695466749L
-
Serialized Fields
-
top
int top
The inset from the top.
This value is added to the Top of the rectangle
to yield a new location for the Top.
- See Also:
Insets.clone()
-
left
int left
The inset from the left.
This value is added to the Left of the rectangle
to yield a new location for the Left edge.
- See Also:
Insets.clone()
-
bottom
int bottom
The inset from the bottom.
This value is subtracted from the Bottom of the rectangle
to yield a new location for the Bottom.
- See Also:
Insets.clone()
-
right
int right
The inset from the right.
This value is subtracted from the Right of the rectangle
to yield a new location for the Right edge.
- See Also:
Insets.clone()
-
- serialVersionUID:
- 3094126758329070636L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- -3568967560160480438L
-
- serialVersionUID:
- -3304312411574666869L
-
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
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.
- Throws:
HeadlessException - if
GraphicsEnvironment.isHeadless returns
true
ClassNotFoundException
IOException
- See Also:
List.removeItemListener(ItemListener),
List.addItemListener(ItemListener),
GraphicsEnvironment.isHeadless(),
List.writeObject(ObjectOutputStream)
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Writes default serializable fields to stream. Writes
a list of serializable ItemListeners
and ActionListeners 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:
itemListenerK indicating an
ItemListener object;
actionListenerK indicating an
ActionListener object
- Throws:
IOException
- See Also:
AWTEventMulticaster.save(ObjectOutputStream, String, EventListener),
Component.itemListenerK,
Component.actionListenerK,
List.readObject(ObjectInputStream)
-
Serialized Fields
-
items
Vector<E> items
A vector created to contain items which will become
part of the List Component.
- See Also:
List.addItem(String),
List.getItem(int)
-
rows
int rows
This field will represent the number of visible rows in the
List Component. It is specified only once, and
that is when the list component is actually
created. It will never change.
- See Also:
List.getRows()
-
multipleMode
boolean multipleMode
multipleMode is a variable that will
be set to true if a list component is to be set to
multiple selection mode, that is where the user can
select more than one item in a list at one time.
multipleMode will be set to false if the
list component is set to single selection, that is where
the user can only select one item on the list at any
one time.
- See Also:
List.isMultipleMode(),
List.setMultipleMode(boolean)
-
selected
int[] selected
selected is an array that will contain
the indices of items that have been selected.
- See Also:
List.getSelectedIndexes(),
List.getSelectedIndex()
-
visibleIndex
int visibleIndex
This variable contains the value that will be used
when trying to make a particular list item visible.
- See Also:
List.makeVisible(int)
-
listSerializedDataVersion
int listSerializedDataVersion
The List component's
Serialized Data Version.
-
- serialVersionUID:
- 7924617370136012829L
-
- serialVersionUID:
- 4412022926028300317L
-
Serialized Fields
-
parent
List parent
-
indexInParent
int indexInParent
-
- serialVersionUID:
- -483174189758638095L
-
- serialVersionUID:
- -8809584163345499784L
-
Serialization Methods
-
Serialized Fields
-
items
Vector<E> items
A vector of the items that will be part of the Menu.
- See Also:
Menu.countItems()
-
tearOff
boolean tearOff
This field indicates whether the menu has the
tear of property or not. It will be set to
true if the menu has the tear off
property and it will be set to false
if it does not.
A torn off menu can be deleted by a user when
it is no longer needed.
- See Also:
Menu.isTearOff()
-
isHelpMenu
boolean isHelpMenu
This field will be set to true
if the Menu in question is actually a help
menu. Otherwise it will be set to
false.
-
menuSerializedDataVersion
int menuSerializedDataVersion
The menu serialized Data Version.
-
- serialVersionUID:
- 5228160894980069094L
-
- serialVersionUID:
- -4930327919388951260L
-
Serialization Methods
-
Serialized Fields
-
menus
Vector<E> menus
This field represents a vector of the
actual menus that will be part of the MenuBar.
- See Also:
MenuBar.countMenus()
-
helpMenu
Menu helpMenu
This menu is a special menu dedicated to
help. The one thing to note about this menu
is that on some platforms it appears at the
right edge of the menubar.
- See Also:
MenuBar.getHelpMenu(),
MenuBar.setHelpMenu(Menu)
-
menuBarSerializedDataVersion
int menuBarSerializedDataVersion
The MenuBar's serialized data version.
-
- serialVersionUID:
- -8577604491830083815L
-
- serialVersionUID:
- -4536902356223894379L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- -4269533416223798698L
-
- serialVersionUID:
- -21757335363267194L
-
Serialization Methods
-
Serialized Fields
-
enabled
boolean enabled
A value to indicate whether a menu item is enabled
or not. If it is enabled, enabled will
be set to true. Else enabled will
be set to false.
- See Also:
MenuItem.isEnabled(),
MenuItem.setEnabled(boolean)
-
label
String label
label is the label of a menu item.
It can be any string.
- See Also:
MenuItem.getLabel(),
MenuItem.setLabel(String)
-
actionCommand
String actionCommand
This field indicates the command tha has been issued
by a particular menu item.
By default the actionCommand
is the label of the menu item, unless it has been
set using setActionCommand.
- See Also:
MenuItem.setActionCommand(String),
MenuItem.getActionCommand()
-
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.
-
shortcut
MenuShortcut shortcut
A sequence of key stokes that ia associated with
a menu item.
Note :in 1.1.2 you must use setActionCommand()
on a menu item in order for its shortcut to
work.
- See Also:
MenuItem.getShortcut(),
MenuItem.setShortcut(MenuShortcut),
MenuItem.deleteShortcut()
-
menuItemSerializedDataVersion
int menuItemSerializedDataVersion
Menu item serialized data version.
-
- serialVersionUID:
- -217847831945965825L
-
- serialVersionUID:
- 143448358473180225L
-
Serialized Fields
-
key
int key
The virtual keycode for the menu shortcut.
This is the keycode with which the menu shortcut will be created.
Note that it is a virtual keycode, not a character,
e.g. KeyEvent.VK_A, not 'a'.
Note: in 1.1.x you must use setActionCommand() on a menu item
in order for its shortcut to work, otherwise it will fire a null
action command.
- Since:
- JDK1.1
- See Also:
MenuShortcut.getKey(),
MenuShortcut.usesShiftModifier(),
KeyEvent
-
usesShift
boolean usesShift
Indicates whether the shft key was pressed.
If true, the shift key was pressed.
If false, the shift key was not pressed
- Since:
- JDK1.1
- See Also:
MenuShortcut.usesShiftModifier()
-
- serialVersionUID:
- -2728009084054400034L
-
- serialVersionUID:
- -6409552226660031050L
-
- serialVersionUID:
- -5276940640259749850L
-
- serialVersionUID:
- -6460061437900069969L
-
Serialized Fields
-
npoints
int npoints
The total number of points. The value of 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.
- Since:
- 1.0
- See Also:
Polygon.addPoint(int, int)
-
xpoints
int[] xpoints
The array of X coordinates. The number of elements in
this array might be more than the number of X coordinates
in this 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.
- Since:
- 1.0
- See Also:
Polygon.addPoint(int, int)
-
ypoints
int[] ypoints
The array of Y coordinates. The number of elements in
this array might be more than the number of Y coordinates
in this 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.
- Since:
- 1.0
- See Also:
Polygon.addPoint(int, int)
-
bounds
Rectangle bounds
The bounds of this Polygon.
This value can be null.
- Since:
- 1.0
- See Also:
Polygon.getBoundingBox(),
Polygon.getBounds()
-
- serialVersionUID:
- -4620452533522760060L
-
- serialVersionUID:
- -4282044795947239955L
-
- serialVersionUID:
- -4345857070255674764L
-
- serialVersionUID:
- 8451667562882310543L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- -344337268523697807L
-
- serialVersionUID:
- 7956609840827222915L
-
Serialization Methods
-
Serialized Fields
-
scrollbarDisplayPolicy
int scrollbarDisplayPolicy
There are 3 ways in which a scroll bar can be displayed.
This integer will represent one of these 3 displays -
(SCROLLBARS_ALWAYS, SCROLLBARS_AS_NEEDED, SCROLLBARS_NEVER)
- See Also:
ScrollPane.getScrollbarDisplayPolicy()
-
vAdjustable
ScrollPaneAdjustable vAdjustable
An adjustable vertical scrollbar.
It is important to note that you must NOT call 3
Adjustable methods, namely:
setMinimum(), setMaximum(),
setVisibleAmount().
- See Also:
ScrollPane.getVAdjustable()
-
hAdjustable
ScrollPaneAdjustable hAdjustable
An adjustable horizontal scrollbar.
It is important to note that you must NOT call 3
Adjustable methods, namely:
setMinimum(), setMaximum(),
setVisibleAmount().
- See Also:
ScrollPane.getHAdjustable()
-
wheelScrollingEnabled
boolean wheelScrollingEnabled
Indicates whether or not scrolling should take place when a
MouseWheelEvent is received.
- Since:
- 1.4
-
- serialVersionUID:
- 6100703663886637L
-
- serialVersionUID:
- -3359745691033257079L
-
Serialized Fields
-
sp
ScrollPane sp
The ScrollPane this object is a scrollbar of.
-
orientation
int orientation
Orientation of this scrollbar.
- See Also:
ScrollPaneAdjustable.getOrientation(),
Adjustable.HORIZONTAL,
Adjustable.VERTICAL
-
value
int value
The value of this scrollbar.
value should be greater than minimum
and less than maximum
- See Also:
ScrollPaneAdjustable.getValue(),
ScrollPaneAdjustable.setValue(int)
-
minimum
int minimum
The minimum value of this scrollbar.
This value can only be set by the 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.
- See Also:
ScrollPaneAdjustable.getMinimum(),
ScrollPaneAdjustable.setSpan(int, int, int)
-
maximum
int maximum
The maximum value of this scrollbar.
This value can only be set by the ScrollPane.
- See Also:
ScrollPaneAdjustable.getMaximum(),
ScrollPaneAdjustable.setSpan(int, int, int)
-
visibleAmount
int visibleAmount
The size of the visible portion of this scrollbar.
This value can only be set by the ScrollPane.
- See Also:
ScrollPaneAdjustable.getVisibleAmount(),
ScrollPaneAdjustable.setSpan(int, int, int)
-
unitIncrement
int unitIncrement
The amount by which the scrollbar value will change when going
up or down by a line.
This value should be a non negative integer.
- See Also:
ScrollPaneAdjustable.getUnitIncrement(),
ScrollPaneAdjustable.setUnitIncrement(int)
-
blockIncrement
int blockIncrement
The amount by which the scrollbar value will change when going
up or down by a page.
This value should be a non negative integer.
- See Also:
ScrollPaneAdjustable.getBlockIncrement(),
ScrollPaneAdjustable.setBlockIncrement(int)
-
adjustmentListener
AdjustmentListener adjustmentListener
-
- serialVersionUID:
- 4503142729533789064L
-
Serialization Methods
-
readResolve
private Object readResolve()
The design of the SystemColor class assumes that
the SystemColor object instances stored in the
static final fields above are the only instances that can
be used by developers.
This method helps maintain those limits on instantiation
by using the index stored in the value field of the
serialized form of the object to replace the serialized
object with the equivalent static object constant field
of SystemColor.
See the SystemColor.writeReplace() method for more information
on the serialized form of these objects.
-
writeReplace
private Object writeReplace()
throws ObjectStreamException
Returns a specialized version of the SystemColor
object for writing to the serialized stream.
- Serial Data:
- The value field of a serialized
SystemColor object
contains the array index of the system color instead of the
rgb data for the system color.
This index is used by the SystemColor.readResolve() method to
resolve the deserialized objects back to the original
static constant versions to ensure unique instances of
each SystemColor object.
- Throws:
ObjectStreamException
-
- serialVersionUID:
- 3692302836626095722L
-
Serialization Methods
-
Serialized Fields
-
rows
int rows
The number of rows in the TextArea.
This parameter will determine the text area's height.
Guaranteed to be non-negative.
- See Also:
TextArea.getRows(),
TextArea.setRows(int)
-
columns
int columns
The number of columns in the TextArea.
A column is an approximate average character
width that is platform-dependent.
This parameter will determine the text area's width.
Guaranteed to be non-negative.
- See Also:
TextArea.setColumns(int),
TextArea.getColumns()
-
scrollbarVisibility
int scrollbarVisibility
Determines which scrollbars are created for the
text area. It can be one of four values :
SCROLLBARS_BOTH = both scrollbars.
SCROLLBARS_HORIZONTAL_ONLY = Horizontal bar only.
SCROLLBARS_VERTICAL_ONLY = Vertical bar only.
SCROLLBARS_NONE = No scrollbars.
- See Also:
TextArea.getScrollbarVisibility()
-
textAreaSerializedDataVersion
int textAreaSerializedDataVersion
The textArea Serialized Data Version.
-
- serialVersionUID:
- 3472827823632144419L
-
- serialVersionUID:
- -2214773872412987419L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 3631432373506317811L
-
- serialVersionUID:
- -2966288784432217853L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 6219164359235943158L
-
- serialVersionUID:
- 4497834738069338734L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 4215068635060671780L
-
Package java.awt.color
-
-
- serialVersionUID:
- -409452704308689724L
-
Serialized Fields
-
type
int type
-
numComponents
int numComponents
-
- serialVersionUID:
- 3455889114070431483L
-
Serialization Methods
-
Serialized Fields
-
thisProfile
ICC_Profile thisProfile
-
minVal
float[] minVal
-
maxVal
float[] maxVal
-
diffMinMax
float[] diffMinMax
-
invDiffMinMax
float[] invDiffMinMax
-
needScaleInit
boolean needScaleInit
-
- serialVersionUID:
- -3938515861990936766L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
Reads default serializable fields from the stream. Reads from
the stream a string and an array of bytes as additional data.
- Serial Data:
- The
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).
- Throws:
IOException - thrown by ObjectInputStream.
ClassNotFoundException - thrown by ObjectInputStream.
- See Also:
ICC_Profile.readResolve(),
ICC_Profile.getInstance(int),
ICC_Profile.getInstance(byte[])
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Writes default serializable fields to the stream. Writes a
string and an array of bytes to the stream as additional data.
- Serial Data:
- The
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.
- Throws:
IOException - thrown by ObjectInputStream.
-
readResolve
protected Object readResolve()
throws ObjectStreamException
Resolves instances being deserialized into instances registered
with CMM.
- Throws:
ObjectStreamException - never thrown, but mandated by the serialization spec.
- Since:
- 1.3
-
Serialized Fields
-
iccProfileSerializedDataVersion
int iccProfileSerializedDataVersion
Version of the format of additional serialized data in the
stream. Version 1 corresponds to Java 2
Platform, v1.3.
- Since:
- 1.3
-
- serialVersionUID:
- -1124721290732002649L
-
- serialVersionUID:
- 8505067385152579334L
-
-
Package java.awt.datatransfer
-
- serialVersionUID:
- 8367026044764648243L
-
-
- serialVersionUID:
- 5383814944251665601L
-
Package java.awt.dnd
-
- serialVersionUID:
- 9080172649166731306L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Deserializes this 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.
- Throws:
ClassNotFoundException
IOException
- Since:
- 1.4
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Serializes this 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.
- Serial Data:
- The default serializable fields, in alphabetical order,
followed by either a
List instance, or
null.
- Throws:
IOException
- Since:
- 1.4
-
Serialized Fields
-
dragSource
DragSource dragSource
The DragSource associated with this DragGestureEvent.
-
component
Component component
The Component associated with this DragGestureEvent.
-
origin
Point origin
The origin of the drag.
-
action
int action
The user's preferred action.
-
- serialVersionUID:
- 8996673345831063337L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Deserializes this 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.
- Throws:
ClassNotFoundException
IOException
- Since:
- 1.4
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Serializes this 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.
- Serial Data:
- The default serializable fields, in alphabetical order,
followed by either a
DragGestureListener, or
null.
- Throws:
IOException
- Since:
- 1.4
-
Serialized Fields
-
dragSource
DragSource dragSource
The DragSource
associated with this
DragGestureRecognizer.
-
component
Component component
The Component
associated with this DragGestureRecognizer.
-
sourceActions
int sourceActions
An int representing
the type(s) of action(s) used
in this Drag and Drop operation.
-
events
ArrayList<E> events
The list of events (in order) that
the DragGestureRecognizer
"recognized" as a "gesture" that triggers a drag.
-
- serialVersionUID:
- 6236096958971414066L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Deserializes this 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:
- If a key object is a
String equal to
dragSourceListenerK, a DragSourceListener is
deserialized using the corresponding value object and added to this
DragSource.
- If a key object is a
String equal to
dragSourceMotionListenerK, a
DragSourceMotionListener is deserialized using the
corresponding value object and added to this DragSource.
- Otherwise, the key/value pair is skipped.
- Throws:
ClassNotFoundException
IOException
- Since:
- 1.4
- See Also:
SystemFlavorMap.getDefaultFlavorMap()
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Serializes this 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.
- Serial Data:
- Either a
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.
.
- Throws:
IOException
- Since:
- 1.4
-
- serialVersionUID:
- -115407898692194719L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Deserializes this 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.
- Throws:
ClassNotFoundException
IOException
- Since:
- 1.4
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Serializes this 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.
- Serial Data:
- The default serializable fields, in alphabetical order,
followed by either a
Transferable instance, or
null, followed by either a
DragSourceListener instance, or
null.
- Throws:
IOException
- Since:
- 1.4
-
Serialized Fields
-
trigger
DragGestureEvent trigger
The event which triggered the start of the drag.
-
cursor
Cursor cursor
The current drag cursor.
-
useCustomCursor
boolean useCustomCursor
true if the custom drag cursor is used instead of the
default one.
-
sourceActions
int sourceActions
A bitwise mask of DnDConstants that represents the set of
drop actions supported by the drag source for the drag operation associated
with this DragSourceContext.
-
- serialVersionUID:
- 481346297933902471L
-
- serialVersionUID:
- -5571321229470821891L
-
- serialVersionUID:
- -763287114604032641L
-
Serialized Fields
-
locationSpecified
boolean locationSpecified
The boolean indicating whether the cursor location
is specified for this event.
-
x
int x
The horizontal coordinate for the cursor location at the moment this
event occurred if the cursor location is specified for this event;
otherwise zero.
-
y
int y
The vertical coordinate for the cursor location at the moment this event
occurred if the cursor location is specified for this event;
otherwise zero.
-
- serialVersionUID:
- -6283860791671019047L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Deserializes this 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.
- Throws:
ClassNotFoundException
IOException
- Since:
- 1.4
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Serializes this 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.
- Serial Data:
- The default serializable fields, in alphabetical order,
followed by either a
DropTargetListener
instance, or null.
- Throws:
IOException
- Since:
- 1.4
-
Serialized Fields
-
- serialVersionUID:
- -634158968993743371L
-
- serialVersionUID:
- -8422265619058953682L
-
- serialVersionUID:
- -1721911170440459322L
-
- serialVersionUID:
- 2821229066521922993L
-
- serialVersionUID:
- -6062568741193956678L
-
- serialVersionUID:
- 6220099344182281120L
-
Package java.awt.event
-
- serialVersionUID:
- -7671078796273832149L
-
Serialized Fields
-
actionCommand
String actionCommand
The nonlocalized string that gives more details
of what actually caused the event.
This information is very specific to the component
that fired it.
- See Also:
ActionEvent.getActionCommand()
-
when
long when
Timestamp of when this event occurred. Because an ActionEvent is a high-
level, semantic event, the timestamp is typically the same as an
underlying InputEvent.
- See Also:
ActionEvent.getWhen()
-
modifiers
int modifiers
This represents the key modifier that was selected,
and is used to determine the state of the selected key.
If no modifier has been selected it will default to
zero.
- See Also:
ActionEvent.getModifiers()
-
- serialVersionUID:
- 5700290645205279921L
-
Serialized Fields
-
adjustable
Adjustable adjustable
The adjustable object that fired the event.
- See Also:
AdjustmentEvent.getAdjustable()
-
value
int value
value will contain the new value of the
adjustable object. This value will always be in a
range associated adjustable object.
- See Also:
AdjustmentEvent.getValue()
-
adjustmentType
int adjustmentType
The adjustmentType describes how the adjustable
object value has changed.
This value can be increased/decreased by a block or unit amount
where the block is associated with page increments/decrements,
and a unit is associated with line increments/decrements.
- See Also:
AdjustmentEvent.getAdjustmentType()
-
isAdjusting
boolean isAdjusting
The isAdjusting is true if the event is one
of the series of multiple adjustment events.
- Since:
- 1.4
- See Also:
AdjustmentEvent.getValueIsAdjusting()
-
- serialVersionUID:
- 8101406823902992965L
-
- serialVersionUID:
- -4114942250539772041L
-
- serialVersionUID:
- 523753786457416396L
-
- serialVersionUID:
- -5337576970038043990L
-
Serialized Fields
-
changed
Component changed
-
changedParent
Container changedParent
-
changeFlags
long changeFlags
-
- serialVersionUID:
- -2482525981698309786L
-
- serialVersionUID:
- 4727190874778922661L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 436056344909459450L
-
Serialized Fields
-
runnable
Runnable runnable
The Runnable whose run() method will be called.
-
notifier
Object notifier
The (potentially null) Object whose notifyAll() method will be called
immediately after the Runnable.run() method has returned or thrown an exception
or after the event was disposed.
- See Also:
InvocationEvent.isDispatched()
-
listener
Runnable listener
The (potentially null) Runnable whose run() method will be called
immediately after the event was dispatched or disposed.
- Since:
- 1.8
- See Also:
InvocationEvent.isDispatched()
-
dispatched
boolean dispatched
Indicates whether the run() method of the runnable
was executed or not.
- Since:
- 1.7
- See Also:
InvocationEvent.isDispatched()
-
catchExceptions
boolean catchExceptions
Set to true if dispatch() catches Throwable and stores it in the
exception instance variable. If false, Throwables are propagated up
to the EventDispatchThread's dispatch loop.
-
exception
Exception exception
The (potentially null) Exception thrown during execution of the
Runnable.run() method. This variable will also be null if a particular
instance does not catch exceptions.
-
throwable
Throwable throwable
The (potentially null) Throwable thrown during execution of the
Runnable.run() method. This variable will also be null if a particular
instance does not catch exceptions.
-
when
long when
The timestamp of when this event occurred.
- See Also:
InvocationEvent.getWhen()
-
- serialVersionUID:
- -608708132447206933L
-
- serialVersionUID:
- -2352130953028126954L
-
Serialization Methods
-
Serialized Fields
-
isProxyActive
boolean isProxyActive
Stores the state of native event dispatching system
- true, if when the event was created event proxying
mechanism was active
- false, if it was inactive
Used in Component.dispatchEventImpl to correctly dispatch
events when proxy is active
-
keyCode
int keyCode
The unique value assigned to each of the keys on the
keyboard. There is a common set of key codes that
can be fired by most keyboards.
The symbolic name for a key code should be used rather
than the code value itself.
- See Also:
KeyEvent.getKeyCode(),
KeyEvent.setKeyCode(int)
-
keyChar
char keyChar
keyChar is a valid unicode character
that is fired by a key or a key combination on
a keyboard.
- See Also:
KeyEvent.getKeyChar(),
KeyEvent.setKeyChar(char)
-
keyLocation
int keyLocation
The location of the key on the keyboard.
Some keys occur more than once on a keyboard, e.g. the left and
right shift keys. Additionally, some keys occur on the numeric
keypad. This variable is used to distinguish such keys.
The only legal values are KEY_LOCATION_UNKNOWN,
KEY_LOCATION_STANDARD, KEY_LOCATION_LEFT,
KEY_LOCATION_RIGHT, and KEY_LOCATION_NUMPAD.
- See Also:
KeyEvent.getKeyLocation()
-
originalSource
Component originalSource
The original event source.
Event source can be changed during processing, but in some cases
we need to be able to obtain original source.
-
- serialVersionUID:
- -991214153494842848L
-
Serialization Methods
-
Serialized Fields
-
x
int x
The mouse event's x coordinate.
The x value is relative to the component that fired the event.
- See Also:
MouseEvent.getX()
-
y
int y
The mouse event's y coordinate.
The y value is relative to the component that fired the event.
- See Also:
MouseEvent.getY()
-
xAbs
int xAbs
The mouse event's x absolute coordinate.
In a virtual device multi-screen environment in which the
desktop area could span multiple physical screen devices,
this coordinate is relative to the virtual coordinate system.
Otherwise, this coordinate is relative to the coordinate system
associated with the Component's GraphicsConfiguration.
-
yAbs
int yAbs
The mouse event's y absolute coordinate.
In a virtual device multi-screen environment in which the
desktop area could span multiple physical screen devices,
this coordinate is relative to the virtual coordinate system.
Otherwise, this coordinate is relative to the coordinate system
associated with the Component's GraphicsConfiguration.
-
clickCount
int clickCount
Indicates the number of quick consecutive clicks of
a mouse button.
clickCount will be valid for only three mouse events :
MOUSE_CLICKED,
MOUSE_PRESSED and
MOUSE_RELEASED.
For the above, the clickCount will be at least 1.
For all other events the count will be 0.
- See Also:
MouseEvent.getClickCount()
-
causedByTouchEvent
boolean causedByTouchEvent
Indicates whether the event is a result of a touch event.
-
button
int button
Indicates which, if any, of the mouse buttons has changed state.
The valid values are ranged from 0 to the value returned by the
MouseInfo.getNumberOfButtons() method.
This range already includes constants NOBUTTON, BUTTON1,
BUTTON2, and BUTTON3
if these buttons are present. So it is allowed to use these constants too.
For example, for a mouse with two buttons this field may contain the following values:
- 0 (
NOBUTTON)
- 1 (
BUTTON1)
- 2 (
BUTTON2)
If a mouse has 5 buttons, this field may contain the following values:
- 0 (
NOBUTTON)
- 1 (
BUTTON1)
- 2 (
BUTTON2)
- 3 (
BUTTON3)
- 4
- 5
If support for extended mouse buttons is Toolkit.areExtraMouseButtonsEnabled() disabled by Java
then the field may not contain the value larger than BUTTON3.
- See Also:
MouseEvent.getButton(),
Toolkit.areExtraMouseButtonsEnabled()
-
popupTrigger
boolean popupTrigger
A property used to indicate whether a Popup Menu
should appear with a certain gestures.
If popupTrigger = false,
no popup menu should appear. If it is true
then a popup menu should appear.
- See Also:
PopupMenu,
MouseEvent.isPopupTrigger()
-
- serialVersionUID:
- 6459879390515399677L
-
- serialVersionUID:
- 1267492026433337593L
-
- serialVersionUID:
- 6269902291250941179L
-
- serialVersionUID:
- -1567959133147912127L
-
Serialized Fields
-
oldState
int oldState
TBS
-
newState
int newState
-
Package java.awt.font
-
- serialVersionUID:
- -8022764705923730308L
-
Serialization Methods
-
writeObject
private void writeObject(ObjectOutputStream stream)
throws IOException
Converts the NumericShaper.Range enum-based parameters,
if any, to the bit mask-based counterparts and writes this
object to the stream. Any enum constants that have no
bit mask-based counterparts are ignored in the conversion.
- Throws:
IOException - if an I/O error occurs while writing to stream
- Since:
- 1.7
-
Serialized Fields
-
key
int key
index of context for contextual shaping - values range from 0 to 18
-
mask
int mask
flag indicating whether to shape contextually (high bit) and which
digit ranges to shape (bits 0-18)
-
shapingRange
NumericShaper.Range shapingRange
The context Range for contextual shaping or the Range for non-contextual shaping. null for the bit
mask-based API.
- Since:
- 1.7
-
- serialVersionUID:
- 7744112784117861702L
-
- serialVersionUID:
- 3356247357827709530L
-
Serialization Methods
-
Serialized Fields
-
transform
AffineTransform transform
The AffineTransform for this
TransformAttribute, or null
if AffineTransform is the identity transform.
-
Package java.awt.geom
-
- serialVersionUID:
- 1330973210523860834L
-
Serialization Methods
-
Serialized Fields
-
m00
double m00
The X coordinate scaling element of the 3x3
affine transformation matrix.
-
m10
double m10
The Y coordinate shearing element of the 3x3
affine transformation matrix.
-
m01
double m01
The X coordinate shearing element of the 3x3
affine transformation matrix.
-
m11
double m11
The Y coordinate scaling element of the 3x3
affine transformation matrix.
-
m02
double m02
The X coordinate of the translation element of the
3x3 affine transformation matrix.
-
m12
double m12
The Y coordinate of the translation element of the
3x3 affine transformation matrix.
-
- serialVersionUID:
- 728264085846882001L
-
Serialization Methods
-
Serialized Fields
-
x
double x
The X coordinate of the upper-left corner of the framing
rectangle of the arc.
- Since:
- 1.2
-
y
double y
The Y coordinate of the upper-left corner of the framing
rectangle of the arc.
- Since:
- 1.2
-
width
double width
The overall width of the full ellipse of which this arc is
a partial section (not considering the angular extents).
- Since:
- 1.2
-
height
double height
The overall height of the full ellipse of which this arc is
a partial section (not considering the angular extents).
- Since:
- 1.2
-
start
double start
The starting angle of the arc in degrees.
- Since:
- 1.2
-
extent
double extent
The angular extent of the arc in degrees.
- Since:
- 1.2
-
- serialVersionUID:
- 9130893014586380278L
-
Serialization Methods
-
Serialized Fields
-
x
float x
The X coordinate of the upper-left corner of the framing
rectangle of the arc.
- Since:
- 1.2
-
y
float y
The Y coordinate of the upper-left corner of the framing
rectangle of the arc.
- Since:
- 1.2
-
width
float width
The overall width of the full ellipse of which this arc is
a partial section (not considering the
angular extents).
- Since:
- 1.2
-
height
float height
The overall height of the full ellipse of which this arc is
a partial section (not considering the
angular extents).
- Since:
- 1.2
-
start
float start
The starting angle of the arc in degrees.
- Since:
- 1.2
-
extent
float extent
The angular extent of the arc in degrees.
- Since:
- 1.2
-
- serialVersionUID:
- -4202960122839707295L
-
Serialized Fields
-
x1
double x1
The X coordinate of the start point
of the cubic curve segment.
- Since:
- 1.2
-
y1
double y1
The Y coordinate of the start point
of the cubic curve segment.
- Since:
- 1.2
-
ctrlx1
double ctrlx1
The X coordinate of the first control point
of the cubic curve segment.
- Since:
- 1.2
-
ctrly1
double ctrly1
The Y coordinate of the first control point
of the cubic curve segment.
- Since:
- 1.2
-
ctrlx2
double ctrlx2
The X coordinate of the second control point
of the cubic curve segment.
- Since:
- 1.2
-
ctrly2
double ctrly2
The Y coordinate of the second control point
of the cubic curve segment.
- Since:
- 1.2
-
x2
double x2
The X coordinate of the end point
of the cubic curve segment.
- Since:
- 1.2
-
y2
double y2
The Y coordinate of the end point
of the cubic curve segment.
- Since:
- 1.2
-
- serialVersionUID:
- -1272015596714244385L
-
Serialized Fields
-
x1
float x1
The X coordinate of the start point
of the cubic curve segment.
- Since:
- 1.2
-
y1
float y1
The Y coordinate of the start point
of the cubic curve segment.
- Since:
- 1.2
-
ctrlx1
float ctrlx1
The X coordinate of the first control point
of the cubic curve segment.
- Since:
- 1.2
-
ctrly1
float ctrly1
The Y coordinate of the first control point
of the cubic curve segment.
- Since:
- 1.2
-
ctrlx2
float ctrlx2
The X coordinate of the second control point
of the cubic curve segment.
- Since:
- 1.2
-
ctrly2
float ctrly2
The Y coordinate of the second control point
of the cubic curve segment.
- Since:
- 1.2
-
x2
float x2
The X coordinate of the end point
of the cubic curve segment.
- Since:
- 1.2
-
y2
float y2
The Y coordinate of the end point
of the cubic curve segment.
- Since:
- 1.2
-
- serialVersionUID:
- 5555464816372320683L
-
Serialized Fields
-
x
double x
The X coordinate of the upper-left corner of the
framing rectangle of this Ellipse2D.
- Since:
- 1.2
-
y
double y
The Y coordinate of the upper-left corner of the
framing rectangle of this Ellipse2D.
- Since:
- 1.2
-
width
double width
The overall width of this Ellipse2D.
- Since:
- 1.2
-
height
double height
The overall height of the Ellipse2D.
- Since:
- 1.2
-
- serialVersionUID:
- -6633761252372475977L
-
Serialized Fields
-
x
float x
The X coordinate of the upper-left corner of the
framing rectangle of this Ellipse2D.
- Since:
- 1.2
-
y
float y
The Y coordinate of the upper-left corner of the
framing rectangle of this Ellipse2D.
- Since:
- 1.2
-
width
float width
The overall width of this Ellipse2D.
- Since:
- 1.2
-
height
float height
The overall height of this Ellipse2D.
- Since:
- 1.2
-
- serialVersionUID:
- -8327096662768731142L
-
-
- serialVersionUID:
- 7979627399746467499L
-
Serialized Fields
-
x1
double x1
The X coordinate of the start point of the line segment.
- Since:
- 1.2
-
y1
double y1
The Y coordinate of the start point of the line segment.
- Since:
- 1.2
-
x2
double x2
The X coordinate of the end point of the line segment.
- Since:
- 1.2
-
y2
double y2
The Y coordinate of the end point of the line segment.
- Since:
- 1.2
-
- serialVersionUID:
- 6161772511649436349L
-
Serialized Fields
-
x1
float x1
The X coordinate of the start point of the line segment.
- Since:
- 1.2
-
y1
float y1
The Y coordinate of the start point of the line segment.
- Since:
- 1.2
-
x2
float x2
The X coordinate of the end point of the line segment.
- Since:
- 1.2
-
y2
float y2
The Y coordinate of the end point of the line segment.
- Since:
- 1.2
-
-
- serialVersionUID:
- 1826762518450014216L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Reads the default serializable fields from the
ObjectInputStream followed by an explicit
serialization of the path segments stored in this
path.
There are no default serializable fields as of 1.6.
The serial data for this object is described in the
writeObject method.
- Throws:
ClassNotFoundException
IOException
- Since:
- 1.6
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Writes the default serializable fields to the
ObjectOutputStream followed by an explicit
serialization of the path segments stored in this
path.
- Serial Data:
-
- The default serializable fields.
There are no default serializable fields as of 1.6.
- followed by
a byte indicating the storage type of the original object
as a hint (SERIAL_STORAGE_DBL_ARRAY)
- followed by
an integer indicating the number of path segments to follow (NP)
or -1 to indicate an unknown number of path segments follows
- followed by
an integer indicating the total number of coordinates to follow (NC)
or -1 to indicate an unknown number of coordinates follows
(NC should always be even since coordinates always appear in pairs
representing an x,y pair)
- followed by
a byte indicating the winding rule
(
WIND_EVEN_ODD or
WIND_NON_ZERO)
- followed by
NP (or unlimited if NP < 0) sets of values consisting of
a single byte indicating a path segment type
followed by one or more pairs of float or double
values representing the coordinates of the path segment
- followed by
a byte indicating the end of the path (SERIAL_PATH_END).
The following byte value constants are used in the serialized form
of Path2D objects:
| Constant Name |
Byte Value |
Followed by |
Description |
SERIAL_STORAGE_FLT_ARRAY |
0x30 |
|
A hint that the original Path2D object stored
the coordinates in a Java array of floats. |
SERIAL_STORAGE_DBL_ARRAY |
0x31 |
|
A hint that the original Path2D object stored
the coordinates in a Java array of doubles. |
SERIAL_SEG_FLT_MOVETO |
0x40 |
2 floats |
A moveTo path segment follows. |
SERIAL_SEG_FLT_LINETO |
0x41 |
2 floats |
A lineTo path segment follows. |
SERIAL_SEG_FLT_QUADTO |
0x42 |
4 floats |
A quadTo path segment follows. |
SERIAL_SEG_FLT_CUBICTO |
0x43 |
6 floats |
A curveTo path segment follows. |
SERIAL_SEG_DBL_MOVETO |
0x50 |
2 doubles |
A moveTo path segment follows. |
SERIAL_SEG_DBL_LINETO |
0x51 |
2 doubles |
A lineTo path segment follows. |
SERIAL_SEG_DBL_QUADTO |
0x52 |
4 doubles |
A curveTo path segment follows. |
SERIAL_SEG_DBL_CUBICTO |
0x53 |
6 doubles |
A curveTo path segment follows. |
SERIAL_SEG_CLOSE |
0x60 |
|
A closePath path segment. |
SERIAL_PATH_END |
0x61 |
|
There are no more path segments following. |
- Throws:
IOException
- Since:
- 1.6
-
- serialVersionUID:
- 6990832515060788886L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
Reads the default serializable fields from the
ObjectInputStream followed by an explicit
serialization of the path segments stored in this
path.
There are no default serializable fields as of 1.6.
The serial data for this object is described in the
writeObject method.
- Throws:
ClassNotFoundException
IOException
- Since:
- 1.6
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
Writes the default serializable fields to the
ObjectOutputStream followed by an explicit
serialization of the path segments stored in this
path.
- Serial Data:
-
- The default serializable fields.
There are no default serializable fields as of 1.6.
- followed by
a byte indicating the storage type of the original object
as a hint (SERIAL_STORAGE_FLT_ARRAY)
- followed by
an integer indicating the number of path segments to follow (NP)
or -1 to indicate an unknown number of path segments follows
- followed by
an integer indicating the total number of coordinates to follow (NC)
or -1 to indicate an unknown number of coordinates follows
(NC should always be even since coordinates always appear in pairs
representing an x,y pair)
- followed by
a byte indicating the winding rule
(
WIND_EVEN_ODD or
WIND_NON_ZERO)
- followed by
NP (or unlimited if NP < 0) sets of values consisting of
a single byte indicating a path segment type
followed by one or more pairs of float or double
values representing the coordinates of the path segment
- followed by
a byte indicating the end of the path (SERIAL_PATH_END).
The following byte value constants are used in the serialized form
of Path2D objects:
| Constant Name |
Byte Value |
Followed by |
Description |
SERIAL_STORAGE_FLT_ARRAY |
0x30 |
|
A hint that the original Path2D object stored
the coordinates in a Java array of floats. |
SERIAL_STORAGE_DBL_ARRAY |
0x31 |
|
A hint that the original Path2D object stored
the coordinates in a Java array of doubles. |
SERIAL_SEG_FLT_MOVETO |
0x40 |
2 floats |
A moveTo path segment follows. |
SERIAL_SEG_FLT_LINETO |
0x41 |
2 floats |
A lineTo path segment follows. |
SERIAL_SEG_FLT_QUADTO |
0x42 |
4 floats |
A quadTo path segment follows. |
SERIAL_SEG_FLT_CUBICTO |
0x43 |
6 floats |
A curveTo path segment follows. |
SERIAL_SEG_DBL_MOVETO |
0x50 |
2 doubles |
A moveTo path segment follows. |
SERIAL_SEG_DBL_LINETO |
0x51 |
2 doubles |
A lineTo path segment follows. |
SERIAL_SEG_DBL_QUADTO |
0x52 |
4 doubles |
A curveTo path segment follows. |
SERIAL_SEG_DBL_CUBICTO |
0x53 |
6 doubles |
A curveTo path segment follows. |
SERIAL_SEG_CLOSE |
0x60 |
|
A closePath path segment. |
SERIAL_PATH_END |
0x61 |
|
There are no more path segments following. |
- Throws:
IOException
- Since:
- 1.6
-
- serialVersionUID:
- 6150783262733311327L
-
- serialVersionUID:
- -2870572449815403710L
-
- serialVersionUID:
- 4217149928428559721L
-
Serialized Fields
-
x1
double x1
The X coordinate of the start point of the quadratic curve
segment.
- Since:
- 1.2
-
y1
double y1
The Y coordinate of the start point of the quadratic curve
segment.
- Since:
- 1.2
-
ctrlx
double ctrlx
The X coordinate of the control point of the quadratic curve
segment.
- Since:
- 1.2
-
ctrly
double ctrly
The Y coordinate of the control point of the quadratic curve
segment.
- Since:
- 1.2
-
x2
double x2
The X coordinate of the end point of the quadratic curve
segment.
- Since:
- 1.2
-
y2
double y2
The Y coordinate of the end point of the quadratic curve
segment.
- Since:
- 1.2
-
- serialVersionUID:
- -8511188402130719609L
-
Serialized Fields
-
x1
float x1
The X coordinate of the start point of the quadratic curve
segment.
- Since:
- 1.2
-
y1
float y1
The Y coordinate of the start point of the quadratic curve
segment.
- Since:
- 1.2
-
ctrlx
float ctrlx
The X coordinate of the control point of the quadratic curve
segment.
- Since:
- 1.2
-
ctrly
float ctrly
The Y coordinate of the control point of the quadratic curve
segment.
- Since:
- 1.2
-
x2
float x2
The X coordinate of the end point of the quadratic curve
segment.
- Since:
- 1.2
-
y2
float y2
The Y coordinate of the end point of the quadratic curve
segment.
- Since:
- 1.2
-
- serialVersionUID:
- 7771313791441850493L
-
Serialized Fields
-
x
double x
The X coordinate of this Rectangle2D.
- Since:
- 1.2
-
y
double y
The Y coordinate of this Rectangle2D.
- Since:
- 1.2
-
width
double width
The width of this Rectangle2D.
- Since:
- 1.2
-
height
double height
The height of this Rectangle2D.
- Since:
- 1.2
-
- serialVersionUID:
- 3798716824173675777L
-
Serialized Fields
-
x
float x
The X coordinate of this Rectangle2D.
- Since:
- 1.2
-
y
float y
The Y coordinate of this Rectangle2D.
- Since:
- 1.2
-
width
float width
The width of this Rectangle2D.
- Since:
- 1.2
-
height
float height
The height of this Rectangle2D.
- Since:
- 1.2
-
- serialVersionUID:
- 1048939333485206117L
-
Serialized Fields
-
x
double x
The X coordinate of this RoundRectangle2D.
- Since:
- 1.2
-
y
double y
The Y coordinate of this RoundRectangle2D.
- Since:
- 1.2
-
width
double width
The width of this RoundRectangle2D.
- Since:
- 1.2
-
height
double height
The height of this RoundRectangle2D.
- Since:
- 1.2
-
arcwidth
double arcwidth
The width of the arc that rounds off the corners.
- Since:
- 1.2
-
archeight
double archeight
The height of the arc that rounds off the corners.
- Since:
- 1.2
-
- serialVersionUID:
- -3423150618393866922L
-
Serialized Fields
-
x
float x
The X coordinate of this RoundRectangle2D.
- Since:
- 1.2
-
y
float y
The Y coordinate of this RoundRectangle2D.
- Since:
- 1.2
-
width
float width
The width of this RoundRectangle2D.
- Since:
- 1.2
-
height
float height
The height of this RoundRectangle2D.
- Since:
- 1.2
-
arcwidth
float arcwidth
The width of the arc that rounds off the corners.
- Since:
- 1.2
-
archeight
float archeight
The height of the arc that rounds off the corners.
- Since:
- 1.2
-
Package java.awt.image
-
Package java.awt.image.renderable
-
-
Serialized Fields
-
sources
Vector<E> sources
A Vector of sources, stored as arbitrary Objects.
-
parameters
Vector<E> parameters
A Vector of non-source parameters, stored as arbitrary Objects.
-
Package java.awt.print
-
-
-
- serialVersionUID:
- 5850870712125932846L
-
Package java.beans
-
- serialVersionUID:
- -320227448495806870L
-
- serialVersionUID:
- -3728150539969542619L
-
- serialVersionUID:
- 7042693688939648123L
-
Serialized Fields
-
propertyName
String propertyName
name of the property that changed. May be null, if not known.
-
newValue
Object newValue
New value for property. May be null if not known.
-
oldValue
Object oldValue
Previous value for property. May be null if not known.
-
propagationId
Object propagationId
Propagation ID. May be null.
- See Also:
PropertyChangeEvent.getPropagationId()
-
- serialVersionUID:
- 6401253773779951803L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 129596057694162164L
-
- serialVersionUID:
- -5090210921595982017L
-
Serialization Methods
-
Serialized Fields
-
Package java.beans.beancontext
-
- serialVersionUID:
- 6328947014421475877L
-
Serialization Methods
-
Serialized Fields
-
beanContextChildPeer
BeanContextChild beanContextChildPeer
The BeanContext in which
this BeanContextChild is nested.
-
pcSupport
PropertyChangeSupport pcSupport
The PropertyChangeSupport associated with this
BeanContextChildSupport.
-
vcSupport
VetoableChangeSupport vcSupport
The VetoableChangeSupport associated with this
BeanContextChildSupport.
-
- serialVersionUID:
- 7267998073569045052L
-
- serialVersionUID:
- 3499346510334590959L
-
- serialVersionUID:
- -5333985775656400778L
-
- serialVersionUID:
- -1295543154724961754L
-
- serialVersionUID:
- -8494482757288719206L
-
- serialVersionUID:
- -3263851306889194873L
-
- serialVersionUID:
- 861278251667444782L
-
- serialVersionUID:
- -4879613978649577204L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
deserialize contents ... if this instance has a distinct peer the
children are *not* serialized here, the peer's readObject() must call
readChildren() after deserializing this instance.
- Throws:
IOException
ClassNotFoundException
-
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException,
ClassNotFoundException
Serialize the BeanContextSupport, if this instance has a distinct
peer (that is this object is acting as a delegate for another) then
the children of this instance are not serialized here due to a
'chicken and egg' problem that occurs on deserialization of the
children at the same time as this instance.
Therefore in situations where there is a distinct peer to this instance
it should always call writeObject() followed by writeChildren() and
readObject() followed by readChildren().
- Throws:
IOException
ClassNotFoundException
-
Serialized Fields
-
serializable
int serializable
-
locale
Locale locale
The current locale of this BeanContext.
-
okToUseGui
boolean okToUseGui
A boolean indicating if this
instance may now render a GUI.
-
designTime
boolean designTime
A boolean indicating whether or not
this object is currently in design time mode.
-
- serialVersionUID:
- -5815286101609939109L
-
Package java.io
-
- serialVersionUID:
- -8680016352018427031L
-
- serialVersionUID:
- 6433858223774886977L
-
Class java.io.File extends Object implements Serializable
- serialVersionUID:
- 301077366599181567L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
readObject is called to restore this filename.
The original separator character is read. If it is different
than the separator character on this system, then the old separator
is replaced by the local separator.
- Throws:
IOException
ClassNotFoundException
-
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
WriteObject is called to save this filename.
The separator character is saved also so it can be replaced
in case the path is reconstituted on a different host type.
- Serial Data:
- Default fields followed by separator character.
- Throws:
IOException
-
Serialized Fields
-
- serialVersionUID:
- -897856973823710492L
-
Class java.io.FilePermissionCollection extends PermissionCollection implements Serializable
- serialVersionUID:
- 2202956749081564585L
-
Serialization Methods
-
Serialized Fields
-
- serialVersionUID:
- 4020568460727500567L
-
- serialVersionUID:
- -4333316296251054416L
-
- serialVersionUID:
- 3233174318281839583L
-
- serialVersionUID:
- 67100927991680413L
-
- serialVersionUID:
- 7818375828146090155L
-
- serialVersionUID:
- -3893467273049808895L
-
- serialVersionUID:
- 2906642554793891381L
-
- serialVersionUID:
- -6120832682080437368L
-
- serialVersionUID:
- 7260898174833392607L
-
- serialVersionUID:
- -8011121865681257820L
-
- serialVersionUID:
- 8537212141160296410L
-
- serialVersionUID:
- 8983558202217591746L
-
- serialVersionUID:
- -2353342684412443330L
-
- serialVersionUID:
- -8134305061645241065L
-
- serialVersionUID:
- -4274276298326136670L
-
- serialVersionUID:
- 420743449228280612L
-
- seri
[Page truncated to keep GeezerVison snappy.] |