org.gnu.gnome

Class IconEntry

public class IconEntry extends VBox

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may have an equivalent in java-gnome 4.0; have a look for org.gnome.gnome.IconEntry.

A GnomeIconEntry is a button that pops up a window displaying a collection of icons. The user can select one of the icons found in /usr/share/pixmaps or browse the file system to find icons in other directories. The pull-down list of directory names maintains a history of previously opened directories.
Constructor Summary
IconEntry(String historyId, String dialogTitle)
Construct a new IconEntry
IconEntry(Handle handle)
Construct a new IconEntry from a handle to a native resource.
Method Summary
voidaddListener(IconEntryListener listener)
Register an object to handle IconEntry events.
ClassgetEventListenerClass(String signal)
EventTypegetEventType(String signal)
StringgetFilename()
Retrieve the filename of the icon selected
static IconEntrygetIconEntry(Handle handle)
Internal static factory method to be used by Java-Gnome only.
static TypegetType()
Retrieve the runtime type used by the GLib library.
voidremoveListener(IconEntryListener listener)
Removes a listener
voidsetBrowseDialogTitle(String browseDialogTitle)
Set the title for the Browse Dialog.
voidsetFilename(String filename)
Set the filename of an icon.
voidsetHistoryId(String id)
Set the history id
voidsetMaxSaved(int maxSaved)
Sets the maximum number of save entries in the browse dialog.
voidsetSubdirectory(String subdir)
Set the subdirectory in which to look for icons.

Constructor Detail

IconEntry

public IconEntry(String historyId, String dialogTitle)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Construct a new IconEntry

IconEntry

public IconEntry(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Construct a new IconEntry from a handle to a native resource.

Method Detail

addListener

public void addListener(IconEntryListener listener)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Register an object to handle IconEntry events.

See Also: IconEntryListener

getEventListenerClass

public Class getEventListenerClass(String signal)

getEventType

public EventType getEventType(String signal)

getFilename

public String getFilename()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Retrieve the filename of the icon selected

getIconEntry

public static IconEntry getIconEntry(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Internal static factory method to be used by Java-Gnome only.

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.

removeListener

public void removeListener(IconEntryListener listener)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Removes a listener

See Also: addListener

setBrowseDialogTitle

public void setBrowseDialogTitle(String browseDialogTitle)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Set the title for the Browse Dialog.

setFilename

public void setFilename(String filename)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Set the filename of an icon.

setHistoryId

public void setHistoryId(String id)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Set the history id

setMaxSaved

public void setMaxSaved(int maxSaved)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Sets the maximum number of save entries in the browse dialog.

Parameters: maxSaved

setSubdirectory

public void setSubdirectory(String subdir)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Set the subdirectory in which to look for icons.