Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
class: BufferStrategyPaintManager.BufferInfo [javadoc | source]
java.lang.Object
   java.awt.event.ComponentAdapter
      javax.swing.BufferStrategyPaintManager$BufferInfo

All Implemented Interfaces:
    WindowListener, ComponentListener

BufferInfo is used to track the BufferStrategy being used for a particular Component. In addition to tracking the BufferStrategy it will install a WindowListener and ComponentListener. When the component is hidden/iconified the buffer is marked as needing to be completely repainted.
Constructor:
 public BufferInfo(Container root) 
Method from javax.swing.BufferStrategyPaintManager$BufferInfo Summary:
componentHidden,   dispose,   getBufferStrategy,   getContentsLostDuringExpose,   getPaintAllOnExpose,   getRoot,   hasBufferStrategyChanged,   isInSync,   setContentsLostDuringExpose,   setInSync,   setPaintAllOnExpose,   windowActivated,   windowClosed,   windowClosing,   windowDeactivated,   windowDeiconified,   windowIconified,   windowOpened
Methods from java.awt.event.ComponentAdapter:
componentHidden,   componentMoved,   componentResized,   componentShown
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.BufferStrategyPaintManager$BufferInfo Detail:
 public  void componentHidden(ComponentEvent e) 
 public  void dispose() 
    Cleans up and removes any references.
 public BufferStrategy getBufferStrategy(boolean create) 
    Returns the BufferStartegy. This will return null if the BufferStartegy hasn't been created and create is false, or if there is a problem in creating the BufferStartegy.
 public boolean getContentsLostDuringExpose() 
 public boolean getPaintAllOnExpose() 
 public Container getRoot() 
    Returns the Root (Window or Applet) that this BufferInfo references.
 public boolean hasBufferStrategyChanged() 
    Returns true if the buffer strategy of the component differs from current buffer strategy.
 public boolean isInSync() 
    Whether or not the contents of the buffer strategy is in sync with the window. This is set to true when the root pane paints all, and false when contents are lost/restored.
 public  void setContentsLostDuringExpose(boolean value) 
 public  void setInSync(boolean inSync) 
 public  void setPaintAllOnExpose(boolean paintAllOnExpose) 
 public  void windowActivated(WindowEvent e) 
 public  void windowClosed(WindowEvent e) 
 public  void windowClosing(WindowEvent e) 
 public  void windowDeactivated(WindowEvent e) 
 public  void windowDeiconified(WindowEvent e) 
 public  void windowIconified(WindowEvent e) 
 public  void windowOpened(WindowEvent e)