|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use HeadlessException | |
|---|---|
| java.applet | Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. |
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
| java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. |
| java.awt.print | Provides classes and interfaces for a general printing API. |
| javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| Uses of HeadlessException in java.applet |
|---|
| Constructors in java.applet that throw HeadlessException | |
|---|---|
Applet()
Constructs a new Applet. |
|
| Uses of HeadlessException in java.awt |
|---|
| Methods in java.awt that throw HeadlessException | |
|---|---|
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,
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 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 | |