Public Methods |
void
|
applyShape(Region shape)
Applies the shape to the native component window.
|
void
|
beginLayout()
|
void
|
beginValidate()
|
boolean
|
canDetermineObscurity()
|
int
|
checkImage(Image img, int w, int h, ImageObserver o)
|
void
|
coalescePaintEvent(PaintEvent e)
|
void
|
createBuffers(int numBuffers, BufferCapabilities caps)
|
Image
|
createImage(int width, int height)
|
Image
|
createImage(ImageProducer producer)
|
VolatileImage
|
createVolatileImage(int width, int height)
|
void
|
destroyBuffers()
|
void
|
disable()
DEPRECATED: Replaced by setEnabled(boolean).
|
void
|
dispose()
|
void
|
enable()
DEPRECATED: Replaced by setEnabled(boolean).
|
void
|
endLayout()
|
void
|
endValidate()
|
void
|
flip(BufferCapabilities.FlipContents flipAction)
|
Image
|
getBackBuffer()
|
Rectangle
|
getBounds()
|
ColorModel
|
getColorModel()
|
FontMetrics
|
getFontMetrics(Font font)
|
Graphics
|
getGraphics()
|
GraphicsConfiguration
|
getGraphicsConfiguration()
|
Insets
|
getInsets()
|
Point
|
getLocationOnScreen()
|
Dimension
|
getMinimumSize()
|
Dimension
|
getPreferredSize()
|
Toolkit
|
getToolkit()
|
boolean
|
handleEvent(Event e)
|
void
|
handleEvent(AWTEvent arg0)
|
boolean
|
handlesWheelScrolling()
|
void
|
hide()
DEPRECATED: Replaced by setVisible(boolean).
|
Insets
|
insets()
DEPRECATED: Replaced by getInsets().
|
boolean
|
isFocusable()
|
boolean
|
isObscured()
|
boolean
|
isPaintPending()
|
boolean
|
isReparentSupported()
Returns whether this peer supports reparenting to another parent withour destroying the peer
|
boolean
|
isRestackSupported()
Indicates availabiltity of restacking operation in this container.
|
void
|
layout()
Used by lightweight implementations to tell a ComponentPeer to layout
its sub-elements.
|
Dimension
|
minimumSize()
DEPRECATED: Replaced by getMinimumSize().
|
void
|
paint(Graphics g)
|
Dimension
|
preferredSize()
DEPRECATED: Replaced by getPreferredSize().
|
boolean
|
prepareImage(Image img, int w, int h, ImageObserver o)
|
void
|
print(Graphics g)
|
void
|
repaint(long tm, int x, int y, int width, int height)
|
void
|
reparent(ContainerPeer newNativeParent)
Reparents this peer to the new parent referenced by newContainer peer
Implementation depends on toolkit and container.
|
boolean
|
requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)
|
void
|
reshape(int x, int y, int width, int height)
DEPRECATED: Replaced by setBounds(int, int, int, int).
|
void
|
restack()
Restacks native windows - children of this native window - according to Java container order
|
void
|
setBackground(Color c)
|
void
|
setBounds(int x, int y, int width, int height, int op)
|
void
|
setCursor(Cursor cursor)
|
void
|
setEnabled(boolean b)
|
void
|
setFont(Font f)
|
void
|
setForeground(Color c)
|
void
|
setVisible(boolean b)
|
void
|
show()
DEPRECATED: Replaced by setVisible(boolean).
|
void
|
updateCursorImmediately()
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
java.awt.peer.ComponentPeer
abstract
void
|
applyShape(Region shape)
Applies the shape to the native component window.
|
abstract
boolean
|
canDetermineObscurity()
|
abstract
int
|
checkImage(Image img, int w, int h, ImageObserver o)
|
abstract
void
|
coalescePaintEvent(PaintEvent e)
|
abstract
void
|
createBuffers(int numBuffers, BufferCapabilities caps)
|
abstract
Image
|
createImage(ImageProducer producer)
|
abstract
Image
|
createImage(int width, int height)
|
abstract
VolatileImage
|
createVolatileImage(int width, int height)
|
abstract
void
|
destroyBuffers()
|
abstract
void
|
disable()
DEPRECATED: Replaced by setEnabled(boolean).
|
abstract
void
|
dispose()
|
abstract
void
|
enable()
DEPRECATED: Replaced by setEnabled(boolean).
|
abstract
void
|
flip(BufferCapabilities.FlipContents flipAction)
|
abstract
Image
|
getBackBuffer()
|
abstract
Rectangle
|
getBounds()
|
abstract
ColorModel
|
getColorModel()
|
abstract
FontMetrics
|
getFontMetrics(Font font)
|
abstract
Graphics
|
getGraphics()
|
abstract
GraphicsConfiguration
|
getGraphicsConfiguration()
|
abstract
Point
|
getLocationOnScreen()
|
abstract
Dimension
|
getMinimumSize()
|
abstract
Dimension
|
getPreferredSize()
|
abstract
Toolkit
|
getToolkit()
|
abstract
void
|
handleEvent(AWTEvent e)
|
abstract
boolean
|
handlesWheelScrolling()
|
abstract
void
|
hide()
DEPRECATED: Replaced by setVisible(boolean).
|
abstract
boolean
|
isFocusable()
|
abstract
boolean
|
isObscured()
|
abstract
boolean
|
isReparentSupported()
Returns whether this peer supports reparenting to another parent withour destroying the peer
|
abstract
void
|
layout()
Used by lightweight implementations to tell a ComponentPeer to layout
its sub-elements.
|
abstract
Dimension
|
minimumSize()
DEPRECATED: Replaced by getMinimumSize().
|
abstract
void
|
paint(Graphics g)
|
abstract
Dimension
|
preferredSize()
DEPRECATED: Replaced by getPreferredSize().
|
abstract
boolean
|
prepareImage(Image img, int w, int h, ImageObserver o)
|
abstract
void
|
print(Graphics g)
|
abstract
void
|
repaint(long tm, int x, int y, int width, int height)
|
abstract
void
|
reparent(ContainerPeer newContainer)
Reparents this peer to the new parent referenced by newContainer peer
Implementation depends on toolkit and container.
|
abstract
boolean
|
requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)
|
abstract
void
|
reshape(int x, int y, int width, int height)
DEPRECATED: Replaced by setBounds(int, int, int, int).
|
abstract
void
|
setBackground(Color c)
|
abstract
void
|
setBounds(int x, int y, int width, int height, int op)
|
abstract
void
|
setEnabled(boolean b)
|
abstract
void
|
setFont(Font f)
|
abstract
void
|
setForeground(Color c)
|
abstract
void
|
setVisible(boolean b)
|
abstract
void
|
show()
DEPRECATED: Replaced by setVisible(boolean).
|
abstract
void
|
updateCursorImmediately()
|
|
From interface
java.awt.peer.ContainerPeer
|