- get(Object) - Method in class java.awt.RenderingHints
-
Returns the value to which the specified key is mapped.
- getAccelerationPriority() - Method in class java.awt.Image
-
Returns the current value of the acceleration priority hint.
- getAccessibleAction() - Method in class java.awt.Button.AccessibleAWTButton
-
Get the AccessibleAction associated with this object.
- getAccessibleAction() - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Get the AccessibleAction associated with this object.
- getAccessibleAction() - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Get the AccessibleAction associated with this object.
- getAccessibleAction() - Method in class java.awt.Choice.AccessibleAWTChoice
-
Get the AccessibleAction associated with this object.
- getAccessibleAction() - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Get the AccessibleAction associated with this object.
- getAccessibleActionCount() - Method in class java.awt.Button.AccessibleAWTButton
-
Returns the number of Actions available in this object.
- getAccessibleActionCount() - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Returns the number of Actions available in this object.
- getAccessibleActionCount() - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Returns the number of Actions available in this object.
- getAccessibleActionCount() - Method in class java.awt.Choice.AccessibleAWTChoice
-
Returns the number of accessible actions available in this object
If there are more than one, the first one is considered the "default"
action of the object.
- getAccessibleActionCount() - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Returns the number of Actions available in this object.
- getAccessibleActionDescription(int) - Method in class java.awt.Button.AccessibleAWTButton
-
Return a description of the specified action of the object.
- getAccessibleActionDescription(int) - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Return a description of the specified action of the object.
- getAccessibleActionDescription(int) - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Return a description of the specified action of the object.
- getAccessibleActionDescription(int) - Method in class java.awt.Choice.AccessibleAWTChoice
-
Returns a description of the specified action of the object.
- getAccessibleActionDescription(int) - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Return a description of the specified action of the object.
- getAccessibleAt(Point) - Method in class java.awt.Component.AccessibleAWTComponent
-
Returns the Accessible
child,
if one exists, contained at the local
coordinate Point
.
- getAccessibleAt(Point) - Method in class java.awt.Container.AccessibleAWTContainer
-
Returns the Accessible
child, if one exists,
contained at the local coordinate Point
.
- getAccessibleAt(Point) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Returns the Accessible
child, if one exists,
contained at the local coordinate Point
.
- getAccessibleAt(Point) - Method in class java.awt.List.AccessibleAWTList
-
Returns the Accessible child contained at the local coordinate
Point, if one exists.
- getAccessibleAt(Point) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Returns the Accessible
child, if one exists,
contained at the local coordinate Point
.
- getAccessibleChild(int) - Method in class java.awt.Component.AccessibleAWTComponent
-
Returns the nth Accessible
child of the object.
- getAccessibleChild(int) - Method in class java.awt.Container.AccessibleAWTContainer
-
Returns the nth Accessible
child of the object.
- getAccessibleChild(int) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Return the specified Accessible child of the object.
- getAccessibleChild(int) - Method in class java.awt.List.AccessibleAWTList
-
Return the nth Accessible child of the object.
- getAccessibleChild(int) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Returns the nth Accessible
child of the object.
- getAccessibleChildrenCount() - Method in class java.awt.Component.AccessibleAWTComponent
-
Returns the number of accessible children in the object.
- getAccessibleChildrenCount() - Method in class java.awt.Container.AccessibleAWTContainer
-
Returns the number of accessible children in the object.
- getAccessibleChildrenCount() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Returns the number of accessible children of the object.
- getAccessibleChildrenCount() - Method in class java.awt.List.AccessibleAWTList
-
Returns the number of accessible children in the object.
- getAccessibleChildrenCount() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Returns the number of accessible children in the object.
- getAccessibleComponent() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the AccessibleComponent
associated
with this object if one exists.
- getAccessibleComponent() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the AccessibleComponent
associated with
this object if one exists.
- getAccessibleContext() - Method in class java.awt.Button
-
Gets the AccessibleContext
associated with
this Button
.
- getAccessibleContext() - Method in class java.awt.Canvas
-
Gets the AccessibleContext associated with this Canvas.
- getAccessibleContext() - Method in class java.awt.Checkbox
-
Gets the AccessibleContext associated with this Checkbox.
- getAccessibleContext() - Method in class java.awt.CheckboxMenuItem
-
Gets the AccessibleContext associated with this CheckboxMenuItem.
- getAccessibleContext() - Method in class java.awt.Choice
-
Gets the AccessibleContext
associated with this
Choice
.
- getAccessibleContext() - Method in class java.awt.Component
-
Gets the AccessibleContext
associated
with this Component
.
- getAccessibleContext() - Method in class java.awt.Dialog
-
Gets the AccessibleContext associated with this Dialog.
- getAccessibleContext() - Method in class java.awt.Frame
-
Gets the AccessibleContext associated with this Frame.
- getAccessibleContext() - Method in class java.awt.Label
-
Gets the AccessibleContext associated with this Label.
- getAccessibleContext() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Gets the AccessibleContext for this object.
- getAccessibleContext() - Method in class java.awt.List
-
Gets the AccessibleContext
associated with this
List
.
- getAccessibleContext() - Method in class java.awt.Menu
-
Gets the AccessibleContext associated with this Menu.
- getAccessibleContext() - Method in class java.awt.MenuBar
-
Gets the AccessibleContext associated with this MenuBar.
- getAccessibleContext() - Method in class java.awt.MenuComponent
-
Gets the AccessibleContext
associated with
this MenuComponent
.
- getAccessibleContext() - Method in class java.awt.MenuItem
-
Gets the AccessibleContext associated with this MenuItem.
- getAccessibleContext() - Method in class java.awt.Panel
-
Gets the AccessibleContext associated with this Panel.
- getAccessibleContext() - Method in class java.awt.PopupMenu
-
Gets the AccessibleContext
associated with this
PopupMenu
.
- getAccessibleContext() - Method in class java.awt.Scrollbar
-
Gets the AccessibleContext
associated with this
Scrollbar
.
- getAccessibleContext() - Method in class java.awt.ScrollPane
-
Gets the AccessibleContext associated with this ScrollPane.
- getAccessibleContext() - Method in class java.awt.TextArea
-
Returns the AccessibleContext
associated with
this TextArea
.
- getAccessibleContext() - Method in class java.awt.TextComponent
-
Gets the AccessibleContext associated with this TextComponent.
- getAccessibleContext() - Method in class java.awt.TextField
-
Gets the AccessibleContext associated with this TextField.
- getAccessibleContext() - Method in class java.awt.Window
-
Gets the AccessibleContext associated with this Window.
- getAccessibleDescription() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the accessible description of this object.
- getAccessibleDescription() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the accessible description of this object.
- getAccessibleIndexInParent() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the index of this object in its accessible parent.
- getAccessibleIndexInParent() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Get the 0-based index of this object in its accessible parent.
- getAccessibleIndexInParent() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the index of this object in its accessible parent.
- getAccessibleName() - Method in class java.awt.Button.AccessibleAWTButton
-
Get the accessible name of this object.
- getAccessibleName() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the accessible name of this object.
- getAccessibleName() - Method in class java.awt.Label.AccessibleAWTLabel
-
Get the accessible name of this object.
- getAccessibleName() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the accessible name of this object.
- getAccessibleName() - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Get the accessible name of this object.
- getAccessibleParent() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the Accessible
parent of this object.
- getAccessibleParent() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the Accessible
parent of this object.
- getAccessibleRole() - Method in class java.awt.Button.AccessibleAWTButton
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Canvas.AccessibleAWTCanvas
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Choice.AccessibleAWTChoice
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the role of this object.
- getAccessibleRole() - Method in class java.awt.Dialog.AccessibleAWTDialog
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Frame.AccessibleAWTFrame
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Label.AccessibleAWTLabel
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.List.AccessibleAWTList
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Menu.AccessibleAWTMenu
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.MenuBar.AccessibleAWTMenuBar
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the role of this object.
- getAccessibleRole() - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Panel.AccessibleAWTPanel
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.PopupMenu.AccessibleAWTPopupMenu
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.Scrollbar.AccessibleAWTScrollBar
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.ScrollPane.AccessibleAWTScrollPane
-
Get the role of this object.
- getAccessibleRole() - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Gets the role of this object.
- getAccessibleRole() - Method in class java.awt.Window.AccessibleAWTWindow
-
Get the role of this object.
- getAccessibleSelection() - Method in class java.awt.List.AccessibleAWTList
-
Get the AccessibleSelection associated with this object.
- getAccessibleSelection(int) - Method in class java.awt.List.AccessibleAWTList
-
Returns an Accessible representing the specified selected item
in the object.
- getAccessibleSelection() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the AccessibleSelection
associated with this
object which allows its Accessible
children to be selected.
- getAccessibleSelection(int) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Returns an Accessible
representing the specified
selected child in the object.
- getAccessibleSelectionCount() - Method in class java.awt.List.AccessibleAWTList
-
Returns the number of items currently selected.
- getAccessibleSelectionCount() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Returns the number of Accessible
children currently selected.
- getAccessibleStateSet() - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Get the state set of this object.
- getAccessibleStateSet() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the state of this object.
- getAccessibleStateSet() - Method in class java.awt.Dialog.AccessibleAWTDialog
-
Get the state of this object.
- getAccessibleStateSet() - Method in class java.awt.Frame.AccessibleAWTFrame
-
Get the state of this object.
- getAccessibleStateSet() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Get the state set of this object.
- getAccessibleStateSet() - Method in class java.awt.List.AccessibleAWTList
-
Get the state set of this object.
- getAccessibleStateSet() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the state of this object.
- getAccessibleStateSet() - Method in class java.awt.Scrollbar.AccessibleAWTScrollBar
-
Get the state set of this object.
- getAccessibleStateSet() - Method in class java.awt.TextArea.AccessibleAWTTextArea
-
Gets the state set of this object.
- getAccessibleStateSet() - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Gets the state set of the TextComponent.
- getAccessibleStateSet() - Method in class java.awt.TextField.AccessibleAWTTextField
-
Gets the state set of this object.
- getAccessibleStateSet() - Method in class java.awt.Window.AccessibleAWTWindow
-
Get the state of this object.
- getAccessibleText() - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Get the AccessibleText associated with this object.
- getAccessibleValue() - Method in class java.awt.Button.AccessibleAWTButton
-
Get the AccessibleValue associated with this object.
- getAccessibleValue() - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Get the AccessibleValue associated with this object.
- getAccessibleValue() - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Get the AccessibleValue associated with this object.
- getAccessibleValue() - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Get the AccessibleValue associated with this object.
- getAccessibleValue() - Method in class java.awt.Scrollbar.AccessibleAWTScrollBar
-
Get the AccessibleValue
associated with this
object.
- getActionCommand() - Method in class java.awt.Button
-
Returns the command name of the action event fired by this button.
- getActionCommand() - Method in class java.awt.event.ActionEvent
-
Returns the command string associated with this action.
- getActionCommand() - Method in class java.awt.MenuItem
-
Gets the command name of the action event that is fired
by this menu item.
- getActionCommand() - Method in class java.awt.TrayIcon
-
Returns the command name of the action event fired by this tray icon.
- getActionListeners() - Method in class java.awt.Button
-
Returns an array of all the action listeners
registered on this button.
- getActionListeners() - Method in class java.awt.List
-
Returns an array of all the action listeners
registered on this list.
- getActionListeners() - Method in class java.awt.MenuItem
-
Returns an array of all the action listeners
registered on this menu item.
- getActionListeners() - Method in class java.awt.TextField
-
Returns an array of all the action listeners
registered on this textfield.
- getActionListeners() - Method in class java.awt.TrayIcon
-
Returns an array of all the action listeners
registered on this TrayIcon
.
- getActiveWindow() - Method in class java.awt.KeyboardFocusManager
-
Returns the active Window, if the active Window is in the same context
as the calling thread.
- getAdjustable() - Method in class java.awt.event.AdjustmentEvent
-
Returns the Adjustable
object where this event originated.
- getAdjustmentListeners() - Method in class java.awt.Scrollbar
-
Returns an array of all the adjustment listeners
registered on this scrollbar.
- getAdjustmentListeners() - Method in class java.awt.ScrollPaneAdjustable
-
Returns an array of all the adjustment listeners
registered on this ScrollPaneAdjustable
.
- getAdjustmentType() - Method in class java.awt.event.AdjustmentEvent
-
Returns the type of adjustment which caused the value changed
event.
- getAfterIndex(int, int) - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the String after a given index.
- getAlignment() - Method in class java.awt.FlowLayout
-
Gets the alignment for this layout.
- getAlignment() - Method in class java.awt.Label
-
Gets the current alignment of this label.
- getAlignmentX() - Method in class java.awt.Component
-
Returns the alignment along the x axis.
- getAlignmentX() - Method in class java.awt.Container
-
Returns the alignment along the x axis.
- getAlignmentY() - Method in class java.awt.Component
-
Returns the alignment along the y axis.
- getAlignmentY() - Method in class java.awt.Container
-
Returns the alignment along the y axis.
- getAlignOnBaseline() - Method in class java.awt.FlowLayout
-
Returns true if components are to be vertically aligned along
their baseline.
- getAllFonts() - Method in class java.awt.GraphicsEnvironment
-
Returns an array containing a one-point size instance of all fonts
available in this GraphicsEnvironment
.
- getAlpha() - Method in class java.awt.AlphaComposite
-
Returns the alpha value of this AlphaComposite
.
- getAlpha() - Method in class java.awt.Color
-
Returns the alpha component in the range 0-255.
- getAnchorRect() - Method in class java.awt.TexturePaint
-
Returns a copy of the anchor rectangle which positions and
sizes the textured image.
- getAscent() - Method in class java.awt.FontMetrics
-
Determines the font ascent of the Font
described by this FontMetrics
object.
- getAtIndex(int, int) - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the String at a given index.
- getAttributes() - Method in class java.awt.Font
-
Returns a map of font attributes available in this
Font
.
- getAutoDelay() - Method in class java.awt.Robot
-
Returns the number of milliseconds this Robot sleeps after generating an event.
- getAvailableAcceleratedMemory() - Method in class java.awt.GraphicsDevice
-
This method returns the number of bytes available in
accelerated memory on this device.
- getAvailableAttributes() - Method in class java.awt.Font
-
Returns the keys of all the attributes supported by this
Font
.
- getAvailableFontFamilyNames() - Method in class java.awt.GraphicsEnvironment
-
Returns an array containing the names of all font families in this
GraphicsEnvironment
localized for the default locale,
as returned by Locale.getDefault()
.
- getAvailableFontFamilyNames(Locale) - Method in class java.awt.GraphicsEnvironment
-
Returns an array containing the names of all font families in this
GraphicsEnvironment
localized for the specified locale.
- getAWTEventListeners() - Method in class java.awt.Toolkit
-
Returns an array of all the AWTEventListener
s
registered on this toolkit.
- getAWTEventListeners(long) - Method in class java.awt.Toolkit
-
Returns an array of all the AWTEventListener
s
registered on this toolkit which listen to all of the event
types specified in the eventMask
argument.
- getAWTKeyStroke(char) - Static method in class java.awt.AWTKeyStroke
-
Returns a shared instance of an AWTKeyStroke
that represents a KEY_TYPED
event for the
specified character.
- getAWTKeyStroke(Character, int) - Static method in class java.awt.AWTKeyStroke
-
Returns a shared instance of an AWTKeyStroke
that represents a KEY_TYPED
event for the
specified Character object and a set of modifiers.
- getAWTKeyStroke(int, int, boolean) - Static method in class java.awt.AWTKeyStroke
-
Returns a shared instance of an AWTKeyStroke
,
given a numeric key code and a set of modifiers, specifying
whether the key is activated when it is pressed or released.
- getAWTKeyStroke(int, int) - Static method in class java.awt.AWTKeyStroke
-
Returns a shared instance of an AWTKeyStroke
,
given a numeric key code and a set of modifiers.
- getAWTKeyStroke(String) - Static method in class java.awt.AWTKeyStroke
-
Parses a string and returns an AWTKeyStroke
.
- getAWTKeyStrokeForEvent(KeyEvent) - Static method in class java.awt.AWTKeyStroke
-
Returns an AWTKeyStroke
which represents the
stroke which generated a given KeyEvent
.
- getBackBuffer() - Method in class java.awt.Component.FlipBufferStrategy
- getBackBufferCapabilities() - Method in class java.awt.BufferCapabilities
- getBackground() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the background color of this object.
- getBackground() - Method in class java.awt.Component
-
Gets the background color of this component.
- getBackground() - Method in class java.awt.Graphics2D
-
Returns the background color used for clearing a region.
- getBackground() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Get the background color of this object.
- getBackground() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the background color of this object.
- getBackground() - Method in class java.awt.TextComponent
-
Gets the background color of this text component.
- getBackground() - Method in class java.awt.Window
-
Gets the background color of this window.
- getBaseline(int, int) - Method in class java.awt.Component
-
Returns the baseline.
- getBaselineFor(char) - Method in class java.awt.Font
-
Returns the baseline appropriate for displaying this character.
- getBaselineResizeBehavior() - Method in class java.awt.Component
-
Returns an enum indicating how the baseline of the component
changes as the size changes.
- getBeforeIndex(int, int) - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the String before a given index.
- getBestConfiguration(GraphicsConfiguration[]) - Method in class java.awt.GraphicsConfigTemplate
-
Returns the "best" configuration possible that passes the
criteria defined in the GraphicsConfigTemplate
.
- getBestConfiguration(GraphicsConfigTemplate) - Method in class java.awt.GraphicsDevice
-
- getBestCursorSize(int, int) - Method in class java.awt.Toolkit
-
Returns the supported cursor dimension which is closest to the desired
sizes.
- getBitDepth() - Method in class java.awt.DisplayMode
-
Returns the bit depth of the display, in bits per pixel.
- getBlockIncrement() - Method in interface java.awt.Adjustable
-
Gets the block value increment for the adjustable object.
- getBlockIncrement() - Method in class java.awt.Scrollbar
-
Gets the block increment of this scroll bar.
- getBlockIncrement() - Method in class java.awt.ScrollPaneAdjustable
- getBlue() - Method in class java.awt.Color
-
Returns the blue component in the range 0-255 in the default sRGB
space.
- getBoundingBox() - Method in class java.awt.Polygon
-
Deprecated. As of JDK version 1.1,
replaced by getBounds()
.
- getBounds() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the bounds of this object in the form of a Rectangle object.
- getBounds() - Method in class java.awt.Component
-
Gets the bounds of this component in the form of a
Rectangle
object.
- getBounds(Rectangle) - Method in class java.awt.Component
-
Stores the bounds of this component into "return value" rv and
return rv.
- getBounds() - Method in class java.awt.GraphicsConfiguration
-
Returns the bounds of the GraphicsConfiguration
in the device coordinates.
- getBounds() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Gets the bounds of this object in the form of a Rectangle object.
- getBounds() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the bounds of this object in the form of a
Rectangle
object.
- getBounds() - Method in class java.awt.Polygon
-
Gets the bounding box of this Polygon
.
- getBounds() - Method in class java.awt.Rectangle
-
Gets the bounding Rectangle
of this Rectangle
.
- getBounds() - Method in interface java.awt.Shape
-
Returns an integer
Rectangle
that completely encloses the
Shape
.
- getBounds() - Method in class java.awt.SplashScreen
-
Returns the bounds of the splash screen window as a
Rectangle
.
- getBounds2D() - Method in class java.awt.Polygon
-
Returns a high precision and more accurate bounding box of
the Shape
than the getBounds
method.
- getBounds2D() - Method in class java.awt.Rectangle
-
Returns a high precision and more accurate bounding box of
the Shape
than the getBounds
method.
- getBounds2D() - Method in interface java.awt.Shape
-
Returns a high precision and more accurate bounding box of
the Shape
than the getBounds
method.
- getBufferCapabilities() - Method in class java.awt.GraphicsConfiguration
-
Returns the buffering capabilities of this
GraphicsConfiguration
.
- getBufferStrategy() - Method in class java.awt.Canvas
-
Returns the BufferStrategy
used by this component.
- getBufferStrategy() - Method in class java.awt.Window
-
Returns the BufferStrategy
used by this component.
- getButton() - Method in class java.awt.event.MouseEvent
-
Returns which, if any, of the mouse buttons has changed state.
- getCapabilities() - Method in class java.awt.Component.BltBufferStrategy
- getCapabilities() - Method in class java.awt.Component.FlipBufferStrategy
- getCapabilities(GraphicsConfiguration) - Method in class java.awt.Image
-
Returns an ImageCapabilities object which can be
inquired as to the capabilities of this
Image on the specified GraphicsConfiguration.
- getCaret() - Method in class java.awt.event.InputMethodEvent
-
Gets the caret.
- getCaretPosition() - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the zero-based offset of the caret.
- getCaretPosition() - Method in class java.awt.TextComponent
-
Returns the position of the text insertion caret.
- getCenterPoint() - Method in class java.awt.GraphicsEnvironment
-
Returns the Point where Windows should be centered.
- getCenterPoint() - Method in class java.awt.RadialGradientPaint
-
Returns a copy of the center point of the radial gradient.
- getChanged() - Method in class java.awt.event.HierarchyEvent
-
Returns the Component at the top of the hierarchy which was
changed.
- getChangedParent() - Method in class java.awt.event.HierarchyEvent
-
Returns the parent of the Component returned by
getChanged()
.
- getChangeFlags() - Method in class java.awt.event.HierarchyEvent
-
Returns a bitmask which indicates the type(s) of
HIERARCHY_CHANGED events represented in this event object.
- getCharacterAttribute(int) - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the AttributeSet for a given character (at a given index).
- getCharacterBounds(int) - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Determines the bounding box of the character at the given
index into the string.
- getCharCount() - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the number of characters (valid indicies)
- getCheckboxGroup() - Method in class java.awt.Checkbox
-
Determines this check box's group.
- getChild() - Method in class java.awt.event.ContainerEvent
-
Returns the component that was affected by the event.
- getClickCount() - Method in class java.awt.event.MouseEvent
-
Returns the number of mouse clicks associated with this event.
- getClip() - Method in class java.awt.Graphics
-
Gets the current clipping area.
- getClipBounds() - Method in class java.awt.Graphics
-
Returns the bounding rectangle of the current clipping area.
- getClipBounds(Rectangle) - Method in class java.awt.Graphics
-
Returns the bounding rectangle of the current clipping area.
- getClipRect() - Method in class java.awt.Graphics
-
Deprecated. As of JDK version 1.1,
replaced by getClipBounds()
.
- getColor(String) - Static method in class java.awt.Color
-
Finds a color in the system properties.
- getColor(String, Color) - Static method in class java.awt.Color
-
Finds a color in the system properties.
- getColor(String, int) - Static method in class java.awt.Color
-
Finds a color in the system properties.
- getColor() - Method in class java.awt.Graphics
-
Gets this graphics context's current color.
- getColor() - Method in class java.awt.PageAttributes
-
Returns whether pages using these attributes will be rendered in
color or monochrome.
- getColor1() - Method in class java.awt.GradientPaint
-
Returns the color C1 anchored by the point P1.
- getColor2() - Method in class java.awt.GradientPaint
-
Returns the color C2 anchored by the point P2.
- getColorComponents(float[]) - Method in class java.awt.Color
-
Returns a float
array containing only the color
components of the Color
, in the
ColorSpace
of the Color
.
- getColorComponents(ColorSpace, float[]) - Method in class java.awt.Color
-
Returns a float
array containing only the color
components of the Color
in the
ColorSpace
specified by the cspace
parameter.
- getColorModel() - Method in class java.awt.Component
-
Gets the instance of ColorModel
used to display
the component on the output device.
- getColorModel() - Method in class java.awt.GraphicsConfiguration
-
Returns the ColorModel
associated with this
GraphicsConfiguration
.
- getColorModel(int) - Method in class java.awt.GraphicsConfiguration
-
Returns the ColorModel
associated with this
GraphicsConfiguration
that supports the specified
transparency.
- getColorModel() - Method in interface java.awt.PaintContext
-
Returns the ColorModel
of the output.
- getColorModel() - Method in class java.awt.Toolkit
-
Determines the color model of this toolkit's screen.
- getColors() - Method in class java.awt.MultipleGradientPaint
-
Returns a copy of the array of colors used by this gradient.
- getColorSpace() - Method in class java.awt.Color
-
Returns the ColorSpace
of this Color
.
- getColorSpace() - Method in class java.awt.MultipleGradientPaint
-
Returns the enumerated type which specifies color space for
interpolation.
- getColumns() - Method in class java.awt.GridLayout
-
Gets the number of columns in this layout.
- getColumns() - Method in class java.awt.TextArea
-
Returns the number of columns in this text area.
- getColumns() - Method in class java.awt.TextField
-
Gets the number of columns in this text field.
- getCommittedCharacterCount() - Method in class java.awt.event.InputMethodEvent
-
Gets the number of committed characters in the text.
- getComponent(int) - Method in class java.awt.Container
-
Gets the nth component in this container.
- getComponent() - Method in class java.awt.event.ComponentEvent
-
Returns the originator of the event.
- getComponent() - Method in class java.awt.event.HierarchyEvent
-
Returns the originator of the event.
- getComponentAfter(Container, Component) - Method in class java.awt.ContainerOrderFocusTraversalPolicy
-
Returns the Component that should receive the focus after aComponent.
- getComponentAfter(Container, Component) - Method in class java.awt.FocusTraversalPolicy
-
Returns the Component that should receive the focus after aComponent.
- getComponentAt(int, int) - Method in class java.awt.Component
-
Determines if this component or one of its immediate
subcomponents contains the (x, y) location,
and if so, returns the containing component.
- getComponentAt(Point) - Method in class java.awt.Component
-
Returns the component or subcomponent that contains the
specified point.
- getComponentAt(int, int) - Method in class java.awt.Container
-
Locates the component that contains the x,y position.
- getComponentAt(Point) - Method in class java.awt.Container
-
Gets the component that contains the specified point.
- getComponentBefore(Container, Component) - Method in class java.awt.ContainerOrderFocusTraversalPolicy
-
Returns the Component that should receive the focus before aComponent.
- getComponentBefore(Container, Component) - Method in class java.awt.FocusTraversalPolicy
-
Returns the Component that should receive the focus before aComponent.
- getComponentCount() - Method in class java.awt.Container
-
Gets the number of components in this panel.
- getComponentListeners() - Method in class java.awt.Component
-
Returns an array of all the component listeners
registered on this component.
- getComponentOrientation() - Method in class java.awt.Component
-
Retrieves the language-sensitive orientation that is to be used to order
the elements or text within this component.
- getComponents(float[]) - Method in class java.awt.Color
-
Returns a float
array containing the color and alpha
components of the Color
, in the
ColorSpace
of the Color
.
- getComponents(ColorSpace, float[]) - Method in class java.awt.Color
-
Returns a float
array containing the color and alpha
components of the Color
, in the
ColorSpace
specified by the cspace
parameter.
- getComponents() - Method in class java.awt.Container
-
Gets all the components in this container.
- getComponentZOrder(Component) - Method in class java.awt.Container
-
Returns the z-order index of the component inside the container.
- getComposite() - Method in class java.awt.Graphics2D
-
Returns the current Composite
in the
Graphics2D
context.
- getConfigurations() - Method in class java.awt.GraphicsDevice
-
Returns all of the GraphicsConfiguration
objects associated with this GraphicsDevice
.
- getConstraints(Component) - Method in class java.awt.BorderLayout
-
Gets the constraints for the specified component
- getConstraints(Component) - Method in class java.awt.GridBagLayout
-
Gets the constraints for the specified component.
- getContainer() - Method in class java.awt.event.ContainerEvent
-
Returns the originator of the event.
- getContainerListeners() - Method in class java.awt.Container
-
Returns an array of all the container listeners
registered on this container.
- getCopies() - Method in class java.awt.JobAttributes
-
Returns the number of copies the application should render for jobs
using these attributes.
- getCurrent() - Method in class java.awt.CheckboxGroup
-
Deprecated. As of JDK version 1.1,
replaced by getSelectedCheckbox()
.
- getCurrentAccessibleValue() - Method in class java.awt.Button.AccessibleAWTButton
-
Get the value of this object as a Number.
- getCurrentAccessibleValue() - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Get the value of this object as a Number.
- getCurrentAccessibleValue() - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Get the value of this object as a Number.
- getCurrentAccessibleValue() - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Get the value of this object as a Number.
- getCurrentAccessibleValue() - Method in class java.awt.Scrollbar.AccessibleAWTScrollBar
-
Get the accessible value of this object.
- getCurrentEvent() - Static method in class java.awt.EventQueue
-
Returns the the event currently being dispatched by the
EventQueue
associated with the calling thread.
- getCurrentFocusCycleRoot() - Method in class java.awt.KeyboardFocusManager
-
Returns the current focus cycle root, if the current focus cycle root is
in the same context as the calling thread.
- getCurrentKeyboardFocusManager() - Static method in class java.awt.KeyboardFocusManager
-
Returns the current KeyboardFocusManager instance for the calling
thread's context.
- getCursor() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the Cursor
of this object.
- getCursor() - Method in class java.awt.Component
-
Gets the cursor set in the component.
- getCursor() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Get the Cursor of this object.
- getCursor() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the Cursor
of this object.
- getCursorType() - Method in class java.awt.Frame
-
Deprecated. As of JDK version 1.1,
replaced by Component.getCursor()
.
- getCycleMethod() - Method in class java.awt.MultipleGradientPaint
-
Returns the enumerated type which specifies cycling behavior.
- getDashArray() - Method in class java.awt.BasicStroke
-
Returns the array representing the lengths of the dash segments.
- getDashPhase() - Method in class java.awt.BasicStroke
-
Returns the current dash phase.
- getDefaultComponent(Container) - Method in class java.awt.ContainerOrderFocusTraversalPolicy
-
Returns the default Component to focus.
- getDefaultComponent(Container) - Method in class java.awt.FocusTraversalPolicy
-
Returns the default Component to focus.
- getDefaultConfiguration() - Method in class java.awt.GraphicsDevice
-
Returns the default GraphicsConfiguration
associated with this GraphicsDevice
.
- getDefaultCursor() - Static method in class java.awt.Cursor
-
Return the system default cursor.
- getDefaultFocusTraversalKeys(int) - Method in class java.awt.KeyboardFocusManager
-
Returns a Set of default focus traversal keys for a given traversal
operation.
- getDefaultFocusTraversalPolicy() - Method in class java.awt.KeyboardFocusManager
-
Returns the default FocusTraversalPolicy.
- getDefaultScreenDevice() - Method in class java.awt.GraphicsEnvironment
-
Returns the default screen GraphicsDevice
.
- getDefaultSelection() - Method in class java.awt.JobAttributes
-
Specifies whether, for jobs using these attributes, the application
should print all pages, the range specified by the return value of
getPageRanges
, or the current selection.
- getDefaultToolkit() - Static method in class java.awt.Toolkit
-
Gets the default toolkit.
- getDefaultTransform() - Method in class java.awt.GraphicsConfiguration
-
Returns the default AffineTransform
for this
GraphicsConfiguration
.
- getDescent() - Method in class java.awt.FontMetrics
-
Determines the font descent of the Font
described by this
FontMetrics
object.
- getDesktop() - Static method in class java.awt.Desktop
-
Returns the Desktop
instance of the current
browser context.
- getDesktopProperty(String) - Method in class java.awt.Toolkit
-
Obtains a value for the specified desktop property.
- getDestination() - Method in class java.awt.JobAttributes
-
Specifies whether output will be to a printer or a file for jobs using
these attributes.
- getDevice() - Method in class java.awt.GraphicsConfiguration
-
Returns the
GraphicsDevice
associated with this
GraphicsConfiguration
.
- getDevice() - Method in class java.awt.PointerInfo
-
Returns the GraphicsDevice
where the mouse pointer
was at the moment this PointerInfo
was created.
- getDeviceConfiguration() - Method in class java.awt.Graphics2D
-
Returns the device configuration associated with this
Graphics2D
.
- getDialog() - Method in class java.awt.JobAttributes
-
Returns whether, for jobs using these attributes, the user should see
a print dialog in which to modify the print settings, and which type of
print dialog should be displayed.
- getDirectory() - Method in class java.awt.FileDialog
-
Gets the directory of this file dialog.
- getDisplayMode() - Method in class java.awt.GraphicsDevice
-
Returns the current display mode of this
GraphicsDevice
.
- getDisplayModes() - Method in class java.awt.GraphicsDevice
-
Returns all display modes available for this
GraphicsDevice
.
- getDrawGraphics() - Method in class java.awt.Component.BltBufferStrategy
- getDrawGraphics() - Method in class java.awt.Component.FlipBufferStrategy
- getDropTarget() - Method in class java.awt.Component
-
Gets the DropTarget
associated with this
Component
.
- getEchoChar() - Method in class java.awt.TextField
-
Gets the character that is to be used for echoing.
- getEndCap() - Method in class java.awt.BasicStroke
-
Returns the end cap style.
- getEndPoint() - Method in class java.awt.LinearGradientPaint
-
Returns a copy of the end point of the gradient axis.
- getErrorsAny() - Method in class java.awt.MediaTracker
-
Returns a list of all media that have encountered an error.
- getErrorsID(int) - Method in class java.awt.MediaTracker
-
Returns a list of media with the specified ID that
have encountered an error.
- getEventMask() - Method in class java.awt.event.AWTEventListenerProxy
-
Returns the event mask associated with the listener.
- getException() - Method in class java.awt.event.InvocationEvent
-
Returns any Exception caught while executing the Runnable's run()
method.
- getExtendedKeyCode() - Method in class java.awt.event.KeyEvent
-
Returns an extended key code for the event.
- getExtendedKeyCodeForChar(int) - Static method in class java.awt.event.KeyEvent
-
Returns an extended key code for a unicode character.
- getExtendedState() - Method in class java.awt.Frame
-
Gets the state of this frame.
- getFamily() - Method in class java.awt.Font
-
Returns the family name of this Font
.
- getFamily(Locale) - Method in class java.awt.Font
-
Returns the family name of this Font
, localized for
the specified locale.
- getFile() - Method in class java.awt.FileDialog
-
Gets the selected file of this file dialog.
- getFileName() - Method in class java.awt.JobAttributes
-
Specifies the file name for the output file for jobs using these
attributes.
- getFilenameFilter() - Method in class java.awt.FileDialog
-
Determines this file dialog's filename filter.
- getFiles() - Method in class java.awt.FileDialog
-
Returns files that the user selects.
- getFirstComponent(Container) - Method in class java.awt.ContainerOrderFocusTraversalPolicy
-
Returns the first Component in the traversal cycle.
- getFirstComponent(Container) - Method in class java.awt.FocusTraversalPolicy
-
Returns the first Component in the traversal cycle.
- getFlipContents() - Method in class java.awt.BufferCapabilities
- getFocusableWindowState() - Method in class java.awt.Window
-
Returns whether this Window can become the focused Window if it meets
the other requirements outlined in isFocusableWindow
.
- getFocusCycleRootAncestor() - Method in class java.awt.Component
-
Returns the Container which is the focus cycle root of this Component's
focus traversal cycle.
- getFocusCycleRootAncestor() - Method in class java.awt.Window
-
Always returns null
because Windows have no ancestors; they
represent the top of the Component hierarchy.
- getFocusedWindow() - Method in class java.awt.KeyboardFocusManager
-
Returns the focused Window, if the focused Window is in the same context
as the calling thread.
- getFocusListeners() - Method in class java.awt.Component
-
Returns an array of all the focus listeners
registered on this component.
- getFocusOwner() - Method in class java.awt.KeyboardFocusManager
-
Returns the focus owner, if the focus owner is in the same context as
the calling thread.
- getFocusOwner() - Method in class java.awt.Window
-
Returns the child Component of this Window that has focus if this Window
is focused; returns null otherwise.
- getFocusPoint() - Method in class java.awt.RadialGradientPaint
-
Returns a copy of the focus point of the radial gradient.
- getFocusTraversalKeys(int) - Method in class java.awt.Component
-
Returns the Set of focus traversal keys for a given traversal operation
for this Component.
- getFocusTraversalKeys(int) - Method in class java.awt.Container
-
Returns the Set of focus traversal keys for a given traversal operation
for this Container.
- getFocusTraversalKeys(int) - Method in class java.awt.Window
-
Gets a focus traversal key for this Window.
- getFocusTraversalKeysEnabled() - Method in class java.awt.Component
-
Returns whether focus traversal keys are enabled for this Component.
- getFocusTraversalPolicy() - Method in class java.awt.Container
-
Returns the focus traversal policy that will manage keyboard traversal
of this Container's children, or null if this Container is not a focus
cycle root.
- getFont() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the Font
of this object.
- getFont() - Method in class java.awt.Component
-
Gets the font of this component.
- getFont(Map<? extends AttributedCharacterIterator.Attribute, ?>) - Static method in class java.awt.Font
-
Returns a Font
appropriate to the attributes.
- getFont(String) - Static method in class java.awt.Font
-
Returns a Font
object from the system properties list.
- getFont(String, Font) - Static method in class java.awt.Font
-
Gets the specified Font
from the system properties
list.
- getFont() - Method in class java.awt.FontMetrics
-
Gets the Font
described by this
FontMetrics
object.
- getFont() - Method in class java.awt.Graphics
-
Gets the current font.
- getFont() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Get the Font of this object.
- getFont() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the Font
of this object.
- getFont() - Method in class java.awt.MenuComponent
-
Gets the font used for this menu component.
- getFont() - Method in interface java.awt.MenuContainer
- getFontList() - Method in class java.awt.Toolkit
-
- getFontMetrics(Font) - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the FontMetrics
of this object.
- getFontMetrics(Font) - Method in class java.awt.Component
-
Gets the font metrics for the specified font.
- getFontMetrics() - Method in class java.awt.Graphics
-
Gets the font metrics of the current font.
- getFontMetrics(Font) - Method in class java.awt.Graphics
-
Gets the font metrics for the specified font.
- getFontMetrics(Font) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Get the FontMetrics of this object.
- getFontMetrics(Font) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the FontMetrics
of this object.
- getFontMetrics(Font) - Method in class java.awt.Toolkit
-
Deprecated. As of JDK version 1.2, replaced by the Font
method getLineMetrics
.
- getFontName() - Method in class java.awt.Font
-
Returns the font face name of this Font
.
- getFontName(Locale) - Method in class java.awt.Font
-
Returns the font face name of the Font
, localized
for the specified locale.
- getFontPeer(String, int) - Method in class java.awt.Toolkit
-
Deprecated see java.awt.GraphicsEnvironment#getAllFonts
- getFontRenderContext() - Method in class java.awt.FontMetrics
-
Gets the FontRenderContext
used by this
FontMetrics
object to measure text.
- getFontRenderContext() - Method in class java.awt.Graphics2D
-
Get the rendering context of the Font
within this
Graphics2D
context.
- getForeground() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the foreground color of this object.
- getForeground() - Method in class java.awt.Component
-
Gets the foreground color of this component.
- getForeground() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Get the foreground color of this object.
- getForeground() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the foreground color of this object.
- getFractions() - Method in class java.awt.MultipleGradientPaint
-
Returns a copy of the array of floats used by this gradient
to calculate color distribution.
- getFrames() - Static method in class java.awt.Frame
-
Returns an array of all Frame
s created by this application.
- getFromPage() - Method in class java.awt.JobAttributes
-
Returns, for jobs using these attributes, the first page to be
printed, if a range of pages is to be printed.
- getFrontBufferCapabilities() - Method in class java.awt.BufferCapabilities
- getFullScreenWindow() - Method in class java.awt.GraphicsDevice
-
Returns the Window
object representing the
full-screen window if the device is in full-screen mode.
- getGlobalActiveWindow() - Method in class java.awt.KeyboardFocusManager
-
Returns the active Window, even if the calling thread is in a different
context than the active Window.
- getGlobalCurrentFocusCycleRoot() - Method in class java.awt.KeyboardFocusManager
-
Returns the current focus cycle root, even if the calling thread is in a
different context than the current focus cycle root.
- getGlobalFocusedWindow() - Method in class java.awt.KeyboardFocusManager
-
Returns the focused Window, even if the calling thread is in a different
context than the focused Window.
- getGlobalFocusOwner() - Method in class java.awt.KeyboardFocusManager
-
Returns the focus owner, even if the calling thread is in a different
context than the focus owner.
- getGlobalPermanentFocusOwner() - Method in class java.awt.KeyboardFocusManager
-
Returns the permanent focus owner, even if the calling thread is in a
different context than the permanent focus owner.
- getGraphics() - Method in class java.awt.Component
-
Creates a graphics context for this component.
- getGraphics() - Method in class java.awt.Image
-
Creates a graphics context for drawing to an off-screen image.
- getGraphics() - Method in class java.awt.PrintJob
-
Gets a Graphics object that will draw to the next page.
- getGraphicsConfiguration() - Method in class java.awt.Component
-
Gets the GraphicsConfiguration
associated with this
Component
.
- getGreen() - Method in class java.awt.Color
-
Returns the green component in the range 0-255 in the default sRGB
space.
- getHAdjustable() - Method in class java.awt.ScrollPane
-
Returns the ScrollPaneAdjustable
object which
represents the state of the horizontal scrollbar.
- getHeight() - Method in class java.awt.Component
-
Returns the current height of this component.
- getHeight() - Method in class java.awt.Dimension
-
Returns the height of this Dimension
in double
precision.
- getHeight() - Method in class java.awt.DisplayMode
-
Returns the height of the display, in pixels.
- getHeight() - Method in class java.awt.FontMetrics
-
Gets the standard height of a line of text in this font.
- getHeight(ImageObserver) - Method in class java.awt.Image
-
Determines the height of the image.
- getHeight() - Method in class java.awt.Rectangle
-
Returns the height of the bounding Rectangle
in
double
precision.
- getHelpMenu() - Method in class java.awt.MenuBar
-
Gets the help menu on the menu bar.
- getHgap() - Method in class java.awt.BorderLayout
-
Returns the horizontal gap between components.
- getHgap() - Method in class java.awt.CardLayout
-
Gets the horizontal gap between components.
- getHgap() - Method in class java.awt.FlowLayout
-
Gets the horizontal gap between components
and between the components and the borders
of the Container
- getHgap() - Method in class java.awt.GridLayout
-
Gets the horizontal gap between components.
- getHierarchyBoundsListeners() - Method in class java.awt.Component
-
Returns an array of all the hierarchy bounds listeners
registered on this component.
- getHierarchyListeners() - Method in class java.awt.Component
-
Returns an array of all the hierarchy listeners
registered on this component.
- getHSBColor(float, float, float) - Static method in class java.awt.Color
-
Creates a Color
object based on the specified values
for the HSB color model.
- getHScrollbarHeight() - Method in class java.awt.ScrollPane
-
Returns the height that would be occupied by a horizontal
scrollbar, which is independent of whether it is currently
displayed by the scroll pane or not.
- getIconImage() - Method in class java.awt.Frame
-
Returns the image to be displayed as the icon for this frame.
- getIconImages() - Method in class java.awt.Window
-
Returns the sequence of images to be displayed as the icon for this window.
- getID() - Method in class java.awt.AWTEvent
-
Returns the event type.
- getIDstring() - Method in class java.awt.GraphicsDevice
-
Returns the identification string associated with this
GraphicsDevice
.
- getIgnoreRepaint() - Method in class java.awt.Component
- getImage() - Method in class java.awt.TexturePaint
-
Returns the BufferedImage
texture used to
fill the shapes.
- getImage(String) - Method in class java.awt.Toolkit
-
Returns an image which gets pixel data from the specified file,
whose format can be either GIF, JPEG or PNG.
- getImage(URL) - Method in class java.awt.Toolkit
-
Returns an image which gets pixel data from the specified URL.
- getImage() - Method in class java.awt.TrayIcon
-
Returns the current image used for this TrayIcon
.
- getImageCapabilities() - Method in class java.awt.GraphicsConfiguration
-
Returns the image capabilities of this
GraphicsConfiguration
.
- getImageURL() - Method in class java.awt.SplashScreen
-
Returns the current splash screen image.
- getImplicitDownCycleTraversal() - Method in class java.awt.ContainerOrderFocusTraversalPolicy
-
Returns whether this ContainerOrderFocusTraversalPolicy transfers focus
down-cycle implicitly.
- getIndexAtPoint(Point) - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Given a point in local coordinates, return the zero-based index
of the character under that Point.
- getInitialComponent(Window) - Method in class java.awt.FocusTraversalPolicy
-
Returns the Component that should receive the focus when a Window is
made visible for the first time.
- getInputContext() - Method in class java.awt.Component
-
Gets the input context used by this component for handling
the communication with input methods when text is entered
in this component.
- getInputContext() - Method in class java.awt.Window
-
Gets the input context for this window.
- getInputMethodListeners() - Method in class java.awt.Component
-
Returns an array of all the input method listeners
registered on this component.
- getInputMethodRequests() - Method in class java.awt.Component
-
Gets the input method request handler which supports
requests from input methods for this component.
- getInputMethodRequests() - Method in class java.awt.TextComponent
- getInsets() - Method in class java.awt.Container
-
Determines the insets of this container, which indicate the size
of the container's border.
- getInstance(int) - Static method in class java.awt.AlphaComposite
-
Creates an AlphaComposite
object with the specified rule.
- getInstance(int, float) - Static method in class java.awt.AlphaComposite
-
Creates an AlphaComposite
object with the specified rule and
the constant alpha to multiply with the alpha of the source.
- getItalicAngle() - Method in class java.awt.Font
-
Returns the italic angle of this Font
.
- getItem(int) - Method in class java.awt.Choice
-
Gets the string at the specified index in this
Choice
menu.
- getItem() - Method in class java.awt.event.ItemEvent
-
Returns the item affected by the event.
- getItem(int) - Method in class java.awt.List
-
Gets the item associated with the specified index.
- getItem(int) - Method in class java.awt.Menu
-
Gets the item located at the specified index of this menu.
- getItemCount() - Method in class java.awt.Choice
-
Returns the number of items in this Choice
menu.
- getItemCount() - Method in class java.awt.List
-
Gets the number of items in the list.
- getItemCount() - Method in class java.awt.Menu
-
Get the number of items in this menu.
- getItemListeners() - Method in class java.awt.Checkbox
-
Returns an array of all the item listeners
registered on this checkbox.
- getItemListeners() - Method in class java.awt.CheckboxMenuItem
-
Returns an array of all the item listeners
registered on this checkbox menuitem.
- getItemListeners() - Method in class java.awt.Choice
-
Returns an array of all the item listeners
registered on this choice.
- getItemListeners() - Method in class java.awt.List
-
Returns an array of all the item listeners
registered on this list.
- getItems() - Method in class java.awt.List
-
Gets the items in the list.
- getItemSelectable() - Method in class java.awt.event.ItemEvent
-
Returns the originator of the event.
- getKey() - Method in class java.awt.MenuShortcut
-
Returns the raw keycode of this MenuShortcut.
- getKeyChar() - Method in class java.awt.AWTKeyStroke
-
Returns the character for this AWTKeyStroke
.
- getKeyChar() - Method in class java.awt.event.KeyEvent
-
Returns the character associated with the key in this event.
- getKeyCode() - Method in class java.awt.AWTKeyStroke
-
Returns the numeric key code for this AWTKeyStroke
.
- getKeyCode() - Method in class java.awt.event.KeyEvent
-
Returns the integer keyCode associated with the key in this event.
- getKeyEventDispatchers() - Method in class java.awt.KeyboardFocusManager
-
Returns this KeyboardFocusManager's KeyEventDispatcher chain as a List.
- getKeyEventPostProcessors() - Method in class java.awt.KeyboardFocusManager
-
Returns this KeyboardFocusManager's KeyEventPostProcessor chain as a
List.
- getKeyEventType() - Method in class java.awt.AWTKeyStroke
-
Returns the type of KeyEvent
which corresponds to
this AWTKeyStroke
.
- getKeyListeners() - Method in class java.awt.Component
-
Returns an array of all the key listeners
registered on this component.
- getKeyLocation() - Method in class java.awt.event.KeyEvent
-
Returns the location of the key that originated this key event.
- getKeyModifiersText(int) - Static method in class java.awt.event.KeyEvent
-
Returns a String
describing the modifier key(s),
such as "Shift", or "Ctrl+Shift".
- getKeyText(int) - Static method in class java.awt.event.KeyEvent
-
Returns a String describing the keyCode, such as "HOME", "F1" or "A".
- getLabel() - Method in class java.awt.Button
-
Gets the label of this button.
- getLabel() - Method in class java.awt.Checkbox
-
Gets the label of this check box.
- getLabel() - Method in class java.awt.MenuItem
-
Gets the label for this menu item.
- getLastComponent(Container) - Method in class java.awt.ContainerOrderFocusTraversalPolicy
-
Returns the last Component in the traversal cycle.
- getLastComponent(Container) - Method in class java.awt.FocusTraversalPolicy
-
Returns the last Component in the traversal cycle.
- getLayout() - Method in class java.awt.Container
-
Gets the layout manager for this container.
- getLayoutAlignmentX(Container) - Method in class java.awt.BorderLayout
-
Returns the alignment along the x axis.
- getLayoutAlignmentX(Container) - Method in class java.awt.CardLayout
-
Returns the alignment along the x axis.
- getLayoutAlignmentX(Container) - Method in class java.awt.GridBagLayout
-
Returns the alignment along the x axis.
- getLayoutAlignmentX(Container) - Method in interface java.awt.LayoutManager2
-
Returns the alignment along the x axis.
- getLayoutAlignmentY(Container) - Method in class java.awt.BorderLayout
-
Returns the alignment along the y axis.
- getLayoutAlignmentY(Container) - Method in class java.awt.CardLayout
-
Returns the alignment along the y axis.
- getLayoutAlignmentY(Container) - Method in class java.awt.GridBagLayout
-
Returns the alignment along the y axis.
- getLayoutAlignmentY(Container) - Method in interface java.awt.LayoutManager2
-
Returns the alignment along the y axis.
- getLayoutComponent(Object) - Method in class java.awt.BorderLayout
-
Gets the component that was added using the given constraint
- getLayoutComponent(Container, Object) - Method in class java.awt.BorderLayout
-
Returns the component that corresponds to the given constraint location
based on the target Container
's component orientation.
- getLayoutDimensions() - Method in class java.awt.GridBagLayout
-
Determines column widths and row heights for the layout grid.
- getLayoutInfo(Container, int) - Method in class java.awt.GridBagLayout
-
Fills in an instance of GridBagLayoutInfo
for the
current set of managed children.
- GetLayoutInfo(Container, int) - Method in class java.awt.GridBagLayout
-
This method is obsolete and supplied for backwards
compatability only; new code should call
getLayoutInfo
instead.
- getLayoutOrigin() - Method in class java.awt.GridBagLayout
-
Determines the origin of the layout area, in the graphics coordinate
space of the target container.
- getLayoutWeights() - Method in class java.awt.GridBagLayout
-
Determines the weights of the layout grid's columns and rows.
- getLeading() - Method in class java.awt.FontMetrics
-
Determines the standard leading of the
Font
described by this FontMetrics
object.
- getLineIncrement() - Method in class java.awt.Scrollbar
-
Deprecated. As of JDK version 1.1,
replaced by getUnitIncrement()
.
- getLineJoin() - Method in class java.awt.BasicStroke
-
Returns the line join style.
- getLineMetrics(String, FontRenderContext) - Method in class java.awt.Font
-
Returns a LineMetrics
object created with the specified
String
and FontRenderContext
.
- getLineMetrics(String, int, int, FontRenderContext) - Method in class java.awt.Font
-
Returns a LineMetrics
object created with the
specified arguments.
- getLineMetrics(char[], int, int, FontRenderContext) - Method in class java.awt.Font
-
Returns a LineMetrics
object created with the
specified arguments.
- getLineMetrics(CharacterIterator, int, int, FontRenderContext) - Method in class java.awt.Font
-
Returns a LineMetrics
object created with the
specified arguments.
- getLineMetrics(String, Graphics) - Method in class java.awt.FontMetrics
-
Returns the
LineMetrics
object for the specified
String
in the specified
Graphics
context.
- getLineMetrics(String, int, int, Graphics) - Method in class java.awt.FontMetrics
-
Returns the
LineMetrics
object for the specified
String
in the specified
Graphics
context.
- getLineMetrics(char[], int, int, Graphics) - Method in class java.awt.FontMetrics
-
Returns the
LineMetrics
object for the specified
character array in the specified
Graphics
context.
- getLineMetrics(CharacterIterator, int, int, Graphics) - Method in class java.awt.FontMetrics
-
Returns the
LineMetrics
object for the specified
CharacterIterator
in the specified
Graphics
context.
- getLineWidth() - Method in class java.awt.BasicStroke
-
Returns the line width.
- getListeners(EventListener, Class<T>) - Static method in class java.awt.AWTEventMulticaster
-
Returns an array of all the objects chained as
FooListener
s by the specified
java.util.EventListener
.
- getListeners(Class<T>) - Method in class java.awt.Button
-
Returns an array of all the objects currently registered
as FooListener
s
upon this Button
.
- getListeners(Class<T>) - Method in class java.awt.Checkbox
-
Returns an array of all the objects currently registered
as FooListener
s
upon this Checkbox
.
- getListeners(Class<T>) - Method in class java.awt.CheckboxMenuItem
-
Returns an array of all the objects currently registered
as FooListener
s
upon this CheckboxMenuItem
.
- getListeners(Class<T>) - Method in class java.awt.Choice
-
Returns an array of all the objects currently registered
as FooListener
s
upon this Choice
.
- getListeners(Class<T>) - Method in class java.awt.Component
-
Returns an array of all the objects currently registered
as FooListener
s
upon this Component
.
- getListeners(Class<T>) - Method in class java.awt.Container
-
Returns an array of all the objects currently registered
as FooListener
s
upon this Container
.
- getListeners(Class<T>) - Method in class java.awt.List
-
Returns an array of all the objects currently registered
as FooListener
s
upon this List
.
- getListeners(Class<T>) - Method in class java.awt.MenuItem
-
Returns an array of all the objects currently registered
as FooListener
s
upon this MenuItem
.
- getListeners(Class<T>) - Method in class java.awt.Scrollbar
-
Returns an array of all the objects currently registered
as FooListener
s
upon this Scrollbar
.
- getListeners(Class<T>) - Method in class java.awt.TextComponent
-
Returns an array of all the objects currently registered
as FooListener
s
upon this TextComponent
.
- getListeners(Class<T>) - Method in class java.awt.TextField
-
Returns an array of all the objects currently registered
as FooListener
s
upon this TextField
.
- getListeners(Class<T>) - Method in class java.awt.Window
-
Returns an array of all the objects currently registered
as FooListener
s
upon this Window
.
- getLocale() - Method in class java.awt.Component.AccessibleAWTComponent
-
Returns the locale of this object.
- getLocale() - Method in class java.awt.Component
-
Gets the locale of this component.
- getLocale() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Gets the locale of the component.
- getLocale() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Returns the locale of this object.
- getLocale() - Method in class java.awt.Window
-
Gets the Locale
object that is associated
with this window, if the locale has been set.
- getLocalGraphicsEnvironment() - Static method in class java.awt.GraphicsEnvironment
-
Returns the local GraphicsEnvironment
.
- getLocation() - Method in class java.awt.Component.AccessibleAWTComponent
-
Gets the location of the object relative to the parent in the form
of a point specifying the object's top-left corner in the screen's
coordinate space.
- getLocation() - Method in class java.awt.Component
-
Gets the location of this component in the form of a
point specifying the component's top-left corner.
- getLocation(Point) - Method in class java.awt.Component
-
Stores the x,y origin of this component into "return value" rv
and return rv.
- getLocation() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Gets the location of the object relative to the parent in the
form of a point specifying the object's top-left corner in the
screen's coordinate space.
- getLocation() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Gets the location of the object relative to the parent in the form
of a point specifying the object's top-left corner in the screen's
coordinate space.
- getLocation() - Method in class java.awt.Point
-
Returns the location of this point.
- getLocation() - Method in class java.awt.PointerInfo
-
Returns the Point
that represents the coordinates
of the pointer on the screen.
- getLocation() - Method in class java.awt.Rectangle
-
Returns the location of this Rectangle
.
- getLocationOnScreen() - Method in class java.awt.Component.AccessibleAWTComponent
-
Returns the location of the object on the screen.
- getLocationOnScreen() - Method in class java.awt.Component
-
Gets the location of this component in the form of a point
specifying the component's top-left corner in the screen's
coordinate space.
- getLocationOnScreen() - Method in class java.awt.event.MouseEvent
-
Returns the absolute x, y position of the event.
- getLocationOnScreen() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Returns the location of the object on the screen.
- getLocationOnScreen() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Returns the location of the object on the screen.
- getLockingKeyState(int) - Method in class java.awt.Toolkit
-
Returns whether the given locking key on the keyboard is currently in
its "on" state.
- getMaskForButton(int) - Static method in class java.awt.event.InputEvent
-
A method to obtain a mask for any existing mouse button.
- getMaxAdvance() - Method in class java.awt.FontMetrics
-
Gets the maximum advance width of any character in this
Font
.
- getMaxAscent() - Method in class java.awt.FontMetrics
-
Determines the maximum ascent of the Font
described by this FontMetrics
object.
- getMaxCharBounds(FontRenderContext) - Method in class java.awt.Font
-
Returns the bounds for the character with the maximum
bounds as defined in the specified FontRenderContext
.
- getMaxCharBounds(Graphics) - Method in class java.awt.FontMetrics
-
Returns the bounds for the character with the maximum bounds
in the specified Graphics
context.
- getMaxDecent() - Method in class java.awt.FontMetrics
-
Deprecated. As of JDK version 1.1.1,
replaced by getMaxDescent()
.
- getMaxDescent() - Method in class java.awt.FontMetrics
-
Determines the maximum descent of the Font
described by this FontMetrics
object.
- getMaximizedBounds() - Method in class java.awt.Frame
-
Gets maximized bounds for this frame.
- getMaximum() - Method in interface java.awt.Adjustable
-
Gets the maximum value of the adjustable object.
- getMaximum() - Method in class java.awt.Scrollbar
-
Gets the maximum value of this scroll bar.
- getMaximum() - Method in class java.awt.ScrollPaneAdjustable
- getMaximumAccessibleValue() - Method in class java.awt.Button.AccessibleAWTButton
-
Get the maximum value of this object as a Number.
- getMaximumAccessibleValue() - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Get the maximum value of this object as a Number.
- getMaximumAccessibleValue() - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Get the maximum value of this object as a Number.
- getMaximumAccessibleValue() - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Get the maximum value of this object as a Number.
- getMaximumAccessibleValue() - Method in class java.awt.Scrollbar.AccessibleAWTScrollBar
-
Get the maximum accessible value of this object.
- getMaximumCursorColors() - Method in class java.awt.Toolkit
-
Returns the maximum number of colors the Toolkit supports in a custom cursor
palette.
- getMaximumSize() - Method in class java.awt.Component
-
Gets the maximum size of this component.
- getMaximumSize() - Method in class java.awt.Container
-
Returns the maximum size of this container.
- getMaximumWindowBounds() - Method in class java.awt.GraphicsEnvironment
-
Returns the maximum bounds for centered Windows.
- getMaxPage() - Method in class java.awt.JobAttributes
-
Specifies the maximum value the user can specify as the last page to
be printed for jobs using these attributes.
- getMedia() - Method in class java.awt.PageAttributes
-
Returns the paper size for pages using these attributes.
- getMenu(int) - Method in class java.awt.MenuBar
-
Gets the specified menu.
- getMenuBar() - Method in class java.awt.Frame
-
Gets the menu bar for this frame.
- getMenuCount() - Method in class java.awt.MenuBar
-
Gets the number of menus on the menu bar.
- getMenuShortcutKeyMask() - Method in class java.awt.Toolkit
-
Determines which modifier key is the appropriate accelerator
key for menu shortcuts.
- getMessage() - Method in exception java.awt.HeadlessException
- getMinimum() - Method in interface java.awt.Adjustable
-
Gets the minimum value of the adjustable object.
- getMinimum() - Method in class java.awt.Scrollbar
-
Gets the minimum value of this scroll bar.
- getMinimum() - Method in class java.awt.ScrollPaneAdjustable
- getMinimumAccessibleValue() - Method in class java.awt.Button.AccessibleAWTButton
-
Get the minimum value of this object as a Number.
- getMinimumAccessibleValue() - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Get the minimum value of this object as a Number.
- getMinimumAccessibleValue() - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Get the minimum value of this object as a Number.
- getMinimumAccessibleValue() - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Get the minimum value of this object as a Number.
- getMinimumAccessibleValue() - Method in class java.awt.Scrollbar.AccessibleAWTScrollBar
-
Get the minimum accessible value of this object.
- getMinimumSize() - Method in class java.awt.Component
-
Gets the mininimum size of this component.
- getMinimumSize() - Method in class java.awt.Container
-
Returns the minimum size of this container.
- getMinimumSize(int) - Method in class java.awt.List
-
Gets the minumum dimensions for a list with the specified
number of rows.
- getMinimumSize() - Method in class java.awt.List
-
Determines the minimum size of this scrolling list.
- getMinimumSize(int, int) - Method in class java.awt.TextArea
-
Determines the minimum size of a text area with the specified
number of rows and columns.
- getMinimumSize() - Method in class java.awt.TextArea
-
Determines the minimum size of this text area.
- getMinimumSize(int) - Method in class java.awt.TextField
-
Gets the minumum dimensions for a text field with
the specified number of columns.
- getMinimumSize() - Method in class java.awt.TextField
-
Gets the minumum dimensions for this text field.
- getMinPage() - Method in class java.awt.JobAttributes
-
Specifies the minimum value the user can specify as the first page to
be printed for jobs using these attributes.
- getMinSize(Container, GridBagLayoutInfo) - Method in class java.awt.GridBagLayout
-
Figures out the minimum size of the
master based on the information from getLayoutInfo
.
- GetMinSize(Container, GridBagLayoutInfo) - Method in class java.awt.GridBagLayout
-
This method is obsolete and supplied for backwards
compatability only; new code should call
getMinSize
instead.
- getMissingGlyphCode() - Method in class java.awt.Font
-
Returns the glyphCode which is used when this Font
does not have a glyph for a specified unicode code point.
- getMiterLimit() - Method in class java.awt.BasicStroke
-
Returns the limit of miter joins.
- getModalExclusionType() - Method in class java.awt.Window
-
Returns the modal exclusion type of this window.
- getModalityType() - Method in class java.awt.Dialog
-
Returns the modality type of this dialog.
- getMode() - Method in class java.awt.FileDialog
-
Indicates whether this file dialog box is for loading from a file
or for saving to a file.
- getModifiers() - Method in class java.awt.AWTKeyStroke
-
Returns the modifier keys for this AWTKeyStroke
.
- getModifiers() - Method in class java.awt.event.ActionEvent
-
Returns the modifier keys held down during this action event.
- getModifiers() - Method in class java.awt.event.InputEvent
-
Returns the modifier mask for this event.
- getModifiersEx() - Method in class java.awt.event.InputEvent
-
Returns the extended modifier mask for this event.
- getModifiersEx() - Method in class java.awt.event.MouseEvent
-
Returns the extended modifier mask for this event.
- getModifiersExText(int) - Static method in class java.awt.event.InputEvent
-
Returns a String describing the extended modifier keys and
mouse buttons, such as "Shift", "Button1", or "Ctrl+Shift".
- getMostRecentEventTime() - Static method in class java.awt.EventQueue
-
Returns the timestamp of the most recent event that had a timestamp, and
that was dispatched from the EventQueue
associated with the
calling thread.
- getMostRecentFocusOwner() - Method in class java.awt.Window
-
Returns the child Component of this Window that will receive the focus
when this Window is focused.
- getMouseInfoPeer() - Method in class java.awt.Toolkit
-
Obtains this toolkit's implementation of helper class for
MouseInfo
operations.
- getMouseListeners() - Method in class java.awt.Component
-
Returns an array of all the mouse listeners
registered on this component.
- getMouseListeners() - Method in class java.awt.TrayIcon
-
Returns an array of all the mouse listeners
registered on this TrayIcon
.
- getMouseModifiersText(int) - Static method in class java.awt.event.MouseEvent
-
Returns a String
instance describing the modifier keys and
mouse buttons that were down during the event, such as "Shift",
or "Ctrl+Shift".
- getMouseMotionListeners() - Method in class java.awt.Component
-
Returns an array of all the mouse motion listeners
registered on this component.
- getMouseMotionListeners() - Method in class java.awt.TrayIcon
-
Returns an array of all the mouse-motion listeners
registered on this TrayIcon
.
- getMousePosition() - Method in class java.awt.Component
-
Returns the position of the mouse pointer in this Component
's
coordinate space if the Component
is directly under the mouse
pointer, otherwise returns null
.
- getMousePosition(boolean) - Method in class java.awt.Container
-
Returns the position of the mouse pointer in this Container
's
coordinate space if the Container
is under the mouse pointer,
otherwise returns null
.
- getMouseWheelListeners() - Method in class java.awt.Component
-
Returns an array of all the mouse wheel listeners
registered on this component.
- getMultipleDocumentHandling() - Method in class java.awt.JobAttributes
-
Specifies the handling of multiple copies, including collation, for
jobs using these attributes.
- getName() - Method in class java.awt.Component
-
Gets the name of the component.
- getName() - Method in class java.awt.Cursor
-
Returns the name of this cursor.
- getName() - Method in class java.awt.Font
-
Returns the logical name of this Font
.
- getName() - Method in class java.awt.MenuComponent
-
Gets the name of the menu component.
- getNativeContainer(Component) - Static method in class java.awt.Toolkit
-
Give native peers the ability to query the native container
given a native component (eg the direct parent may be lightweight).
- getNewState() - Method in class java.awt.event.WindowEvent
-
For WINDOW_STATE_CHANGED
events returns the
new state of the window.
- getNextEvent() - Method in class java.awt.EventQueue
-
Removes an event from the EventQueue
and
returns it.
- getNormalizingTransform() - Method in class java.awt.GraphicsConfiguration
-
Returns a AffineTransform
that can be concatenated
with the default AffineTransform
of a GraphicsConfiguration
so that 72 units in user
space equals 1 inch in device space.
- getNumberOfButtons() - Static method in class java.awt.MouseInfo
-
Returns the number of buttons on the mouse.
- getNumGlyphs() - Method in class java.awt.Font
-
Returns the number of glyphs in this Font
.
- getOldState() - Method in class java.awt.event.WindowEvent
-
For WINDOW_STATE_CHANGED
events returns the
previous state of the window.
- getOpacity() - Method in class java.awt.Window
-
Returns the opacity of the window.
- getOppositeComponent() - Method in class java.awt.event.FocusEvent
-
Returns the other Component involved in this focus change.
- getOppositeWindow() - Method in class java.awt.event.WindowEvent
-
Returns the other Window involved in this focus or activation change.
- getOrientation() - Method in interface java.awt.Adjustable
-
Gets the orientation of the adjustable object.
- getOrientation(Locale) - Static method in class java.awt.ComponentOrientation
-
Returns the orientation that is appropriate for the given locale.
- getOrientation(ResourceBundle) - Static method in class java.awt.ComponentOrientation
-
- getOrientation() - Method in class java.awt.Scrollbar
-
Returns the orientation of this scroll bar.
- getOrientation() - Method in class java.awt.ScrollPaneAdjustable
-
Returns the orientation of this scrollbar.
- getOrientationRequested() - Method in class java.awt.PageAttributes
-
Returns the print orientation for pages using these attributes.
- getOrigin() - Method in class java.awt.PageAttributes
-
Returns whether drawing at (0, 0) to pages using these attributes
draws at the upper-left corner of the physical page, or at the
upper-left corner of the printable area.
- getOwnedWindows() - Method in class java.awt.Window
-
Return an array containing all the windows this
window currently owns.
- getOwner() - Method in class java.awt.Window
-
Returns the owner of this window.
- getOwnerlessWindows() - Static method in class java.awt.Window
-
Returns an array of all Window
s created by this application
that have no owner.
- getPageDimension() - Method in class java.awt.PrintJob
-
Returns the dimensions of the page in pixels.
- getPageIncrement() - Method in class java.awt.Scrollbar
-
Deprecated. As of JDK version 1.1,
replaced by getBlockIncrement()
.
- getPageRanges() - Method in class java.awt.JobAttributes
-
Specifies, for jobs using these attributes, the ranges of pages to be
printed, if a range of pages is to be printed.
- getPageResolution() - Method in class java.awt.PrintJob
-
Returns the resolution of the page in pixels per inch.
- getPaint() - Method in class java.awt.Graphics2D
-
Returns the current Paint
of the
Graphics2D
context.
- getParent() - Method in class java.awt.Component
-
Gets the parent of this component.
- getParent() - Method in class java.awt.MenuComponent
-
Returns the parent container for this menu component.
- getParent() - Method in class java.awt.PopupMenu
-
Returns the parent container for this menu component.
- getPathIterator(AffineTransform) - Method in class java.awt.Polygon
-
Returns an iterator object that iterates along the boundary of this
Polygon
and provides access to the geometry
of the outline of this Polygon
.
- getPathIterator(AffineTransform, double) - Method in class java.awt.Polygon
-
Returns an iterator object that iterates along the boundary of
the Shape
and provides access to the geometry of the
outline of the Shape
.
- getPathIterator(AffineTransform) - Method in interface java.awt.Shape
-
Returns an iterator object that iterates along the
Shape
boundary and provides access to the geometry of the
Shape
outline.
- getPathIterator(AffineTransform, double) - Method in interface java.awt.Shape
-
Returns an iterator object that iterates along the Shape
boundary and provides access to a flattened view of the
Shape
outline geometry.
- getPeer() - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
programs should not directly manipulate peers;
replaced by boolean isDisplayable()
.
- getPeer() - Method in class java.awt.Font
-
Deprecated. Font rendering is now platform independent.
- getPeer() - Method in class java.awt.MenuComponent
-
Deprecated. As of JDK version 1.1,
programs should not directly manipulate peers.
- getPermanentFocusOwner() - Method in class java.awt.KeyboardFocusManager
-
Returns the permanent focus owner, if the permanent focus owner is in
the same context as the calling thread.
- getPixelColor(int, int) - Method in class java.awt.Robot
-
Returns the color of a pixel at the given screen coordinates.
- getPoint() - Method in class java.awt.event.MouseEvent
-
Returns the x,y position of the event relative to the source component.
- getPoint1() - Method in class java.awt.GradientPaint
-
Returns a copy of the point P1 that anchors the first color.
- getPoint2() - Method in class java.awt.GradientPaint
-
Returns a copy of the point P2 which anchors the second color.
- getPointerInfo() - Static method in class java.awt.MouseInfo
-
Returns a PointerInfo
instance that represents the current
location of the mouse pointer.
- getPopupMenu() - Method in class java.awt.TrayIcon
-
Returns the popup menu associated with this TrayIcon
.
- getPreciseWheelRotation() - Method in class java.awt.event.MouseWheelEvent
-
Returns the number of "clicks" the mouse wheel was rotated, as a double.
- getPredefinedCursor(int) - Static method in class java.awt.Cursor
-
Returns a cursor object with the specified predefined type.
- getPreferredSize() - Method in class java.awt.Component
-
Gets the preferred size of this component.
- getPreferredSize() - Method in class java.awt.Container
-
Returns the preferred size of this container.
- getPreferredSize(int) - Method in class java.awt.List
-
Gets the preferred dimensions for a list with the specified
number of rows.
- getPreferredSize() - Method in class java.awt.List
-
Gets the preferred size of this scrolling list.
- getPreferredSize(int, int) - Method in class java.awt.TextArea
-
Determines the preferred size of a text area with the specified
number of rows and columns.
- getPreferredSize() - Method in class java.awt.TextArea
-
Determines the preferred size of this text area.
- getPreferredSize(int) - Method in class java.awt.TextField
-
Gets the preferred size of this text field
with the specified number of columns.
- getPreferredSize() - Method in class java.awt.TextField
-
Gets the preferred size of this text field.
- getPrinter() - Method in class java.awt.JobAttributes
-
Returns the destination printer for jobs using these attributes.
- getPrinterResolution() - Method in class java.awt.PageAttributes
-
Returns the print resolution for pages using these attributes.
- getPrintJob() - Method in interface java.awt.PrintGraphics
-
Returns the PrintJob object from which this PrintGraphics
object originated.
- getPrintJob(Frame, String, Properties) - Method in class java.awt.Toolkit
-
Gets a PrintJob
object which is the result of initiating
a print operation on the toolkit's platform.
- getPrintJob(Frame, String, JobAttributes, PageAttributes) - Method in class java.awt.Toolkit
-
Gets a PrintJob
object which is the result of initiating
a print operation on the toolkit's platform.
- getPrintQuality() - Method in class java.awt.PageAttributes
-
Returns the print quality for pages using these attributes.
- getProperty(String, ImageObserver) - Method in class java.awt.Image
-
Gets a property of this image by name.
- getProperty(String, String) - Static method in class java.awt.Toolkit
-
Gets a property with the specified key and default.
- getPropertyChangeListeners() - Method in class java.awt.Component
-
Returns an array of all the property change listeners
registered on this component.
- getPropertyChangeListeners(String) - Method in class java.awt.Component
-
Returns an array of all the listeners which have been associated
with the named property.
- getPropertyChangeListeners() - Method in class java.awt.KeyboardFocusManager
-
Returns an array of all the property change listeners
registered on this keyboard focus manager.
- getPropertyChangeListeners(String) - Method in class java.awt.KeyboardFocusManager
-
Returns an array of all the PropertyChangeListener
s
associated with the named property.
- getPropertyChangeListeners(String) - Method in class java.awt.SystemTray
-
Returns an array of all the listeners that have been associated
with the named property.
- getPropertyChangeListeners() - Method in class java.awt.Toolkit
-
Returns an array of all the property change listeners
registered on this toolkit.
- getPropertyChangeListeners(String) - Method in class java.awt.Toolkit
-
Returns an array of all property change listeners
associated with the specified name of a desktop property.
- getPSName() - Method in class java.awt.Font
-
Returns the postscript name of this Font
.
- getRadius() - Method in class java.awt.RadialGradientPaint
-
Returns the radius of the circle defining the radial gradient.
- getRaster(int, int, int, int) - Method in interface java.awt.PaintContext
-
Returns a Raster
containing the colors generated for
the graphics operation.
- getRed() - Method in class java.awt.Color
-
Returns the red component in the range 0-255 in the default sRGB
space.
- getRefreshRate() - Method in class java.awt.DisplayMode
-
Returns the refresh rate of the display, in hertz.
- getRenderingHint(RenderingHints.Key) - Method in class java.awt.Graphics2D
-
Returns the value of a single preference for the rendering algorithms.
- getRenderingHints() - Method in class java.awt.Graphics2D
-
Gets the preferences for the rendering algorithms.
- getRGB() - Method in class java.awt.Color
-
Returns the RGB value representing the color in the default sRGB
ColorModel
.
- getRGBColorComponents(float[]) - Method in class java.awt.Color
-
Returns a float
array containing only the color
components of the Color
, in the default sRGB color
space.
- getRGBComponents(float[]) - Method in class java.awt.Color
-
Returns a float
array containing the color and alpha
components of the Color
, as represented in the default
sRGB color space.
- getRows() - Method in class java.awt.GridLayout
-
Gets the number of rows in this layout.
- getRows() - Method in class java.awt.List
-
Gets the number of visible lines in this list.
- getRows() - Method in class java.awt.TextArea
-
Returns the number of rows in the text area.
- getRule() - Method in class java.awt.AlphaComposite
-
Returns the compositing rule of this AlphaComposite
.
- getScaledInstance(int, int, int) - Method in class java.awt.Image
-
Creates a scaled version of this image.
- getScreenDevices() - Method in class java.awt.GraphicsEnvironment
-
Returns an array of all of the screen GraphicsDevice
objects.
- getScreenInsets(GraphicsConfiguration) - Method in class java.awt.Toolkit
-
Gets the insets of the screen.
- getScreenResolution() - Method in class java.awt.Toolkit
-
Returns the screen resolution in dots-per-inch.
- getScreenSize() - Method in class java.awt.Toolkit
-
Gets the size of the screen.
- getScrollAmount() - Method in class java.awt.event.MouseWheelEvent
-
Returns the number of units that should be scrolled per
click of mouse wheel rotation.
- getScrollbarDisplayPolicy() - Method in class java.awt.ScrollPane
-
Returns the display policy for the scrollbars.
- getScrollbarVisibility() - Method in class java.awt.TextArea
-
Returns an enumerated value that indicates which scroll bars
the text area uses.
- getScrollPosition() - Method in class java.awt.ScrollPane
-
Returns the current x,y position within the child which is displayed
at the 0,0 location of the scrolled panel's view port.
- getScrollType() - Method in class java.awt.event.MouseWheelEvent
-
Returns the type of scrolling that should take place in response to this
event.
- getSelectedCheckbox() - Method in class java.awt.CheckboxGroup
-
Gets the current choice from this check box group.
- getSelectedIndex() - Method in class java.awt.Choice
-
Returns the index of the currently selected item.
- getSelectedIndex() - Method in class java.awt.List
-
Gets the index of the selected item on the list,
- getSelectedIndexes() - Method in class java.awt.List
-
Gets the selected indexes on the list.
- getSelectedItem() - Method in class java.awt.Choice
-
Gets a representation of the current choice as a string.
- getSelectedItem() - Method in class java.awt.List
-
Gets the selected item on this scrolling list.
- getSelectedItems() - Method in class java.awt.List
-
Gets the selected items on this scrolling list.
- getSelectedObjects() - Method in class java.awt.Checkbox
-
Returns an array (length 1) containing the checkbox
label or null if the checkbox is not selected.
- getSelectedObjects() - Method in class java.awt.CheckboxMenuItem
-
Returns the an array (length 1) containing the checkbox menu item
label or null if the checkbox is not selected.
- getSelectedObjects() - Method in class java.awt.Choice
-
Returns an array (length 1) containing the currently selected
item.
- getSelectedObjects() - Method in interface java.awt.ItemSelectable
-
Returns the selected items or null
if no
items are selected.
- getSelectedObjects() - Method in class java.awt.List
-
Gets the selected items on this scrolling list in an array of Objects.
- getSelectedText() - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the portion of the text that is selected.
- getSelectedText() - Method in class java.awt.TextComponent
-
Returns the selected text from the text that is
presented by this text component.
- getSelectionEnd() - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the end offset within the selected text.
- getSelectionEnd() - Method in class java.awt.TextComponent
-
Gets the end position of the selected text in
this text component.
- getSelectionStart() - Method in class java.awt.TextComponent.AccessibleAWTTextComponent
-
Returns the start offset within the selected text.
- getSelectionStart() - Method in class java.awt.TextComponent
-
Gets the start position of the selected text in
this text component.
- getShape() - Method in class java.awt.Window
-
Returns the shape of the window.
- getShortcut() - Method in class java.awt.MenuItem
-
Get the MenuShortcut
object associated with this
menu item,
- getShortcutMenuItem(MenuShortcut) - Method in class java.awt.MenuBar
-
Gets the instance of MenuItem
associated
with the specified MenuShortcut
object,
or null
if none of the menu items being managed
by this menu bar is associated with the specified menu
shortcut.
- getSides() - Method in class java.awt.JobAttributes
-
Returns how consecutive pages should be imposed upon the sides of the
print medium for jobs using these attributes.
- getSize() - Method in class java.awt.Component.AccessibleAWTComponent
-
Returns the size of this object in the form of a
Dimension
object.
- getSize() - Method in class java.awt.Component
-
Returns the size of this component in the form of a
Dimension
object.
- getSize(Dimension) - Method in class java.awt.Component
-
Stores the width/height of this component into "return value" rv
and return rv.
- getSize() - Method in class java.awt.Dimension
-
Gets the size of this Dimension
object.
- getSize() - Method in class java.awt.Font
-
Returns the point size of this Font
, rounded to
an integer.
- getSize() - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Returns the size of this object in the form of a Dimension
object.
- getSize() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Returns the size of this object in the form of a
Dimension
object.
- getSize() - Method in class java.awt.Rectangle
-
Gets the size of this Rectangle
, represented by
the returned Dimension
.
- getSize() - Method in class java.awt.SplashScreen
-
Returns the size of the splash screen window as a
Dimension
.
- getSize() - Method in class java.awt.TrayIcon
-
Returns the size, in pixels, of the space that the tray icon
occupies in the system tray.
- getSize2D() - Method in class java.awt.Font
-
Returns the point size of this Font
in
float
value.
- getSource() - Method in class java.awt.Image
-
Gets the object that produces the pixels for the image.
- getSplashScreen() - Static method in class java.awt.SplashScreen
-
Returns the SplashScreen
object used for
Java startup splash screen control on systems that support display.
- getStartPoint() - Method in class java.awt.LinearGradientPaint
-
Returns a copy of the start point of the gradient axis.
- getState() - Method in class java.awt.Checkbox
-
Determines whether this check box is in the "on" or "off" state.
- getState() - Method in class java.awt.CheckboxMenuItem
-
Determines whether the state of this check box menu item
is "on" or "off."
- getState() - Method in class java.awt.Frame
-
Gets the state of this frame (obsolete).
- getStateChange() - Method in class java.awt.event.ItemEvent
-
Returns the type of state change (selected or deselected).
- getStringBounds(String, FontRenderContext) - Method in class java.awt.Font
-
Returns the logical bounds of the specified String
in
the specified FontRenderContext
.
- getStringBounds(String, int, int, FontRenderContext) - Method in class java.awt.Font
-
Returns the logical bounds of the specified String
in
the specified FontRenderContext
.
- getStringBounds(char[], int, int, FontRenderContext) - Method in class java.awt.Font
-
Returns the logical bounds of the specified array of characters
in the specified FontRenderContext
.
- getStringBounds(CharacterIterator, int, int, FontRenderContext) - Method in class java.awt.Font
-
Returns the logical bounds of the characters indexed in the
specified CharacterIterator
in the
specified FontRenderContext
.
- getStringBounds(String, Graphics) - Method in class java.awt.FontMetrics
-
Returns the bounds of the specified String
in the
specified Graphics
context.
- getStringBounds(String, int, int, Graphics) - Method in class java.awt.FontMetrics
-
Returns the bounds of the specified String
in the
specified Graphics
context.
- getStringBounds(char[], int, int, Graphics) - Method in class java.awt.FontMetrics
-
Returns the bounds of the specified array of characters
in the specified Graphics
context.
- getStringBounds(CharacterIterator, int, int, Graphics) - Method in class java.awt.FontMetrics
-
Returns the bounds of the characters indexed in the specified
CharacterIterator
in the
specified Graphics
context.
- getStroke() - Method in class java.awt.Graphics2D
-
Returns the current Stroke
in the
Graphics2D
context.
- getStyle() - Method in class java.awt.Font
-
Returns the style of this Font
.
- getSystemClipboard() - Method in class java.awt.Toolkit
-
Gets the singleton instance of the system Clipboard which interfaces
with clipboard facilities provided by the native platform.
- getSystemCustomCursor(String) - Static method in class java.awt.Cursor
-
Returns a system-specific custom cursor object matching the
specified name.
- getSystemEventQueue() - Method in class java.awt.Toolkit
-
Get the application's or applet's EventQueue instance.
- getSystemEventQueueImpl() - Method in class java.awt.Toolkit
-
Gets the application's or applet's EventQueue
instance, without checking access.
- getSystemSelection() - Method in class java.awt.Toolkit
-
Gets the singleton instance of the system selection as a
Clipboard
object.
- getSystemTray() - Static method in class java.awt.SystemTray
-
Gets the SystemTray
instance that represents the
desktop's tray area.
- getText() - Method in class java.awt.event.InputMethodEvent
-
Gets the combined committed and composed text.
- getText() - Method in class java.awt.Label
-
Gets the text of this label.
- getText() - Method in class java.awt.TextComponent
-
Returns the text that is presented by this text component.
- getTextListeners() - Method in class java.awt.TextComponent
-
Returns an array of all the text listeners
registered on this text component.
- getThrowable() - Method in class java.awt.event.InvocationEvent
-
Returns any Throwable caught while executing the Runnable's run()
method.
- getTitle() - Method in class java.awt.Dialog
-
Gets the title of the dialog.
- getTitle() - Method in class java.awt.Frame
-
Gets the title of the frame.
- getToolkit() - Method in class java.awt.Component
-
Gets the toolkit of this component.
- getToolkit() - Method in class java.awt.Window
-
Returns the toolkit of this frame.
- getToolTip() - Method in class java.awt.TrayIcon
-
Returns the tooltip string associated with this
TrayIcon
.
- getToPage() - Method in class java.awt.JobAttributes
-
Returns, for jobs using these attributes, the last page (inclusive)
to be printed, if a range of pages is to be printed.
- getTransform() - Method in class java.awt.Font
-
Returns a copy of the transform associated with this
Font
.
- getTransform() - Method in class java.awt.Graphics2D
-
Returns a copy of the current Transform
in the
Graphics2D
context.
- getTransform() - Method in class java.awt.MultipleGradientPaint
-
Returns a copy of the transform applied to the gradient.
- getTransparency() - Method in class java.awt.Color
-
Returns the transparency mode for this Color
.
- getTransparency() - Method in class java.awt.GradientPaint
-
Returns the transparency mode for this GradientPaint
.
- getTransparency() - Method in class java.awt.MultipleGradientPaint
-
Returns the transparency mode for this Paint
object.
- getTransparency() - Method in class java.awt.TexturePaint
-
Returns the transparency mode for this TexturePaint
.
- getTransparency() - Method in interface java.awt.Transparency
-
Returns the type of this Transparency
.
- getTrayIcons() - Method in class java.awt.SystemTray
-
Returns an array of all icons added to the tray by this
application.
- getTrayIconSize() - Method in class java.awt.SystemTray
-
Returns the size, in pixels, of the space that a tray icon will
occupy in the system tray.
- getTreeLock() - Method in class java.awt.Component
-
Gets this component's locking object (the object that owns the thread
synchronization monitor) for AWT component-tree and layout
operations.
- getTreeLock() - Method in class java.awt.MenuComponent
-
Gets this component's locking object (the object that owns the thread
sychronization monitor) for AWT component-tree and layout
operations.
- getType() - Method in class java.awt.Cursor
-
Returns the type for this cursor.
- getType() - Method in class java.awt.GraphicsDevice
-
Returns the type of this GraphicsDevice
.
- getType() - Method in class java.awt.Window
-
Returns the type of the window.
- getUnitIncrement() - Method in interface java.awt.Adjustable
-
Gets the unit value increment for the adjustable object.
- getUnitIncrement() - Method in class java.awt.Scrollbar
-
Gets the unit increment for this scrollbar.
- getUnitIncrement() - Method in class java.awt.ScrollPaneAdjustable
- getUnitsToScroll() - Method in class java.awt.event.MouseWheelEvent
-
This is a convenience method to aid in the implementation of
the common-case MouseWheelListener - to scroll a ScrollPane or
JScrollPane by an amount which conforms to the platform settings.
- getUpdateRect() - Method in class java.awt.event.PaintEvent
-
Returns the rectangle representing the area which needs to be
repainted in response to this event.
- getVAdjustable() - Method in class java.awt.ScrollPane
-
Returns the ScrollPaneAdjustable
object which
represents the state of the vertical scrollbar.
- getValue() - Method in interface java.awt.Adjustable
-
Gets the current value of the adjustable object.
- getValue() - Method in class java.awt.event.AdjustmentEvent
-
Returns the current value in the adjustment event.
- getValue() - Method in class java.awt.Scrollbar
-
Gets the current value of this scroll bar.
- getValue() - Method in class java.awt.ScrollPaneAdjustable
- getValueIsAdjusting() - Method in class java.awt.event.AdjustmentEvent
-
Returns true
if this is one of multiple
adjustment events.
- getValueIsAdjusting() - Method in class java.awt.Scrollbar
-
Returns true if the value is in the process of changing as a
result of actions being taken by the user.
- getValueIsAdjusting() - Method in class java.awt.ScrollPaneAdjustable
-
Returns true if the value is in the process of changing as a
result of actions being taken by the user.
- getVetoableChangeListeners() - Method in class java.awt.KeyboardFocusManager
-
Returns an array of all the vetoable change listeners
registered on this keyboard focus manager.
- getVetoableChangeListeners(String) - Method in class java.awt.KeyboardFocusManager
-
Returns an array of all the VetoableChangeListener
s
associated with the named property.
- getVgap() - Method in class java.awt.BorderLayout
-
Returns the vertical gap between components.
- getVgap() - Method in class java.awt.CardLayout
-
Gets the vertical gap between components.
- getVgap() - Method in class java.awt.FlowLayout
-
Gets the vertical gap between components and
between the components and the borders of the
Container
.
- getVgap() - Method in class java.awt.GridLayout
-
Gets the vertical gap between components.
- getViewportSize() - Method in class java.awt.ScrollPane
-
Returns the current size of the scroll pane's view port.
- getVisible() - Method in class java.awt.Scrollbar
-
Deprecated. As of JDK version 1.1,
replaced by getVisibleAmount()
.
- getVisibleAmount() - Method in interface java.awt.Adjustable
-
Gets the length of the proportional indicator.
- getVisibleAmount() - Method in class java.awt.Scrollbar
-
Gets the visible amount of this scroll bar.
- getVisibleAmount() - Method in class java.awt.ScrollPaneAdjustable
- getVisibleIndex() - Method in class java.awt.List
-
Gets the index of the item that was last made visible by
the method makeVisible
.
- getVisiblePosition() - Method in class java.awt.event.InputMethodEvent
-
Gets the position that's most important to be visible.
- getVScrollbarWidth() - Method in class java.awt.ScrollPane
-
Returns the width that would be occupied by a vertical
scrollbar, which is independent of whether it is currently
displayed by the scroll pane or not.
- getWarningString() - Method in class java.awt.Window
-
Gets the warning string that is displayed with this window.
- getWheelRotation() - Method in class java.awt.event.MouseWheelEvent
-
Returns the number of "clicks" the mouse wheel was rotated, as an integer.
- getWhen() - Method in class java.awt.event.ActionEvent
-
Returns the timestamp of when this event occurred.
- getWhen() - Method in class java.awt.event.InputEvent
-
Returns the difference in milliseconds between the timestamp of when this event occurred and
midnight, January 1, 1970 UTC.
- getWhen() - Method in class java.awt.event.InputMethodEvent
-
Returns the time stamp of when this event occurred.
- getWhen() - Method in class java.awt.event.InvocationEvent
-
Returns the timestamp of when this event occurred.
- getWidth() - Method in class java.awt.Component
-
Returns the current width of this component.
- getWidth() - Method in class java.awt.Dimension
-
Returns the width of this Dimension
in double
precision.
- getWidth() - Method in class java.awt.DisplayMode
-
Returns the width of the display, in pixels.
- getWidth(ImageObserver) - Method in class java.awt.Image
-
Determines the width of the image.
- getWidth() - Method in class java.awt.Rectangle
-
Returns the width of the bounding Rectangle
in
double
precision.
- getWidths() - Method in class java.awt.FontMetrics
-
Gets the advance widths of the first 256 characters in the
Font
.
- getWindow() - Method in class java.awt.event.WindowEvent
-
Returns the originator of the event.
- getWindowFocusListeners() - Method in class java.awt.Window
-
Returns an array of all the window focus listeners
registered on this window.
- getWindowListeners() - Method in class java.awt.Window
-
Returns an array of all the window listeners
registered on this window.
- getWindows() - Static method in class java.awt.Window
-
Returns an array of all Window
s, both owned and ownerless,
created by this application.
- getWindowStateListeners() - Method in class java.awt.Window
-
Returns an array of all the window state listeners
registered on this window.
- getX() - Method in class java.awt.Component
-
Returns the current x coordinate of the components origin.
- getX() - Method in class java.awt.event.MouseEvent
-
Returns the horizontal x position of the event relative to the
source component.
- getX() - Method in class java.awt.Point
-
Returns the X coordinate of this Point2D
in
double
precision.
- getX() - Method in class java.awt.Rectangle
-
Returns the X coordinate of the bounding Rectangle
in
double
precision.
- getXOnScreen() - Method in class java.awt.event.MouseEvent
-
Returns the absolute horizontal x position of the event.
- getY() - Method in class java.awt.Component
-
Returns the current y coordinate of the components origin.
- getY() - Method in class java.awt.event.MouseEvent
-
Returns the vertical y position of the event relative to the
source component.
- getY() - Method in class java.awt.Point
-
Returns the Y coordinate of this Point2D
in
double
precision.
- getY() - Method in class java.awt.Rectangle
-
Returns the Y coordinate of the bounding Rectangle
in
double
precision.
- getYOnScreen() - Method in class java.awt.event.MouseEvent
-
Returns the absolute vertical y position of the event.
- GOT_FOCUS - Static variable in class java.awt.Event
-
A component gained the focus.
- gotFocus(Event, Object) - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
replaced by processFocusEvent(FocusEvent).
- GradientPaint - Class in java.awt
-
The
GradientPaint
class provides a way to fill
a
Shape
with a linear color gradient pattern.
- GradientPaint(float, float, Color, float, float, Color) - Constructor for class java.awt.GradientPaint
-
Constructs a simple acyclic GradientPaint
object.
- GradientPaint(Point2D, Color, Point2D, Color) - Constructor for class java.awt.GradientPaint
-
Constructs a simple acyclic GradientPaint
object.
- GradientPaint(float, float, Color, float, float, Color, boolean) - Constructor for class java.awt.GradientPaint
-
Constructs either a cyclic or acyclic GradientPaint
object depending on the boolean
parameter.
- GradientPaint(Point2D, Color, Point2D, Color, boolean) - Constructor for class java.awt.GradientPaint
-
Constructs either a cyclic or acyclic GradientPaint
object depending on the boolean
parameter.
- Graphics - Class in java.awt
-
The Graphics
class is the abstract base class for
all graphics contexts that allow an application to draw onto
components that are realized on various devices, as well as
onto off-screen images.
- Graphics() - Constructor for class java.awt.Graphics
-
Constructs a new Graphics
object.
- Graphics2D - Class in java.awt
-
This
Graphics2D
class extends the
Graphics
class to provide more sophisticated
control over geometry, coordinate transformations, color management,
and text layout.
- Graphics2D() - Constructor for class java.awt.Graphics2D
-
Constructs a new Graphics2D
object.
- GraphicsConfigTemplate - Class in java.awt
-
- GraphicsConfigTemplate() - Constructor for class java.awt.GraphicsConfigTemplate
-
This class is an abstract class so only subclasses can be
instantiated.
- GraphicsConfiguration - Class in java.awt
-
The GraphicsConfiguration
class describes the
characteristics of a graphics destination such as a printer or monitor.
- GraphicsConfiguration() - Constructor for class java.awt.GraphicsConfiguration
-
This is an abstract class that cannot be instantiated directly.
- GraphicsDevice - Class in java.awt
-
The GraphicsDevice
class describes the graphics devices
that might be available in a particular graphics environment.
- GraphicsDevice() - Constructor for class java.awt.GraphicsDevice
-
This is an abstract class that cannot be instantiated directly.
- GraphicsDevice.WindowTranslucency - Enum in java.awt
-
Kinds of translucency supported by the underlying system.
- GraphicsEnvironment - Class in java.awt
-
The
GraphicsEnvironment
class describes the collection
of
GraphicsDevice
objects and
Font
objects
available to a Java(tm) application on a particular platform.
- GraphicsEnvironment() - Constructor for class java.awt.GraphicsEnvironment
-
This is an abstract class and cannot be instantiated directly.
- gray - Static variable in class java.awt.Color
-
The color gray.
- GRAY - Static variable in class java.awt.Color
-
The color gray.
- green - Static variable in class java.awt.Color
-
The color green.
- GREEN - Static variable in class java.awt.Color
-
The color green.
- GridBagConstraints - Class in java.awt
-
The GridBagConstraints
class specifies constraints
for components that are laid out using the
GridBagLayout
class.
- GridBagConstraints() - Constructor for class java.awt.GridBagConstraints
-
Creates a GridBagConstraint
object with
all of its fields set to their default value.
- GridBagConstraints(int, int, int, int, double, double, int, int, Insets, int, int) - Constructor for class java.awt.GridBagConstraints
-
Creates a GridBagConstraints
object with
all of its fields set to the passed-in arguments.
- GridBagLayout - Class in java.awt
-
The GridBagLayout
class is a flexible layout
manager that aligns components vertically, horizontally or along their
baseline without requiring that the components be of the same size.
- GridBagLayout() - Constructor for class java.awt.GridBagLayout
-
Creates a grid bag layout manager.
- GridBagLayoutInfo - Class in java.awt
-
The GridBagLayoutInfo
is an utility class for
GridBagLayout
layout manager.
- gridheight - Variable in class java.awt.GridBagConstraints
-
Specifies the number of cells in a column for the component's
display area.
- GridLayout - Class in java.awt
-
The GridLayout
class is a layout manager that
lays out a container's components in a rectangular grid.
- GridLayout() - Constructor for class java.awt.GridLayout
-
Creates a grid layout with a default of one column per component,
in a single row.
- GridLayout(int, int) - Constructor for class java.awt.GridLayout
-
Creates a grid layout with the specified number of rows and
columns.
- GridLayout(int, int, int, int) - Constructor for class java.awt.GridLayout
-
Creates a grid layout with the specified number of rows and
columns.
- gridwidth - Variable in class java.awt.GridBagConstraints
-
Specifies the number of cells in a row for the component's
display area.
- gridx - Variable in class java.awt.GridBagConstraints
-
Specifies the cell containing the leading edge of the component's
display area, where the first cell in a row has gridx=0
.
- gridy - Variable in class java.awt.GridBagConstraints
-
Specifies the cell at the top of the component's display area,
where the topmost cell has gridy=0
.
- grow(int, int) - Method in class java.awt.Rectangle
-
Resizes the Rectangle
both horizontally and vertically.