java.awt.peer.ComponentPeer |
Known Indirect Subclasses |
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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DEFAULT_OPERATION | ||||||||||
int | NO_EMBEDDED_CHECK | ||||||||||
int | RESET_OPERATION | ||||||||||
int | SET_BOUNDS | ||||||||||
int | SET_CLIENT_SIZE | ||||||||||
int | SET_LOCATION | ||||||||||
int | SET_SIZE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Applies the shape to the native component window.
| |||||||||||
DEPRECATED: Replaced by setEnabled(boolean).
| |||||||||||
DEPRECATED: Replaced by setEnabled(boolean).
| |||||||||||
DEPRECATED: Replaced by setVisible(boolean).
| |||||||||||
Returns whether this peer supports reparenting to another parent withour destroying the peer
| |||||||||||
Used by lightweight implementations to tell a ComponentPeer to layout
its sub-elements.
| |||||||||||
DEPRECATED: Replaced by getMinimumSize().
| |||||||||||
DEPRECATED: Replaced by getPreferredSize().
| |||||||||||
Reparents this peer to the new parent referenced by
newContainer peer
Implementation depends on toolkit and container. | |||||||||||
DEPRECATED: Replaced by setBounds(int, int, int, int).
| |||||||||||
DEPRECATED: Replaced by setVisible(boolean).
| |||||||||||
DEPRECATED: Replaced by setEnabled(boolean).
DEPRECATED: Replaced by setEnabled(boolean).
DEPRECATED: Replaced by setVisible(boolean).
Returns whether this peer supports reparenting to another parent withour destroying the peer
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.
newContainer | peer of the new parent container |
---|
DEPRECATED: Replaced by setBounds(int, int, int, int).
DEPRECATED: Replaced by setVisible(boolean).