The peer interfaces are intended only for use in porting
the AWT.
The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
Returns whether this peer supports reparenting to another parent withour destroying the peer
Returns whether this peer supports reparenting to another parent withour destroying the peer
Returns:
true if appropriate reparent is supported, false otherwise
Since:
1.5
public void
layout
()
Used by lightweight implementations to tell a ComponentPeer to layout
its sub-elements.
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.
Reparents this peer to the new parent referenced by newContainer peer
Implementation depends on toolkit and container.
Reparents this peer to the new parent referenced by newContainer peer Implementation depends on toolkit and container.
Parameters: - newContainer - peer of the new parent container
Since:
1.5
public boolean
requestFocus
(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, sun.awt.CausedFocusEvent.Cause cause)
public void
reshape
(int x, int y, int width, int height)
DEPRECATED: Replaced by setBounds(int, int, int, int).