src/solaris/classes/sun/awt/X11/XComponentPeer.java

Print this page




 783     }
 784 
 785     public Dimension preferredSize() {
 786         return getPreferredSize();
 787     }
 788 
 789     public Dimension minimumSize() {
 790         return getMinimumSize();
 791     }
 792 
 793     public Insets getInsets() {
 794         return new Insets(0, 0, 0, 0);
 795     }
 796 
 797     public void beginValidate() {
 798     }
 799 
 800     public void endValidate() {
 801     }
 802 
 803 
 804     /**
 805      * DEPRECATED:  Replaced by getInsets().
 806      */
 807 
 808     public Insets insets() {
 809         return getInsets();
 810     }
 811 
 812     // Returns true if we are inside begin/endLayout and
 813     // are waiting for native painting
 814     public boolean isPaintPending() {
 815         return paintPending && isLayouting;
 816     }
 817 
 818     public boolean handlesWheelScrolling() {
 819         return false;
 820     }
 821 
 822     public void beginLayout() {
 823         // Skip all painting till endLayout
 824         isLayouting = true;
 825 
 826     }
 827 
 828     public void endLayout() {
 829         if (!paintPending && !paintArea.isEmpty()
 830             && !ComponentAccessor.getIgnoreRepaint(target))
 831         {




 783     }
 784 
 785     public Dimension preferredSize() {
 786         return getPreferredSize();
 787     }
 788 
 789     public Dimension minimumSize() {
 790         return getMinimumSize();
 791     }
 792 
 793     public Insets getInsets() {
 794         return new Insets(0, 0, 0, 0);
 795     }
 796 
 797     public void beginValidate() {
 798     }
 799 
 800     public void endValidate() {
 801     }
 802 









 803     // Returns true if we are inside begin/endLayout and
 804     // are waiting for native painting
 805     public boolean isPaintPending() {
 806         return paintPending && isLayouting;
 807     }
 808 
 809     public boolean handlesWheelScrolling() {
 810         return false;
 811     }
 812 
 813     public void beginLayout() {
 814         // Skip all painting till endLayout
 815         isLayouting = true;
 816 
 817     }
 818 
 819     public void endLayout() {
 820         if (!paintPending && !paintArea.isEmpty()
 821             && !ComponentAccessor.getIgnoreRepaint(target))
 822         {