Java Doc for XToolkit.java in  » 6.0-JDK-Platform » solaris » sun » awt » X11 » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Platform » solaris » sun.awt.X11 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


sun.awt.UNIXToolkit
   sun.awt.X11.XToolkit

XToolkit
public class XToolkit extends UNIXToolkit implements Runnable,XConstants(Code)

Inner Class :interface XErrorHandler
Inner Class :public interface XEventListener

Field Summary
final static  StringDATA_TRANSFERER_CLASS_NAME
    
static  XErrorHandlerIgnoreBadWindowHandler
    
final static  booleanPRIMARY_LOOP
    
final static  booleanSECONDARY_LOOP
    
final static  longWRAP_TIME_MILLIS
    
static  intaltMask
    
static  intarrowCursor
    
static  booleanawt_IsXsunServer
    
static  booleanawt_ServerInquired
    
static  booleanawt_UseXKB
    
static  booleanawt_XKBInquired
    
static  longawt_defaultFg
    
static  intawt_multiclick_time
    
 XClipboardclipboard
    
final static  X11GraphicsConfigconfig
    
static  XErrorHandlercurErrorHandler
    
static  X11GraphicsDevicedevice
    
static  ObjectdisplayLock
    
protected static  booleandynamicLayoutSetting
    
static  X11GraphicsEnvironmentlocalEnv
    
static  intmetaMask
    
static  intmodLockIsShiftLock
    
static  intmodeSwitchMask
    
static  intnumLockMask
    
static  longreset_time_utc
    
static  XErrorEventsaved_error
    
static  longsaved_error_handler
    
static  ColorModelscreenmodel
    
static  booleansecurityWarningEnabled
    
 XClipboardselection
    
static  HashMapspecialPeerMap
    
static  ThreadtoolkitThread
    
static  UIDefaultsuidefaults
    
static  TreeMapwinMap
    
static  HashMapwinToDispatcher
    

Constructor Summary
public  XToolkit()
    

Method Summary
static  intGlobalErrorHandler(long display, long event_ptr)
    
static  voidRESTORE_XERROR_HANDLER()
    
static  intSAVED_ERROR_HANDLER(long display, XErrorEvent error)
    
static  voidWITH_XERROR_HANDLER(XErrorHandler handler)
    
static  voidXERROR_SAVE(XErrorEvent event)
    
static  voidXSync()
    
static  voidaddEventDispatcher(long window, XEventDispatcher dispatcher)
    
public synchronized  voidaddPropertyChangeListener(String name, PropertyChangeListener pcl)
    
static  voidaddToWinMap(long window, XBaseWindow xwin)
    
public  voidaddXEventListener(XEventListener listener)
    
final static  voidawtFUnlock()
    
native static  voidawt_output_flush()
    
native static  voidawt_toolkit_init()
    
public  voidbeep()
    
public  ButtonPeercreateButton(Button target)
    
public  CanvasPeercreateCanvas(Canvas target)
    
public  CheckboxPeercreateCheckbox(Checkbox target)
    
public  CheckboxMenuItemPeercreateCheckboxMenuItem(CheckboxMenuItem target)
    
public  ChoicePeercreateChoice(Choice target)
    
public  CursorcreateCustomCursor(Image cursor, Point hotSpot, String name)
     Returns a new custom cursor.
public  DesktopPeercreateDesktopPeer(Desktop target)
    
public  DialogPeercreateDialog(Dialog target)
    
