- D - Static variable in class java.awt.PageAttributes.MediaType
-
The MediaType instance for Engineering D, 22 x 34 in.
- DARK_GRAY - Static variable in class java.awt.Color
-
The color dark gray.
- darker() - Method in class java.awt.Color
-
Creates a new Color
that is a darker version of this
Color
.
- darkGray - Static variable in class java.awt.Color
-
The color dark gray.
- decode(String) - Static method in class java.awt.Color
-
Converts a String
to an integer and returns the
specified opaque Color
.
- decode(String) - Static method in class java.awt.Font
-
Returns the Font
that the str
argument describes.
- DEFAULT_CURSOR - Static variable in class java.awt.Cursor
-
The default cursor type (gets set if no cursor is defined).
- DEFAULT_CURSOR - Static variable in class java.awt.Frame
-
Deprecated replaced by Cursor.DEFAULT_CURSOR
.
- DEFAULT_MODALITY_TYPE - Static variable in class java.awt.Dialog
-
Default modality type for modal dialogs.
- defaultConstraints - Variable in class java.awt.GridBagLayout
-
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
.
- DefaultFocusTraversalPolicy - Class in java.awt
-
A FocusTraversalPolicy that determines traversal order based on the order
of child Components in a Container.
- DefaultFocusTraversalPolicy() - Constructor for class java.awt.DefaultFocusTraversalPolicy
- DefaultKeyboardFocusManager - Class in java.awt
-
The default KeyboardFocusManager for AWT applications.
- DefaultKeyboardFocusManager() - Constructor for class java.awt.DefaultKeyboardFocusManager
- delay(int) - Method in class java.awt.Robot
-
Sleeps for the specified time.
- DELETE - Static variable in class java.awt.Event
-
The Delete key.
- deleteShortcut(MenuShortcut) - Method in class java.awt.MenuBar
-
Deletes the specified menu shortcut.
- deleteShortcut() - Method in class java.awt.MenuItem
-
Delete any MenuShortcut
object associated
with this menu item.
- delItem(int) - Method in class java.awt.List
-
Deprecated replaced by remove(String)
and remove(int)
.
- delItems(int, int) - Method in class java.awt.List
-
Deprecated. As of JDK version 1.1,
Not for public use in the future.
This method is expected to be retained only as a package
private method.
- deliverEvent(Event) - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
replaced by dispatchEvent(AWTEvent e)
.
- deliverEvent(Event) - Method in class java.awt.Container
-
Deprecated. As of JDK version 1.1,
replaced by dispatchEvent(AWTEvent e)
- dequeueKeyEvents(long, Component) - Method in class java.awt.DefaultKeyboardFocusManager
-
Releases for normal dispatching to the current focus owner all
KeyEvents which were enqueued because of a call to
enqueueKeyEvents
with the same timestamp and Component.
- dequeueKeyEvents(long, Component) - Method in class java.awt.KeyboardFocusManager
-
Called by the AWT to notify the KeyboardFocusManager that it should
cancel delayed dispatching of KeyEvents.
- derive(int) - Method in class java.awt.AlphaComposite
-
Returns a similar AlphaComposite
object that uses
the specified compositing rule.
- derive(float) - Method in class java.awt.AlphaComposite
-
Returns a similar AlphaComposite
object that uses
the specified alpha value.
- deriveFont(int, float) - Method in class java.awt.Font
-
Creates a new Font
object by replicating this
Font
object and applying a new style and size.
- deriveFont(int, AffineTransform) - Method in class java.awt.Font
-
Creates a new Font
object by replicating this
Font
object and applying a new style and transform.
- deriveFont(float) - Method in class java.awt.Font
-
Creates a new Font
object by replicating the current
Font
object and applying a new size to it.
- deriveFont(AffineTransform) - Method in class java.awt.Font
-
Creates a new Font
object by replicating the current
Font
object and applying a new transform to it.
- deriveFont(int) - Method in class java.awt.Font
-
Creates a new Font
object by replicating the current
Font
object and applying a new style to it.
- deriveFont(Map<? extends AttributedCharacterIterator.Attribute, ?>) - Method in class java.awt.Font
-
Creates a new Font
object by replicating the current
Font
object and applying a new set of font attributes
to it.
- deselect(int) - Method in class java.awt.List
-
Deselects the item at the specified index.
- DESELECTED - Static variable in class java.awt.event.ItemEvent
-
This state-change-value indicates that a selected item was deselected.
- Desktop - Class in java.awt
-
The Desktop
class allows a Java application to launch
associated applications registered on the native desktop to handle
a URI
or a file.
- DESKTOP - Static variable in class java.awt.SystemColor
-
- desktop - Static variable in class java.awt.SystemColor
-
The color rendered for the background of the desktop.
- Desktop.Action - Enum in java.awt
-
Represents an action type.
- desktopProperties - Variable in class java.awt.Toolkit
- desktopPropsSupport - Variable in class java.awt.Toolkit
- destroyBuffers() - Method in class java.awt.Component.FlipBufferStrategy
-
Destroys the buffers created through this object
- Dialog - Class in java.awt
-
A Dialog is a top-level window with a title and a border
that is typically used to take some form of input from the user.
- Dialog(Frame) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible, modeless Dialog
with
the specified owner Frame
and an empty title.
- Dialog(Frame, boolean) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible Dialog
with the specified
owner Frame
and modality and an empty title.
- Dialog(Frame, String) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible, modeless Dialog
with
the specified owner Frame
and title.
- Dialog(Frame, String, boolean) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible Dialog
with the
specified owner Frame
, title and modality.
- Dialog(Frame, String, boolean, GraphicsConfiguration) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible Dialog
with the specified owner
Frame
, title, modality, and GraphicsConfiguration
.
- Dialog(Dialog) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible, modeless Dialog
with
the specified owner Dialog
and an empty title.
- Dialog(Dialog, String) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible, modeless Dialog
with the specified owner Dialog
and title.
- Dialog(Dialog, String, boolean) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible Dialog
with the
specified owner Dialog
, title, and modality.
- Dialog(Dialog, String, boolean, GraphicsConfiguration) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible Dialog
with the
specified owner Dialog
, title, modality and
GraphicsConfiguration
.
- Dialog(Window) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible, modeless Dialog
with the
specified owner Window
and an empty title.
- Dialog(Window, String) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible, modeless Dialog
with
the specified owner Window
and title.
- Dialog(Window, Dialog.ModalityType) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible Dialog
with the
specified owner Window
and modality and an empty title.
- Dialog(Window, String, Dialog.ModalityType) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible Dialog
with the
specified owner Window
, title and modality.
- Dialog(Window, String, Dialog.ModalityType, GraphicsConfiguration) - Constructor for class java.awt.Dialog
-
Constructs an initially invisible Dialog
with the
specified owner Window
, title, modality and
GraphicsConfiguration
.
- DIALOG - Static variable in class java.awt.Font
-
A String constant for the canonical family name of the
logical font "Dialog".
- Dialog.AccessibleAWTDialog - Class in java.awt
-
This class implements accessibility support for the
Dialog
class.
- Dialog.AccessibleAWTDialog() - Constructor for class java.awt.Dialog.AccessibleAWTDialog
- Dialog.ModalExclusionType - Enum in java.awt
-
Any top-level window can be marked not to be blocked by modal
dialogs.
- Dialog.ModalityType - Enum in java.awt
-
Modal dialogs block all input to some top-level windows.
- DIALOG_INPUT - Static variable in class java.awt.Font
-
A String constant for the canonical family name of the
logical font "DialogInput".
- Dimension - Class in java.awt
-
The Dimension
class encapsulates the width and
height of a component (in integer precision) in a single object.
- Dimension() - Constructor for class java.awt.Dimension
-
Creates an instance of Dimension
with a width
of zero and a height of zero.
- Dimension(Dimension) - Constructor for class java.awt.Dimension
-
Creates an instance of Dimension
whose width
and height are the same as for the specified dimension.
- Dimension(int, int) - Constructor for class java.awt.Dimension
-
Constructs a Dimension
and initializes
it to the specified width and specified height.
- disable() - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
replaced by setEnabled(boolean)
.
- disable() - Method in class java.awt.MenuItem
-
Deprecated. As of JDK version 1.1,
replaced by setEnabled(boolean)
.
- disableEvents(long) - Method in class java.awt.Component
-
Disables the events defined by the specified event mask parameter
from being delivered to this component.
- disableEvents(long) - Method in class java.awt.MenuItem
-
Disables event delivery to this menu item for events
defined by the specified event mask parameter.
- discardKeyEvents(Component) - Method in class java.awt.DefaultKeyboardFocusManager
-
Discards all KeyEvents which were enqueued because of one or more calls
to enqueueKeyEvents
with the specified Component, or one of
its descendants.
- discardKeyEvents(Component) - Method in class java.awt.KeyboardFocusManager
-
Called by the AWT to notify the KeyboardFocusManager that it should
cancel delayed dispatching of KeyEvents.
- dispatch() - Method in interface java.awt.ActiveEvent
-
Dispatch the event to its target, listeners of the events source,
or do whatever it is this event is supposed to do.
- dispatch() - Method in class java.awt.event.InvocationEvent
-
Executes the Runnable's run()
method and notifies the
notifier (if any) when run()
has returned or thrown an exception.
- dispatchEvent(AWTEvent) - Method in class java.awt.Component
-
Dispatches an event to this component or one of its sub components.
- dispatchEvent(AWTEvent) - Method in class java.awt.DefaultKeyboardFocusManager
-
This method is called by the AWT event dispatcher requesting that the
current KeyboardFocusManager dispatch the specified event on its behalf.
- dispatchEvent(AWTEvent) - Method in class java.awt.EventQueue
-
Dispatches an event.
- dispatchEvent(AWTEvent) - Method in class java.awt.KeyboardFocusManager
-
This method is called by the AWT event dispatcher requesting that the
current KeyboardFocusManager dispatch the specified event on its behalf.
- dispatchEvent(AWTEvent) - Method in class java.awt.MenuComponent
-
Delivers an event to this component or one of its sub components.
- dispatchKeyEvent(KeyEvent) - Method in class java.awt.DefaultKeyboardFocusManager
-
Called by dispatchEvent
if no other
KeyEventDispatcher in the dispatcher chain dispatched the KeyEvent, or
if no other KeyEventDispatchers are registered.
- dispatchKeyEvent(KeyEvent) - Method in class java.awt.KeyboardFocusManager
-
Typically this method will be called by dispatchEvent
if no
other KeyEventDispatcher in the dispatcher chain dispatched the
KeyEvent, or if no other KeyEventDispatchers are registered.
- dispatchKeyEvent(KeyEvent) - Method in interface java.awt.KeyEventDispatcher
-
This method is called by the current KeyboardFocusManager requesting
that this KeyEventDispatcher dispatch the specified event on its behalf.
- DISPLAYABILITY_CHANGED - Static variable in class java.awt.event.HierarchyEvent
-
A change flag indicates that the HIERARCHY_CHANGED
event
was generated due to the changing of the hierarchy displayability.
- displayMessage(String, String, TrayIcon.MessageType) - Method in class java.awt.TrayIcon
-
Displays a popup message near the tray icon.
- DisplayMode - Class in java.awt
-
The DisplayMode
class encapsulates the bit depth, height,
width, and refresh rate of a GraphicsDevice
.
- DisplayMode(int, int, int, int) - Constructor for class java.awt.DisplayMode
-
Create a new display mode object with the supplied parameters.
- dispose() - Method in class java.awt.Component.BltBufferStrategy
-
Releases system resources currently consumed by this
BufferStrategy
and
removes it from the associated Component.
- dispose() - Method in class java.awt.Component.FlipBufferStrategy
-
Releases system resources currently consumed by this
BufferStrategy
and
removes it from the associated Component.
- dispose() - Method in interface java.awt.CompositeContext
-
Releases resources allocated for a context.
- dispose() - Method in class java.awt.Graphics
-
Disposes of this graphics context and releases
any system resources that it is using.
- dispose() - Method in interface java.awt.PaintContext
-
Releases the resources allocated for the operation.
- dispose() - Method in class java.awt.Window
-
Releases all of the native screen resources used by this
Window
, its subcomponents, and all of its owned
children.
- doAccessibleAction(int) - Method in class java.awt.Button.AccessibleAWTButton
-
Perform the specified Action on the object
- doAccessibleAction(int) - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Perform the specified Action on the object
- doAccessibleAction(int) - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Perform the specified Action on the object
- doAccessibleAction(int) - Method in class java.awt.Choice.AccessibleAWTChoice
-
Perform the specified Action on the object
- doAccessibleAction(int) - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Perform the specified Action on the object
- doLayout() - Method in class java.awt.Component
-
Prompts the layout manager to lay out this component.
- doLayout() - Method in class java.awt.Container
-
Causes this container to lay out its components.
- doLayout() - Method in class java.awt.ScrollPane
-
Lays out this container by resizing its child to its preferred size.
- DOWN - Static variable in class java.awt.Event
-
The Down Arrow key, a non-ASCII action key.
- DOWN_CYCLE_TRAVERSAL_KEYS - Static variable in class java.awt.KeyboardFocusManager
-
The identifier for the Down Cycle focus traversal keys.
- downFocusCycle(Container) - Method in class java.awt.DefaultKeyboardFocusManager
-
Moves the focus down one focus traversal cycle.
- downFocusCycle(Container) - Method in class java.awt.KeyboardFocusManager
-
Moves the focus down one focus traversal cycle.
- downFocusCycle() - Method in class java.awt.KeyboardFocusManager
-
Moves the focus down one focus traversal cycle from the current focus
owner, if and only if the current focus owner is a Container that is a
focus cycle root.
- DRAFT - Static variable in class java.awt.PageAttributes.PrintQualityType
-
The PrintQualityType instance to use for specifying a draft print
quality.
- draw(Shape) - Method in class java.awt.Graphics2D
-
Strokes the outline of a Shape
using the settings of the
current Graphics2D
context.
- draw3DRect(int, int, int, int, boolean) - Method in class java.awt.Graphics
-
Draws a 3-D highlighted outline of the specified rectangle.
- draw3DRect(int, int, int, int, boolean) - Method in class java.awt.Graphics2D
-
Draws a 3-D highlighted outline of the specified rectangle.
- drawArc(int, int, int, int, int, int) - Method in class java.awt.Graphics
-
Draws the outline of a circular or elliptical arc
covering the specified rectangle.
- drawBuffer - Variable in class java.awt.Component.FlipBufferStrategy
-
The drawing buffer
- drawBytes(byte[], int, int, int, int) - Method in class java.awt.Graphics
-
Draws the text given by the specified byte array, using this
graphics context's current font and color.
- drawChars(char[], int, int, int, int) - Method in class java.awt.Graphics
-
Draws the text given by the specified character array, using this
graphics context's current font and color.
- drawGlyphVector(GlyphVector, float, float) - Method in class java.awt.Graphics2D
-
Renders the text of the specified
GlyphVector
using
the Graphics2D
context's rendering attributes.
- drawImage(Image, int, int, ImageObserver) - Method in class java.awt.Graphics
-
Draws as much of the specified image as is currently available.
- drawImage(Image, int, int, int, int, ImageObserver) - Method in class java.awt.Graphics
-
Draws as much of the specified image as has already been scaled
to fit inside the specified rectangle.
- drawImage(Image, int, int, Color, ImageObserver) - Method in class java.awt.Graphics
-
Draws as much of the specified image as is currently available.
- drawImage(Image, int, int, int, int, Color, ImageObserver) - Method in class java.awt.Graphics
-
Draws as much of the specified image as has already been scaled
to fit inside the specified rectangle.
- drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class java.awt.Graphics
-
Draws as much of the specified area of the specified image as is
currently available, scaling it on the fly to fit inside the
specified area of the destination drawable surface.
- drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Method in class java.awt.Graphics
-
Draws as much of the specified area of the specified image as is
currently available, scaling it on the fly to fit inside the
specified area of the destination drawable surface.
- drawImage(Image, AffineTransform, ImageObserver) - Method in class java.awt.Graphics2D
-
Renders an image, applying a transform from image space into user space
before drawing.
- drawImage(BufferedImage, BufferedImageOp, int, int) - Method in class java.awt.Graphics2D
-
Renders a BufferedImage
that is
filtered with a
BufferedImageOp
.
- drawLine(int, int, int, int) - Method in class java.awt.Graphics
-
Draws a line, using the current color, between the points
(x1, y1)
and (x2, y2)
in this graphics context's coordinate system.
- drawOval(int, int, int, int) - Method in class java.awt.Graphics
-
Draws the outline of an oval.
- drawPolygon(int[], int[], int) - Method in class java.awt.Graphics
-
Draws a closed polygon defined by
arrays of x and y coordinates.
- drawPolygon(Polygon) - Method in class java.awt.Graphics
-
Draws the outline of a polygon defined by the specified
Polygon
object.
- drawPolyline(int[], int[], int) - Method in class java.awt.Graphics
-
Draws a sequence of connected lines defined by
arrays of x and y coordinates.
- drawRect(int, int, int, int) - Method in class java.awt.Graphics
-
Draws the outline of the specified rectangle.
- drawRenderableImage(RenderableImage, AffineTransform) - Method in class java.awt.Graphics2D
-
Renders a
RenderableImage
,
applying a transform from image space into user space before drawing.
- drawRenderedImage(RenderedImage, AffineTransform) - Method in class java.awt.Graphics2D
-
Renders a RenderedImage
,
applying a transform from image
space into user space before drawing.
- drawRoundRect(int, int, int, int, int, int) - Method in class java.awt.Graphics
-
Draws an outlined round-cornered rectangle using this graphics
context's current color.
- drawString(String, int, int) - Method in class java.awt.Graphics
-
Draws the text given by the specified string, using this
graphics context's current font and color.
- drawString(AttributedCharacterIterator, int, int) - Method in class java.awt.Graphics
-
Renders the text of the specified iterator applying its attributes
in accordance with the specification of the
TextAttribute
class.
- drawString(String, int, int) - Method in class java.awt.Graphics2D
-
Renders the text of the specified String
, using the
current text attribute state in the Graphics2D
context.
- drawString(String, float, float) - Method in class java.awt.Graphics2D
-
Renders the text specified by the specified String
,
using the current text attribute state in the Graphics2D
context.
- drawString(AttributedCharacterIterator, int, int) - Method in class java.awt.Graphics2D
-
Renders the text of the specified iterator applying its attributes
in accordance with the specification of the TextAttribute
class.
- drawString(AttributedCharacterIterator, float, float) - Method in class java.awt.Graphics2D
-
Renders the text of the specified iterator applying its attributes
in accordance with the specification of the TextAttribute
class.
- drawVBuffer - Variable in class java.awt.Component.FlipBufferStrategy
-
The drawing buffer as a volatile image
- DST - Static variable in class java.awt.AlphaComposite
-
The destination is left untouched
(Porter-Duff Destination rule).
- Dst - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque DST rule
with an alpha of 1.0f.
- DST_ATOP - Static variable in class java.awt.AlphaComposite
-
The part of the destination lying inside of the source
is composited over the source and replaces the destination
(Porter-Duff Destination Atop Source rule).
- DST_IN - Static variable in class java.awt.AlphaComposite
-
The part of the destination lying inside of the source
replaces the destination
(Porter-Duff Destination In Source rule).
- DST_OUT - Static variable in class java.awt.AlphaComposite
-
The part of the destination lying outside of the source
replaces the destination
(Porter-Duff Destination Held Out By Source rule).
- DST_OVER - Static variable in class java.awt.AlphaComposite
-
The destination is composited over the source and
the result replaces the destination
(Porter-Duff Destination Over Source rule).
- DstAtop - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque DST_ATOP rule
with an alpha of 1.0f.
- DstIn - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque DST_IN rule
with an alpha of 1.0f.
- DstOut - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque DST_OUT rule
with an alpha of 1.0f.
- DstOver - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque DST_OVER rule
with an alpha of 1.0f.