org.gnu.gnome
public class IconSelection extends VBox
| Constructor Summary | |
|---|---|
| IconSelection()
Construct a new IconSelection object. | |
| IconSelection(Handle handle)
Construct a new IconSelection from a handle to a native resource. | |
| Method Summary | |
|---|---|
| void | addDefaults()
Add the default Gnome icon directories. |
| void | addDirectory(String dir)
Add icons from the specified directory.
|
| void | clear(boolean notShown)
Clear all icons (even the icons that are not shown if notShown is
true. |
| String | getIcon(boolean fullPath)
Get the filename of the selected icon. |
| static IconSelection | getIconSelection(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
| static Type | getType()
Retrieve the runtime type used by the GLib library. |
| void | selectIcon(String filename)
Select the icon specified by the filename provided. |
| void | showIcons()
Load and display the icons. |
Parameters: dir The director to add.