Added Methods |
AWTEventListener[] getAWTEventListeners()
|
Returns an array of all the AWTEventListener s registered on this toolkit. |
AWTEventListener[] getAWTEventListeners(long )
|
Returns an array of all the AWTEventListener s registered on this toolkit which listen to all of the event types indicates in the eventMask argument. |
PropertyChangeListener[] getPropertyChangeListeners()
|
Returns an array of all the property change listeners registered on this toolkit. |
PropertyChangeListener[] getPropertyChangeListeners(String )
|
Returns an array of all the PropertyChangeListener s associated with the named property. |
Insets getScreenInsets(GraphicsConfiguration )
|
Gets the insets of the screen. |
Clipboard getSystemSelection()
|
Gets the singleton instance of the system selection as a Clipboard object. |
boolean isDynamicLayoutActive()
|
Returns whether dynamic layout of Containers on resize is currently active (both set programmatically and supported by the underlying operating system and/or window manager). |
boolean isDynamicLayoutSet()
|
Returns whether the layout of Containers is validated dynamically during resizing or statically after resizing is complete. |
boolean isFrameStateSupported(int )
|
Returns whether Toolkit supports this state for Frame s. |
void setDynamicLayout(boolean )
|
Controls whether the layout of Containers is validated dynamically during resizing or statically after resizing is complete. |
Changed Methods |
ButtonPeer createButton(Button )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Button using the specified peer interface. |
CheckboxPeer createCheckbox(Checkbox )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Checkbox using the specified peer interface. |
CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of CheckboxMenuItem using the specified peer interface. |
ChoicePeer createChoice(Choice )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Choice using the specified peer interface. |
Cursor createCustomCursor(Image, Point, String)
|
Change in exceptions thrown from IndexOutOfBoundsException to (IndexOutOfBoundsException, HeadlessException ).
|
Creates a new custom cursor object. |
DialogPeer createDialog(Dialog )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Dialog using the specified peer interface. |
FileDialogPeer createFileDialog(FileDialog )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of FileDialog using the specified peer interface. |
FramePeer createFrame(Frame )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Frame using the specified peer interface. |
LabelPeer createLabel(Label )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Label using the specified peer interface. |
ListPeer createList(List )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of List using the specified peer interface. |
MenuPeer createMenu(Menu )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Menu using the specified peer interface. |
MenuBarPeer createMenuBar(MenuBar )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of MenuBar using the specified peer interface. |
MenuItemPeer createMenuItem(MenuItem )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of MenuItem using the specified peer interface. |
PopupMenuPeer createPopupMenu(PopupMenu )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of PopupMenu using the specified peer interface. |
ScrollPanePeer createScrollPane(ScrollPane )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of ScrollPane using the specified peer interface. |
ScrollbarPeer createScrollbar(Scrollbar )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Scrollbar using the specified peer interface. |
TextAreaPeer createTextArea(TextArea )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of TextArea using the specified peer interface. |
TextFieldPeer createTextField(TextField )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of TextField using the specified peer interface. |
WindowPeer createWindow(Window )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Creates this toolkit's implementation of Window using the specified peer interface. |
Dimension getBestCursorSize(int, int)
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Returns the supported cursor dimension which is closest to the desired sizes. |
ColorModel getColorModel()
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Determines the color model of this toolkit's screen. |
boolean getLockingKeyState(int )
|
Change in exceptions thrown from no exceptions to UnsupportedOperationException .
|
Returns whether the given locking key on the keyboard is currently in its "on" state. |
int getMaximumCursorColors()
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Returns the maximum number of colors the Toolkit supports in a custom cursor palette. |
int getMenuShortcutKeyMask()
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Determines which modifier key is the appropriate accelerator key for menu shortcuts. |
int getScreenResolution()
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Returns the screen resolution in dots-per-inch. |
Dimension getScreenSize()
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Gets the size of the screen. |
Clipboard getSystemClipboard()
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Gets the singleton instance of the system Clipboard which interfaces with clipboard facilities provided by the native platform. |
void loadSystemColors(int[] )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
Fills in the integer array that is supplied as an argument with the current system color values. |
Map mapInputMethodHighlight(InputMethodHighlight )
|
Change in exceptions thrown from no exceptions to HeadlessException .
|
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 setLockingKeyState(int, boolean)
|
Change in exceptions thrown from no exceptions to UnsupportedOperationException .
|
Sets the state of the given locking key on the keyboard. |