boolean |
Toolkit.areExtraMouseButtonsEnabled()
Reports whether events from extra mouse buttons are allowed to be processed and posted into
EventQueue .
|
protected abstract java.awt.peer.ButtonPeer |
Toolkit.createButton(Button target)
Creates this toolkit's implementation of Button using
the specified peer interface.
|
protected abstract java.awt.peer.CheckboxPeer |
Toolkit.createCheckbox(Checkbox target)
Creates this toolkit's implementation of Checkbox using
the specified peer interface.
|
protected abstract java.awt.peer.CheckboxMenuItemPeer |
Toolkit.createCheckboxMenuItem(CheckboxMenuItem target)
Creates this toolkit's implementation of CheckboxMenuItem using
the specified peer interface.
|
protected abstract java.awt.peer.ChoicePeer |
Toolkit.createChoice(Choice target)
Creates this toolkit's implementation of Choice using
the specified peer interface.
|
Cursor |
Toolkit.createCustomCursor(Image cursor,
Point hotSpot,
java.lang.String name)
Creates a new custom cursor object.
|
protected abstract java.awt.peer.DesktopPeer |
Toolkit.createDesktopPeer(Desktop target)
Creates this toolkit's implementation of the Desktop
using the specified peer interface.
|
protected abstract java.awt.peer.DialogPeer |
Toolkit.createDialog(Dialog target)
Creates this toolkit's implementation of Dialog using
the specified peer interface.
|
protected abstract java.awt.peer.FileDialogPeer |
Toolkit.createFileDialog(FileDialog target)
Creates this toolkit's implementation of FileDialog using
the specified peer interface.
|
protected abstract java.awt.peer.FramePeer |
Toolkit.createFrame(Frame target)
Creates this toolkit's implementation of Frame using
the specified peer interface.
|
protected abstract java.awt.peer.LabelPeer |
Toolkit.createLabel(Label target)
Creates this toolkit's implementation of Label using
the specified peer interface.
|
protected abstract java.awt.peer.ListPeer |
Toolkit.createList(List target)
Creates this toolkit's implementation of List using
the specified peer interface.
|
protected abstract java.awt.peer.MenuPeer |
Toolkit.createMenu(Menu target)
Creates this toolkit's implementation of Menu using
the specified peer interface.
|
protected abstract java.awt.peer.MenuBarPeer |
Toolkit.createMenuBar(MenuBar target)
Creates this toolkit's implementation of MenuBar using
the specified peer interface.
|
protected abstract java.awt.peer.MenuItemPeer |
Toolkit.createMenuItem(MenuItem target)
Creates this toolkit's implementation of MenuItem using
the specified peer interface.
|
protected abstract java.awt.peer.PopupMenuPeer |
Toolkit.createPopupMenu(PopupMenu target)
Creates this toolkit's implementation of PopupMenu using
the specified peer interface.
|
protected abstract java.awt.peer.ScrollbarPeer |
Toolkit.createScrollbar(Scrollbar target)
Creates this toolkit's implementation of Scrollbar using
the specified peer interface.
|
protected abstract java.awt.peer.ScrollPanePeer |
Toolkit.createScrollPane(ScrollPane target)
Creates this toolkit's implementation of ScrollPane using
the specified peer interface.
|
protected abstract java.awt.peer.TextAreaPeer |
Toolkit.createTextArea(TextArea target)
Creates this toolkit's implementation of TextArea using
the specified peer interface.
|
protected abstract java.awt.peer.TextFieldPeer |
Toolkit.createTextField(TextField target)
Creates this toolkit's implementation of TextField using
the specified peer interface.
|
protected abstract java.awt.peer.WindowPeer |
Toolkit.createWindow(Window target)
Creates this toolkit's implementation of Window using
the specified peer interface.
|
Dimension |
Toolkit.getBestCursorSize(int preferredWidth,
int preferredHeight)
Returns the supported cursor dimension which is closest to the desired
sizes.
|
Point |
GraphicsEnvironment.getCenterPoint()
Returns the Point where Windows should be centered.
|
abstract java.awt.image.ColorModel |
Toolkit.getColorModel()
Determines the color model of this toolkit's screen.
|
abstract GraphicsDevice |
GraphicsEnvironment.getDefaultScreenDevice()
Returns the default screen GraphicsDevice .
|
int |
Toolkit.getMaximumCursorColors()
Returns the maximum number of colors the Toolkit supports in a custom cursor
palette.
|
Rectangle |
GraphicsEnvironment.getMaximumWindowBounds()
Returns the maximum bounds for centered Windows.
|
int |
Toolkit.getMenuShortcutKeyMask()
Determines which modifier key is the appropriate accelerator
key for menu shortcuts.
|
Point |
Component.getMousePosition()
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 .
|
Point |
Container.getMousePosition(boolean allowChildren)
Returns the position of the mouse pointer in this Container 's
coordinate space if the Container is under the mouse pointer,
otherwise returns null .
|
static int |
MouseInfo.getNumberOfButtons()
Returns the number of buttons on the mouse.
|
static PointerInfo |
MouseInfo.getPointerInfo()
Returns a PointerInfo instance that represents the current
location of the mouse pointer.
|
abstract GraphicsDevice[] |
GraphicsEnvironment.getScreenDevices()
Returns an array of all of the screen GraphicsDevice
objects.
|
Insets |
Toolkit.getScreenInsets(GraphicsConfiguration gc)
Gets the insets of the screen.
|
abstract int |
Toolkit.getScreenResolution()
Returns the screen resolution in dots-per-inch.
|
abstract Dimension |
Toolkit.getScreenSize()
Gets the size of the screen.
|
abstract java.awt.datatransfer.Clipboard |
Toolkit.getSystemClipboard()
Gets the singleton instance of the system Clipboard which interfaces
with clipboard facilities provided by the native platform.
|
static Cursor |
Cursor.getSystemCustomCursor(java.lang.String name)
Returns a system-specific custom cursor object matching the
specified name.
|
java.awt.datatransfer.Clipboard |
Toolkit.getSystemSelection()
Gets the singleton instance of the system selection as a
Clipboard object.
|
boolean |
Toolkit.isDynamicLayoutActive()
Returns whether dynamic layout of Containers on resize is
currently active (both set in program
( isDynamicLayoutSet() )
, and supported
by the underlying operating system and/or window manager).
|
protected boolean |
Toolkit.isDynamicLayoutSet()
Returns whether the layout of Containers is validated dynamically
during resizing, or statically, after resizing is complete.
|
boolean |
Toolkit.isFrameStateSupported(int state)
Returns whether Toolkit supports this state for
Frame s.
|
protected void |
Toolkit.loadSystemColors(int[] systemColors)
Fills in the integer array that is supplied as an argument
with the current system color values.
|
abstract java.util.Map<java.awt.font.TextAttribute,?> |
Toolkit.mapInputMethodHighlight(java.awt.im.InputMethodHighlight highlight)
Returns a map of visual attributes for the abstract level description
of the given input method highlight, or null if no mapping is found.
|
void |
Toolkit.setDynamicLayout(boolean dynamic)
Controls whether the layout of Containers is validated dynamically
during resizing, or statically, after resizing is complete.
|