Java Doc for MToolkit.java in  » 6.0-JDK-Platform » solaris » sun » awt » motif » 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.motif 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


sun.awt.UNIXToolkit
   sun.awt.motif.MToolkit

MToolkit
public class MToolkit extends UNIXToolkit implements Runnable(Code)


Field Summary
final public static  StringDATA_TRANSFERER_CLASS_NAME
    
final public static  intUNDETERMINED_WMNO_WMOTHER_WMOPENLOOK_WMMOTIF_WMCDE_WMENLIGHTEN_WMKDE2_WMSAWFISH_WMICE_WMMETACITY_WMCOMPIZ_WMLG3D_WM
    
 X11Clipboardclipboard
    
final static  X11GraphicsConfigconfig
    
protected static  booleandynamicLayoutSetting
    
static  ColorModelscreenmodel
    
 X11Clipboardselection
    

Constructor Summary
public  MToolkit()
    

Method Summary
native 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> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
    
public  DragSourceContextPeercreateDragSourceContextPeer(DragGestureEvent dge)
    
public  MEmbeddedFramePeercreateEmbeddedFrame(MEmbeddedFrame target)
    
public  FileDialogPeercreateFileDialog(FileDialog target)
    
public  FramePeercreateFrame(Frame target)
    
public  LabelPeercreateLabel(Label target)
    
public  ListPeercreateList(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)
    
public  DimensiongetBestCursorSize(int preferredWidth, int preferredHeight)
    
public  ColorModelgetColorModel()
    
public  FontMetricsgetFontMetrics(Font font)
    
public  FontPeergetFontPeer(String name, int style)
    
public  InputMethodDescriptorgetInputMethodAdapterDescriptor()
     Returns a new input method adapter descriptor for native input methods.
public  booleangetLockingKeyState(int key)
    
native public  booleangetLockingKeyStateNative(int key)
    
public  intgetMaximumCursorColors()
    
public static  ContainergetNativeContainer(Component c)
     Give native peers the ability to query the native container given a native component (e.g.
public  PrintJobgetPrintJob(Frame frame, String doctitle, Properties props)
    
public  PrintJobgetPrintJob(Frame frame, String doctitle, JobAttributes jobAttributes, PageAttributes pageAttributes)
    
native protected  intgetScreenHeight()
    
public  InsetsgetScreenInsets(GraphicsConfiguration gc)
    
native public  intgetScreenResolution()
    
native protected  intgetScreenWidth()
    
static  ColorModelgetStaticColorModel()
    
public  ClipboardgetSystemClipboard()
    
public  ClipboardgetSystemSelection()
    
public static  intgetWMID()
    
public  voidgrab(Window w)
    
native public  voidinit(String mainClassName)
    
protected  voidinitializeDesktopProperties()
    
public  booleanisDesktopSupported()
    
public  booleanisDynamicLayoutActive()
    
protected  booleanisDynamicLayoutSet()
    
native protected  booleanisDynamicLayoutSupportedNative()
    
native public  booleanisFrameStateSupported(int state)
    
public  booleanisModalExclusionTypeSupported(Dialog.ModalExclusionType exclusionType)
    
public  booleanisModalityTypeSupported(Dialog.ModalityType modalityType)
    
public  booleanisTraySupported()
    
protected  ObjectlazilyLoadDesktopProperty(String name)
    
protected  BooleanlazilyLoadDynamicLayoutSupportedProperty(String name)
    
native public  voidloadSystemColors(int[] systemColors)
    
native static  ColorModelmakeColorModel()
    
public  MapmapInputMethodHighlight(InputMethodHighlight highlight)
     Returns a style map for the input method highlight.
protected  booleanneedsXEmbedImpl()
    
native public  voidrun()
    
public  voidsetDynamicLayout(boolean b)
    
protected  booleansyncNativeQueue(long timeout)
    
final protected static  voidtargetDisposedPeer(Object target, Object peer)
    
final protected static  ObjecttargetToPeer(Object target)
    
public  voidungrab(Window w)
    
static  booleanuseMotifDnD()
    

Field Detail
DATA_TRANSFERER_CLASS_NAME
final public static String DATA_TRANSFERER_CLASS_NAME(Code)



UNDETERMINED_WMNO_WMOTHER_WMOPENLOOK_WMMOTIF_WMCDE_WMENLIGHTEN_WMKDE2_WMSAWFISH_WMICE_WMMETACITY_WMCOMPIZ_WMLG3D_WM
final public static int UNDETERMINED_WMNO_WMOTHER_WMOPENLOOK_WMMOTIF_WMCDE_WMENLIGHTEN_WMKDE2_WMSAWFISH_WMICE_WMMETACITY_WMCOMPIZ_WMLG3D_WM(Code)



clipboard
X11Clipboard clipboard(Code)



config
final static X11GraphicsConfig config(Code)



dynamicLayoutSetting
protected static boolean dynamicLayoutSetting(Code)



screenmodel
static ColorModel screenmodel(Code)



selection
X11Clipboard selection(Code)




Constructor Detail
MToolkit
public MToolkit()(Code)




Method Detail
beep
native 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) throws HeadlessException(Code)



