| Method from java.awt.peer.ComponentPeer Detail: |
public void applyShape(Region shape)
Applies the shape to the native component window. |
public boolean canDetermineObscurity()
|
public int checkImage(Image img,
int w,
int h,
ImageObserver o)
|
public void coalescePaintEvent(PaintEvent e)
|
public void createBuffers(int numBuffers,
BufferCapabilities caps) throws AWTException
|
public Image createImage(ImageProducer producer)
|
public Image createImage(int width,
int height)
|
public VolatileImage createVolatileImage(int width,
int height)
|
public void destroyBuffers()
|
public void disable()
DEPRECATED: Replaced by setEnabled(boolean). |
public void dispose()
|
public void enable()
DEPRECATED: Replaced by setEnabled(boolean). |
public void flip(BufferCapabilities.FlipContents flipAction)
|
public Image getBackBuffer()
|
public Rectangle getBounds()
|
public ColorModel getColorModel()
|
public FontMetrics getFontMetrics(Font font)
|
public Graphics getGraphics()
|
public GraphicsConfiguration getGraphicsConfiguration()
|
public Point getLocationOnScreen()
|
public Dimension getMinimumSize()
|
public Dimension getPreferredSize()
|
public Toolkit getToolkit()
|
public void handleEvent(AWTEvent e)
|
public boolean handlesWheelScrolling()
|
public void hide()
DEPRECATED: Replaced by setVisible(boolean). |
public boolean isFocusable()
|
public boolean isObscured()
|
public boolean isReparentSupported()
Returns whether this peer supports reparenting to another parent withour destroying the peer |
public void layout()
Used by lightweight implementations to tell a ComponentPeer to layout
its sub-elements. For instance, a lightweight Checkbox needs to layout
the box, as well as the text label. |
public Dimension minimumSize()
DEPRECATED: Replaced by getMinimumSize(). |
public void paint(Graphics g)
|
public Dimension preferredSize()
DEPRECATED: Replaced by getPreferredSize(). |
public boolean prepareImage(Image img,
int w,
int h,
ImageObserver o)
|
public void print(Graphics g)
|
public void repaint(long tm,
int x,
int y,
int width,
int height)
|
public void reparent(ContainerPeer newContainer)
Reparents this peer to the new parent referenced by newContainer peer
Implementation depends on toolkit and container. |
public boolean requestFocus(Component lightweightChild,
boolean temporary,
boolean focusedWindowChangeAllowed,
long time,
CausedFocusEvent.Cause cause)
|
public void reshape(int x,
int y,
int width,
int height)
DEPRECATED: Replaced by setBounds(int, int, int, int). |
public void setBackground(Color c)
|
public void setBounds(int x,
int y,
int width,
int height,
int op)
|
public void setEnabled(boolean b)
|
public void setFont(Font f)
|
public void setForeground(Color c)
|
public void setVisible(boolean b)
|
public void show()
DEPRECATED: Replaced by setVisible(boolean). |
public void updateCursorImmediately()
|