public  TcreateDragGestureRecognizer(Class<T> recognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
    
public  DragSourceContextPeercreateDragSourceContextPeer(DragGestureEvent dge)
    
 XEmbedChildProxyPeercreateEmbedProxy(XEmbedChildProxy target)
    
public  XEmbeddedFramePeercreateEmbeddedFrame(XEmbeddedFrame target)
    
public  FileDialogPeercreateFileDialog(FileDialog target)
    
public  FramePeercreateFrame(Frame target)
    
public  KeyboardFocusManagerPeercreateKeyboardFocusManagerPeer(KeyboardFocusManager manager)
    
public  LabelPeercreateLabel(Label target)
    
public  ListPeercreateList(java.awt.List target)
    
public  MenuPeercreateMenu(Menu target)
    
public  MenuBarPeercreateMenuBar(MenuBar target)
    
public  MenuItemPeercreateMenuItem(MenuItem target)
    
public  PanelPeercreatePanel(Panel target)
    
public  PopupMenuPeercreatePopupMenu(PopupMenu target)
    
public  RobotPeercreateRobot(Robot target, GraphicsDevice screen)
    
public  ScrollPanePeercreateScrollPane(ScrollPane target)
    
public  ScrollbarPeercreateScrollbar(Scrollbar target)
    
public  SystemTrayPeercreateSystemTray(SystemTray target)
    
public  TextAreaPeercreateTextArea(TextArea target)
    
public  TextFieldPeercreateTextField(TextField target)
    
public  TrayIconPeercreateTrayIcon(TrayIcon target)
    
public  WindowPeercreateWindow(Window target)
    
static  voiddumpPeers()
    
static  StringgetAWTAppClassName()
    
static  longgetAwtDefaultFg()
    
static  intgetBackingStoreType()
     Returns one of XConstants: NotUseful, WhenMapped or Always.
public  DimensiongetBestCursorSize(int preferredWidth, int preferredHeight)
    
public  ColorModelgetColorModel()
    
static  StringgetCorrectXIDString(String val)
    
static  longgetCurrentServerTime()
    
public static  longgetDefaultRootWindow()
    
native static  longgetDefaultScreenData()
    
static  intgetDefaultScreenHeight()
    
static  intgetDefaultScreenWidth()
    
native static  longgetDefaultXColormap()
    
public static  longgetDisplay()
    
native static  StringgetEnv(String key)
    
public static  longgetEventNumber()
    
static  EventQueuegetEventQueue(Object target)
    
public  FontPeergetFontPeer(String name, int style)
    
public  InputMethodDescriptorgetInputMethodAdapterDescriptor()
     Returns a new input method adapter descriptor for native input methods.
 booleangetLastCursorPos(Point p)
     Returns whether there is last remembered cursor position.
public  intgetMaximumCursorColors()
    
public synchronized  MouseInfoPeergetMouseInfoPeer()
    
static  intgetMultiClickTime()
    
public  PrintJobgetPrintJob(Frame frame, String doctitle, Properties props)
    
public  PrintJobgetPrintJob(Frame frame, String doctitle, JobAttributes jobAttributes, PageAttributes pageAttributes)
    
protected  intgetScreenHeight()
    
public  InsetsgetScreenInsets(GraphicsConfiguration gc)
    
public  intgetScreenResolution()
    
protected  intgetScreenWidth()
    
static  ColorModelgetStaticColorModel()
    
public  ClipboardgetSystemClipboard()
    
static  StringgetSystemProperty(String name)
    
public  ClipboardgetSystemSelection()
    
static  UIDefaultsgetUIDefaults()
    
public  voidgrab(Window w)
    
 voidinit()
    
static  voidinitSecurityWarning()
    
static  voidinitUIDefaults()
    
protected  voidinitializeDesktopProperties()
    
static  voidinitializeMultiClickTime()
    
public  booleanisAlwaysOnTopSupported()
    
public  booleanisDesktopSupported()
     Returns if the java.awt.Desktop class is supported on the current desktop.
public  booleanisDynamicLayoutActive()
    
protected  booleanisDynamicLayoutSet()
    
protected  booleanisDynamicLayoutSupported()
    
public  booleanisFrameStateSupported(int state)
    
static  booleanisLeftMouseButton(MouseEvent me)
    
public  booleanisModalExclusionTypeSupported(Dialog.ModalExclusionType exclusionType)
    
public  booleanisModalityTypeSupported(Dialog.ModalityType modalityType)
    
static  booleanisRightMouseButton(MouseEvent me)
    
static  booleanisSecurityWarningEnabled()
    
static  booleanisToolkitThread()
    
public  booleanisTraySupported()
    
static  booleanisXKBenabled()
     Query XKEYBOARD extension.
static  booleanisXsunServer()
     Try to understand if it is Xsun server. By now (2005) Sun is vendor of Xsun and Xorg servers; we only return true if Xsun is running.
static  intkeysymToPrimaryKeycode(long sym)
    
protected  ObjectlazilyLoadDesktopProperty(String name)
    
public  voidloadSystemColors(int[] systemColors)
    
public  MapmapInputMethodHighlight(InputMethodHighlight highlight)
    
native public  voidnativeLoadSystemColors(int[] systemColors)
    
protected  booleanneedsXEmbedImpl()
    
static  longnowMillisUTC_offset(long server_offset)
    
 voidparseXSettings(int screen_XXX_ignored, Map updatedSettings)
     Callback from the native side indicating some, or all, of the desktop properties have changed and need to be reloaded. data is the byte array directly from the x server and may be in little endian format.

NB: This could be called from any thread if triggered by loadXSettings.

static  voidprocessException(Throwable thr)
    
static  voidremove(Runnable task)
     Removed the task from the list of waiting-to-be called tasks.
static  voidremoveEventDispatcher(long window, XEventDispatcher dispatcher)
    
static  voidremoveFromWinMap(long window, XBaseWindow xwin)
    
static  voidremoveSourceEvents(EventQueue queue, Object source, boolean removeAllEvents)
    
public  voidrun()
    
public  voidrun(boolean loop)
    
static  voidschedule(Runnable task, long interval)
     Registers a Runnable which run() method will be called once on the toolkit thread when a specified interval of time elapses.
public  voidsetDynamicLayout(boolean b)
    
native public static  voidsetNoisyXErrorHandler()
    
static  voidsetupModifierMap()
    
protected  booleansyncNativeQueue(long timeout)
    
final protected static  voidtargetDisposedPeer(Object target, Object peer)
    
final protected static  ObjecttargetToPeer(Object target)
    
public  voidungrab(Window w)
    
public  booleanuseBufferPerWindow()
    
native static  voidwaitForEvents(long nextTaskTime)
    
native static  voidwakeup_poll()
    
static  XBaseWindowwindowToXWindow(long window)
    

Field Detail
DATA_TRANSFERER_CLASS_NAME
final static String DATA_TRANSFERER_CLASS_NAME(Code)



IgnoreBadWindowHandler
static XErrorHandler IgnoreBadWindowHandler(Code)



PRIMARY_LOOP
final static boolean PRIMARY_LOOP(Code)



SECONDARY_LOOP
final static boolean SECONDARY_LOOP(Code)



WRAP_TIME_MILLIS
final static long WRAP_TIME_MILLIS(Code)



altMask
static int altMask(Code)



arrowCursor
static int arrowCursor(Code)



awt_IsXsunServer
static boolean awt_IsXsunServer(Code)



awt_ServerInquired
static boolean awt_ServerInquired(Code)



awt_UseXKB
static boolean awt_UseXKB(Code)



awt_XKBInquired
static boolean awt_XKBInquired(Code)



awt_defaultFg
static long awt_defaultFg(Code)



awt_multiclick_time
static int awt_multiclick_time(Code)



clipboard
XClipboard clipboard(Code)



config
final static X11GraphicsConfig config(Code)



curErrorHandler
static XErrorHandler curErrorHandler(Code)



device
static X11GraphicsDevice device(Code)



displayLock
static Object displayLock(Code)



dynamicLayoutSetting
protected static boolean dynamicLayoutSetting(Code)



localEnv
static X11GraphicsEnvironment localEnv(Code)



metaMask
static int metaMask(Code)



modLockIsShiftLock
static int modLockIsShiftLock(Code)



modeSwitchMask
static int modeSwitchMask(Code)



numLockMask
static int numLockMask(Code)



reset_time_utc
static long reset_time_utc(Code)



saved_error
static XErrorEvent saved_error(Code)



saved_error_handler
static long saved_error_handler(Code)



screenmodel
static ColorModel screenmodel(Code)



securityWarningEnabled
static boolean securityWarningEnabled(Code)



selection
XClipboard selection(Code)



specialPeerMap
static HashMap specialPeerMap(Code)



toolkitThread
static Thread toolkitThread(Code)



uidefaults
static UIDefaults uidefaults(Code)



winMap
static TreeMap winMap(Code)



winToDispatcher
static HashMap winToDispatcher(Code)




Constructor Detail
XToolkit
public XToolkit()(Code)




Method Detail
GlobalErrorHandler
static int GlobalErrorHandler(long display, long event_ptr)(Code)



RESTORE_XERROR_HANDLER
static void RESTORE_XERROR_HANDLER()(Code)



SAVED_ERROR_HANDLER
static int SAVED_ERROR_HANDLER(long display, XErrorEvent error)(Code)



WITH_XERROR_HANDLER
static void WITH_XERROR_HANDLER(XErrorHandler handler)(Code)



XERROR_SAVE
static void XERROR_SAVE(XErrorEvent event)(Code)



XSync
static void XSync()(Code)



addEventDispatcher
static void addEventDispatcher(long window, XEventDispatcher dispatcher)(Code)



addPropertyChangeListener
public synchronized void addPropertyChangeListener(String name, PropertyChangeListener pcl)(Code)



addToWinMap
static void addToWinMap(long window, XBaseWindow xwin)(Code)



addXEventListener
public void addXEventListener(XEventListener listener)(Code)



awtFUnlock
final static void awtFUnlock()(Code)



awt_output_flush
native static void awt_output_flush()(Code)



awt_toolkit_init
native static void awt_toolkit_init()(Code)



beep
public void beep()(Code)



createButton
public ButtonPeer createButton(Button target)(Code)



createCanvas
public CanvasPeer createCanvas(Canvas target)(Code)



createCheckbox
public CheckboxPeer createCheckbox(Checkbox target)(Code)



createCheckboxMenuItem
public CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem target)(Code)



