| java.lang.Object sun.awt.X11.XBaseWindow sun.awt.X11.XWindow sun.awt.X11.XBaseMenuWindow sun.awt.X11.XMenuBarPeer
H_DIFF | final static int H_DIFF(Code) | | |
W_DIFF | final static int W_DIFF(Code) | | |
XMenuBarPeer | XMenuBarPeer(MenuBar menuBarTarget)(Code) | | Construction
|
delMenu | public void delMenu(int index)(Code) | | |
doDispose | protected void doDispose()(Code) | | See Also: XBaseMenuWindow.doDispose() |
getDesiredHeight | int getDesiredHeight()(Code) | | Returns desired height of menu bar
|
getParentMenuWindow | protected XBaseMenuWindow getParentMenuWindow()(Code) | | Menu bar is always root window in menu window's
hierarchy
|
handleEvent | protected void handleEvent(AWTEvent event)(Code) | | Overriden XBaseMenuWindow event handling
|
handleF10KeyPress | void handleF10KeyPress(KeyEvent event)(Code) | | Overriden XWindow keyboard processing
|
handleKeyPress | public void handleKeyPress(XEvent xev)(Code) | | |
init | public void init(Frame frame)(Code) | | called from XFramePeer.setMenuBar
|
isFramePeerEnabled | boolean isFramePeerEnabled()(Code) | | Returns true if framePeer is not null and is enabled
Used to fix 6185057: Disabling a frame does not disable
the menus on the frame, on solaris/linux
|
paint | public void paint(Graphics g)(Code) | | Overriden XWindow painting & printing
|
reshape | public void reshape(int x, int y, int width, int height)(Code) | | For menu bars this function is called from framePeer's
reshape(...) and updateChildrenSizes()
|
setFont | public void setFont(Font f)(Code) | | Implementaion of interface methods
|
ungrabInputImpl | void ungrabInputImpl()(Code) | | Performs ungrabbing of input
See Also: XBaseWindow.ungrabInputImpl() |
updateSize | protected void updateSize()(Code) | | This function is called when it's likely that
size of items has changed.
Invokes framePeer's updateChildrenSizes()
|
Methods inherited from sun.awt.X11.XBaseMenuWindow | public void addItem(MenuItem item)(Code)(Java Doc) XMenuItemPeer[] copyItems()(Code)(Java Doc) public void delItem(int index)(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected void doDispose()(Code)(Java Doc) void doHandleJavaKeyEvent(KeyEvent event)(Code)(Java Doc) void doHandleJavaMouseEvent(MouseEvent mouseEvent)(Code)(Java Doc) void doHandleJavaPaintEvent(PaintEvent event)(Code)(Java Doc) void draw3DRect(Graphics g, int x, int y, int width, int height, boolean raised)(Code)(Java Doc) Rectangle fitWindowAbove(Rectangle itemBounds, Dimension windowSize, Dimension screenSize)(Code)(Java Doc) Rectangle fitWindowBelow(Rectangle itemBounds, Dimension windowSize, Dimension screenSize)(Code)(Java Doc) Rectangle fitWindowLeft(Rectangle itemBounds, Dimension windowSize, Dimension screenSize)(Code)(Java Doc) Rectangle fitWindowRight(Rectangle itemBounds, Dimension windowSize, Dimension screenSize)(Code)(Java Doc) Rectangle fitWindowToScreen(Dimension windowSize, Dimension screenSize)(Code)(Java Doc) Color getBackgroundColor()(Code)(Java Doc) Color getDarkShadowColor()(Code)(Java Doc) Color getDisabledColor()(Code)(Java Doc) XMenuItemPeer getFirstSelectableItem()(Code)(Java Doc) Color getForegroundColor()(Code)(Java Doc) XMenuItemPeer getItem(int index)(Code)(Java Doc) XMenuItemPeer getItemFromPoint(Point pt)(Code)(Java Doc) Color getLightShadowColor()(Code)(Java Doc) MappingData getMappingData()(Code)(Java Doc) static Object getMenuTreeLock()(Code)(Java Doc) XBaseMenuWindow getMenuWindowFromPoint(Point pt)(Code)(Java Doc) XMenuItemPeer getNextSelectableItem()(Code)(Java Doc) abstract protected XBaseMenuWindow getParentMenuWindow()(Code)(Java Doc) XMenuItemPeer getPrevSelectableItem()(Code)(Java Doc) XBaseMenuWindow getRootMenuWindow()(Code)(Java Doc) Color getSelectedColor()(Code)(Java Doc) XMenuItemPeer getSelectedItem()(Code)(Java Doc) XBaseMenuWindow getShowingLeaf()(Code)(Java Doc) XMenuPeer getShowingSubmenu()(Code)(Java Doc) abstract protected Rectangle getSubmenuBounds(Rectangle itemBounds, Dimension windowSize)(Code)(Java Doc) public boolean grabInput()(Code)(Java Doc) protected void handleEvent(AWTEvent event)(Code)(Java Doc) void instantPreInit(XCreateWindowParams params)(Code)(Java Doc) protected boolean isEventDisabled(XEvent e)(Code)(Java Doc) abstract protected MappingData map()(Code)(Java Doc) void postEvent(AWTEvent event)(Code)(Java Doc) void postPaintEvent()(Code)(Java Doc) public void reloadItems(Vector items)(Code)(Java Doc) void replaceColors(Color backgroundColor)(Code)(Java Doc) void resetColors()(Code)(Java Doc) protected void resetMapping()(Code)(Java Doc) void selectItem(XMenuItemPeer item, boolean showWindowIfMenu)(Code)(Java Doc) final void setItemsFont(Font font)(Code)(Java Doc) abstract protected void updateSize()(Code)(Java Doc)
|
Methods inherited from sun.awt.X11.XWindow | public void dispose()(Code)(Java Doc) protected boolean doEraseBackground()(Code)(Java Doc) public void doLayout(int x, int y, int width, int height)(Code)(Java Doc) protected void flush()(Code)(Java Doc) native static int getAWTKeyCodeForKeySym(int keysym)(Code)(Java Doc) public ColorModel getColorModel(int transparency)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getEventSource()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) Graphics getGraphics(SurfaceData surfData, Color afore, Color aback, Font afont)(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public AwtGraphicsConfigData getGraphicsConfigurationData()(Code)(Java Doc) native static int getKeySymForAWTKeyCode(int keycode)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) static int getModifiers(int state, int button, int keyCode)(Code)(Java Doc) static int getMouseMovementSmudge()(Code)(Java Doc) native int getNativeColor(Color clr, GraphicsConfiguration gc)(Code)(Java Doc) static long getParentWindowID(Component target)(Code)(Java Doc) static XWindow getParentXWindowObject(Component target)(Code)(Java Doc) static int getRightButtonNumber()(Code)(Java Doc) public SurfaceData getSurfaceData()(Code)(Java Doc) public Object getTarget()(Code)(Java Doc) public Rectangle getTargetBounds()(Code)(Java Doc) native long getTopWindow(long window, long rootWin)(Code)(Java Doc) protected String[] getWMClass()(Code)(Java Doc) native void getWMInsets(long window, long left, long top, long right, long bottom, long border)(Code)(Java Doc) public Color getWinBackground()(Code)(Java Doc) native void getWindowBounds(long window, long x, long y, long width, long height)(Code)(Java Doc) static int getXModifiers(AWTKeyStroke stroke)(Code)(Java Doc) public void handleButtonPressRelease(XEvent xev)(Code)(Java Doc) public void handleConfigureNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleExposeEvent(XEvent xev)(Code)(Java Doc) public void handleExposeEvent(Component target, int x, int y, int w, int h)(Code)(Java Doc) public void handleKeyPress(XEvent xev)(Code)(Java Doc) final void handleKeyPress(XKeyEvent ev)(Code)(Java Doc) public void handleKeyRelease(XEvent xev)(Code)(Java Doc) public void handleMapNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleMotionNotify(XEvent xev)(Code)(Java Doc) public void handleUnmapNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleXCrossingEvent(XEvent xev)(Code)(Java Doc) native boolean haveCurrentX11InputMethodInstance()(Code)(Java Doc) protected void initGraphicsConfiguration()(Code)(Java Doc) public boolean isEmbedded()(Code)(Java Doc) boolean isLocationByPlatform()(Code)(Java Doc) boolean isParentOf(XWindow win)(Code)(Java Doc) boolean isReparented()(Code)(Java Doc) boolean isResizable()(Code)(Java Doc) boolean isShowing()(Code)(Java Doc) int keyEventType2Id(int xEventType)(Code)(Java Doc) char keysymToUnicode(long keysym, int state)(Code)(Java Doc) public void layout()(Code)(Java Doc) void logIncomingKeyEvent(XKeyEvent ev)(Code)(Java Doc) void paint(Graphics g)(Code)(Java Doc) public void popup(int x, int y, int width, int height)(Code)(Java Doc) void postEvent(AWTEvent event)(Code)(Java Doc) static void postEventStatic(AWTEvent event)(Code)(Java Doc) public void postEventToEventQueue(AWTEvent event)(Code)(Java Doc) void postInit(XCreateWindowParams params)(Code)(Java Doc) public void postKeyEvent(int id, long when, int keyCode, char keyChar, int keyLocation, int state, long event, int eventSize)(Code)(Java Doc) void preInit(XCreateWindowParams params)(Code)(Java Doc) boolean prePostEvent(AWTEvent e)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void reshape(Rectangle bounds)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) static void sendEvent(AWTEvent e)(Code)(Java Doc) static void setBData(KeyEvent e, byte[] data)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) void setReparented(boolean newValue)(Code)(Java Doc) void updateSizeHints()(Code)(Java Doc) void updateSizeHints(int x, int y, int width, int height)(Code)(Java Doc) void updateSizeHints(int x, int y)(Code)(Java Doc) void validateSurface()(Code)(Java Doc) void winBackground(Color c)(Code)(Java Doc) native public boolean x11inputMethodLookupString(long event, long[] keysymArray)(Code)(Java Doc) final public void xSetBackground(Color c)(Code)(Java Doc)
|
Methods inherited from sun.awt.X11.XBaseWindow | void awtLock()(Code)(Java Doc) void awtLockNotifyAll()(Code)(Java Doc) void awtLockWait() throws InterruptedException(Code)(Java Doc) void awtUnlock()(Code)(Java Doc) public boolean checkInitialised()(Code)(Java Doc) protected void checkParams(XCreateWindowParams params)(Code)(Java Doc) static void checkSecurity()(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean containsGlobal(int x, int y)(Code)(Java Doc) void destroy()(Code)(Java Doc) public void dispatchEvent(XEvent xev)(Code)(Java Doc) static void dispatchToWindow(XEvent ev)(Code)(Java Doc) void flush()(Code)(Java Doc) public int getAbsoluteX()(Code)(Java Doc) public int getAbsoluteY()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Set<Long> getChildren()(Code)(Java Doc) public long getContentWindow()(Code)(Java Doc) public XBaseWindow getContentXWindow()(Code)(Java Doc) public XCreateWindowParams getDelayedParams()(Code)(Java Doc) int getHeight()(Code)(Java Doc) public XSizeHints getHints()(Code)(Java Doc) public XBaseWindow getParentWindow()(Code)(Java Doc) long getScreen()(Code)(Java Doc) long getScreenNumber()(Code)(Java Doc) static long getScreenOfWindow(long window)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) Object getStateLock()(Code)(Java Doc) public XWindowPeer getToplevelXWindow()(Code)(Java Doc) public XWMHints getWMHints()(Code)(Java Doc) protected String getWMName()(Code)(Java Doc) int getWidth()(Code)(Java Doc) public long getWindow()(Code)(Java Doc) int getX()(Code)(Java Doc) static XRootWindow getXAWTRootWindow()(Code)(Java Doc) int getY()(Code)(Java Doc) public boolean grabInput()(Code)(Java Doc) public void handleButtonPressRelease(XEvent xev)(Code)(Java Doc) public void handleClientMessage(XEvent xev)(Code)(Java Doc) public void handleConfigureNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleCreateNotify(XEvent xev)(Code)(Java Doc) public void handleDestroyNotify(XEvent xev)(Code)(Java Doc) public void handleExposeEvent(XEvent xev)(Code)(Java Doc) public void handleKeyPress(XEvent xev)(Code)(Java Doc) public void handleKeyRelease(XEvent xev)(Code)(Java Doc) public void handleMapNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleMotionNotify(XEvent xev)(Code)(Java Doc) public void handlePropertyNotify(XEvent xev)(Code)(Java Doc) public void handleReparentNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleUnmapNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleVisibilityEvent(XEvent xev)(Code)(Java Doc) public void handleXCrossingEvent(XEvent xev)(Code)(Java Doc) final protected void init(long parentWindow, Rectangle bounds)(Code)(Java Doc) final protected void init(XCreateWindowParams params)(Code)(Java Doc) protected void initClientLeader()(Code)(Java Doc) void instantPreInit(XCreateWindowParams params)(Code)(Java Doc) boolean isDisposed()(Code)(Java Doc) protected boolean isEventDisabled(XEvent e)(Code)(Java Doc) static boolean isFullRelease(int buttonState, int button)(Code)(Java Doc) static boolean isGrabbedEvent(XEvent ev, XBaseWindow target)(Code)(Java Doc) boolean isMapped()(Code)(Java Doc) public boolean isMinSizeSet()(Code)(Java Doc) boolean isVisible()(Code)(Java Doc) final protected void postInit()(Code)(Java Doc) void postInit(XCreateWindowParams params)(Code)(Java Doc) final protected void preInit()(Code)(Java Doc) void preInit(XCreateWindowParams params)(Code)(Java Doc) void setDisposed(boolean d)(Code)(Java Doc) public void setSizeHints(long flags, int x, int y, int width, int height)(Code)(Java Doc) void setWMClass(String[] cl)(Code)(Java Doc) final public void setWMHints(XWMHints hints)(Code)(Java Doc) public void toFront()(Code)(Java Doc) Rectangle toGlobal(Rectangle rec)(Code)(Java Doc) Point toGlobal(Point pt)(Code)(Java Doc) Point toGlobal(int x, int y)(Code)(Java Doc) Point toLocal(Point pt)(Code)(Java Doc) Point toLocal(int x, int y)(Code)(Java Doc) static Point toOtherWindow(long src, long dst, int x, int y)(Code)(Java Doc) public String toString()(Code)(Java Doc) static void ungrabInput()(Code)(Java Doc) void ungrabInputImpl()(Code)(Java Doc) void updateWMName()(Code)(Java Doc) public static long xGetInputFocus()(Code)(Java Doc) public void xRequestFocus(long time)(Code)(Java Doc) public void xRequestFocus()(Code)(Java Doc) public void xSetBounds(Rectangle bounds)(Code)(Java Doc) public void xSetBounds(int x, int y, int width, int height)(Code)(Java Doc) public void xSetVisible(boolean visible)(Code)(Java Doc)
|
|
|