org.gnu.gnome
Class UIInfo
public
class
UIInfo
extends Struct
Method Summary |
static UIInfo | aboutItem(MenuItemListener listener) |
static UIInfo | aboutItem(ButtonListener listener) |
static UIInfo | clearItem(MenuItemListener listener) |
static UIInfo | clearItem(ButtonListener listener) |
static UIInfo | closeItem(MenuItemListener listener) |
static UIInfo | closeItem(ButtonListener listener) |
static UIInfo | closeWindowItem(MenuItemListener listener) |
static UIInfo | closeWindowItem(ButtonListener listener) |
static UIInfo | copyItem(MenuItemListener listener) |
static UIInfo | copyItem(ButtonListener listener) |
static UIInfo | cutItem(MenuItemListener listener) |
static UIInfo | cutItem(ButtonListener listener) |
static UIInfo | end()
Use this method to end an array.
|
static UIInfo | endGameItem(MenuItemListener listener) |
static UIInfo | endGameItem(ButtonListener listener) |
static UIInfo | findAgainItem(MenuItemListener listener) |
static UIInfo | findAgainItem(ButtonListener listener) |
static UIInfo | findItem(MenuItemListener listener) |
static UIInfo | findItem(ButtonListener listener) |
int | getType() |
Widget | getWidget() |
static UIInfo | help(String helpNode) |
static UIInfo | hintItem(MenuItemListener listener) |
static UIInfo | hintItem(ButtonListener listener) |
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. |
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. |
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. |
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. |
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. |
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. |
static UIInfo | newGameItem(MenuItemListener listener) |
static UIInfo | newGameItem(ButtonListener listener) |
static UIInfo | newItem(String label, String tip, MenuItemListener listener) |
static UIInfo | newSubtree(UIInfo[] tree) |
static UIInfo | newWindowItem(MenuItemListener listener) |
static UIInfo | newWindowItem(ButtonListener listener) |
static UIInfo | openItem(MenuItemListener listener) |
static UIInfo | openItem(ButtonListener listener) |
static UIInfo | pasteItem(MenuItemListener listener) |
static UIInfo | pasteItem(ButtonListener listener) |
static UIInfo | pauseGameItem(MenuItemListener listener) |
static UIInfo | pauseGameItem(ButtonListener listener) |
static UIInfo | preferencesItem(MenuItemListener listener) |
static UIInfo | preferencesItem(ButtonListener listener) |
static UIInfo | printItem(MenuItemListener listener) |
static UIInfo | printItem(ButtonListener listener) |
static UIInfo | printSetupItem(MenuItemListener listener) |
static UIInfo | printSetupItem(ButtonListener listener) |
static UIInfo | propertiesItem(MenuItemListener listener) |
static UIInfo | propertiesItem(ButtonListener listener) |
static UIInfo | quitItem(MenuItemListener listener) |
static UIInfo | quitItem(ButtonListener listener) |
static UIInfo | radioItem(String label, String tooltip, MenuItemListener listener, byte[] xpmData) |
static UIInfo | radioItem(String label, String tooltip, ButtonListener listener, byte[] xpmData) |
static UIInfo | radioItem(String label, String tooltip, MenuItemListener listener) |
static UIInfo | radioItem(String label, String tooltip, ButtonListener listener) |
static UIInfo | radioItemStock(String label, String tooltip, MenuItemListener listener, GtkStockItem stock) |
static UIInfo | radioItemStock(String label, String tooltip, ButtonListener listener, GtkStockItem stock) |
static UIInfo | radioList(UIInfo[] list)
Creates a structure to insert a list of radio items. |
static UIInfo | redoItem(MenuItemListener listener) |
static UIInfo | redoItem(ButtonListener listener) |
static UIInfo | redoMoveItem(MenuItemListener listener) |
static UIInfo | redoMoveItem(ButtonListener listener) |
static UIInfo | replaceItem(MenuItemListener listener) |
static UIInfo | replaceItem(ButtonListener listener) |
static UIInfo | restartGameItem(MenuItemListener listener) |
static UIInfo | restartGameItem(ButtonListener listener) |
static UIInfo | revertItem(MenuItemListener listener) |
static UIInfo | revertItem(ButtonListener listener) |
static UIInfo | saveAsItem(MenuItemListener listener) |
static UIInfo | saveAsItem(ButtonListener listener) |
static UIInfo | saveItem(MenuItemListener listener) |
static UIInfo | saveItem(ButtonListener listener) |
static UIInfo | scoresItem(MenuItemListener listener) |
static UIInfo | scoresItem(ButtonListener listener) |
static UIInfo | selectAllItem(MenuItemListener listener) |
static UIInfo | selectAllItem(ButtonListener listener) |
static UIInfo | separator()
Use this method to include a separator in your menu or toolbar
|
static UIInfo | subtree(String label, UIInfo[] tree)
Creates a submenu or a sub-tree in the menu stracture. |
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. |
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. |
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. |
static UIInfo | toggleItem(String label, String tooltip, MenuItemListener listener)
Creates a toggle-item (a checkbox) in a menu with no icon. |
static UIInfo | toggleItem(String label, String tooltip, ButtonListener listener)
Creates a toggle-item (a checkbox) in a menu with no icon. |
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. |
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. |
static UIInfo | undoItem(MenuItemListener listener) |
static UIInfo | undoItem(ButtonListener listener) |
static UIInfo | undoMoveItem(MenuItemListener listener) |
static UIInfo | undoMoveItem(ButtonListener listener) |
public static
UIInfo aboutItem(MenuItemListener listener)
public static
UIInfo aboutItem(ButtonListener listener)
public static
UIInfo clearItem(MenuItemListener listener)
public static
UIInfo clearItem(ButtonListener listener)
public static
UIInfo closeItem(MenuItemListener listener)
public static
UIInfo closeItem(ButtonListener listener)
public static
UIInfo closeWindowItem(MenuItemListener listener)
public static
UIInfo closeWindowItem(ButtonListener listener)
public static
UIInfo copyItem(MenuItemListener listener)
public static
UIInfo copyItem(ButtonListener listener)
public static
UIInfo cutItem(MenuItemListener listener)
public static
UIInfo cutItem(ButtonListener listener)
Use this method to end an array.
Returns: A UIInfo that should be used to terminate an array of UIInfo
objects.
public static
UIInfo endGameItem(MenuItemListener listener)
public static
UIInfo endGameItem(ButtonListener listener)
public static
UIInfo findAgainItem(MenuItemListener listener)
public static
UIInfo findAgainItem(ButtonListener listener)
public static
UIInfo findItem(MenuItemListener listener)
public static
UIInfo findItem(ButtonListener listener)
public int getType()
public Widget getWidget()
public static
UIInfo help(String helpNode)
public static
UIInfo hintItem(MenuItemListener listener)
public static
UIInfo hintItem(ButtonListener listener)
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.
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.
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.
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.
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.
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.
public static
UIInfo newGameItem(MenuItemListener listener)
public static
UIInfo newGameItem(ButtonListener listener)
public static
UIInfo newItem(String label, String tip, MenuItemListener listener)
public static
UIInfo newWindowItem(MenuItemListener listener)
public static
UIInfo newWindowItem(ButtonListener listener)
public static
UIInfo openItem(MenuItemListener listener)
public static
UIInfo openItem(ButtonListener listener)
public static
UIInfo pasteItem(MenuItemListener listener)
public static
UIInfo pasteItem(ButtonListener listener)
public static
UIInfo pauseGameItem(MenuItemListener listener)
public static
UIInfo pauseGameItem(ButtonListener listener)
public static
UIInfo preferencesItem(MenuItemListener listener)
public static
UIInfo preferencesItem(ButtonListener listener)
public static
UIInfo printItem(MenuItemListener listener)
public static
UIInfo printItem(ButtonListener listener)
public static
UIInfo printSetupItem(MenuItemListener listener)
public static
UIInfo printSetupItem(ButtonListener listener)
public static
UIInfo propertiesItem(MenuItemListener listener)
public static
UIInfo propertiesItem(ButtonListener listener)
public static
UIInfo quitItem(MenuItemListener listener)
public static
UIInfo quitItem(ButtonListener listener)
public static
UIInfo radioItem(String label, String tooltip, MenuItemListener listener, byte[] xpmData)
public static
UIInfo radioItem(String label, String tooltip, ButtonListener listener, byte[] xpmData)
public static
UIInfo radioItem(String label, String tooltip, MenuItemListener listener)
public static
UIInfo radioItem(String label, String tooltip, ButtonListener listener)
public static
UIInfo radioItemStock(String label, String tooltip, MenuItemListener listener, GtkStockItem stock)
public static
UIInfo radioItemStock(String label, String tooltip, ButtonListener listener, GtkStockItem stock)
Creates a structure to insert a list of radio items.
public static
UIInfo redoItem(MenuItemListener listener)
public static
UIInfo redoItem(ButtonListener listener)
public static
UIInfo redoMoveItem(MenuItemListener listener)
public static
UIInfo redoMoveItem(ButtonListener listener)
public static
UIInfo replaceItem(MenuItemListener listener)
public static
UIInfo replaceItem(ButtonListener listener)
public static
UIInfo restartGameItem(MenuItemListener listener)
public static
UIInfo restartGameItem(ButtonListener listener)
public static
UIInfo revertItem(MenuItemListener listener)
public static
UIInfo revertItem(ButtonListener listener)
public static
UIInfo saveAsItem(MenuItemListener listener)
public static
UIInfo saveAsItem(ButtonListener listener)
public static
UIInfo saveItem(MenuItemListener listener)
public static
UIInfo saveItem(ButtonListener listener)
public static
UIInfo scoresItem(MenuItemListener listener)
public static
UIInfo scoresItem(ButtonListener listener)
public static
UIInfo selectAllItem(MenuItemListener listener)
public static
UIInfo selectAllItem(ButtonListener listener)
public static
UIInfo separator()
Use this method to include a separator in your menu or toolbar
Returns: A UIInfo that represents a separator.
Creates a submenu or a sub-tree in the menu stracture.
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.
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.
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.
public static
UIInfo toggleItem(String label, String tooltip, MenuItemListener listener)
Creates a toggle-item (a checkbox) in a menu with no icon.
public static
UIInfo toggleItem(String label, String tooltip, ButtonListener listener)
Creates a toggle-item (a checkbox) in a menu with no icon.
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.
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.
public static
UIInfo undoItem(MenuItemListener listener)
public static
UIInfo undoItem(ButtonListener listener)
public static
UIInfo undoMoveItem(MenuItemListener listener)
public static
UIInfo undoMoveItem(ButtonListener listener)