createChoice
public ChoicePeer createChoice(Choice target)(Code)



createCustomCursor
public Cursor createCustomCursor(Image cursor, Point hotSpot, String name) throws IndexOutOfBoundsException(Code)
Returns a new custom cursor.



createDesktopPeer
public DesktopPeer createDesktopPeer(Desktop target)(Code)



createDialog
public DialogPeer createDialog(Dialog target)(Code)



createDragGestureRecognizer
public T createDragGestureRecognizer(Class<T> recognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)(Code)



createDragSourceContextPeer
public DragSourceContextPeer createDragSourceContextPeer(DragGestureEvent dge) throws InvalidDnDOperationException(Code)



createEmbedProxy
XEmbedChildProxyPeer createEmbedProxy(XEmbedChildProxy target)(Code)



createEmbeddedFrame
public XEmbeddedFramePeer createEmbeddedFrame(XEmbeddedFrame target)(Code)



createFileDialog
public FileDialogPeer createFileDialog(FileDialog target)(Code)



createFrame
public FramePeer createFrame(Frame target)(Code)



createKeyboardFocusManagerPeer
public KeyboardFocusManagerPeer createKeyboardFocusManagerPeer(KeyboardFocusManager manager) throws HeadlessException(Code)



createLabel
public LabelPeer createLabel(Label target)(Code)



