Method Summary |
|
native public 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) Returns a new custom cursor. |
public DesktopPeer | createDesktopPeer(Desktop target) |
public DialogPeer | createDialog(Dialog target) |
public T | createDragGestureRecognizer(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl) |
public DragSourceContextPeer | createDragSourceContextPeer(DragGestureEvent dge) |
public MEmbeddedFramePeer | createEmbeddedFrame(MEmbeddedFrame target) |
public FileDialogPeer | createFileDialog(FileDialog target) |
public FramePeer | createFrame(Frame target) |
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) |
public TextAreaPeer | createTextArea(TextArea target) |
public TextFieldPeer | createTextField(TextField target) |
public TrayIconPeer | createTrayIcon(TrayIcon target) |
public WindowPeer | createWindow(Window target) |
public Dimension | getBestCursorSize(int preferredWidth, int preferredHeight) |
public ColorModel | getColorModel() |
public FontMetrics | getFontMetrics(Font font) |
public FontPeer | getFontPeer(String name, int style) |
public InputMethodDescriptor | getInputMethodAdapterDescriptor() Returns a new input method adapter descriptor for native input methods. |
public boolean | getLockingKeyState(int key) |
native public 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. |
public PrintJob | getPrintJob(Frame frame, String doctitle, Properties props) |
public PrintJob | getPrintJob(Frame frame, String doctitle, JobAttributes jobAttributes, PageAttributes pageAttributes) |
native protected int | getScreenHeight() |
public Insets | getScreenInsets(GraphicsConfiguration gc) |
native public int | getScreenResolution() |
native protected int | getScreenWidth() |
static ColorModel | getStaticColorModel() |
public Clipboard | getSystemClipboard() |
public Clipboard | getSystemSelection() |
public static int | getWMID() |
public void | grab(Window w) |
native public void | init(String mainClassName) |
protected void | initializeDesktopProperties() |
public boolean | isDesktopSupported() |
public boolean | isDynamicLayoutActive() |
protected boolean | isDynamicLayoutSet() |
native protected boolean | isDynamicLayoutSupportedNative() |
native public boolean | isFrameStateSupported(int state) |
public boolean | isModalExclusionTypeSupported(Dialog.ModalExclusionType exclusionType) |
public boolean | isModalityTypeSupported(Dialog.ModalityType modalityType) |
public boolean | isTraySupported() |
protected Object | lazilyLoadDesktopProperty(String name) |
protected Boolean | lazilyLoadDynamicLayoutSupportedProperty(String name) |
native public void | loadSystemColors(int[] systemColors) |
native static ColorModel | makeColorModel() |
public Map | mapInputMethodHighlight(InputMethodHighlight highlight) Returns a style map for the input method highlight. |
protected boolean | needsXEmbedImpl() |
native public void | run() |
public void | setDynamicLayout(boolean b) |
protected boolean | syncNativeQueue(long timeout) |
final protected static void | targetDisposedPeer(Object target, Object peer) |
final protected static Object | targetToPeer(Object target) |
public void | ungrab(Window w) |
static boolean | useMotifDnD() |