org.gnu.gnome

Class UIInfo

public class UIInfo extends Struct

Method Summary
static UIInfoaboutItem(MenuItemListener listener)
static UIInfoaboutItem(ButtonListener listener)
static UIInfoclearItem(MenuItemListener listener)
static UIInfoclearItem(ButtonListener listener)
static UIInfocloseItem(MenuItemListener listener)
static UIInfocloseItem(ButtonListener listener)
static UIInfocloseWindowItem(MenuItemListener listener)
static UIInfocloseWindowItem(ButtonListener listener)
static UIInfocopyItem(MenuItemListener listener)
static UIInfocopyItem(ButtonListener listener)
static UIInfocutItem(MenuItemListener listener)
static UIInfocutItem(ButtonListener listener)
static UIInfoend()
Use this method to end an array.
static UIInfoendGameItem(MenuItemListener listener)
static UIInfoendGameItem(ButtonListener listener)
static UIInfofindAgainItem(MenuItemListener listener)
static UIInfofindAgainItem(ButtonListener listener)
static UIInfofindItem(MenuItemListener listener)
static UIInfofindItem(ButtonListener listener)
intgetType()
WidgetgetWidget()
static UIInfohelp(String helpNode)
static UIInfohintItem(MenuItemListener listener)
static UIInfohintItem(ButtonListener listener)
static UIInfoitem(String label, String tooltip, MenuItemListener listener, byte[] xpmData)
Generic menu or toolbar item which includes a label, a tooltip and an optional pixmap (in xpm format) to be displayed next to the entry.
static UIInfoitem(String label, String tooltip, ButtonListener listener, byte[] xpmData)
Generic menu or toolbar item which includes a label, a tooltip and an optional pixmap (in xpm format) to be displayed next to the entry.
static UIInfoitem(String label, String tooltip, MenuItemListener listener)
Use this method to add an item to the menu that has no pixmap associated with it.
static UIInfoitem(String label, String tooltip, ButtonListener listener)
Use this method to add an item to the menu that has no pixmap associated with it.
static UIInfoitemStock(String label, String tooltip, MenuItemListener listener, GtkStockItem stockID)
Use this method to include an item in your menu that includes a GNOME-stock image.
static UIInfoitemStock(String label, String tooltip, ButtonListener listener, GtkStockItem stockID)
Use this method to include an item in your menu that includes a GNOME-stock image.
static UIInfonewGameItem(MenuItemListener listener)
static UIInfonewGameItem(ButtonListener listener)
static UIInfonewItem(String label, String tip, MenuItemListener listener)
static UIInfonewSubtree(UIInfo[] tree)
static UIInfonewWindowItem(MenuItemListener listener)
static UIInfonewWindowItem(ButtonListener listener)
static UIInfoopenItem(MenuItemListener listener)
static UIInfoopenItem(ButtonListener listener)
static UIInfopasteItem(MenuItemListener listener)
static UIInfopasteItem(ButtonListener listener)
static UIInfopauseGameItem(MenuItemListener listener)
static UIInfopauseGameItem(ButtonListener listener)
static UIInfopreferencesItem(MenuItemListener listener)
static UIInfopreferencesItem(ButtonListener listener)
static UIInfoprintItem(MenuItemListener listener)
static UIInfoprintItem(ButtonListener listener)
static UIInfoprintSetupItem(MenuItemListener listener)
static UIInfoprintSetupItem(ButtonListener listener)
static UIInfopropertiesItem(MenuItemListener listener)
static UIInfopropertiesItem(ButtonListener listener)
static UIInfoquitItem(MenuItemListener listener)
static UIInfoquitItem(ButtonListener listener)
static UIInforadioItem(String label, String tooltip, MenuItemListener listener, byte[] xpmData)
static UIInforadioItem(String label, String tooltip, ButtonListener listener, byte[] xpmData)
static UIInforadioItem(String label, String tooltip, MenuItemListener listener)
static UIInforadioItem(String label, String tooltip, ButtonListener listener)
static UIInforadioItemStock(String label, String tooltip, MenuItemListener listener, GtkStockItem stock)
static UIInforadioItemStock(String label, String tooltip, ButtonListener listener, GtkStockItem stock)
static UIInforadioList(UIInfo[] list)
Creates a structure to insert a list of radio items.
static UIInforedoItem(MenuItemListener listener)
static UIInforedoItem(ButtonListener listener)
static UIInforedoMoveItem(MenuItemListener listener)
static UIInforedoMoveItem(ButtonListener listener)
static UIInforeplaceItem(MenuItemListener listener)
static UIInforeplaceItem(ButtonListener listener)
static UIInforestartGameItem(MenuItemListener listener)
static UIInforestartGameItem(ButtonListener listener)
static UIInforevertItem(MenuItemListener listener)
static UIInforevertItem(ButtonListener listener)
static UIInfosaveAsItem(MenuItemListener listener)
static UIInfosaveAsItem(ButtonListener listener)
static UIInfosaveItem(MenuItemListener listener)
static UIInfosaveItem(ButtonListener listener)
static UIInfoscoresItem(MenuItemListener listener)
static UIInfoscoresItem(ButtonListener listener)
static UIInfoselectAllItem(MenuItemListener listener)
static UIInfoselectAllItem(ButtonListener listener)
static UIInfoseparator()
Use this method to include a separator in your menu or toolbar
static UIInfosubtree(String label, UIInfo[] tree)
Creates a submenu or a sub-tree in the menu stracture.
static UIInfosubtree(String label, UIInfo[] tree, String stockID)
Creates a submenu or a sub-tree in the menu stracture with a stock pixmap displayed.
static UIInfotoggleItem(String label, String tooltip, MenuItemListener listener, byte[] xpmData)
Creates a toggle-item (a checkbox) in a menu, this includes an xpm graphic.
static UIInfotoggleItem(String label, String tooltip, ButtonListener listener, byte[] xpmData)
Creates a toggle-item (a checkbox) in a menu, this includes an xpm graphic.
static UIInfotoggleItem(String label, String tooltip, MenuItemListener listener)
Creates a toggle-item (a checkbox) in a menu with no icon.
static UIInfotoggleItem(String label, String tooltip, ButtonListener listener)
Creates a toggle-item (a checkbox) in a menu with no icon.
static UIInfotoggleItemStock(String label, String tooltip, MenuItemListener listener, GtkStockItem stock)
Creates a toggle-item (a checkbox) in a menu, this includes an stock icon.
static UIInfotoggleItemStock(String label, String tooltip, ButtonListener listener, GtkStockItem stock)
Creates a toggle-item (a checkbox) in a menu, this includes an stock icon.
static UIInfoundoItem(MenuItemListener listener)
static UIInfoundoItem(ButtonListener listener)
static UIInfoundoMoveItem(MenuItemListener listener)
static UIInfoundoMoveItem(ButtonListener listener)