createList
public ListPeer createList(java.awt.List target)(Code)



createMenu
public MenuPeer createMenu(Menu target)(Code)



createMenuBar
public MenuBarPeer createMenuBar(MenuBar target)(Code)



createMenuItem
public MenuItemPeer createMenuItem(MenuItem target)(Code)



createPanel
public PanelPeer createPanel(Panel target)(Code)



createPopupMenu
public PopupMenuPeer createPopupMenu(PopupMenu target)(Code)



createRobot
public RobotPeer createRobot(Robot target, GraphicsDevice screen)(Code)



createScrollPane
public ScrollPanePeer createScrollPane(ScrollPane target)(Code)



createScrollbar
public ScrollbarPeer createScrollbar(Scrollbar target)(Code)



createSystemTray
public SystemTrayPeer createSystemTray(SystemTray target) throws HeadlessException(Code)



createTextArea
public TextAreaPeer createTextArea(TextArea target)(Code)



createTextField
public TextFieldPeer createTextField(TextField target)(Code)



createTrayIcon
public TrayIconPeer createTrayIcon(TrayIcon target) throws HeadlessException, AWTException(Code)



createWindow
public WindowPeer createWindow(Window target)(Code)



dumpPeers
static void dumpPeers()(Code)



getAWTAppClassName
static String getAWTAppClassName()(Code)



getAwtDefaultFg
static long getAwtDefaultFg()(Code)



getBackingStoreType
static int getBackingStoreType()(Code)
Returns one of XConstants: NotUseful, WhenMapped or Always. If backing store is not available on at least one screen, or java2d uses DGA(which conflicts with backing store) on at least one screen, or the string system property "sun.awt.backingStore" is neither "Always" nor "WhenMapped", then the method returns XConstants.NotUseful. Otherwise, if the system property "sun.awt.backingStore" is "WhenMapped", then the method returns XConstants.WhenMapped. Otherwise (i.e., if the system property "sun.awt.backingStore" is "Always"), the method returns XConstants.Always.