createDialog
public DialogPeer createDialog(Dialog target)(Code)



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



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



createEmbeddedFrame
public MEmbeddedFramePeer createEmbeddedFrame(MEmbeddedFrame target)(Code)



createFileDialog
public FileDialogPeer createFileDialog(FileDialog target)(Code)



createFrame
public FramePeer createFrame(Frame target)(Code)



createLabel
public LabelPeer createLabel(Label target)(Code)



createList
public ListPeer createList(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(Code)



createWindow
public WindowPeer createWindow(Window target)(Code)



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



getColorModel
public ColorModel getColorModel()(Code)



getFontMetrics
public FontMetrics getFontMetrics(Font font)(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.



getLockingKeyState
public boolean getLockingKeyState(int key)(Code)



getLockingKeyStateNative
native public boolean getLockingKeyStateNative(int key)(Code)



getMaximumCursorColors
public int getMaximumCursorColors()(Code)



getNativeContainer
public static Container getNativeContainer(Component c)(Code)
Give native peers the ability to query the native container given a native component (e.g. the direct parent may be lightweight).



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
native protected int getScreenHeight()(Code)



getScreenInsets
public Insets getScreenInsets(GraphicsConfiguration gc)(Code)



getScreenResolution
native public int getScreenResolution()(Code)



getScreenWidth
native protected int getScreenWidth()(Code)



getStaticColorModel
static ColorModel getStaticColorModel()(Code)



getSystemClipboard
public Clipboard getSystemClipboard()(Code)



getSystemSelection
public Clipboard getSystemSelection()(Code)



getWMID
public static int getWMID()(Code)



grab
public void grab(Window w)(Code)



init
native public void init(String mainClassName)(Code)



initializeDesktopProperties
protected void initializeDesktopProperties()(Code)



isDesktopSupported
public boolean isDesktopSupported()(Code)



isDynamicLayoutActive
public boolean isDynamicLayoutActive()(Code)



isDynamicLayoutSet
protected boolean isDynamicLayoutSet()(Code)



isDynamicLayoutSupportedNative
native protected boolean isDynamicLayoutSupportedNative()(Code)



isFrameStateSupported
native public boolean isFrameStateSupported(int state)(Code)



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



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



isTraySupported
public boolean isTraySupported()(Code)



lazilyLoadDesktopProperty
protected Object lazilyLoadDesktopProperty(String name)(Code)



lazilyLoadDynamicLayoutSupportedProperty
protected Boolean lazilyLoadDynamicLayoutSupportedProperty(String name)(Code)



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



makeColorModel
native static ColorModel makeColorModel()(Code)



mapInputMethodHighlight
public Map mapInputMethodHighlight(InputMethodHighlight highlight)(Code)
Returns a style map for the input method highlight.



needsXEmbedImpl
protected boolean needsXEmbedImpl()(Code)



run
native public void run()(Code)



setDynamicLayout
public void setDynamicLayout(boolean b)(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)



useMotifDnD
static boolean useMotifDnD()(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.