Home » openjdk-7 » sun » awt » [javadoc | source]
sun.awt
public class: HeadlessToolkit [javadoc | source]
java.lang.Object
   java.awt.Toolkit
      sun.awt.HeadlessToolkit

All Implemented Interfaces:
    ComponentFactory, KeyboardFocusManagerPeerProvider

Fields inherited from java.awt.Toolkit:
desktopProperties,  desktopPropsSupport,  $assertionsDisabled
Constructor:
 public HeadlessToolkit(Toolkit tk) 
Method from sun.awt.HeadlessToolkit Summary:
addAWTEventListener,   addPropertyChangeListener,   areExtraMouseButtonsEnabled,   beep,   checkImage,   createButton,   createCanvas,   createCheckbox,   createCheckboxMenuItem,   createChoice,   createCustomCursor,   createDesktopPeer,   createDialog,   createDragGestureRecognizer,   createDragSourceContextPeer,   createFileDialog,   createFrame,   createImage,   createImage,   createImage,   createImage,   createImage,   createKeyboardFocusManagerPeer,   createLabel,   createList,   createMenu,   createMenuBar,   createMenuItem,   createPanel,   createPopupMenu,   createRobot,   createScrollPane,   createScrollbar,   createSystemTray,   createTextArea,   createTextField,   createTrayIcon,   createWindow,   getAWTEventListeners,   getAWTEventListeners,   getBestCursorSize,   getColorModel,   getFontList,   getFontMetrics,   getFontPeer,   getGlobalCursorManager,   getImage,   getImage,   getLockingKeyState,   getMaximumCursorColors,   getMenuShortcutKeyMask,   getPrintJob,   getPrintJob,   getScreenHeight,   getScreenInsets,   getScreenResolution,   getScreenSize,   getScreenWidth,   getSystemClipboard,   getSystemEventQueueImpl,   getUnderlyingToolkit,   isAlwaysOnTopSupported,   isDesktopSupported,   isDynamicLayoutActive,   isDynamicLayoutSet,   isModalExclusionTypeSupported,   isModalityTypeSupported,   isTraySupported,   loadSystemColors,   mapInputMethodHighlight,   prepareImage,   removeAWTEventListener,   removePropertyChangeListener,   setDynamicLayout,   setLockingKeyState,   sync
Methods from java.awt.Toolkit:
access$000,   access$002,   access$102,   addAWTEventListener,   addPropertyChangeListener,   beep,   checkImage,   countAWTEventListeners,   createButton,   createCanvas,   createCheckbox,   createCheckboxMenuItem,   createChoice,   createComponent,   createCustomCursor,   createDesktopPeer,   createDialog,   createDragGestureRecognizer,   createDragSourceContextPeer,   createFileDialog,   createFrame,   createImage,   createImage,   createImage,   createImage,   createImage,   createLabel,   createList,   createMenu,   createMenuBar,   createMenuItem,   createPanel,   createPopupMenu,   createScrollPane,   createScrollbar,   createTextArea,   createTextField,   createWindow,   enabledOnToolkit,   getAWTEventListeners,   getAWTEventListeners,   getBestCursorSize,   getColorModel,   getDefaultToolkit,   getDesktopProperty,   getEventQueue,   getFontList,   getFontMetrics,   getFontPeer,   getImage,   getImage,   getLockingKeyState,   getMaximumCursorColors,   getMenuShortcutKeyMask,   getMouseInfoPeer,   getNativeContainer,   getPrintJob,   getPrintJob,   getProperty,   getPropertyChangeListeners,   getPropertyChangeListeners,   getScreenInsets,   getScreenResolution,   getScreenSize,   getSystemClipboard,   getSystemEventQueue,   getSystemEventQueueImpl,   getSystemSelection,   initializeDesktopProperties,   isAlwaysOnTopSupported,   isDynamicLayoutActive,   isDynamicLayoutSet,   isFrameStateSupported,   isModalExclusionTypeSupported,   isModalityTypeSupported,   lazilyLoadDesktopProperty,   loadLibraries,   loadSystemColors,   mapInputMethodHighlight,   notifyAWTEventListeners,   prepareImage,   removeAWTEventListener,   removePropertyChangeListener,   setDesktopProperty,   setDynamicLayout,   setLockingKeyState,   sync
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.awt.HeadlessToolkit Detail:
 public  void addAWTEventListener(AWTEventListener listener,
    long eventMask) 
 public  void addPropertyChangeListener(String name,
    PropertyChangeListener pcl) 
 public boolean areExtraMouseButtonsEnabled() throws HeadlessException 
 public  void beep() 
 public int checkImage(Image img,
    int w,
    int h,
    ImageObserver o) 
 public ButtonPeer createButton(Button target) throws HeadlessException 
 public CanvasPeer createCanvas(Canvas target) 
 public CheckboxPeer createCheckbox(Checkbox target) throws HeadlessException 
 public CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem target) throws HeadlessException 
 public ChoicePeer createChoice(Choice target) throws HeadlessException 
 public Cursor createCustomCursor(Image cursor,
    Point hotSpot,
    String name) throws IndexOutOfBoundsException, HeadlessException 
 public DesktopPeer createDesktopPeer(Desktop target) throws HeadlessException 
 public DialogPeer createDialog(Dialog target) throws HeadlessException 
 public T createDragGestureRecognizer(Class<T> abstractRecognizerClass,
    DragSource ds,
    Component c,
    int srcActions,
    DragGestureListener dgl) 
 public DragSourceContextPeer createDragSourceContextPeer(DragGestureEvent dge) throws InvalidDnDOperationException 
 public FileDialogPeer createFileDialog(FileDialog target) throws HeadlessException 
 public FramePeer createFrame(Frame target) throws HeadlessException 
 public Image createImage(String filename) 
 public Image createImage(URL url) 
 public Image createImage(ImageProducer producer) 
 public Image createImage(byte[] imagedata) 
 public Image createImage(byte[] data,
    int offset,
    int length) 
 public KeyboardFocusManagerPeer createKeyboardFocusManagerPeer(KeyboardFocusManager manager) 
 public LabelPeer createLabel(Label target) throws HeadlessException 
 public ListPeer createList(List target) throws HeadlessException 
 public MenuPeer createMenu(Menu target) throws HeadlessException 
 public MenuBarPeer createMenuBar(MenuBar target) throws HeadlessException 
 public MenuItemPeer createMenuItem(MenuItem target) throws HeadlessException 
 public PanelPeer createPanel(Panel target) 
 public PopupMenuPeer createPopupMenu(PopupMenu target) throws HeadlessException 
 public RobotPeer createRobot(Robot target,
    GraphicsDevice screen) throws AWTException, HeadlessException 
 public ScrollPanePeer createScrollPane(ScrollPane target) throws HeadlessException 
 public ScrollbarPeer createScrollbar(Scrollbar target) throws HeadlessException 
 public SystemTrayPeer createSystemTray(SystemTray target) throws HeadlessException 
 public TextAreaPeer createTextArea(TextArea target) throws HeadlessException 
 public TextFieldPeer createTextField(TextField target) throws HeadlessException 
 public TrayIconPeer createTrayIcon(TrayIcon target) throws HeadlessException 
 public WindowPeer createWindow(Window target) throws HeadlessException 
 public AWTEventListener[] getAWTEventListeners() 
 public AWTEventListener[] getAWTEventListeners(long eventMask) 
 public Dimension getBestCursorSize(int preferredWidth,
    int preferredHeight) throws HeadlessException 
 public ColorModel getColorModel() throws HeadlessException 
 public String[] getFontList() 
 public FontMetrics getFontMetrics(Font font) 
 public FontPeer getFontPeer(String name,
    int style) 
 public GlobalCursorManager getGlobalCursorManager() throws HeadlessException 
 public Image getImage(String filename) 
 public Image getImage(URL url) 
 public boolean getLockingKeyState(int keyCode) throws UnsupportedOperationException 
 public int getMaximumCursorColors() throws HeadlessException 
 public int getMenuShortcutKeyMask() throws HeadlessException 
 public PrintJob getPrintJob(Frame frame,
    String doctitle,
    Properties props) 
 public PrintJob getPrintJob(Frame frame,
    String jobtitle,
    JobAttributes jobAttributes,
    PageAttributes pageAttributes) 
 public int getScreenHeight() throws HeadlessException 
 public Insets getScreenInsets(GraphicsConfiguration gc) throws HeadlessException 
 public int getScreenResolution() throws HeadlessException 
 public Dimension getScreenSize() throws HeadlessException 
 public int getScreenWidth() throws HeadlessException 
 public Clipboard getSystemClipboard() throws HeadlessException 
 public EventQueue getSystemEventQueueImpl() 
 public Toolkit getUnderlyingToolkit() 
 public boolean isAlwaysOnTopSupported() 
 public boolean isDesktopSupported() 
 public boolean isDynamicLayoutActive() throws HeadlessException 
 protected boolean isDynamicLayoutSet() throws HeadlessException 
 public boolean isModalExclusionTypeSupported(ModalExclusionType exclusionType) 
 public boolean isModalityTypeSupported(ModalityType modalityType) 
 public boolean isTraySupported() 
 protected  void loadSystemColors(int[] systemColors) throws HeadlessException 
 public Map mapInputMethodHighlight(InputMethodHighlight highlight) throws HeadlessException 
 public boolean prepareImage(Image img,
    int w,
    int h,
    ImageObserver o) 
 public  void removeAWTEventListener(AWTEventListener listener) 
 public  void removePropertyChangeListener(String name,
    PropertyChangeListener pcl) 
 public  void setDynamicLayout(boolean dynamic) throws HeadlessException 
 public  void setLockingKeyState(int keyCode,
    boolean on) throws UnsupportedOperationException 
 public  void sync()