Class GfxSurface

  • Direct Known Subclasses:
    Control, Image

    public abstract class GfxSurface
    extends java.lang.Object
    GfxSurface is an abstract class that is extended by drawing surfaces, which can have a Graphics.

    Control and Image are the only two classes that implement the GfxSurface interface. If any other class tries to extend GfxSurface, a RuntimeException will be thrown at the device.

    • Constructor Summary

      Constructors 
      Constructor Description
      GfxSurface()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract int getHeight()  
      abstract int getWidth()  
      abstract int getX()  
      abstract int getY()  
      • Methods inherited from class java.lang.Object

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

      • GfxSurface

        public GfxSurface()
    • Method Detail

      • getX

        public abstract int getX()
      • getY

        public abstract int getY()
      • getWidth

        public abstract int getWidth()
      • getHeight

        public abstract int getHeight()