| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private BufferCapabilities | backBufferCaps
The following multibuffering-related methods delegate to our associated GraphicsConfig (X11 or GLX) to handle the appropriate native windowing system specific actions. |
| pack-priv Color | |
| pack-priv static final int | |
| pack-priv boolean | bHasFocus
Keeps the track of focused state of the _NATIVE_ window |
| protected int | |
| private static final PlatformLogger | |
| pack-priv Color | |
| private boolean | |
| private static final PlatformLogger | |
| private static final PlatformLogger | |
| pack-priv Font | |
| private static final PlatformLogger | |
| pack-priv Color | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv boolean | |
| pack-priv Color | |
| private static final PlatformLogger | log
Hides sun. |
| pack-priv boolean | |
| pack-priv Color | |
| pack-priv static final int | |
| private static final PlatformLogger | |
| pack-priv static Color[] | |
| private VolatileImage |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addDropTarget(DropTarget dt)
Implements java. DropTargetPeer implementation |
| private void | |
| public void | applyShape(Region shape)
Implements java. Applies the shape to the X-window. |
| public void | |
| public void | |
| public boolean | canDetermineObscurity()
Implements java. Returns |
| public void | coalescePaintEvent(PaintEvent e)
Implements java. Called to coalesce paint events. |
| public void | createBuffers(int numBuffers, BufferCapabilities caps)
Implements java. Create |
| public Image | createImage(int width, int height)
Implements java. Creates an empty image with the specified width and height. |
| public VolatileImage | createVolatileImage(int width, int height)
Implements java. Creates an empty volatile image with the specified width and height. |
| public void | destroyBuffers()
Implements java. Destroys all created buffers. |
| public void | |
| pack-priv void | |
| public void | |
| pack-priv void | |
| public void | |
| pack-priv void | drawScrollbar(Graphics g, Color bg, int thickness, int length, int min, int max, int val, int vis, boolean horizontal)
|
| public void | |
| public void | |
| public void | flip(int x1, int y1, int x2, int y2, BufferCapabilities.
Implements java. Move the back buffer to the front buffer. |
| public void | |
| public void | |
| public Image | getBackBuffer()
Implements java. Returns the back buffer as image. |
| public BufferCapabilities | |
| public Font | |
| public FontMetrics | Returns: the font metrics forfontthe font for which font metrics is to be
obtained font)Overrides sun. Implements java. Gets the font metrics for the specified font. |
| public Graphics | getGraphics()
Overrides sun. Implements java. Returns a graphics object to paint on the component. |
| public Color[] | |
| public Insets | |
| public Dimension | getMinimumSize()
Implements java. Determines the minimum size of the component. |
| pack-priv XWindowPeer | |
| pack-priv Color | |
| pack-priv Font | |
| pack-priv Color | |
| pack-priv Dimension | |
| public Dimension | getPreferredSize()
Implements java. Determines the preferred size of the component. |
| pack-priv static int[] | |
| pack-priv static Color[] | |
| public Color | |
| public void | handleEvent(AWTEvent e)
Implements java. Called to let the component peer handle events. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public boolean | handlesWheelScrolling()
Implements java. Determines if the component handles wheel scrolling itself. |
| public final boolean | |
| public void | |
| public final boolean | |
| protected boolean | isEventDisabled(XEvent e)
Overrides sun. Returns true if this event is disabled and shouldn't be processed by window Currently if target component is disabled the following event will be disabled on window: ButtonPress, ButtonRelease, KeyPress, KeyRelease, EnterNotify, LeaveNotify, MotionNotify |
| public boolean | isFocusable()
Implements java. Returns |
| protected boolean | |
| public boolean | isObscured()
Implements java. Determines if a component has been obscured, i.e. by an overlapping window or similar. |
| public boolean | |
| public boolean | isReparentSupported()
Implements java. Returns whether this peer supports reparenting to another parent without destroying the peer. |
| public void | layout()
Overrides sun. Implements java. Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements. |
| public void | |
| pack-priv static String | |
| public void | paint(final Graphics g)
Overrides sun. Implements java. Paints the component to the specified graphics context. |
| pack-priv void | postInit(XCreateWindowParams params)
Overrides sun. Called after window creation, descendants should override to initialize Window with class-specific values and perform post-initialization actions. |
| pack-priv void | preInit(XCreateWindowParams params)
Overrides sun. Called before window creation, descendants should override to initialize the data, initialize params. |
| public void | print(Graphics g)
Implements java. Prints the component to the specified graphics context. |
| public final void | |
| public void | |
| private boolean | |
| public void | removeDropTarget(DropTarget dt)
Implements java. Remove the DropTarget from the system |
| public void | reparent(ContainerPeer newNativeParent)
Implements java. Reparents this peer to the new parent referenced by
|
| public final boolean | requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, FocusEvent.
Implements java. Requests focus on this component. |
| public void | |
| public void | setBackground(Color c)
Overrides sun. Implements java. Sets the background color of this component. |
| public void | setBounds(int x, int y, int width, int height, int op)
Implements java. Sets the location or size or both of the component. |
| public void | |
| public void | setEnabled(final boolean value)
Implements java. Enables or disables a component. |
| public void | |
| public void | setForeground(Color c)
Implements java. Sets the foreground color of this component. |
| public void | |
| public void | setZOrder(ComponentPeer above)
Implements java. Lowers this component at the bottom of the above HW peer. |
| public void | updateCursorImmediately()
Implements java. Updates the cursor of the component. |
| public boolean | updateGraphicsData(GraphicsConfiguration gc)
Implements java. Updates internal data structures related to the component's GC. |
| pack-priv void | |
| pack-priv static final AWTEvent |