- S_RESIZE_CURSOR - Static variable in class java.awt.Cursor
-
The south-resize cursor type.
- S_RESIZE_CURSOR - Static variable in class java.awt.Frame
-
Deprecated replaced by Cursor.S_RESIZE_CURSOR
.
- SANS_SERIF - Static variable in class java.awt.Font
-
A String constant for the canonical family name of the
logical font "SansSerif".
- save(ObjectOutputStream, String, EventListener) - Static method in class java.awt.AWTEventMulticaster
- SAVE - Static variable in class java.awt.FileDialog
-
This constant value indicates that the purpose of the file
dialog window is to locate a file to which to write.
- SAVE_FILE - Static variable in class java.awt.Event
-
A file saving event.
- saveInternal(ObjectOutputStream, String) - Method in class java.awt.AWTEventMulticaster
- scale(double, double) - Method in class java.awt.Graphics2D
-
Concatenates the current Graphics2D
Transform
with a scaling transformation
Subsequent rendering is resized according to the specified scaling
factors relative to the previous scaling.
- SCALE_AREA_AVERAGING - Static variable in class java.awt.Image
-
Use the Area Averaging image scaling algorithm.
- SCALE_DEFAULT - Static variable in class java.awt.Image
-
Use the default image-scaling algorithm.
- SCALE_FAST - Static variable in class java.awt.Image
-
Choose an image-scaling algorithm that gives higher priority
to scaling speed than smoothness of the scaled image.
- SCALE_REPLICATE - Static variable in class java.awt.Image
-
Use the image scaling algorithm embodied in the
ReplicateScaleFilter
class.
- SCALE_SMOOTH - Static variable in class java.awt.Image
-
Choose an image-scaling algorithm that gives higher priority
to image smoothness than scaling speed.
- SCROLL_ABSOLUTE - Static variable in class java.awt.Event
-
The user has moved the bubble (thumb) in a scroll bar,
moving to an "absolute" position, rather than to
an offset from the last postion.
- SCROLL_BEGIN - Static variable in class java.awt.Event
-
The scroll begin event.
- SCROLL_END - Static variable in class java.awt.Event
-
The scroll end event.
- SCROLL_LINE_DOWN - Static variable in class java.awt.Event
-
The user has activated the line down
area of a scroll bar.
- SCROLL_LINE_UP - Static variable in class java.awt.Event
-
The user has activated the line up
area of a scroll bar.
- SCROLL_LOCK - Static variable in class java.awt.Event
-
The Scroll Lock key, a non-ASCII action key.
- SCROLL_PAGE_DOWN - Static variable in class java.awt.Event
-
The user has activated the page down
area of a scroll bar.
- SCROLL_PAGE_UP - Static variable in class java.awt.Event
-
The user has activated the page up
area of a scroll bar.
- Scrollbar - Class in java.awt
-
The Scrollbar
class embodies a scroll bar, a
familiar user-interface object.
- Scrollbar() - Constructor for class java.awt.Scrollbar
-
Constructs a new vertical scroll bar.
- Scrollbar(int) - Constructor for class java.awt.Scrollbar
-
Constructs a new scroll bar with the specified orientation.
- Scrollbar(int, int, int, int, int) - Constructor for class java.awt.Scrollbar
-
Constructs a new scroll bar with the specified orientation,
initial value, visible amount, and minimum and maximum values.
- SCROLLBAR - Static variable in class java.awt.SystemColor
-
- scrollbar - Static variable in class java.awt.SystemColor
-
The color rendered for the background of scrollbars.
- Scrollbar.AccessibleAWTScrollBar - Class in java.awt
-
This class implements accessibility support for the
Scrollbar
class.
- Scrollbar.AccessibleAWTScrollBar() - Constructor for class java.awt.Scrollbar.AccessibleAWTScrollBar
- SCROLLBARS_ALWAYS - Static variable in class java.awt.ScrollPane
-
Specifies that horizontal/vertical scrollbars should always be
shown regardless of the respective sizes of the scrollpane and child.
- SCROLLBARS_AS_NEEDED - Static variable in class java.awt.ScrollPane
-
Specifies that horizontal/vertical scrollbar should be shown
only when the size of the child exceeds the size of the scrollpane
in the horizontal/vertical dimension.
- SCROLLBARS_BOTH - Static variable in class java.awt.TextArea
-
Create and display both vertical and horizontal scrollbars.
- SCROLLBARS_HORIZONTAL_ONLY - Static variable in class java.awt.TextArea
-
Create and display horizontal scrollbar only.
- SCROLLBARS_NEVER - Static variable in class java.awt.ScrollPane
-
Specifies that horizontal/vertical scrollbars should never be shown
regardless of the respective sizes of the scrollpane and child.
- SCROLLBARS_NONE - Static variable in class java.awt.TextArea
-
Do not create or display any scrollbars for the text area.
- SCROLLBARS_VERTICAL_ONLY - Static variable in class java.awt.TextArea
-
Create and display vertical scrollbar only.
- ScrollPane - Class in java.awt
-
A container class which implements automatic horizontal and/or
vertical scrolling for a single child component.
- ScrollPane() - Constructor for class java.awt.ScrollPane
-
Create a new scrollpane container with a scrollbar display
policy of "as needed".
- ScrollPane(int) - Constructor for class java.awt.ScrollPane
-
Create a new scrollpane container.
- ScrollPane.AccessibleAWTScrollPane - Class in java.awt
-
This class implements accessibility support for the
ScrollPane
class.
- ScrollPane.AccessibleAWTScrollPane() - Constructor for class java.awt.ScrollPane.AccessibleAWTScrollPane
- ScrollPaneAdjustable - Class in java.awt
-
This class represents the state of a horizontal or vertical
scrollbar of a ScrollPane
.
- SE_RESIZE_CURSOR - Static variable in class java.awt.Cursor
-
The south-east-resize cursor type.
- SE_RESIZE_CURSOR - Static variable in class java.awt.Frame
-
Deprecated replaced by Cursor.SE_RESIZE_CURSOR
.
- SecondaryLoop - Interface in java.awt
-
A helper interface to run the nested event loop.
- select(int) - Method in class java.awt.Choice
-
Sets the selected item in this Choice
menu to be the
item at the specified position.
- select(String) - Method in class java.awt.Choice
-
Sets the selected item in this Choice
menu
to be the item whose name is equal to the specified string.
- select(int) - Method in class java.awt.List
-
Selects the item at the specified index in the scrolling list.
- select(int, int) - Method in class java.awt.TextComponent
-
Selects the text between the specified start and end positions.
- selectAll() - Method in class java.awt.TextComponent
-
Selects all the text in this text component.
- selectAllAccessibleSelection() - Method in class java.awt.List.AccessibleAWTList
-
Causes every selected item in the object to be selected
if the object supports multiple selections.
- selectAllAccessibleSelection() - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Causes every child of the object to be selected
if the object supports multiple selections.
- SELECTED - Static variable in class java.awt.event.ItemEvent
-
This state-change value indicates that an item was selected.
- SELECTION - Static variable in class java.awt.JobAttributes.DefaultSelectionType
-
The DefaultSelectionType
instance to use for
specifying that the current selection should be printed.
- SEPARATE_DOCUMENTS_COLLATED_COPIES - Static variable in class java.awt.JobAttributes.MultipleDocumentHandlingType
-
The MultipleDocumentHandlingType
instance to use for specifying
that the job should be divided into separate, collated copies.
- SEPARATE_DOCUMENTS_UNCOLLATED_COPIES - Static variable in class java.awt.JobAttributes.MultipleDocumentHandlingType
-
The MultipleDocumentHandlingType
instance to use for specifying
that the job should be divided into separate, uncollated copies.
- SERIF - Static variable in class java.awt.Font
-
A String constant for the canonical family name of the
logical font "Serif".
- set(int, int, int, int) - Method in class java.awt.Insets
-
Set top, left, bottom, and right to the specified values
- set(JobAttributes) - Method in class java.awt.JobAttributes
-
Sets all of the attributes of this JobAttributes
to
the same values as the attributes of obj.
- set(PageAttributes) - Method in class java.awt.PageAttributes
-
Sets all of the attributes of this PageAttributes to the same values as
the attributes of obj.
- setAccelerationPriority(float) - Method in class java.awt.Image
-
Sets a hint for this image about how important acceleration is.
- setActionCommand(String) - Method in class java.awt.Button
-
Sets the command name for the action event fired
by this button.
- setActionCommand(String) - Method in class java.awt.MenuItem
-
Sets the command name of the action event that is fired
by this menu item.
- setActionCommand(String) - Method in class java.awt.TrayIcon
-
Sets the command name for the action event fired by this tray
icon.
- setAlignment(int) - Method in class java.awt.FlowLayout
-
Sets the alignment for this layout.
- setAlignment(int) - Method in class java.awt.Label
-
Sets the alignment for this label to the specified alignment.
- setAlignOnBaseline(boolean) - Method in class java.awt.FlowLayout
-
Sets whether or not components should be vertically aligned along their
baseline.
- setAlwaysOnTop(boolean) - Method in class java.awt.Window
-
Sets whether this window should always be above other windows.
- setAutoDelay(int) - Method in class java.awt.Robot
-
Sets the number of milliseconds this Robot sleeps after generating an event.
- setAutoRequestFocus(boolean) - Method in class java.awt.Window
-
Sets whether this window should receive focus on
subsequently being shown (with a call to
setVisible(true)
),
or being moved to the front (with a call to
Window.toFront()
).
- setAutoWaitForIdle(boolean) - Method in class java.awt.Robot
-
Sets whether this Robot automatically invokes waitForIdle
after generating an event.
- setBackground(Color) - Method in class java.awt.Component.AccessibleAWTComponent
-
Sets the background color of this object.
- setBackground(Color) - Method in class java.awt.Component
-
Sets the background color of this component.
- setBackground(Color) - Method in class java.awt.Dialog
-
Sets the background color of this window.
- setBackground(Color) - Method in class java.awt.Frame
-
Sets the background color of this window.
- setBackground(Color) - Method in class java.awt.Graphics2D
-
Sets the background color for the Graphics2D
context.
- setBackground(Color) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Set the background color of this object.
- setBackground(Color) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Sets the background color of this object.
- setBackground(Color) - Method in class java.awt.TextComponent
-
Sets the background color of this text component.
- setBackground(Color) - Method in class java.awt.Window
-
Sets the background color of this window.
- setBlockIncrement(int) - Method in interface java.awt.Adjustable
-
Sets the block value increment for the adjustable object.
- setBlockIncrement(int) - Method in class java.awt.Scrollbar
-
Sets the block increment for this scroll bar.
- setBlockIncrement(int) - Method in class java.awt.ScrollPaneAdjustable
- setBounds(Rectangle) - Method in class java.awt.Component.AccessibleAWTComponent
-
Sets the bounds of this object in the form of a
Rectangle
object.
- setBounds(int, int, int, int) - Method in class java.awt.Component
-
Moves and resizes this component.
- setBounds(Rectangle) - Method in class java.awt.Component
-
Moves and resizes this component to conform to the new
bounding rectangle r
.
- setBounds(Rectangle) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Sets the bounds of this object in the form of a Rectangle
object.
- setBounds(Rectangle) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Sets the bounds of this object in the form of a
Rectangle
object.
- setBounds(Rectangle) - Method in class java.awt.Rectangle
-
Sets the bounding Rectangle
of this Rectangle
to match the specified Rectangle
.
- setBounds(int, int, int, int) - Method in class java.awt.Rectangle
-
Sets the bounding Rectangle
of this
Rectangle
to the specified
x
, y
, width
,
and height
.
- setBounds(int, int, int, int) - Method in class java.awt.Window
-
Moves and resizes this component.
- setBounds(Rectangle) - Method in class java.awt.Window
-
Moves and resizes this component to conform to the new
bounding rectangle r
.
- setCaretPosition(int) - Method in class java.awt.TextComponent
-
Sets the position of the text insertion caret.
- setCheckboxGroup(CheckboxGroup) - Method in class java.awt.Checkbox
-
Sets this check box's group to the specified check box group.
- setClip(int, int, int, int) - Method in class java.awt.Graphics
-
Sets the current clip to the rectangle specified by the given
coordinates.
- setClip(Shape) - Method in class java.awt.Graphics
-
Sets the current clipping area to an arbitrary clip shape.
- setColor(Color) - Method in class java.awt.Graphics
-
Sets this graphics context's current color to the specified
color.
- setColor(PageAttributes.ColorType) - Method in class java.awt.PageAttributes
-
Specifies whether pages using these attributes will be rendered in
color or monochrome.
- setColumns(int) - Method in class java.awt.GridLayout
-
Sets the number of columns in this layout to the specified value.
- setColumns(int) - Method in class java.awt.TextArea
-
Sets the number of columns for this text area.
- setColumns(int) - Method in class java.awt.TextField
-
Sets the number of columns in this text field.
- setComponentOrientation(ComponentOrientation) - Method in class java.awt.Component
-
Sets the language-sensitive orientation that is to be used to order
the elements or text within this component.
- setComponentZOrder(Component, int) - Method in class java.awt.Container
-
Moves the specified component to the specified z-order index in
the container.
- setComposite(Composite) - Method in class java.awt.Graphics2D
-
Sets the Composite
for the Graphics2D
context.
- setConstraints(Component, GridBagConstraints) - Method in class java.awt.GridBagLayout
-
Sets the constraints for the specified component in this layout.
- setCopies(int) - Method in class java.awt.JobAttributes
-
Specifies the number of copies the application should render for jobs
using these attributes.
- setCopiesToDefault() - Method in class java.awt.JobAttributes
-
Sets the number of copies the application should render for jobs using
these attributes to the default.
- setCurrent(Checkbox) - Method in class java.awt.CheckboxGroup
-
Deprecated. As of JDK version 1.1,
replaced by setSelectedCheckbox(Checkbox)
.
- setCurrentAccessibleValue(Number) - Method in class java.awt.Button.AccessibleAWTButton
-
Set the value of this object as a Number.
- setCurrentAccessibleValue(Number) - Method in class java.awt.Checkbox.AccessibleAWTCheckbox
-
Set the value of this object as a Number.
- setCurrentAccessibleValue(Number) - Method in class java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem
-
Set the value of this object as a Number.
- setCurrentAccessibleValue(Number) - Method in class java.awt.MenuItem.AccessibleAWTMenuItem
-
Set the value of this object as a Number.
- setCurrentAccessibleValue(Number) - Method in class java.awt.Scrollbar.AccessibleAWTScrollBar
-
Set the value of this object as a Number.
- setCurrentKeyboardFocusManager(KeyboardFocusManager) - Static method in class java.awt.KeyboardFocusManager
-
Sets the current KeyboardFocusManager instance for the calling thread's
context.
- setCursor(Cursor) - Method in class java.awt.Component.AccessibleAWTComponent
-
Sets the Cursor
of this object.
- setCursor(Cursor) - Method in class java.awt.Component
-
Sets the cursor image to the specified cursor.
- setCursor(int) - Method in class java.awt.Frame
-
Deprecated. As of JDK version 1.1,
replaced by Component.setCursor(Cursor)
.
- setCursor(Cursor) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Set the Cursor of this object.
- setCursor(Cursor) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Sets the Cursor
of this object.
- setCursor(Cursor) - Method in class java.awt.Window
-
Set the cursor image to a specified cursor.
- setDefaultFocusTraversalKeys(int, Set<? extends AWTKeyStroke>) - Method in class java.awt.KeyboardFocusManager
-
Sets the default focus traversal keys for a given traversal operation.
- setDefaultFocusTraversalPolicy(FocusTraversalPolicy) - Method in class java.awt.KeyboardFocusManager
-
Sets the default FocusTraversalPolicy.
- setDefaultSelection(JobAttributes.DefaultSelectionType) - 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.
- setDesktopProperty(String, Object) - Method in class java.awt.Toolkit
-
Sets the named desktop property to the specified value and fires a
property change event to notify any listeners that the value has changed.
- setDestination(JobAttributes.DestinationType) - Method in class java.awt.JobAttributes
-
Specifies whether output will be to a printer or a file for jobs using
these attributes.
- setDialog(JobAttributes.DialogType) - Method in class java.awt.JobAttributes
-
Specifies 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.
- setDirectory(String) - Method in class java.awt.FileDialog
-
Sets the directory of this file dialog window to be the
specified directory.
- setDisplayMode(DisplayMode) - Method in class java.awt.GraphicsDevice
-
Sets the display mode of this graphics device.
- setDropTarget(DropTarget) - Method in class java.awt.Component
-
Associate a DropTarget
with this component.
- setDynamicLayout(boolean) - Method in class java.awt.Toolkit
-
Controls whether the layout of Containers is validated dynamically
during resizing, or statically, after resizing is complete.
- setEchoChar(char) - Method in class java.awt.TextField
-
Sets the echo character for this text field.
- setEchoCharacter(char) - Method in class java.awt.TextField
-
Deprecated. As of JDK version 1.1,
replaced by setEchoChar(char)
.
- setEditable(boolean) - Method in class java.awt.TextComponent
-
Sets the flag that determines whether or not this
text component is editable.
- setEnabled(boolean) - Method in class java.awt.Component.AccessibleAWTComponent
-
Sets the enabled state of the object.
- setEnabled(boolean) - Method in class java.awt.Component
-
Enables or disables this component, depending on the value of the
parameter b
.
- setEnabled(boolean) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Set the enabled state of the object.
- setEnabled(boolean) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Sets the enabled state of the object.
- setEnabled(boolean) - Method in class java.awt.MenuItem
-
Sets whether or not this menu item can be chosen.
- setExtendedState(int) - Method in class java.awt.Frame
-
Sets the state of this frame.
- setFile(String) - Method in class java.awt.FileDialog
-
Sets the selected file for this file dialog window to be the
specified file.
- setFileName(String) - Method in class java.awt.JobAttributes
-
Specifies the file name for the output file for jobs using these
attributes.
- setFilenameFilter(FilenameFilter) - Method in class java.awt.FileDialog
-
Sets the filename filter for this file dialog window to the
specified filter.
- setFocusable(boolean) - Method in class java.awt.Component
-
Sets the focusable state of this Component to the specified value.
- setFocusableWindowState(boolean) - Method in class java.awt.Window
-
Sets whether this Window can become the focused Window if it meets
the other requirements outlined in isFocusableWindow
.
- setFocusCycleRoot(boolean) - Method in class java.awt.Container
-
Sets whether this Container is the root of a focus traversal cycle.
- setFocusCycleRoot(boolean) - Method in class java.awt.Window
-
Does nothing because Windows must always be roots of a focus traversal
cycle.
- setFocusTraversalKeys(int, Set<? extends AWTKeyStroke>) - Method in class java.awt.Component
-
Sets the focus traversal keys for a given traversal operation for this
Component.
- setFocusTraversalKeys(int, Set<? extends AWTKeyStroke>) - Method in class java.awt.Container
-
Sets the focus traversal keys for a given traversal operation for this
Container.
- setFocusTraversalKeysEnabled(boolean) - Method in class java.awt.Component
-
Sets whether focus traversal keys are enabled for this Component.
- setFocusTraversalPolicy(FocusTraversalPolicy) - Method in class java.awt.Container
-
Sets the focus traversal policy that will manage keyboard traversal of
this Container's children, if this Container is a focus cycle root.
- setFocusTraversalPolicyProvider(boolean) - Method in class java.awt.Container
-
Sets whether this container will be used to provide focus
traversal policy.
- setFont(Font) - Method in class java.awt.Component.AccessibleAWTComponent
-
Sets the Font
of this object.
- setFont(Font) - Method in class java.awt.Component
-
Sets the font of this component.
- setFont(Font) - Method in class java.awt.Container
-
Sets the font of this container.
- setFont(Font) - Method in class java.awt.Graphics
-
Sets this graphics context's font to the specified font.
- setFont(Font) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Set the Font of this object.
- setFont(Font) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Sets the Font
of this object.
- setFont(Font) - Method in class java.awt.MenuComponent
-
Sets the font to be used for this menu component to the specified
font.
- setForeground(Color) - Method in class java.awt.Component.AccessibleAWTComponent
-
Sets the foreground color of this object.
- setForeground(Color) - Method in class java.awt.Component
-
Sets the foreground color of this component.
- setForeground(Color) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Set the foreground color of this object.
- setForeground(Color) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Sets the foreground color of this object.
- setFromPage(int) - Method in class java.awt.JobAttributes
-
Specifies, for jobs using these attributes, the first page to be
printed, if a range of pages is to be printed.
- setFullScreenWindow(Window) - Method in class java.awt.GraphicsDevice
-
Enter full-screen mode, or return to windowed mode.
- setGlobalActiveWindow(Window) - Method in class java.awt.KeyboardFocusManager
-
Sets the active Window.
- setGlobalCurrentFocusCycleRoot(Container) - Method in class java.awt.KeyboardFocusManager
-
Sets the current focus cycle root.
- setGlobalFocusedWindow(Window) - Method in class java.awt.KeyboardFocusManager
-
Sets the focused Window.
- setGlobalFocusOwner(Component) - Method in class java.awt.KeyboardFocusManager
-
Sets the focus owner.
- setGlobalPermanentFocusOwner(Component) - Method in class java.awt.KeyboardFocusManager
-
Sets the permanent focus owner.
- setHelpMenu(Menu) - Method in class java.awt.MenuBar
-
Sets the specified menu to be this menu bar's help menu.
- setHgap(int) - Method in class java.awt.BorderLayout
-
Sets the horizontal gap between components.
- setHgap(int) - Method in class java.awt.CardLayout
-
Sets the horizontal gap between components.
- setHgap(int) - Method in class java.awt.FlowLayout
-
Sets the horizontal gap between components and
between the components and the borders of the
Container
.
- setHgap(int) - Method in class java.awt.GridLayout
-
Sets the horizontal gap between components to the specified value.
- setIconImage(Image) - Method in class java.awt.Frame
-
Sets the image to be displayed as the icon for this window.
- setIconImage(Image) - Method in class java.awt.Window
-
Sets the image to be displayed as the icon for this window.
- setIconImages(List<? extends Image>) - Method in class java.awt.Window
-
Sets the sequence of images to be displayed as the icon
for this window.
- setIgnoreRepaint(boolean) - Method in class java.awt.Component
-
Sets whether or not paint messages received from the operating system
should be ignored.
- setImage(Image) - Method in class java.awt.TrayIcon
-
Sets the image for this TrayIcon
.
- setImageAutoSize(boolean) - Method in class java.awt.TrayIcon
-
Sets the auto-size property.
- setImageURL(URL) - Method in class java.awt.SplashScreen
-
Changes the splash screen image.
- setImplicitDownCycleTraversal(boolean) - Method in class java.awt.ContainerOrderFocusTraversalPolicy
-
Sets whether this ContainerOrderFocusTraversalPolicy transfers focus
down-cycle implicitly.
- setKeyChar(char) - Method in class java.awt.event.KeyEvent
-
Set the keyChar value to indicate a logical character.
- setKeyCode(int) - Method in class java.awt.event.KeyEvent
-
Set the keyCode value to indicate a physical key.
- setLabel(String) - Method in class java.awt.Button
-
Sets the button's label to be the specified string.
- setLabel(String) - Method in class java.awt.Checkbox
-
Sets this check box's label to be the string argument.
- setLabel(String) - Method in class java.awt.MenuItem
-
Sets the label for this menu item to the specified label.
- setLayout(LayoutManager) - Method in class java.awt.Container
-
Sets the layout manager for this container.
- setLayout(LayoutManager) - Method in class java.awt.ScrollPane
-
Sets the layout manager for this container.
- setLineIncrement(int) - Method in class java.awt.Scrollbar
-
Deprecated. As of JDK version 1.1,
replaced by setUnitIncrement(int)
.
- setLocale(Locale) - Method in class java.awt.Component
-
Sets the locale of this component.
- setLocation(Point) - Method in class java.awt.Component.AccessibleAWTComponent
-
Sets the location of the object relative to the parent.
- setLocation(int, int) - Method in class java.awt.Component
-
Moves this component to a new location.
- setLocation(Point) - Method in class java.awt.Component
-
Moves this component to a new location.
- setLocation(Point) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Sets the location of the object relative to the parent.
- setLocation(Point) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Sets the location of the object relative to the parent.
- setLocation(Point) - Method in class java.awt.Point
-
Sets the location of the point to the specified location.
- setLocation(int, int) - Method in class java.awt.Point
-
Changes the point to have the specified location.
- setLocation(double, double) - Method in class java.awt.Point
-
Sets the location of this point to the specified double coordinates.
- setLocation(Point) - Method in class java.awt.Rectangle
-
Moves this Rectangle
to the specified location.
- setLocation(int, int) - Method in class java.awt.Rectangle
-
Moves this Rectangle
to the specified location.
- setLocation(int, int) - Method in class java.awt.Window
-
Moves this component to a new location.
- setLocation(Point) - Method in class java.awt.Window
-
Moves this component to a new location.
- setLocationByPlatform(boolean) - Method in class java.awt.Window
-
Sets whether this Window should appear at the default location for the
native windowing system or at the current location (returned by
getLocation
) the next time the Window is made visible.
- setLocationRelativeTo(Component) - Method in class java.awt.Window
-
Sets the location of the window relative to the specified
component according to the following scenarios.
- setLockingKeyState(int, boolean) - Method in class java.awt.Toolkit
-
Sets the state of the given locking key on the keyboard.
- setMaximizedBounds(Rectangle) - Method in class java.awt.Frame
-
Sets the maximized bounds for this frame.
- setMaximum(int) - Method in interface java.awt.Adjustable
-
Sets the maximum value of the adjustable object.
- setMaximum(int) - Method in class java.awt.Scrollbar
-
Sets the maximum value of this scroll bar.
- setMaximum(int) - Method in class java.awt.ScrollPaneAdjustable
-
This method should NOT be called by user code.
- setMaximumSize(Dimension) - Method in class java.awt.Component
-
Sets the maximum size of this component to a constant
value.
- setMaxPage(int) - 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.
- setMedia(PageAttributes.MediaType) - Method in class java.awt.PageAttributes
-
Specifies the desired paper size for pages using these attributes.
- setMediaToDefault() - Method in class java.awt.PageAttributes
-
Sets the paper size for pages using these attributes to the default
size for the default locale.
- setMenuBar(MenuBar) - Method in class java.awt.Frame
-
Sets the menu bar for this frame to the specified menu bar.
- setMinimum(int) - Method in interface java.awt.Adjustable
-
Sets the minimum value of the adjustable object.
- setMinimum(int) - Method in class java.awt.Scrollbar
-
Sets the minimum value of this scroll bar.
- setMinimum(int) - Method in class java.awt.ScrollPaneAdjustable
-
This method should NOT be called by user code.
- setMinimumSize(Dimension) - Method in class java.awt.Component
-
Sets the minimum size of this component to a constant
value.
- setMinimumSize(Dimension) - Method in class java.awt.Window
-
Sets the minimum size of this window to a constant
value.
- setMinPage(int) - 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.
- setModal(boolean) - Method in class java.awt.Dialog
-
Specifies whether this dialog should be modal.
- setModalExclusionType(Dialog.ModalExclusionType) - Method in class java.awt.Window
-
Specifies the modal exclusion type for this window.
- setModalityType(Dialog.ModalityType) - Method in class java.awt.Dialog
-
Sets the modality type for this dialog.
- setMode(int) - Method in class java.awt.FileDialog
-
Sets the mode of the file dialog.
- setModifiers(int) - Method in class java.awt.event.KeyEvent
-
Deprecated as of JDK1.1.4
- setMultipleDocumentHandling(JobAttributes.MultipleDocumentHandlingType) - Method in class java.awt.JobAttributes
-
Specifies the handling of multiple copies, including collation, for
jobs using these attributes.
- setMultipleDocumentHandlingToDefault() - Method in class java.awt.JobAttributes
-
Sets the handling of multiple copies, including collation, for jobs
using these attributes to the default.
- setMultipleMode(boolean) - Method in class java.awt.FileDialog
-
Enables or disables multiple file selection for the file dialog.
- setMultipleMode(boolean) - Method in class java.awt.List
-
Sets the flag that determines whether this list
allows multiple selections.
- setMultipleSelections(boolean) - Method in class java.awt.List
-
Deprecated. As of JDK version 1.1,
replaced by setMultipleMode(boolean)
.
- setName(String) - Method in class java.awt.Component
-
Sets the name of the component to the specified string.
- setName(String) - Method in class java.awt.MenuComponent
-
Sets the name of the component to the specified string.
- setOpacity(float) - Method in class java.awt.Dialog
-
Sets the opacity of the window.
- setOpacity(float) - Method in class java.awt.Frame
-
Sets the opacity of the window.
- setOpacity(float) - Method in class java.awt.Window
-
Sets the opacity of the window.
- setOrientation(int) - Method in class java.awt.Scrollbar
-
Sets the orientation for this scroll bar.
- setOrientationRequested(PageAttributes.OrientationRequestedType) - Method in class java.awt.PageAttributes
-
Specifies the print orientation for pages using these attributes.
- setOrientationRequested(int) - Method in class java.awt.PageAttributes
-
Specifies the print orientation for pages using these attributes.
- setOrientationRequestedToDefault() - Method in class java.awt.PageAttributes
-
Sets the print orientation for pages using these attributes to the
default.
- setOrigin(PageAttributes.OriginType) - Method in class java.awt.PageAttributes
-
Specifies 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.
- setPageIncrement(int) - Method in class java.awt.Scrollbar
-
Deprecated. As of JDK version 1.1,
replaced by setBlockIncrement()
.
- setPageRanges(int[][]) - 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.
- setPaint(Paint) - Method in class java.awt.Graphics2D
-
Sets the Paint
attribute for the
Graphics2D
context.
- setPaintMode() - Method in class java.awt.Graphics
-
Sets the paint mode of this graphics context to overwrite the
destination with this graphics context's current color.
- setPopupMenu(PopupMenu) - Method in class java.awt.TrayIcon
-
Sets the popup menu for this TrayIcon
.
- setPreferredSize(Dimension) - Method in class java.awt.Component
-
Sets the preferred size of this component to a constant
value.
- setPrinter(String) - Method in class java.awt.JobAttributes
-
Specifies the destination printer for jobs using these attributes.
- setPrinterResolution(int[]) - Method in class java.awt.PageAttributes
-
Specifies the desired print resolution for pages using these attributes.
- setPrinterResolution(int) - Method in class java.awt.PageAttributes
-
Specifies the desired cross feed and feed print resolutions in dots per
inch for pages using these attributes.
- setPrinterResolutionToDefault() - Method in class java.awt.PageAttributes
-
Sets the printer resolution for pages using these attributes to the
default.
- setPrintQuality(PageAttributes.PrintQualityType) - Method in class java.awt.PageAttributes
-
Specifies the print quality for pages using these attributes.
- setPrintQuality(int) - Method in class java.awt.PageAttributes
-
Specifies the print quality for pages using these attributes.
- setPrintQualityToDefault() - Method in class java.awt.PageAttributes
-
Sets the print quality for pages using these attributes to the default.
- setRect(double, double, double, double) - Method in class java.awt.Rectangle
-
Sets the bounds of this Rectangle
to the integer bounds
which encompass the specified x
, y
, width
,
and height
.
- setRenderingHint(RenderingHints.Key, Object) - Method in class java.awt.Graphics2D
-
Sets the value of a single preference for the rendering algorithms.
- setRenderingHints(Map<?, ?>) - Method in class java.awt.Graphics2D
-
Replaces the values of all preferences for the rendering
algorithms with the specified hints
.
- setResizable(boolean) - Method in class java.awt.Dialog
-
Sets whether this dialog is resizable by the user.
- setResizable(boolean) - Method in class java.awt.Frame
-
Sets whether this frame is resizable by the user.
- setRows(int) - Method in class java.awt.GridLayout
-
Sets the number of rows in this layout to the specified value.
- setRows(int) - Method in class java.awt.TextArea
-
Sets the number of rows for this text area.
- setScrollPosition(int, int) - Method in class java.awt.ScrollPane
-
Scrolls to the specified position within the child component.
- setScrollPosition(Point) - Method in class java.awt.ScrollPane
-
Scrolls to the specified position within the child component.
- setSelectedCheckbox(Checkbox) - Method in class java.awt.CheckboxGroup
-
Sets the currently selected check box in this group
to be the specified check box.
- setSelectionEnd(int) - Method in class java.awt.TextComponent
-
Sets the selection end for this text component to
the specified position.
- setSelectionStart(int) - Method in class java.awt.TextComponent
-
Sets the selection start for this text component to
the specified position.
- setShape(Shape) - Method in class java.awt.Dialog
-
Sets the shape of the window.
- setShape(Shape) - Method in class java.awt.Frame
-
Sets the shape of the window.
- setShape(Shape) - Method in class java.awt.Window
-
Sets the shape of the window.
- setShortcut(MenuShortcut) - Method in class java.awt.MenuItem
-
Set the MenuShortcut
object associated with this
menu item.
- setSides(JobAttributes.SidesType) - Method in class java.awt.JobAttributes
-
Specifies how consecutive pages should be imposed upon the sides of the
print medium for jobs using these attributes.
- setSidesToDefault() - Method in class java.awt.JobAttributes
-
Sets how consecutive pages should be imposed upon the sides of the
print medium for jobs using these attributes to the default.
- setSize(Dimension) - Method in class java.awt.Component.AccessibleAWTComponent
-
Resizes this object so that it has width and height.
- setSize(int, int) - Method in class java.awt.Component
-
Resizes this component so that it has width width
and height height
.
- setSize(Dimension) - Method in class java.awt.Component
-
Resizes this component so that it has width d.width
and height d.height
.
- setSize(double, double) - Method in class java.awt.Dimension
-
Sets the size of this Dimension
object to
the specified width and height in double precision.
- setSize(Dimension) - Method in class java.awt.Dimension
-
Sets the size of this Dimension
object to the specified size.
- setSize(int, int) - Method in class java.awt.Dimension
-
Sets the size of this Dimension
object
to the specified width and height.
- setSize(Dimension) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Resizes this object so that it has width and height.
- setSize(Dimension) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Resizes this object.
- setSize(Dimension) - Method in class java.awt.Rectangle
-
Sets the size of this Rectangle
to match the
specified Dimension
.
- setSize(int, int) - Method in class java.awt.Rectangle
-
Sets the size of this Rectangle
to the specified
width and height.
- setSize(Dimension) - Method in class java.awt.Window
-
Resizes this component so that it has width d.width
and height d.height
.
- setSize(int, int) - Method in class java.awt.Window
-
Resizes this component so that it has width width
and height height
.
- setSource(Object) - Method in class java.awt.AWTEvent
-
Retargets an event to a new source.
- setState(boolean) - Method in class java.awt.Checkbox
-
Sets the state of this check box to the specified state.
- setState(boolean) - Method in class java.awt.CheckboxMenuItem
-
Sets this check box menu item to the specifed state.
- setState(int) - Method in class java.awt.Frame
-
Sets the state of this frame (obsolete).
- setStroke(Stroke) - Method in class java.awt.Graphics2D
-
Sets the Stroke
for the Graphics2D
context.
- setText(String) - Method in class java.awt.Label
-
Sets the text for this label to the specified text.
- setText(String) - Method in class java.awt.TextComponent
-
Sets the text that is presented by this
text component to be the specified text.
- setText(String) - Method in class java.awt.TextField
-
Sets the text that is presented by this
text component to be the specified text.
- setTitle(String) - Method in class java.awt.Dialog
-
Sets the title of the Dialog.
- setTitle(String) - Method in class java.awt.Frame
-
Sets the title for this frame to the specified string.
- setToolTip(String) - Method in class java.awt.TrayIcon
-
Sets the tooltip string for this TrayIcon
.
- setToPage(int) - Method in class java.awt.JobAttributes
-
Specifies, for jobs using these attributes, the last page (inclusive)
to be printed, if a range of pages is to be printed.
- setTransform(AffineTransform) - Method in class java.awt.Graphics2D
-
Overwrites the Transform in the Graphics2D
context.
- setType(Window.Type) - Method in class java.awt.Window
-
Sets the type of the window.
- setUndecorated(boolean) - Method in class java.awt.Dialog
-
Disables or enables decorations for this dialog.
- setUndecorated(boolean) - Method in class java.awt.Frame
-
Disables or enables decorations for this frame.
- setUnitIncrement(int) - Method in interface java.awt.Adjustable
-
Sets the unit value increment for the adjustable object.
- setUnitIncrement(int) - Method in class java.awt.Scrollbar
-
Sets the unit increment for this scroll bar.
- setUnitIncrement(int) - Method in class java.awt.ScrollPaneAdjustable
- setUpdateRect(Rectangle) - Method in class java.awt.event.PaintEvent
-
Sets the rectangle representing the area which needs to be
repainted in response to this event.
- setValue(int) - Method in interface java.awt.Adjustable
-
Sets the current value of the adjustable object.
- setValue(int) - Method in class java.awt.Scrollbar
-
Sets the value of this scroll bar to the specified value.
- setValue(int) - Method in class java.awt.ScrollPaneAdjustable
-
Sets the value of this scrollbar to the specified value.
- setValueIsAdjusting(boolean) - Method in class java.awt.Scrollbar
-
Sets the valueIsAdjusting
property.
- setValueIsAdjusting(boolean) - Method in class java.awt.ScrollPaneAdjustable
-
Sets the valueIsAdjusting
property.
- setValues(int, int, int, int) - Method in class java.awt.Scrollbar
-
Sets the values of four properties for this scroll bar:
value
, visibleAmount
,
minimum
, and maximum
.
- setVgap(int) - Method in class java.awt.BorderLayout
-
Sets the vertical gap between components.
- setVgap(int) - Method in class java.awt.CardLayout
-
Sets the vertical gap between components.
- setVgap(int) - Method in class java.awt.FlowLayout
-
Sets the vertical gap between components and between
the components and the borders of the Container
.
- setVgap(int) - Method in class java.awt.GridLayout
-
Sets the vertical gap between components to the specified value.
- setVisible(boolean) - Method in class java.awt.Component.AccessibleAWTComponent
-
Sets the visible state of the object.
- setVisible(boolean) - Method in class java.awt.Component
-
Shows or hides this component depending on the value of parameter
b
.
- setVisible(boolean) - Method in class java.awt.Dialog
-
Shows or hides this Dialog
depending on the value of parameter
b
.
- setVisible(boolean) - Method in class java.awt.List.AccessibleAWTList.AccessibleAWTListChild
-
Set the visible state of the object.
- setVisible(boolean) - Method in class java.awt.MenuComponent.AccessibleAWTMenuComponent
-
Sets the visible state of the object.
- setVisible(boolean) - Method in class java.awt.Window
-
Shows or hides this Window
depending on the value of parameter
b
.
- setVisibleAmount(int) - Method in interface java.awt.Adjustable
-
Sets the length of the proportional indicator of the
adjustable object.
- setVisibleAmount(int) - Method in class java.awt.Scrollbar
-
Sets the visible amount of this scroll bar.
- setVisibleAmount(int) - Method in class java.awt.ScrollPaneAdjustable
-
This method should NOT be called by user code.
- setWheelScrollingEnabled(boolean) - Method in class java.awt.ScrollPane
-
Enables/disables scrolling in response to movement of the mouse wheel.
- setXORMode(Color) - Method in class java.awt.Graphics
-
Sets the paint mode of this graphics context to alternate between
this graphics context's current color and the new specified color.
- Shape - Interface in java.awt
-
The Shape
interface provides definitions for objects
that represent some form of geometric shape.
- shear(double, double) - Method in class java.awt.Graphics2D
-
Concatenates the current Graphics2D
Transform
with a shearing transform.
- SHIFT_DOWN_MASK - Static variable in class java.awt.event.InputEvent
-
The Shift key extended modifier constant.
- SHIFT_MASK - Static variable in class java.awt.event.ActionEvent
-
The shift modifier.
- SHIFT_MASK - Static variable in class java.awt.event.InputEvent
-
The Shift key modifier constant.
- SHIFT_MASK - Static variable in class java.awt.Event
-
This flag indicates that the Shift key was down when the event
occurred.
- shiftDown() - Method in class java.awt.Event
-
NOTE: The Event
class is obsolete and is
available only for backwards compatilibility.
- shortcuts() - Method in class java.awt.MenuBar
-
Gets an enumeration of all menu shortcuts this menu bar
is managing.
- show(Container, String) - Method in class java.awt.CardLayout
-
Flips to the component that was added to this layout with the
specified name
, using addLayoutComponent
.
- show() - Method in class java.awt.Component.BltBufferStrategy
-
Makes the next available buffer visible.
- show() - Method in class java.awt.Component.FlipBufferStrategy
-
Makes the next available buffer visible by either blitting or
flipping.
- show() - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
replaced by setVisible(boolean)
.
- show(boolean) - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
replaced by setVisible(boolean)
.
- show() - Method in class java.awt.Dialog
-
- show(Component, int, int) - Method in class java.awt.PopupMenu
-
Shows the popup menu at the x, y position relative to an origin
component.
- show() - Method in class java.awt.Window
-
- SHOWING_CHANGED - Static variable in class java.awt.event.HierarchyEvent
-
A change flag indicates that the HIERARCHY_CHANGED
event
was generated due to the changing of the hierarchy showing state.
- size() - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
replaced by getSize()
.
- size - Variable in class java.awt.Font
-
The point size of this Font
, rounded to integer.
- size() - Method in class java.awt.RenderingHints
-
Returns the number of key-value mappings in this
RenderingHints
.
- SOUTH - Static variable in class java.awt.BorderLayout
-
The south layout constraint (bottom of container).
- SOUTH - Static variable in class java.awt.GridBagConstraints
-
Put the component at the bottom of its display area, centered
horizontally.
- SOUTHEAST - Static variable in class java.awt.GridBagConstraints
-
Put the component at the bottom-right corner of its display area.
- SOUTHWEST - Static variable in class java.awt.GridBagConstraints
-
Put the component at the bottom-left corner of its display area.
- SplashScreen - Class in java.awt
-
The splash screen can be displayed at application startup, before the
Java Virtual Machine (JVM) starts.
- SRC - Static variable in class java.awt.AlphaComposite
-
The source is copied to the destination
(Porter-Duff Source rule).
- Src - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque SRC rule
with an alpha of 1.0f.
- SRC_ATOP - Static variable in class java.awt.AlphaComposite
-
The part of the source lying inside of the destination
is composited onto the destination
(Porter-Duff Source Atop Destination rule).
- SRC_IN - Static variable in class java.awt.AlphaComposite
-
The part of the source lying inside of the destination replaces
the destination
(Porter-Duff Source In Destination rule).
- SRC_OUT - Static variable in class java.awt.AlphaComposite
-
The part of the source lying outside of the destination
replaces the destination
(Porter-Duff Source Held Out By Destination rule).
- SRC_OVER - Static variable in class java.awt.AlphaComposite
-
The source is composited over the destination
(Porter-Duff Source Over Destination rule).
- SrcAtop - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque SRC_ATOP rule
with an alpha of 1.0f.
- SrcIn - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque SRC_IN rule
with an alpha of 1.0f.
- SrcOut - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque SRC_OUT rule
with an alpha of 1.0f.
- SrcOver - Static variable in class java.awt.AlphaComposite
-
AlphaComposite
object that implements the opaque SRC_OVER rule
with an alpha of 1.0f.
- STATEMENT - Static variable in class java.awt.PageAttributes.MediaType
-
An alias for INVOICE.
- statusAll(boolean) - Method in class java.awt.MediaTracker
-
Calculates and returns the bitwise inclusive OR of the
status of all media that are tracked by this media tracker.
- statusID(int, boolean) - Method in class java.awt.MediaTracker
-
Calculates and returns the bitwise inclusive OR of the
status of all media with the specified identifier that are
tracked by this media tracker.
- stringWidth(String) - Method in class java.awt.FontMetrics
-
Returns the total advance width for showing the specified
String
in this Font
.
- Stroke - Interface in java.awt
-
The
Stroke
interface allows a
Graphics2D
object to obtain a
Shape
that is the
decorated outline, or stylistic representation of the outline,
of the specified
Shape
.
- style - Variable in class java.awt.Font
-
The style of this Font
, as passed to the constructor.
- SW_RESIZE_CURSOR - Static variable in class java.awt.Cursor
-
The south-west-resize cursor type.
- SW_RESIZE_CURSOR - Static variable in class java.awt.Frame
-
Deprecated replaced by Cursor.SW_RESIZE_CURSOR
.
- sync() - Method in class java.awt.Toolkit
-
Synchronizes this toolkit's graphics state.
- SystemColor - Class in java.awt
-
A class to encapsulate symbolic colors representing the color of
native GUI objects on a system.
- SystemTray - Class in java.awt
-
The SystemTray
class represents the system tray for a
desktop.