Method Detail

aboutItem

public static UIInfo aboutItem(MenuItemListener listener)

aboutItem

public static UIInfo aboutItem(ButtonListener listener)

clearItem

public static UIInfo clearItem(MenuItemListener listener)

clearItem

public static UIInfo clearItem(ButtonListener listener)

closeItem

public static UIInfo closeItem(MenuItemListener listener)

closeItem

public static UIInfo closeItem(ButtonListener listener)

closeWindowItem

public static UIInfo closeWindowItem(MenuItemListener listener)

closeWindowItem

public static UIInfo closeWindowItem(ButtonListener listener)

copyItem

public static UIInfo copyItem(MenuItemListener listener)

copyItem

public static UIInfo copyItem(ButtonListener listener)

cutItem

public static UIInfo cutItem(MenuItemListener listener)

cutItem

public static UIInfo cutItem(ButtonListener listener)

end

public static UIInfo end()
Use this method to end an array.

Returns: A UIInfo that should be used to terminate an array of UIInfo objects.

endGameItem

public static UIInfo endGameItem(MenuItemListener listener)

endGameItem

public static UIInfo endGameItem(ButtonListener listener)

findAgainItem

public static UIInfo findAgainItem(MenuItemListener listener)

findAgainItem

public static UIInfo findAgainItem(ButtonListener listener)

findItem

public static UIInfo findItem(MenuItemListener listener)

findItem

public static UIInfo findItem(ButtonListener listener)

getType

public int getType()

getWidget

public Widget getWidget()

help

public static UIInfo help(String helpNode)

hintItem

public static UIInfo hintItem(MenuItemListener listener)

hintItem

public static UIInfo hintItem(ButtonListener listener)

item

public static UIInfo item(String label, String tooltip, MenuItemListener listener, byte[] xpmData)
Generic menu or toolbar item which includes a label, a tooltip and an optional pixmap (in xpm format) to be displayed next to the entry.

item

public static UIInfo item(String label, String tooltip, ButtonListener listener, byte[] xpmData)
Generic menu or toolbar item which includes a label, a tooltip and an optional pixmap (in xpm format) to be displayed next to the entry.

item

public static UIInfo item(String label, String tooltip, MenuItemListener listener)
Use this method to add an item to the menu that has no pixmap associated with it.

item

public static UIInfo item(String label, String tooltip, ButtonListener listener)
Use this method to add an item to the menu that has no pixmap associated with it.

itemStock

public static UIInfo itemStock(String label, String tooltip, MenuItemListener listener, GtkStockItem stockID)
Use this method to include an item in your menu that includes a GNOME-stock image.

itemStock

public static UIInfo itemStock(String label, String tooltip, ButtonListener listener, GtkStockItem stockID)
Use this method to include an item in your menu that includes a GNOME-stock image.

newGameItem

public static UIInfo newGameItem(MenuItemListener listener)

newGameItem

public static UIInfo newGameItem(ButtonListener listener)

newItem

public static UIInfo newItem(String label, String tip, MenuItemListener listener)

newSubtree

public static UIInfo newSubtree(UIInfo[] tree)

newWindowItem

public static UIInfo newWindowItem(MenuItemListener listener)

newWindowItem

public static UIInfo newWindowItem(ButtonListener listener)

openItem

public static UIInfo openItem(MenuItemListener listener)

openItem

