com.creamtec.ajaxswing.gui
Class AjaxSwingHeadlessToolkit15

java.lang.Object
  extended by java.awt.Toolkit
      extended by sun.awt.SunToolkit
          extended by com.creamtec.ajaxswing.gui.AjaxSwingToolkit
              extended by com.creamtec.ajaxswing.gui.AjaxSwingToolkit130
                  extended by com.creamtec.ajaxswing.gui.AjaxSwingToolkit142
                      extended by com.creamtec.ajaxswing.gui.AjaxSwingToolkit15
                          extended by com.creamtec.ajaxswing.gui.AjaxSwingHeadlessToolkit15
All Implemented Interfaces:
sun.awt.ComponentFactory, sun.awt.InputMethodSupport, sun.awt.motif.MToolkit, sun.awt.WindowClosingListener, sun.awt.WindowClosingSupport

public class AjaxSwingHeadlessToolkit15
extends AjaxSwingToolkit15

AjaxSwing's implementation of AWT Toolkit is provided to override instantiation of peers and control other platform specific operations such as image loading. The peers created are AjaxSwing's peers, which do not have any GUI. This allows to run the client as a console application, while still keeping track of window operations such as show and hide.


Field Summary
 
Fields inherited from class sun.awt.SunToolkit
lastMetrics
 
Fields inherited from interface sun.awt.motif.MToolkit
hpFastSwing
 
Constructor Summary
AjaxSwingHeadlessToolkit15()
           
 
Method Summary
 java.awt.peer.FramePeer createFrame(java.awt.Frame frame)
           
 java.awt.peer.KeyboardFocusManagerPeer createKeyboardFocusManagerPeer(java.awt.KeyboardFocusManager focusManager)
           
static java.lang.String getClassName()
          This function is here just to allow others to find out the name of this class after obfuscation
 java.awt.Insets getScreenInsets(java.awt.GraphicsConfiguration arg0)
           
 int getScreenResolution()
           
 java.awt.Dimension getScreenSize()
           
 boolean isUndecorated(java.awt.Container window)
          Returns true if the window does not have a title bar.
 
Methods inherited from class com.creamtec.ajaxswing.gui.AjaxSwingToolkit130
createRobot, createSystemTray, createTrayIcon, getDefaultCharacterEncoding, getDefaultUnicodeEncoding, getGlobalCursorManager, getInputMethodAdapterDescriptor, getKeyboardFocusManagerPeer, grab, isDesktopSupported, isTraySupported, isWindowOpacityControlSupported, isWindowShapingSupported, isWindowTranslucencySupported, mapInputMethodHighlight, ungrab
 
Methods inherited from class com.creamtec.ajaxswing.gui.AjaxSwingToolkit
areExtraMouseButtonsEnabled, beep, checkImage, createButton, createCanvas, createCheckbox, createCheckboxMenuItem, createChoice, createDialog, createDragGestureRecognizer, createDragSourceContextPeer, createFileDialog, createImage, createImage, createImage, createLabel, createList, createMenu, createMenuBar, createMenuItem, createPanel, createPopupMenu, createScrollbar, createScrollPane, createTextArea, createTextField, createWindow, getColorModel, getFontMetrics, getFontPeer, getIconFileName, getImage, getImage, getImageFileName, getImageUrl, getPrintJob, getSystemClipboard, isFrameStateSupported, isWindowUndecorated, prepareImage, registerIcon, registerImage, registerImage, registerStandardImages, setDelegateToolkitClassName, sync
 
Methods inherited from class sun.awt.SunToolkit
addModalityListener, checkAndSetPolicy, createImage, createInputMethodWindow, createNewAppContext, disableBackgroundErase, enableInputMethodsForTextComponent, executeOnEventHandlerThread, executeOnEventHandlerThread, flushPendingEvents, getDataTransfererClassName, getDefaultKeyboardLocale, getFontList, getNativeContainer, getStartupLocale, getWindowClosingListener, insertTargetMapping, isLightweightOrUnknown, isModalExcluded, isModalExcludedSupported, isPostEventQueueEmpty, needsXEmbed, notifyModalityPopped, notifyModalityPushed, postEvent, removeModalityListener, setLWRequestStatus, setModalExcluded, setWindowClosingListener, targetToAppContext, windowClosingDelivered, windowClosingNotify
 
Methods inherited from class java.awt.Toolkit
addAWTEventListener, addPropertyChangeListener, createCustomCursor, createImage, getAWTEventListeners, getAWTEventListeners, getBestCursorSize, getDefaultToolkit, getDesktopProperty, getLockingKeyState, getMaximumCursorColors, getMenuShortcutKeyMask, getPrintJob, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, getSystemEventQueue, getSystemSelection, isDynamicLayoutActive, removeAWTEventListener, removePropertyChangeListener, setDynamicLayout, setLockingKeyState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxSwingHeadlessToolkit15

public AjaxSwingHeadlessToolkit15()
Method Detail

isUndecorated

public boolean isUndecorated(java.awt.Container window)
Returns true if the window does not have a title bar. Available in JDK 1.4 or later

Overrides:
isUndecorated in class AjaxSwingToolkit142
Parameters:
window - Window
Returns:
boolean

getClassName

public static java.lang.String getClassName()
This function is here just to allow others to find out the name of this class after obfuscation


createKeyboardFocusManagerPeer

public java.awt.peer.KeyboardFocusManagerPeer createKeyboardFocusManagerPeer(java.awt.KeyboardFocusManager focusManager)
                                                                      throws java.awt.HeadlessException
Overrides:
createKeyboardFocusManagerPeer in class AjaxSwingToolkit15
Throws:
java.awt.HeadlessException

getScreenInsets

public java.awt.Insets getScreenInsets(java.awt.GraphicsConfiguration arg0)
                                throws java.awt.HeadlessException
Overrides:
getScreenInsets in class java.awt.Toolkit
Throws:
java.awt.HeadlessException

getScreenResolution

public int getScreenResolution()
                        throws java.awt.HeadlessException
Overrides:
getScreenResolution in class AjaxSwingToolkit
Throws:
java.awt.HeadlessException

getScreenSize

public java.awt.Dimension getScreenSize()
                                 throws java.awt.HeadlessException
Overrides:
getScreenSize in class sun.awt.SunToolkit
Throws:
java.awt.HeadlessException

createFrame

public java.awt.peer.FramePeer createFrame(java.awt.Frame frame)
                                    throws java.awt.HeadlessException
Specified by:
createFrame in interface sun.awt.ComponentFactory
Overrides:
createFrame in class AjaxSwingToolkit
Throws:
java.awt.HeadlessException


Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.