| JavaTM 2 Platform Std. Ed. v1.6.0
Serialized Form
serialVersionUID: -5836846270535785031L
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()
accessibleContext
AccessibleContext accessibleContext
serialVersionUID: 8127374778187708896L
serialVersionUID: -1819846354050686206L
serialVersionUID: -1825314779160409405L
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()
serialVersionUID: -1900414231151323879L
serialVersionUID: -6430539691155161871L
readResolve
protected Object readResolve()
throws ObjectStreamException
- Returns a cached instance of
AWTKeyStroke (or a subclass of
AWTKeyStroke) which is equal to this instance.
- Throws:
ObjectStreamException
keyChar
char keyChar
keyCode
int keyCode
modifiers
int modifiers
onKeyRelease
boolean onKeyRelease
serialVersionUID: 8890392402588814465L
serialVersionUID: -8658291919501921765L
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 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.
-
serialVersionUID: -8774683716313001058L
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(),
Button.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),
Component.actionListenerK,
Button.readObject(ObjectInputStream)
label
String label
- The button's label. This value may be null.
-
- See Also:
Button.getLabel(),
Button.setLabel(String)
actionCommand
String actionCommand
- The action to be performed once a button has been
pressed. This value may be null.
-
- See Also:
Button.getActionCommand(),
Button.setActionCommand(String)
buttonSerializedDataVersion
int buttonSerializedDataVersion
serialVersionUID: -5932203980244017102L
serialVersionUID: -2284879212465893870L
serialVersionUID: -6325592262103146699L
serialVersionUID: -4328196481005934313L
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- Reads serializable fields from stream.
- Throws:
ClassNotFoundException
IOException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Writes serializable fields to stream.
- Throws:
IOException
currentCard
int currentCard
hgap
int hgap
tab
Hashtable<K,V> tab
- deprectated, for forward compatibility only
vector
Vector<E> vector
vgap
int vgap
serialVersionUID: 7270714317450821763L
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(),
Checkbox.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),
Component.itemListenerK,
Checkbox.readObject(ObjectInputStream)
label
String label
- The label of the Checkbox.
This field can be null.
-
- See Also:
Checkbox.getLabel(),
Checkbox.setLabel(String)
state
boolean state
- The state of the
Checkbox.
-
- See Also:
Checkbox.getState(),
Checkbox.setState(boolean)
group
CheckboxGroup group
- The check box group.
This field can be null indicating that the checkbox
is not a group checkbox.
-
- See Also:
Checkbox.getCheckboxGroup(),
Checkbox.setCheckboxGroup(CheckboxGroup)
checkboxSerializedDataVersion
int checkboxSerializedDataVersion
serialVersionUID: 7881579233144754107L
serialVersionUID: 3729780091441768983L
selectedCheckbox
Checkbox selectedCheckbox
- The current choice.
-
- See Also:
CheckboxGroup.getCurrent(),
CheckboxGroup.setCurrent(Checkbox)
serialVersionUID: 6190621106981774043L
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException
- 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),
Component.itemListenerK,
CheckboxMenuItem.readObject(ObjectInputStream)
state
boolean state
- The state of a checkbox menu item
-
- See Also:
CheckboxMenuItem.getState(),
CheckboxMenuItem.setState(boolean)
checkboxMenuItemSerializedDataVersion
int checkboxMenuItemSerializedDataVersion
serialVersionUID: -1122642964303476L
serialVersionUID: -4075310674757313071L
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(),
Choice.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),
Component.itemListenerK,
Choice.readObject(ObjectInputStream)
pItems
Vector<E> 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
serialVersionUID: 7175603582428509322L
serialVersionUID: 118526816881161077L
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
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)
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.
componentSerializedDataVersion
int componentSerializedDataVersion
- Component Serialized Data Version.
-
accessibleContext
AccessibleContext accessibleContext
serialVersionUID: 642321655757800191L
accessibleAWTComponentHandler
ComponentListener accessibleAWTComponentHandler
accessibleAWTFocusHandler
FocusListener accessibleAWTFocusHandler
serialVersionUID: -4113291392143563828L
orientation
int orientation
serialVersionUID: 4613797578919906343L
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)
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
accessibleContainerHandler
ContainerListener accessibleContainerHandler
serialVersionUID: 486933713763926351L
implicitDownCycleTraversal
boolean implicitDownCycleTraversal
serialVersionUID: 8028237497568985504L
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()
serialVersionUID: 8876966522510157497L
serialVersionUID: 5920926903803293709L
readObject
private void readObject(ObjectInputStream s)
throws ClassNotFoundException,
IOException,
HeadlessException
- Throws:
ClassNotFoundException
IOException
HeadlessException
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
width
int width
- The width dimension; negative values can be used.
-
- Since:
- 1.0
- See Also:
Dimension.getSize(),
Dimension.setSize(double, double)
height
int height
- The height dimension; negative values can be used.
-
- Since:
- 1.0
- See Also:
Dimension.getSize(),
Dimension.setSize(double, double)
serialVersionUID: 5488922509400504703L
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
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.
- Throws:
ClassNotFoundException
IOException
mode
int mode
dir
String dir
file
String file
filter
FilenameFilter filter
serialVersionUID: -7262534875583282631L
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..
- Throws:
IOException
ClassNotFoundException
align
int align
align is the property that determines
how each row distributes empty space.
It can be one of the following values:
LEFT
RIGHT
CENTER
LEADING
TRAILING
-
- 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(),
|