getBestCursorSize
public Dimension getBestCursorSize(int preferredWidth, int preferredHeight)(Code)
Returns the supported cursor size



getColorModel
public ColorModel getColorModel()(Code)



getCorrectXIDString
static String getCorrectXIDString(String val)(Code)



getCurrentServerTime
static long getCurrentServerTime()(Code)



getDefaultRootWindow
public static long getDefaultRootWindow()(Code)



getDefaultScreenData
native static long getDefaultScreenData()(Code)



getDefaultScreenHeight
static int getDefaultScreenHeight()(Code)



getDefaultScreenWidth
static int getDefaultScreenWidth()(Code)



getDefaultXColormap
native static long getDefaultXColormap()(Code)



getDisplay
public static long getDisplay()(Code)



getEnv
native static String getEnv(String key)(Code)



getEventNumber
public static long getEventNumber()(Code)



getEventQueue
static EventQueue getEventQueue(Object target)(Code)



getFontPeer
public FontPeer getFontPeer(String name, int style)(Code)



getInputMethodAdapterDescriptor
public InputMethodDescriptor getInputMethodAdapterDescriptor() throws AWTException(Code)
Returns a new input method adapter descriptor for native input methods.



getLastCursorPos
boolean getLastCursorPos(Point p)(Code)
Returns whether there is last remembered cursor position. The position is remembered from X mouse events on our peers. The position is stored in p. true, if there is remembered last cursor position,false otherwise



getMaximumCursorColors
public int getMaximumCursorColors()(Code)



getMouseInfoPeer
public synchronized MouseInfoPeer getMouseInfoPeer()(Code)



getMultiClickTime
static int getMultiClickTime()(Code)



getPrintJob
public PrintJob getPrintJob(Frame frame, String doctitle, Properties props)(Code)



getPrintJob
public PrintJob getPrintJob(Frame frame, String doctitle, JobAttributes jobAttributes, PageAttributes pageAttributes)(Code)



getScreenHeight
protected int getScreenHeight()(Code)



getScreenInsets
public Insets getScreenInsets(GraphicsConfiguration gc)(Code)



getScreenResolution
public int getScreenResolution()(Code)



getScreenWidth
protected int getScreenWidth()(Code)



getStaticColorModel
static ColorModel getStaticColorModel()(Code)



getSystemClipboard
public Clipboard getSystemClipboard()(Code)



getSystemProperty
static String getSystemProperty(String name)(Code)



getSystemSelection
public Clipboard getSystemSelection()(Code)



getUIDefaults
static UIDefaults getUIDefaults()(Code)



grab
public void grab(Window w)(Code)



init
void init()(Code)



initSecurityWarning
static void initSecurityWarning()(Code)



initUIDefaults
static void initUIDefaults()(Code)



initializeDesktopProperties
protected void initializeDesktopProperties()(Code)



initializeMultiClickTime
static void initializeMultiClickTime()(Code)



isAlwaysOnTopSupported
public boolean isAlwaysOnTopSupported()(Code)



isDesktopSupported
public boolean isDesktopSupported()(Code)
Returns if the java.awt.Desktop class is supported on the current desktop.

The methods of java.awt.Desktop class are supported on the Gnome desktop. Check if the running desktop is Gnome by checking the window manager.




isDynamicLayoutActive
public boolean isDynamicLayoutActive()(Code)



isDynamicLayoutSet
protected boolean isDynamicLayoutSet()(Code)



isDynamicLayoutSupported
protected boolean isDynamicLayoutSupported()(Code)



isFrameStateSupported
public boolean isFrameStateSupported(int state) throws HeadlessException(Code)



isLeftMouseButton
static boolean isLeftMouseButton(MouseEvent me)(Code)



isModalExclusionTypeSupported
public boolean isModalExclusionTypeSupported(Dialog.ModalExclusionType exclusionType)(Code)



isModalityTypeSupported
public boolean isModalityTypeSupported(Dialog.ModalityType modalityType)(Code)



isRightMouseButton
static boolean isRightMouseButton(MouseEvent me)(Code)



isSecurityWarningEnabled
static boolean isSecurityWarningEnabled()(Code)



isToolkitThread
static boolean isToolkitThread()(Code)



