Class Overview
A collection of methods for modifying package private fields in AWT components.
 This class is meant to be used by Peer code only. Previously peer code
 got around this problem by modifying fields from native code. However
 as we move away from native code to Pure-java peers we need this class.
 
Summary
| Public Methods | 
|---|
	 
    
        | static
            
            void | enableEvents(Component c, long event_mask) | 
	 
    
        | static
            
            Color | getBackground(Component c) | 
	 
    
        | static
            
            Cursor | getCursor_NoClientCode(Component c) | 
	 
    
        | static
            
            Font | getFont(Component c) | 
	 
    
        | static
            
            Font | getFont_NoClientCode(Component c) | 
	 
    
        | static
            
            Color | getForeground(Component c) | 
	 
    
        | static
            
            int | getHeight(Component c) | 
	 
    
        | static
            
            boolean | getIgnoreRepaint(Component comp) | 
	 
    
        | static
            
            boolean | getIsPacked(Component c) | 
	 
    
        | static
            
            Point | getLocation_NoClientCode(Component c) | 
	 
    
        | static
            
            Container | getParent_NoClientCode(Component c) | 
	 
    
        | static
            
            ComponentPeer | getPeer(Component c) | 
	 
    
        | static
            
            boolean | getVisible(Component c) | 
	 
    
        | static
            
            int | getWidth(Component c) | 
	 
    
        | static
            
            int | getX(Component c) | 
	 
    
        | static
            
            int | getY(Component c) | 
	 
    
        | static
            
            boolean | isEnabledImpl(Component c) | 
	 
    
        | static
            
            void | processEvent(Component c, AWTEvent event) | 
	 
    
        | static
            
            void | resetGC(Component c) | 
	 
    
        | static
            
            void | setBackground(Component c, Color color) | 
	 
    
        | static
            
            void | setBounds(Component c, int x, int y, int width, int height) | 
	 
    
        | static
            
            void | setHeight(Component c, int height) | 
	 
    
        | static
            
            void | setParent(Component c, Container parent) | 
	 
    
        | static
            
            void | setPeer(Component c, ComponentPeer peer) | 
	 
    
        | static
            
            void | setWidth(Component c, int width) | 
	 
    
        | static
            
            void | setX(Component c, int x) | 
	 
    
        | static
            
            void | setY(Component c, int y) | 
| [Expand] Inherited Methods | 
|---|
|  From class
  java.lang.Object 
  
   
    
    
	 
    
        | Object | clone() Creates and returns a copy of this object. |  
        | boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |  
        | void | finalize() Called by the garbage collector on an object when garbage collection
 determines that there are no more references to the object. |  
        | final
            
            
            Class<?> | getClass() Returns the runtime class of this Object. |  
        | int | hashCode() Returns a hash code value for the object. |  
        | final
            
            
            void | notify() Wakes up a single thread that is waiting on this object's
 monitor. |  
        | final
            
            
            void | notifyAll() Wakes up all threads that are waiting on this object's monitor. |  
        | String | toString() Returns a string representation of the object. |  
        | final
            
            
            void | wait() Causes the current thread to wait until another thread invokes the
  notify() method or the
  notifyAll() method for this object. |  
        | final
            
            
            void | wait(long timeout, int nanos) Causes the current thread to wait until another thread invokes the
  notify() method or the
  notifyAll() method for this object, or
 some other thread interrupts the current thread, or a certain
 amount of real time has elapsed. |  
        | final
            
            
            void | wait(long timeout) Causes the current thread to wait until either another thread invokes the
  notify() method or the
  notifyAll() method for this object, or a
 specified amount of time has elapsed. |  | 
 
Public Methods
 
    
      
        public 
        static 
         
         
         
        void
      
      enableEvents
      (Component c, long event_mask)
    
      
    
 
 
    
      
        public 
        static 
         
         
         
        boolean
      
      getIgnoreRepaint
      (Component comp)
    
      
    
 
 
    
      
        public 
        static 
         
         
         
        boolean
      
      getIsPacked
      (Component c)
    
      
    
 
 
    
      
        public 
        static 
         
         
         
        boolean
      
      getVisible
      (Component c)
    
      
    
 
 
    
      
        public 
        static 
         
         
         
        boolean
      
      isEnabledImpl
      (Component c)
    
      
    
 
 
    
      
        public 
        static 
         
         
         
        void
      
      setBounds
      (Component c, int x, int y, int width, int height)
    
      
    
 
 
    
      
        public 
        static 
         
         
         
        void
      
      setHeight
      (Component c, int height)
    
      
    
 
 
    
      
        public 
        static 
         
         
         
        void
      
      setWidth
      (Component c, int width)