gnu.x11.test
Class Image

java.lang.Object
  extended by gnu.app.Application
      extended by gnu.x11.Application
          extended by gnu.x11.test.Graphics
              extended by gnu.x11.test.Image

public class Image
extends Graphics

Test image output of XBM, XPM, and PPM format.

See Also:
screenshot, help output

Field Summary
 PPM ppm
           
 XBM xbm
           
static int[] xbm_data
           
 XPM xpm
           
static java.lang.String[] xpm_data
           
 
Fields inherited from class gnu.x11.test.Graphics
event, leave_display_open, window
 
Fields inherited from class gnu.x11.Application
display, option
 
Fields inherited from class gnu.app.Application
exit_now, help_option
 
Constructor Summary
Image(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void paint()
           
 
Methods inherited from class gnu.x11.test.Graphics
about, dispatch_event, exec
 
Methods inherited from class gnu.app.Application
about, exit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xbm_data

public static final int[] xbm_data

xpm_data

public static final java.lang.String[] xpm_data

ppm

public PPM ppm

xbm

public XBM xbm

xpm

public XPM xpm
Constructor Detail

Image

public Image(java.lang.String[] args)
      throws java.io.FileNotFoundException,
             java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException
Method Detail

paint

public void paint()
Overrides:
paint in class Graphics

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception