Class PaintEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class PaintEvent
    extends java.util.EventObject
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      PaintEvent​(java.awt.Component source, java.awt.Graphics g, int width, int height)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Graphics getGraphics()  
      int getHeight()  
      int getWidth()  
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PaintEvent

        public PaintEvent​(java.awt.Component source,
                          java.awt.Graphics g,
                          int width,
                          int height)
    • Method Detail

      • getGraphics

        public java.awt.Graphics getGraphics()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()