swarm.gui
Interface PixmapC

All Known Implementing Classes:
PixmapCImpl

public interface PixmapC
extends DrawerC, DrawerS, CreateC, CreateS, DropC, DropS

A class for drawing color bitmaps on a Raster.. A class for drawing color bitmaps on a Raster. The bitmaps are stored in the Portable Network Graphics format.


Method Summary
 java.lang.Object setDecorationsFlag(boolean decorationsFlag)
          Specify whether or not window manager decorations for a widget should be included.
 java.lang.Object setDirectory(java.lang.String path)
          Specify the directory to find the PNG file.
 java.lang.Object setFile(java.lang.String filename)
          Create a pixmap from a PNG file.
 java.lang.Object setWidget(Widget widget)
          Create a pixmap from a widget, or from the root window if widget is nil.
 
Methods inherited from interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods inherited from interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 

Method Detail

setFile

public java.lang.Object setFile(java.lang.String filename)
Create a pixmap from a PNG file.

setDirectory

public java.lang.Object setDirectory(java.lang.String path)
Specify the directory to find the PNG file.

setWidget

public java.lang.Object setWidget(Widget widget)
Create a pixmap from a widget, or from the root window if widget is nil.

setDecorationsFlag

public java.lang.Object setDecorationsFlag(boolean decorationsFlag)
Specify whether or not window manager decorations for a widget should be included.