Save This Page
Home » openjdk-7 » sun » awt » motif » [javadoc | source]
sun.awt.motif
public class: MToolkit [javadoc | source]
java.lang.Object
   java.awt.Toolkit
      sun.awt.SunToolkit
         sun.awt.UNIXToolkit
            sun.awt.motif.MToolkit

All Implemented Interfaces:
    Runnable, ComponentFactory, InputMethodSupport, WindowClosingListener, WindowClosingSupport, KeyboardFocusManagerPeerProvider

Field Summary
protected static  boolean dynamicLayoutSetting     
static final  X11GraphicsConfig config     
static  ColorModel screenmodel     
public static final  int UNDETERMINED_WM     
public static final  int NO_WM     
public static final  int OTHER_WM     
public static final  int OPENLOOK_WM     
public static final  int MOTIF_WM     
public static final  int CDE_WM     
public static final  int ENLIGHTEN_WM     
public static final  int KDE2_WM     
public static final  int SAWFISH_WM     
public static final  int ICE_WM     
public static final  int METACITY_WM     
public static final  int COMPIZ_WM     
public static final  int LG3D_WM     
Fields inherited from sun.awt.UNIXToolkit:
GTK_LOCK,  FONTCONFIGAAHINT
Fields inherited from sun.awt.SunToolkit:
GRAB_EVENT_MASK,  numberOfButtons,  MAX_BUTTONS_SUPPORTED,  imgCache,  DEFAULT_WAIT_TIME,  eqNoEvents,  DESKTOPFONTHINTS
Fields inherited from java.awt.Toolkit:
desktopProperties,  desktopPropsSupport,  $assertionsDisabled
Constructor:
 public MToolkit() 
