|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Box
org.gnu.gtk.VBox
org.gnu.gnome.IconEntry
public class 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(org.gnu.glib.Handle handle)
Construct a new IconEntry from a handle to a native resource. |
|
IconEntry(java.lang.String historyId,
java.lang.String dialogTitle)
Construct a new IconEntry |
Method Summary | |
---|---|
void |
addListener(IconEntryListener listener)
Register an object to handle IconEntry events. |
java.lang.Class |
getEventListenerClass(java.lang.String signal)
|
org.gnu.glib.EventType |
getEventType(java.lang.String signal)
|
java.lang.String |
getFilename()
Retrieve the filename of the icon selected |
static IconEntry |
getIconEntry(org.gnu.glib.Handle handle)
Internal static factory method to be used by Java-Gnome only. |
static org.gnu.glib.Type |
getType()
Retrieve the runtime type used by the GLib library. |
void |
removeListener(IconEntryListener listener)
Removes a listener |
void |
setBrowseDialogTitle(java.lang.String browseDialogTitle)
Set the title for the Browse Dialog. |
void |
setFilename(java.lang.String filename)
Set the filename of an icon. |
void |
setHistoryId(java.lang.String id)
Set the history id |
void |
setMaxSaved(int maxSaved)
Sets the maximum number of save entries in the browse dialog. |
void |
setSubdirectory(java.lang.String subdir)
Set the subdirectory in which to look for icons. |
Methods inherited from class org.gnu.gtk.VBox |
---|
getVBox |
Methods inherited from class org.gnu.gtk.Box |
---|
getHomogeneous, getSpacing, packEnd, packEnd, packStart, packStart, reorderChild, setHomogeneous, setSpacing |
Methods inherited from class org.gnu.gtk.Container |
---|
add, addListener, getBorderWidth, getChildren, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode |
Methods inherited from class org.gnu.gtk.Widget |
---|
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
destroy, sink |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IconEntry(java.lang.String historyId, java.lang.String dialogTitle)
public IconEntry(org.gnu.glib.Handle handle)
Method Detail |
---|
public static IconEntry getIconEntry(org.gnu.glib.Handle handle)
public void setSubdirectory(java.lang.String subdir)
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
public static org.gnu.glib.Type getType()
public void setBrowseDialogTitle(java.lang.String browseDialogTitle)
public void setHistoryId(java.lang.String id)
public void setMaxSaved(int maxSaved)
maxSaved
- public void addListener(IconEntryListener listener)
IconEntryListener
public void removeListener(IconEntryListener listener)
addListener(IconEntryListener)
public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass
in class org.gnu.gtk.Container
public org.gnu.glib.EventType getEventType(java.lang.String signal)
getEventType
in class org.gnu.gtk.Container
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |