org.gnu.gnome
Class UIInfo

java.lang.Object
  |
  +--org.gnu.glib.GObject
        |
        +--org.gnu.gnome.UIInfo

public class UIInfo
extends GObject


Method Summary
static UIInfo aboutItem(ButtonListener listener)
           
static UIInfo aboutItem(MenuItemListener listener)
           
static UIInfo clearItem(ButtonListener listener)
           
static UIInfo clearItem(MenuItemListener listener)
           
static UIInfo closeItem(ButtonListener listener)
           
static UIInfo closeItem(MenuItemListener listener)
           
static UIInfo closeWindowItem(ButtonListener listener)
           
static UIInfo closeWindowItem(MenuItemListener listener)
           
static UIInfo copyItem(ButtonListener listener)
           
static UIInfo copyItem(MenuItemListener listener)
           
static UIInfo cutItem(ButtonListener listener)
           
static UIInfo cutItem(MenuItemListener listener)
           
static UIInfo end()
          Use this method to end an array.
static UIInfo endGameItem(ButtonListener listener)
           
static UIInfo endGameItem(MenuItemListener listener)
           
static UIInfo findAgainItem(ButtonListener listener)
           
static UIInfo findAgainItem(MenuItemListener listener)
           
static UIInfo findItem(ButtonListener listener)
           
static UIInfo findItem(MenuItemListener listener)
           
 int getType()
           
 Widget getWidget()
           
static UIInfo help(java.lang.String helpNode)
           
static UIInfo hintItem(ButtonListener listener)
           
static UIInfo hintItem(MenuItemListener listener)
           
static UIInfo item(java.lang.String label, java.lang.String tooltip, ButtonListener listener)
          Use this method to add an item to the menu that has no pixmap associated with it.
static UIInfo item(java.lang.String label, java.lang.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(java.lang.String label, java.lang.String tooltip, MenuItemListener listener)
          Use this method to add an item to the menu that has no pixmap associated with it.
static UIInfo item(java.lang.String label, java.lang.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 itemStock(java.lang.String label, java.lang.String tooltip, ButtonListener listener, GtkStockItem stockID)
          Use this method to include an item in your menu that includes a GNOME-stock image.
static UIInfo itemStock(java.lang.String label, java.lang.String tooltip, MenuItemListener listener, GtkStockItem stockID)
          Use this method to include an item in your menu that includes a GNOME-stock image.
static UIInfo newGameItem(ButtonListener listener)
           
static UIInfo newGameItem(MenuItemListener listener)
           
static UIInfo newItem(java.lang.String label, java.lang.String tip, MenuItemListener listener)
           
static UIInfo newSubtree(UIInfo[] tree)
           
static UIInfo newWindowItem(ButtonListener listener)
           
static UIInfo newWindowItem(MenuItemListener listener)
           
static UIInfo openItem(ButtonListener listener)
           
static UIInfo openItem(MenuItemListener listener)
           
static UIInfo pasteItem(ButtonListener listener)
           
static UIInfo pasteItem(MenuItemListener listener)
           
static UIInfo pauseGameItem(ButtonListener listener)
           
static UIInfo pauseGameItem(MenuItemListener listener)
           
static UIInfo preferencesItem(ButtonListener listener)
           
static UIInfo preferencesItem(MenuItemListener listener)
           
static UIInfo printItem(ButtonListener listener)
           
static UIInfo printItem(MenuItemListener listener)
           
static UIInfo printSetupItem(ButtonListener listener)
           
static UIInfo printSetupItem(MenuItemListener listener)
           
static UIInfo propertiesItem(ButtonListener listener)
           
static UIInfo propertiesItem(MenuItemListener listener)
           
static UIInfo quitItem(ButtonListener listener)
           
static UIInfo quitItem(MenuItemListener listener)
           
static UIInfo radioItem(java.lang.String label, java.lang.String tooltip, ButtonListener listener)
           
static UIInfo radioItem(java.lang.String label, java.lang.String tooltip, ButtonListener listener, byte[] xpmData)
           
static UIInfo radioItem(java.lang.String label, java.lang.String tooltip, MenuItemListener listener)
           
static UIInfo radioItem(java.lang.String label, java.lang.String tooltip, MenuItemListener listener, byte[] xpmData)
           
static UIInfo radioItemStock(java.lang.String label, java.lang.String tooltip, ButtonListener listener, GtkStockItem stock)
           
static UIInfo radioItemStock(java.lang.String label, java.lang.String tooltip, MenuItemListener listener, GtkStockItem stock)
           
static UIInfo radioList(UIInfo[] list)
          Creates a structure to insert a list of radio items.
static UIInfo redoItem(ButtonListener listener)
           
static UIInfo redoItem(MenuItemListener listener)
           
static UIInfo redoMoveItem(ButtonListener listener)
           
static UIInfo redoMoveItem(MenuItemListener listener)
           
static UIInfo replaceItem(ButtonListener listener)
           
static UIInfo replaceItem(MenuItemListener listener)
           
static UIInfo restartGameItem(ButtonListener listener)
           
static UIInfo restartGameItem(MenuItemListener listener)
           
static UIInfo revertItem(ButtonListener listener)
           
static UIInfo revertItem(MenuItemListener listener)
           
static UIInfo saveAsItem(ButtonListener listener)
           
static UIInfo saveAsItem(MenuItemListener listener)
           
static UIInfo saveItem(ButtonListener listener)
           
static UIInfo saveItem(MenuItemListener listener)
           
static UIInfo scoresItem(ButtonListener listener)
           
static UIInfo scoresItem(MenuItemListener listener)
           
static UIInfo selectAllItem(ButtonListener listener)
           
static UIInfo selectAllItem(MenuItemListener listener)
           
static UIInfo separator()
          Use this method to include a separator in your menu or toolbar
static UIInfo subtree(java.lang.String label, UIInfo[] tree)
          Creates a submenu or a sub-tree in the menu stracture.
static UIInfo subtree(java.lang.String label, UIInfo[] tree, java.lang.String stockID)
          Creates a submenu or a sub-tree in the menu stracture with a stock pixmap displayed.
static UIInfo toggleItem(java.lang.String label, java.lang.String tooltip, ButtonListener listener)
          Creates a toggle-item (a checkbox) in a menu with no icon.
static UIInfo toggleItem(java.lang.String label, java.lang.String tooltip, ButtonListener listener, byte[] xpmData)
          Creates a toggle-item (a checkbox) in a menu, this includes an xpm graphic.
static UIInfo toggleItem(java.lang.String label, java.lang.String tooltip, MenuItemListener listener)
          Creates a toggle-item (a checkbox) in a menu with no icon.
static UIInfo toggleItem(java.lang.String label, java.lang.String tooltip, MenuItemListener listener, byte[] xpmData)
          Creates a toggle-item (a checkbox) in a menu, this includes an xpm graphic.
static UIInfo toggleItemStock(java.lang.String label, java.lang.String tooltip, ButtonListener listener, GtkStockItem stock)
          Creates a toggle-item (a checkbox) in a menu, this includes an stock icon.
static UIInfo toggleItemStock(java.lang.String label, java.lang.String tooltip, MenuItemListener listener, GtkStockItem stock)
          Creates a toggle-item (a checkbox) in a menu, this includes an stock icon.
static UIInfo undoItem(ButtonListener listener)
           
static UIInfo undoItem(MenuItemListener listener)
           
static UIInfo undoMoveItem(ButtonListener listener)
           
static UIInfo undoMoveItem(MenuItemListener listener)
           
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public int getType()

getWidget

public Widget getWidget()

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.

separator

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

Returns:
A UIInfo that represents a separator.

item

public static UIInfo item(java.lang.String label,
                          java.lang.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(java.lang.String label,
                          java.lang.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.


itemStock

public static UIInfo itemStock(java.lang.String label,
                               java.lang.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(java.lang.String label,
                               java.lang.String tooltip,
                               ButtonListener listener,
                               GtkStockItem stockID)
Use this method to include an item in your menu that includes a GNOME-stock image.


item

public static UIInfo item(java.lang.String label,
                          java.lang.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(java.lang.String label,
                          java.lang.String tooltip,
                          ButtonListener listener)
Use this method to add an item to the menu that has no pixmap associated with it.


toggleItem

public static UIInfo toggleItem(java.lang.String label,
                                java.lang.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(java.lang.String label,
                                java.lang.String tooltip,
                                ButtonListener listener,
                                byte[] xpmData)
Creates a toggle-item (a checkbox) in a menu, this includes an xpm graphic.


toggleItemStock

public static UIInfo toggleItemStock(java.lang.String label,
                                     java.lang.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(java.lang.String label,
                                     java.lang.String tooltip,
                                     ButtonListener listener,
                                     GtkStockItem stock)
Creates a toggle-item (a checkbox) in a menu, this includes an stock icon.


toggleItem

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


toggleItem

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


radioList

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


radioItem

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

radioItem

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

radioItem

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

radioItem

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

radioItemStock

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

radioItemStock

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

subtree

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


subtree

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


help

public static UIInfo help(java.lang.String helpNode)

newItem

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

newSubtree

public static UIInfo newSubtree(UIInfo[] tree)

openItem

public static UIInfo openItem(MenuItemListener listener)

openItem

public static UIInfo openItem(ButtonListener listener)

saveItem

public static UIInfo saveItem(MenuItemListener listener)

saveItem

public static UIInfo saveItem(ButtonListener listener)

saveAsItem

public static UIInfo saveAsItem(MenuItemListener listener)

saveAsItem

public static UIInfo saveAsItem(ButtonListener listener)

revertItem

public static UIInfo revertItem(MenuItemListener listener)

revertItem

public static UIInfo revertItem(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)

closeItem

public static UIInfo closeItem(MenuItemListener listener)

closeItem

public static UIInfo closeItem(ButtonListener listener)

quitItem

public static UIInfo quitItem(MenuItemListener listener)

quitItem

public static UIInfo quitItem(ButtonListener listener)

cutItem

public static UIInfo cutItem(MenuItemListener listener)

cutItem

public static UIInfo cutItem(ButtonListener listener)

copyItem

public static UIInfo copyItem(MenuItemListener listener)

copyItem

public static UIInfo copyItem(ButtonListener listener)

pasteItem

public static UIInfo pasteItem(MenuItemListener listener)

pasteItem

public static UIInfo pasteItem(ButtonListener listener)

selectAllItem

public static UIInfo selectAllItem(MenuItemListener listener)

selectAllItem

public static UIInfo selectAllItem(ButtonListener listener)

clearItem

public static UIInfo clearItem(MenuItemListener listener)

clearItem

public static UIInfo clearItem(ButtonListener listener)

undoItem

public static UIInfo undoItem(MenuItemListener listener)

undoItem

public static UIInfo undoItem(ButtonListener listener)

redoItem

public static UIInfo redoItem(MenuItemListener listener)

redoItem

public static UIInfo redoItem(ButtonListener listener)

findItem

public static UIInfo findItem(MenuItemListener listener)

findItem

public static UIInfo findItem(ButtonListener listener)

findAgainItem

public static UIInfo findAgainItem(MenuItemListener listener)

findAgainItem

public static UIInfo findAgainItem(ButtonListener listener)

replaceItem

public static UIInfo replaceItem(MenuItemListener listener)

replaceItem

public static UIInfo replaceItem(ButtonListener listener)

propertiesItem

public static UIInfo propertiesItem(MenuItemListener listener)

propertiesItem

public static UIInfo propertiesItem(ButtonListener listener)

preferencesItem

public static UIInfo preferencesItem(MenuItemListener listener)

preferencesItem

public static UIInfo preferencesItem(ButtonListener listener)

newWindowItem

public static UIInfo newWindowItem(MenuItemListener listener)

newWindowItem

public static UIInfo newWindowItem(ButtonListener listener)

closeWindowItem

public static UIInfo closeWindowItem(MenuItemListener listener)

closeWindowItem

public static UIInfo closeWindowItem(ButtonListener listener)

aboutItem

public static UIInfo aboutItem(MenuItemListener listener)

aboutItem

public static UIInfo aboutItem(ButtonListener listener)

newGameItem

public static UIInfo newGameItem(MenuItemListener listener)

newGameItem

public static UIInfo newGameItem(ButtonListener listener)

pauseGameItem

public static UIInfo pauseGameItem(MenuItemListener listener)

pauseGameItem

public static UIInfo pauseGameItem(ButtonListener listener)

restartGameItem

public static UIInfo restartGameItem(MenuItemListener listener)

restartGameItem

public static UIInfo restartGameItem(ButtonListener listener)

undoMoveItem

public static UIInfo undoMoveItem(MenuItemListener listener)

undoMoveItem

public static UIInfo undoMoveItem(ButtonListener listener)

redoMoveItem

public static UIInfo redoMoveItem(MenuItemListener listener)

redoMoveItem

public static UIInfo redoMoveItem(ButtonListener listener)

hintItem

public static UIInfo hintItem(MenuItemListener listener)

hintItem

public static UIInfo hintItem(ButtonListener listener)

scoresItem

public static UIInfo scoresItem(MenuItemListener listener)

scoresItem

public static UIInfo scoresItem(ButtonListener listener)

endGameItem

public static UIInfo endGameItem(MenuItemListener listener)

endGameItem

public static UIInfo endGameItem(ButtonListener listener)

Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net