public static UIInfo openItem(ButtonListener listener)

pasteItem

public static UIInfo pasteItem(MenuItemListener listener)

pasteItem

public static UIInfo pasteItem(ButtonListener listener)

pauseGameItem

public static UIInfo pauseGameItem(MenuItemListener listener)

pauseGameItem

public static UIInfo pauseGameItem(ButtonListener listener)

preferencesItem

public static UIInfo preferencesItem(MenuItemListener listener)

preferencesItem

public static UIInfo preferencesItem(ButtonListener listener)

printItem

public static UIInfo printItem(MenuItemListener listener)

printItem

public static UIInfo printItem(ButtonListener listener)

printSetupItem

public static UIInfo printSetupItem(MenuItemListener listener)

printSetupItem

public static UIInfo printSetupItem(ButtonListener listener)

propertiesItem

public static UIInfo propertiesItem(MenuItemListener listener)

propertiesItem

public static UIInfo propertiesItem(ButtonListener listener)

quitItem

public static UIInfo quitItem(MenuItemListener listener)

quitItem

public static UIInfo quitItem(ButtonListener listener)

radioItem

public static UIInfo radioItem(String label, String tooltip, MenuItemListener listener, byte[] xpmData)

radioItem

public static UIInfo radioItem(String label, String tooltip, ButtonListener listener, byte[] xpmData)

radioItem

public static UIInfo radioItem(String label, String tooltip, MenuItemListener listener)

radioItem

public static UIInfo radioItem(String label, String tooltip, ButtonListener listener)

radioItemStock

public static UIInfo radioItemStock(String label, String tooltip, MenuItemListener listener, GtkStockItem stock)

radioItemStock

public static UIInfo radioItemStock(String label, String tooltip, ButtonListener listener, GtkStockItem stock)

radioList

public static UIInfo radioList(UIInfo[] list)
Creates a structure to insert a list of radio items.

redoItem

public static UIInfo redoItem(MenuItemListener listener)

redoItem

public static UIInfo redoItem(ButtonListener listener)

redoMoveItem

public static UIInfo redoMoveItem(MenuItemListener listener)

redoMoveItem

public static UIInfo redoMoveItem(ButtonListener listener)

replaceItem

public static UIInfo replaceItem(MenuItemListener listener)

replaceItem

public static UIInfo replaceItem(ButtonListener listener)

restartGameItem

public static UIInfo restartGameItem(MenuItemListener listener)

restartGameItem

public static UIInfo restartGameItem(ButtonListener listener)

revertItem

public static UIInfo revertItem(MenuItemListener listener)

revertItem

public static UIInfo revertItem(ButtonListener listener)

saveAsItem

public static UIInfo saveAsItem(MenuItemListener listener)

saveAsItem

public static UIInfo saveAsItem(ButtonListener listener)

saveItem

public static UIInfo saveItem(MenuItemListener listener)

saveItem

public static UIInfo saveItem(ButtonListener listener)

scoresItem

public static UIInfo scoresItem(MenuItemListener listener)

scoresItem

public static UIInfo scoresItem(ButtonListener listener)

selectAllItem

public static UIInfo selectAllItem(MenuItemListener listener)

selectAllItem

public static UIInfo selectAllItem(ButtonListener listener)

separator

public static UIInfo separator()
Use this method to include a separator in your menu or toolbar

Returns: A UIInfo that represents a separator.

subtree

public static UIInfo subtree(String label, UIInfo[] tree)
Creates a submenu or a sub-tree in the menu stracture.

subtree

public static UIInfo subtree(String label, UIInfo[] tree, String stockID)
Creates a submenu or a sub-tree in the menu stracture with a stock pixmap displayed.

toggleItem

public static UIInfo toggleItem(String label, String tooltip, MenuItemListener listener, byte[] xpmData)
Creates a toggle-item (a checkbox) in a menu, this includes an xpm graphic.

toggleItem

public static UIInfo toggleItem(String label, String tooltip, ButtonListener listener, byte[] xpmData)
Creates a toggle-item (a checkbox) in a menu, this includes an xpm graphic.

toggleItem

public static UIInfo toggleItem(String label, String tooltip, MenuItemListener listener)
Creates a toggle-item (a checkbox) in a menu with no icon.

toggleItem

public static UIInfo toggleItem(String label, String tooltip, ButtonListener listener)
Creates a toggle-item (a checkbox) in a menu with no icon.

toggleItemStock

public static UIInfo toggleItemStock(String label, String tooltip, MenuItemListener listener, GtkStockItem stock)
Creates a toggle-item (a checkbox) in a menu, this includes an stock icon.

toggleItemStock

public static UIInfo toggleItemStock(String label, String tooltip, ButtonListener listener, GtkStockItem stock)
Creates a toggle-item (a checkbox) in a menu, this includes an stock icon.

undoItem

public static UIInfo undoItem(MenuItemListener listener)

undoItem

public static UIInfo undoItem(ButtonListener listener)

undoMoveItem

public static UIInfo undoMoveItem(MenuItemListener listener)

undoMoveItem

public static UIInfo undoMoveItem(ButtonListener listener)