|
|||||||||
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.IconFactory
public class IconFactory
This object manages a collection of IconSet
; an 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.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |