Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev
Next
Sample
Document
Uses of Class java.awt.HeadlessException
Deprecated: ShowHide
View: ClientSubclassPackageImplementation

Uses of Class
java.awt.HeadlessException

  • Packages that use HeadlessException 
    Package Description
    java.awt
    Contains all of the classes for creating user interfaces and for painting graphics and images.
    • Uses of HeadlessException in java.awt

      Methods in java.awt that throw HeadlessException 
      Modifier and Type Method and Description
      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 Frames.
      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.
      Constructors in java.awt that throw HeadlessException 
      Constructor and Description
      Button()
      Constructs a button with an empty string for its label.
      Button(java.lang.String label)
      Constructs a button with the specified label.
      Checkbox()
      Creates a check box with an empty string for its label.
      Checkbox(java.lang.String label)
      Creates a check box with the specified label.
      Checkbox(java.lang.String label, boolean state)
      Creates a check box with the specified label and sets the specified state.
      Checkbox(java.lang.String label, boolean state, CheckboxGroup group)
      Constructs a Checkbox with the specified label, set to the specified state, and in the specified check box group.
      Checkbox(java.lang.String label, CheckboxGroup group, boolean state)
      Creates a check box with the specified label, in the specified check box group, and set to the specified state.
      CheckboxMenuItem()
      Create a check box menu item with an empty label.
      CheckboxMenuItem(java.lang.String label)
      Create a check box menu item with the specified label.
      CheckboxMenuItem(java.lang.String label, boolean state)
      Create a check box menu item with the specified label and state.
      Choice()
      Creates a new choice menu.
      Frame()
      Constructs a new instance of Frame that is initially invisible.
      Frame(java.lang.String title)
      Constructs a new, initially invisible Frame object with the specified title.
      Label()
      Constructs an empty label.
      Label(java.lang.String text)
      Constructs a new label with the specified string of text, left justified.
      Label(java.lang.String text, int alignment)
      Constructs a new label that presents the specified string of text with the specified alignment.
      List()
      Creates a new scrolling list.
      List(int rows)
      Creates a new scrolling list initialized with the specified number of visible lines.
      List(int rows, boolean multipleMode)
      Creates a new scrolling list initialized to display the specified number of rows.
      Menu()
      Constructs a new menu with an empty label.
      Menu(java.lang.String label)
      Constructs a new menu with the specified label.
      Menu(java.lang.String label, boolean tearOff)
      Constructs a new menu with the specified label, indicating whether the menu can be torn off.
      MenuBar()
      Creates a new menu bar.
      MenuComponent()
      Creates a MenuComponent.
      MenuItem()
      Constructs a new MenuItem with an empty label and no keyboard shortcut.
      MenuItem(java.lang.String label)
      Constructs a new MenuItem with the specified label and no keyboard shortcut.
      MenuItem(java.lang.String label, MenuShortcut s)
      Create a menu item with an associated keyboard shortcut.
      PopupMenu()
      Creates a new popup menu with an empty name.
      PopupMenu(java.lang.String label)
      Creates a new popup menu with the specified name.
      Scrollbar()
      Constructs a new vertical scroll bar.
      Scrollbar(int orientation)
      Constructs a new scroll bar with the specified orientation.
      Scrollbar(int orientation, int value, int visible, int minimum, int maximum)
      Constructs a new scroll bar with the specified orientation, initial value, visible amount, and minimum and maximum values.
      ScrollPane()
      Create a new scrollpane container with a scrollbar display policy of "as needed".
      ScrollPane(int scrollbarDisplayPolicy)
      Create a new scrollpane container.
      TextArea()
      Constructs a new text area with the empty string as text.
      TextArea(int rows, int columns)
      Constructs a new text area with the specified number of rows and columns and the empty string as text.
      TextArea(java.lang.String text)
      Constructs a new text area with the specified text.
      TextArea(java.lang.String text, int rows, int columns)
      Constructs a new text area with the specified text, and with the specified number of rows and columns.
      TextArea(java.lang.String text, int rows, int columns, int scrollbars)
      Constructs a new text area with the specified text, and with the rows, columns, and scroll bar visibility as specified.
      TextField()
      Constructs a new text field.
      TextField(int columns)
      Constructs a new empty text field with the specified number of columns.
      TextField(java.lang.String text)
      Constructs a new text field initialized with the specified text.
      TextField(java.lang.String text, int columns)
      Constructs a new text field initialized with the specified text to be displayed, and wide enough to hold the specified number of columns.
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge