|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gnu.glib.GObject | +--org.gnu.gtk.IconFactory
This object manages a collection of IconSet
; a
IconSet manages a set of variants of a particular icon. Icons in an
IconFactory are named by a stock ID, which is a simple string identifying
the icon.
Constructor Summary | |
IconFactory()
Construct a new IconFactory object. |
Method Summary | |
void |
addDefault()
Adds this IconFactory to the list of icon factories searched by Style.lookupIconSet. |
void |
addIconSet(java.lang.String stockID,
IconSet iconSet)
Add the given IconSet to this IconFactory. |
static Type |
getType()
Retrieve the runtime type used by the GLib library. |
IconSet |
lookupIconSet(java.lang.String stockID)
Looks up stockID from the icon factory, returning an icon set if found. |
void |
removeDefault()
Removes this icon factory from the list of default icon factories. |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IconFactory()
Method Detail |
public void addIconSet(java.lang.String stockID, IconSet iconSet)
stockID
- The icon nameiconSet
- The IconSet to add to this factory.public IconSet lookupIconSet(java.lang.String stockID)
stockID
- The stockID to use for the search
public void addDefault()
public void removeDefault()
public static Type getType()
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |