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.
protected static String
gnome_pixmap_entry_get_filename(Handle pentry)
protected static int
gnome_pixmap_entry_get_type()
protected static Handle
gnome_pixmap_entry_new(String historyId, String browseDialogTitle, boolean doPreview)
protected static Handle
gnome_pixmap_entry_preview_widget(Handle pentry)
protected static Handle
gnome_pixmap_entry_scrolled_window(Handle pentry)
protected static void
gnome_pixmap_entry_set_pixmap_subdir(Handle pentry, String subdir)
protected static void
gnome_pixmap_entry_set_preview(Handle pentry, boolean doPreview)
protected static void
gnome_pixmap_entry_set_preview_size(Handle pentry, int width, int height)
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, gnome_file_entry_get_directory_entry, gnome_file_entry_get_full_path, gnome_file_entry_get_modal, gnome_file_entry_get_type, gnome_file_entry_gnome_entry, gnome_file_entry_gtk_entry, gnome_file_entry_new, gnome_file_entry_set_default_path, gnome_file_entry_set_directory_entry, gnome_file_entry_set_filename, gnome_file_entry_set_modal, gnome_file_entry_set_title, 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


gnome_pixmap_entry_get_filename

protected static final String gnome_pixmap_entry_get_filename(Handle pentry)


gnome_pixmap_entry_get_type

protected static final int gnome_pixmap_entry_get_type()


gnome_pixmap_entry_new

protected static final Handle gnome_pixmap_entry_new(String historyId,
                                                     String browseDialogTitle,
                                                     boolean doPreview)


gnome_pixmap_entry_preview_widget

protected static final Handle gnome_pixmap_entry_preview_widget(Handle pentry)


gnome_pixmap_entry_scrolled_window

protected static final Handle gnome_pixmap_entry_scrolled_window(Handle pentry)


gnome_pixmap_entry_set_pixmap_subdir

protected static final void gnome_pixmap_entry_set_pixmap_subdir(Handle pentry,
                                                                 String subdir)


gnome_pixmap_entry_set_preview

protected static final void gnome_pixmap_entry_set_preview(Handle pentry,
                                                           boolean doPreview)


gnome_pixmap_entry_set_preview_size

protected static final void gnome_pixmap_entry_set_preview_size(Handle pentry,
                                                                int width,
                                                                int height)


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.