Method from sun.awt.motif.MToolkit Summary:
beep,   createButton,   createCanvas,   createCheckbox,   createCheckboxMenuItem,   createChoice,   createCustomCursor,   createDesktopPeer,   createDialog,   createDragGestureRecognizer,   createDragSourceContextPeer,   createFileDialog,   createFrame,   createKeyboardFocusManagerPeer,   createLabel,   createList,   createMenu,   createMenuBar,   createMenuItem,   createPanel,   createPopupMenu,   createRobot,   createScrollPane,   createScrollbar,   createSystemTray,   createTextArea,   createTextField,   createTrayIcon,   createWindow,   getBestCursorSize,   getColorModel,   getFontMetrics,   getFontPeer,   getInputMethodAdapterDescriptor,   getLockingKeyState,   getLockingKeyStateNative,   getMaximumCursorColors,   getNativeContainer,   getPrintJob,   getPrintJob,   getScreenHeight,   getScreenInsets,   getScreenResolution,   getScreenWidth,   getStaticColorModel,   getSystemClipboard,   getSystemSelection,   getWMID,   grab,   init,   initializeDesktopProperties,   isDesktopSupported,   isDynamicLayoutActive,   isDynamicLayoutSet,   isDynamicLayoutSupportedNative,   isFrameStateSupported,   isModalExclusionTypeSupported,   isModalityTypeSupported,   isTraySupported,   lazilyLoadDesktopProperty,   lazilyLoadDynamicLayoutSupportedProperty,   loadSystemColors,   makeColorModel,   mapInputMethodHighlight,   needsXEmbedImpl,   run,   setDynamicLayout,   syncNativeQueue,   targetDisposedPeer,   targetToPeer,   ungrab,   useMotifDnD
Methods from sun.awt.UNIXToolkit:
checkGtkVersion,   getDatatransferTimeout,   getDesktopAAHints,   getGTKIcon,   getStockIcon,   isNativeGTKAvailable,   lazilyLoadDesktopProperty,   lazilyLoadGTKIcon,   loadGTK,   loadIconCallback,   sync
Methods from sun.awt.SunToolkit:
addModalityListener,   awtLock,   awtLockNotify,   awtLockNotifyAll,   awtLockWait,   awtLockWait,   awtTryLock,   awtUnlock,   checkAndSetPolicy,   checkImage,   closeSplashScreen,   consumeNextKeyTyped,   createButton,   createCanvas,   createCheckbox,   createCheckboxMenuItem,   createChoice,   createDialog,   createDragSourceContextPeer,   createFileDialog,   createFrame,   createImage,   createImage,   createImage,   createImage,   createInputMethodWindow,   createKeyboardFocusManagerPeer,   createLabel,   createList,   createMenu,   createMenuBar,   createMenuItem,   createNewAppContext,   createPanel,   createPopupMenu,   createRobot,   createScrollPane,   createScrollbar,   createSystemTray,   createTextArea,   createTextField,   createTrayIcon,   createWindow,   disableBackgroundErase,   disableBackgroundErase,   dumpPeers,   enableInputMethodsForTextComponent,   executeOnEDTAndWait,   executeOnEventHandlerThread,   executeOnEventHandlerThread,   executeOnEventHandlerThread,   flushPendingEvents,   getBooleanSystemProperty,   getContainingWindow,   getDataTransfererClassName,   getDefaultKeyboardLocale,   getDesktopAAHints,   getDesktopFontHints,   getField,   getFontList,   getFontMetrics,   getFontPeer,   getHeavyweightComponent,   getImage,   getImage,   getImageFromHash,   getImageFromHash,   getMethod,   getMouseInfoPeer,   getNativeContainer,   getNumberOfButtons,   getScaledIconData,   getScaledIconImage,   getScreenHeight,   getScreenSize,   getScreenWidth,   getStartupLocale,   getSunAwtDisableMixing,   getSunAwtErasebackgroundonresize,   getSunAwtNoerasebackground,   getSystemEventQueueImpl,   getSystemEventQueueImplPP,   getSystemEventQueueImplPP,   getSystemProperty,   getWindowClosingListener,   grab,   insertTargetMapping,   invokeLaterOnAppContext,   isAWTLockHeldByCurrentThread,   isContainingTopLevelOpaque,   isContainingTopLevelTranslucent,   isDesktopSupported,   isDispatchThreadForAppContext,   isInstanceOf,   isLightweightOrUnknown,   isModalExcluded,   isModalExcludedSupported,   isModalExcludedSupportedImpl,   isModalExclusionTypeSupported,   isModalityTypeSupported,   isNativeGTKAvailable,   isPostEventQueueEmpty,   isSystemGenerated,   isTranslucencyCapable,   isTraySupported,   isWindowOpacitySupported,   isWindowShapingSupported,   isWindowTranslucencySupported,   isXEmbedServerRequested,   needUpdateWindow,   needsXEmbed,   needsXEmbedImpl,   notifyModalityChange,   notifyModalityPopped,   notifyModalityPushed,   postEvent,   postPriorityEvent,   prepareImage,   realSync,   realSync,   removeModalityListener,   setAAFontSettingsCondition,   setDataTransfererClassName,   setLWRequestStatus,   setModalExcluded,   setSystemGenerated,   setWindowClosingListener,   syncNativeQueue,   targetCreatedPeer,   targetDisposedPeer,   targetToAppContext,   targetToPeer,   ungrab,   useBufferPerWindow,   waitForIdle,   wakeupEventQueue,   windowClosingDelivered,   windowClosingNotify
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.motif.MToolkit Detail:
 public native  void beep()
 public ButtonPeer createButton(Button target) 
 public CanvasPeer createCanvas(Canvas target) 
 public CheckboxPeer createCheckbox(Checkbox target) 
 public CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem target) 
 public ChoicePeer createChoice(Choice target) 
 public Cursor createCustomCursor(Image cursor,
    Point hotSpot,
    String name) throws IndexOutOfBoundsException 
    Returns a new custom cursor.
 public DesktopPeer createDesktopPeer(Desktop target) throws HeadlessException 
 public DialogPeer createDialog(Dialog target) 
 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) 
 public FramePeer createFrame(Frame target) 
 public KeyboardFocusManagerPeer createKeyboardFocusManagerPeer(KeyboardFocusManager manager) 
 public LabelPeer createLabel(Label target) 
 public ListPeer createList(List target) 
 public MenuPeer createMenu(Menu target) 
 public MenuBarPeer createMenuBar(MenuBar target) 
 public MenuItemPeer createMenuItem(MenuItem target) 
 public PanelPeer createPanel(Panel target) 
 public PopupMenuPeer createPopupMenu(PopupMenu target) 
 public RobotPeer createRobot(Robot target,
    GraphicsDevice screen) 
 public ScrollPanePeer createScrollPane(ScrollPane target) 
 public ScrollbarPeer createScrollbar(Scrollbar target) 
 public SystemTrayPeer createSystemTray(SystemTray target) throws HeadlessException 
 public TextAreaPeer createTextArea(TextArea target) 
 public TextFieldPeer createTextField(TextField target) 
 public TrayIconPeer createTrayIcon(TrayIcon target) throws HeadlessException 
 public WindowPeer createWindow(Window target) 
 public Dimension getBestCursorSize(int preferredWidth,
    int preferredHeight) 
    Returns the supported cursor size
 public ColorModel getColorModel() 
 public FontMetrics getFontMetrics(Font font) 
 public FontPeer getFontPeer(String name,
    int style) 
 public InputMethodDescriptor getInputMethodAdapterDescriptor() throws AWTException 
    Returns a new input method adapter descriptor for native input methods.
 public boolean getLockingKeyState(int key) 
 public native boolean getLockingKeyStateNative(int key)
 public int getMaximumCursorColors() 
 public static Container getNativeContainer(Component c) 
    Give native peers the ability to query the native container given a native component (e.g. the direct parent may be lightweight).
 public PrintJob getPrintJob(Frame frame,
    String doctitle,
    Properties props) 
 public PrintJob getPrintJob(Frame frame,
    String doctitle,
    JobAttributes jobAttributes,
    PageAttributes pageAttributes) 
 protected native int getScreenHeight()
 public Insets getScreenInsets(GraphicsConfiguration gc) 
 public native int getScreenResolution()
 protected native int getScreenWidth()
 static ColorModel getStaticColorModel() 
 public Clipboard getSystemClipboard() 
 public Clipboard getSystemSelection() 
 public static int getWMID() 
 public  void grab(Window w) 
 public native  void init(String mainClassName)
 protected  void initializeDesktopProperties() 
 public boolean isDesktopSupported() 
 public boolean isDynamicLayoutActive() 
 protected boolean isDynamicLayoutSet() 
 protected native boolean isDynamicLayoutSupportedNative()
 public native boolean isFrameStateSupported(int state)
 public boolean isModalExclusionTypeSupported(ModalExclusionType exclusionType) 
 public boolean isModalityTypeSupported(ModalityType modalityType) 
 public boolean isTraySupported() 
 protected Object lazilyLoadDesktopProperty(String name) 
 protected Boolean lazilyLoadDynamicLayoutSupportedProperty(String name) 
 public native  void loadSystemColors(int[] systemColors)
 static native ColorModel makeColorModel()
 public Map mapInputMethodHighlight(InputMethodHighlight highlight) 
    Returns a style map for the input method highlight.
 protected boolean needsXEmbedImpl() 
 public native  void run()
 public  void setDynamicLayout(boolean b) 
 protected boolean syncNativeQueue(long timeout) 
 protected static final  void targetDisposedPeer(Object target,
    Object peer) 
 protected static final Object targetToPeer(Object target) 
 public  void ungrab(Window w) 
 static boolean useMotifDnD()