isTraySupported
public boolean isTraySupported()(Code)



isXKBenabled
static boolean isXKBenabled()(Code)
Query XKEYBOARD extension.



isXsunServer
static boolean isXsunServer()(Code)
Try to understand if it is Xsun server. By now (2005) Sun is vendor of Xsun and Xorg servers; we only return true if Xsun is running.



keysymToPrimaryKeycode
static int keysymToPrimaryKeycode(long sym)(Code)



lazilyLoadDesktopProperty
protected Object lazilyLoadDesktopProperty(String name)(Code)



loadSystemColors
public void loadSystemColors(int[] systemColors)(Code)



mapInputMethodHighlight
public Map mapInputMethodHighlight(InputMethodHighlight highlight)(Code)



nativeLoadSystemColors
native public void nativeLoadSystemColors(int[] systemColors)(Code)



needsXEmbedImpl
protected boolean needsXEmbedImpl()(Code)

See Also:   sun.awt.SunToolkit.needsXEmbedImpl



nowMillisUTC_offset
static long nowMillisUTC_offset(long server_offset)(Code)



parseXSettings
void parseXSettings(int screen_XXX_ignored, Map updatedSettings)(Code)
Callback from the native side indicating some, or all, of the desktop properties have changed and need to be reloaded. data is the byte array directly from the x server and may be in little endian format.

NB: This could be called from any thread if triggered by loadXSettings. It is called from the System EDT if triggered by an XSETTINGS change.




processException
static void processException(Throwable thr)(Code)



remove
static void remove(Runnable task)(Code)
Removed the task from the list of waiting-to-be called tasks. If the task has been scheduled several times removes only first one.



removeEventDispatcher
static void removeEventDispatcher(long window, XEventDispatcher dispatcher)(Code)



removeFromWinMap
static void removeFromWinMap(long window, XBaseWindow xwin)(Code)



removeSourceEvents
static void removeSourceEvents(EventQueue queue, Object source, boolean removeAllEvents)(Code)



run
public void run()(Code)



run
public void run(boolean loop)(Code)



schedule
static void schedule(Runnable task, long interval)(Code)
Registers a Runnable which run() method will be called once on the toolkit thread when a specified interval of time elapses.
Parameters:
  task - a Runnable which run method will be calledon the toolkit thread when interval millisecondselapse
Parameters:
  interval - an interal in milliseconds
throws:
  NullPointerException - if task is null
throws:
  IllegalArgumentException - if interval is not positive



setDynamicLayout
public void setDynamicLayout(boolean b)(Code)



setNoisyXErrorHandler
native public static void setNoisyXErrorHandler()(Code)



setupModifierMap
static void setupModifierMap()(Code)



syncNativeQueue
protected boolean syncNativeQueue(long timeout)(Code)



targetDisposedPeer
final protected static void targetDisposedPeer(Object target, Object peer)(Code)



targetToPeer
final protected static Object targetToPeer(Object target)(Code)



ungrab
public void ungrab(Window w)(Code)



useBufferPerWindow
public boolean useBufferPerWindow()(Code)



waitForEvents
native static void waitForEvents(long nextTaskTime)(Code)



wakeup_poll
native static void wakeup_poll()(Code)



windowToXWindow
static XBaseWindow windowToXWindow(long window)(Code)



Fields inherited from sun.awt.UNIXToolkit
final public static String FONTCONFIGAAHINT(Code)(Java Doc)
final public static Object GTK_LOCK(Code)(Java Doc)

Methods inherited from sun.awt.UNIXToolkit
public static int getDatatransferTimeout()(Code)(Java Doc)
protected RenderingHints getDesktopAAHints()(Code)(Java Doc)
public BufferedImage getGTKIcon(String filename)(Code)(Java Doc)
public BufferedImage getStockIcon(int widgetType, String stockId, int iconSize, int direction, String detail)(Code)(Java Doc)
public boolean isNativeGTKAvailable()(Code)(Java Doc)
protected Object lazilyLoadDesktopProperty(String name)(Code)(Java Doc)
protected Object lazilyLoadGTKIcon(String longname)(Code)(Java Doc)
public boolean loadGTK()(Code)(Java Doc)
public void loadIconCallback(byte[] data, int width, int height, int rowStride, int bps, int channels, boolean alpha)(Code)(Java Doc)
public void sync()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.