1 19 20 21 package org.netbeans.modules.form.fakepeer; 22 23 import java.awt.*; 24 25 29 abstract class FakeContainerPeer extends FakeComponentPeer 30 { 31 private Insets _insets; 32 33 FakeContainerPeer(Container target) { 34 super(target); 35 } 36 37 public Insets getInsets() { 38 return insets(); 39 } 40 41 public void beginValidate() { 42 } 43 44 public void endValidate() { 45 } 46 47 public void beginLayout() { 49 } 50 51 public void endLayout() { 53 } 54 55 public boolean isPaintPending() { 57 return false; 58 } 59 60 public void cancelPendingPaint(int x, int y, int w, int h) { 62 } 63 64 public void restack() { 66 } 67 68 public boolean isRestackSupported() { 70 return false; 71 } 72 73 public Insets insets() { 75 if (_insets == null) 76 _insets = new Insets(0, 0, 0, 0); 77 return _insets; 78 } 79 } 80 | Popular Tags |