Lines Matching refs:peer

31 import java.awt.peer.ContainerPeer;
32 import java.awt.peer.ComponentPeer;
33 import java.awt.peer.LightweightPeer;
384 ComponentPeer peer = this.peer;
385 if (peer instanceof ContainerPeer) {
386 ContainerPeer cpeer = (ContainerPeer)peer;
581 if (peer != null && layoutMgr == null && isVisible()) {
645 if (peer != null && !(peer instanceof LightweightPeer)) {
663 if (comp.peer == null) { // Component didn't have peer - no removeNotify
666 if (newContainer.peer == null) {
667 // Component has peer but new Container doesn't - call removeNotify
683 // All three components have peers, check for peer change
694 return !comp.peer.isReparentSupported();
803 * Reparents child component peer to this container peer.
854 if (peer != null) {
855 if (comp.peer == null) { // Remove notify was called or it didn't have peer - create new one
857 } else { // Both container and child have peers, it means child peer should be reparented.
911 if (peer != null && layoutMgr == null && isVisible()) {
1113 if (peer != null) {
1137 if (peer != null && layoutMgr == null && isVisible()) {
1198 if (peer != null) {
1228 if (peer != null && layoutMgr == null && isVisible()) {
1289 if (peer != null) {
1311 if (peer != null && layoutMgr == null && isVisible()) {
1614 && peer != null)
1617 if (peer instanceof ContainerPeer) {
1618 p = (ContainerPeer) peer;
1661 if (peer instanceof ContainerPeer) {
1684 if (peer instanceof ContainerPeer) {
1685 ((ContainerPeer)peer).beginLayout();
1702 if (peer instanceof ContainerPeer) {
1703 ((ContainerPeer)peer).endLayout();
1985 if (! (peer instanceof LightweightPeer)) {
2041 * Simulates the peer callbacks into java.awt for printing of
2077 * Simulates the peer callbacks into java.awt for printing of
2276 // must be properly disposed of by the peer, so it
2279 // the peer reference will be null.
2281 if (peer != null) {
2282 peer.handleEvent(e);
2396 comp.peer instanceof LightweightPeer) ||
2398 !(comp.peer instanceof LightweightPeer))) &&
2427 isPeerOK = (peer instanceof LightweightPeer) || includeSelf;
2478 if (peer instanceof LightweightPeer) {
2487 // a peer has been created we don't yet have a dispatcher
2547 !(comp.peer instanceof LightweightPeer)) {
2556 comp.peer instanceof LightweightPeer) {
2679 !(comp.peer instanceof LightweightPeer)) {
2697 comp.peer instanceof LightweightPeer) {
2759 if (! (peer instanceof LightweightPeer)) {
4153 ComponentPeer peer = comp.getPeer();
4154 if (peer != null) {
4155 peer.setVisible(true);
4174 ComponentPeer peer = comp.getPeer();
4175 if (peer != null) {
4176 peer.setVisible(false);
4195 ComponentPeer peer = comp.getPeer();
4196 if (peer != null) {
4197 peer.setBounds(origin.x + comp.getX(), origin.y + comp.getY(),