org.gnu.gnome

Class PixmapEntry


public class PixmapEntry
extends FileEntry

Constructor Summary

PixmapEntry(Handle handle)
Construct a new PixmapEntry from a handle to a native resource.
PixmapEntry(String historyID, String browseDialogTitle, boolean doPreview)
Create a new Pixmap Entry.

Method Summary

String
getFilename()
Retrun a file if it is possible to load it with gdk-pixbuf.
static Type
getType()
Retrieve the runtime type used by the GLib library.
void
setDirectory(String directory)
Set the directory for the lookup
void
setPreview(boolean doPreview)
Set if a preview should be displayed.
void
setPreviewSize(int width, int height)
Set the size of the preview.

Methods inherited from class org.gnu.gnome.FileEntry

getEntry, getFullPath, getModal, getType, setDefaultPath, setDirectorySelection, setModal, setTitle

Constructor Details

PixmapEntry

public PixmapEntry(Handle handle)
Construct a new PixmapEntry from a handle to a native resource.

PixmapEntry

public PixmapEntry(String historyID,
                   String browseDialogTitle,
                   boolean doPreview)
Create a new Pixmap Entry.

Method Details

getFilename

public String getFilename()
Retrun a file if it is possible to load it with gdk-pixbuf.

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.
Overrides:
getType in interface FileEntry

setDirectory

public void setDirectory(String directory)
Set the directory for the lookup

setPreview

public void setPreview(boolean doPreview)
Set if a preview should be displayed.

setPreviewSize

public void setPreviewSize(int width,
                           int height)
Set the size of the preview.