org.gnu.gtk
public class IconFactory extends GObject
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 in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.IconFactory
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
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(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(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. |
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a new IconFactory object.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Adds this IconFactory to the list of icon factories searched by Style.lookupIconSet. This means that objects that take stock IDs will be able to find the icons in this factory. There will normally be an IconFactory added for each library or application that comes with icons. The default icon factories can be overridden by themes.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Add the given IconSet to this IconFactory.Parameters: stockID The icon name iconSet The IconSet to add to this factory.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Looks up stockID from the icon factory, returning an icon set if found.Parameters: stockID The stockID to use for the search
Returns: The IconSet that matches the stockID or null if one is not found.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Removes this icon factory from the list of default icon factories.