Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Preview
public class Preview
extends Widget
Constructor Summary | |
|
Method Summary | |
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
public Preview(PreviewType previewType)
Construct a new PreviewType object
- Parameters:
previewType
-
public void drawRow(byte[] data, int x, int y, int w)
public void put(Window win, GC gc, int srcX, int srcY, int destX, int destY, int width, int height)
public void reset()
public void setColorCube(int numRedShades, int numGreenShades, int numBlueShades, int numGrayShades)
public void setExpand(boolean expand)
public void setGamma(double gamma)
public void setSize(int width, int height)
Set the size for this Preview.
- Parameters:
width
-height
-