|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Bin
org.gnu.gtk.Window
org.gnu.gnome.App
org.gnome.gnome.App
.
public class App
The App widget is the main window of a GNOME application. It is a container widget that can hold a single child widget. It also includes facilities for attaching menus, toolbars, a status bar, and widgets that can be docked.
Constructor Summary | |
---|---|
App(org.gnu.glib.Handle handle)
Deprecated. |
|
App(java.lang.String appname,
java.lang.String title)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
Method Summary | |
---|---|
void |
createMenus(UIInfo[] uiinfos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
createToolBar(UIInfo[] uiinfos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
org.gnu.gtk.Widget |
error(java.lang.String error)
Deprecated. |
void |
fillMenu(org.gnu.gtk.MenuShell menuShell,
UIInfo[] uiinfos,
org.gnu.gtk.AccelGroup accelGroup,
boolean underline,
int position)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
fillToolbar(org.gnu.gtk.ToolBar toolbar,
UIInfo[] uiinfos,
org.gnu.gtk.AccelGroup accelGroup)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
flash(java.lang.String flash)
Deprecated. |
org.gnu.gtk.AccelGroup |
getAccelGroup()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
static App |
getApp(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
org.gnu.gtk.Widget |
getContents()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
org.gnu.gtk.Widget |
getDock()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
org.gnu.gtk.MenuBar |
getMenuBar()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
java.lang.String |
getName()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
java.lang.String |
getPrefix()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
org.gnu.gtk.StatusBar |
getStatusBar()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
static org.gnu.glib.Type |
getType()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
org.gnu.gtk.VBox |
getVBox()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
insertMenu(java.lang.String path,
UIInfo[] uiinfos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
installAppBarMenuHints(AppBar appBar,
UIInfo[] uiinfos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
installMenuHints(UIInfo[] uiinfos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
installStatusBarMenuHints(org.gnu.gtk.StatusBar statusBar,
UIInfo[] uiinfos)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
boolean |
layoutConfig()
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
layoutConfig(boolean enabled)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
org.gnu.gtk.Widget |
message(java.lang.String message)
Deprecated. |
void |
removeMenuRange(java.lang.String path,
int start,
int numItems)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
removeMenus(java.lang.String path,
int num)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
setContent(org.gnu.gtk.Widget contents)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
setMenuBar(org.gnu.gtk.MenuBar menuBar)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
setStatusBar(AppBar appBar)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
setStatusBar(AppBar appBar,
org.gnu.gtk.Container container)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
setStatusBar(org.gnu.gtk.StatusBar statusBar)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
setStatusBar(org.gnu.gtk.StatusBar statusBar,
org.gnu.gtk.Container container)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
void |
setToolBar(org.gnu.gtk.ToolBar toolBar)
Deprecated. Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries. |
org.gnu.gtk.Widget |
warning(java.lang.String warning)
Deprecated. |
Methods inherited from class org.gnu.gtk.Window |
---|
addAccelGroup, deiconify, destroy, fullscreen, getAcceptFocus, getDefaultIconList, getFocusOnMap, getFocusWidget, getGravity, getIcon, getIconList, getIconName, getPosition, getScreen, getSize, getSkipPagerHint, getSkipTaskbarHint, getTitle, getTransientParent, getWindow, hasToplevelFocus, iconify, isActive, isDestroyed, listToplevelWindows, maximize, move, present, removeAccelGroup, resize, setAcceptFocus, setAutoStartupNotification, setDecorated, setDefaultIcon, setDefaultIconFromFile, setDefaultIconList, setDefaultIconName, setDefaultSize, setDefaultWidget, setFocusOnMap, setFocusWidget, setGeometryHints, setGravity, setIcon, setIconFromFile, setIconList, setIconName, setKeepAbove, setKeepBelow, setModal, setPosition, setResizable, setScreen, setSkipPagerHint, setSkipTaskbarHint, setTitle, setTransientParent, stick, unfullscreen, unmaximize, unstick |
Methods inherited from class org.gnu.gtk.Bin |
---|
getChild |
Methods inherited from class org.gnu.gtk.Container |
---|
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getEventListenerClass, getEventType, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode |
Methods inherited from class org.gnu.gtk.Widget |
---|
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getParent, getParentWindow, getPointer, getRootWindow, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
sink |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public App(java.lang.String appname, java.lang.String title)
appname
- The name of the application.title
- The title of the application window. The title can be null, in
which case the window's title will not be set.public App(org.gnu.glib.Handle handle)
Method Detail |
---|
public static App getApp(org.gnu.glib.Handle handle)
public org.gnu.gtk.Widget getDock()
public org.gnu.gtk.AccelGroup getAccelGroup()
public org.gnu.gtk.MenuBar getMenuBar()
public org.gnu.gtk.Widget getContents()
public java.lang.String getName()
getName
in class org.gnu.gtk.Widget
public java.lang.String getPrefix()
public org.gnu.gtk.StatusBar getStatusBar()
public org.gnu.gtk.VBox getVBox()
public boolean layoutConfig()
public void layoutConfig(boolean enabled)
enabled
- True if the docking configuration is to be handled
automatically, else false.public void setContent(org.gnu.gtk.Widget contents)
contents
- The widget that contains the content of the window.public void setMenuBar(org.gnu.gtk.MenuBar menuBar)
menuBar
- The menu bar to be used for the window.public void createMenus(UIInfo[] uiinfos)
uiinfos
- An array of UIInfo objects that define the menu.public void removeMenus(java.lang.String path, int num)
path
- The path to first item to remove.num
- The number of items to remove.public void insertMenu(java.lang.String path, UIInfo[] uiinfos)
path
- The path to the item that preceeds the insertion.uiinfos
- An array of UIInfo objects that describe the menu to be
inserted.public void setToolBar(org.gnu.gtk.ToolBar toolBar)
toolBar
- The tool bar to be used for the window.public void createToolBar(UIInfo[] uiinfos)
uiinfos
- An array of UIInfo objects that define the toolbar.public void setStatusBar(AppBar appBar)
appBar
- The app bar to use for the window.public void setStatusBar(org.gnu.gtk.StatusBar statusBar)
statusBar
- The status bar to use for the window.public void setStatusBar(AppBar appBar, org.gnu.gtk.Container container)
appBar
- The app bar to use for the window.container
- The container for the status bar.public void setStatusBar(org.gnu.gtk.StatusBar statusBar, org.gnu.gtk.Container container)
statusBar
- The status bar to use for the window.container
- The container for the status bar.public void installAppBarMenuHints(AppBar appBar, UIInfo[] uiinfos)
appBar
- The AppBar to install the hints.uiinfos
- An array of UIInfo objects that contain the menu items for
which the hints will be created.public void installStatusBarMenuHints(org.gnu.gtk.StatusBar statusBar, UIInfo[] uiinfos)
statusBar
- The StatusBar to install the hints.uiinfos
- An array of UIInfo objects that contain the menu items for
which the hints will be created.public void installMenuHints(UIInfo[] uiinfos)
uiinfos
- An array of UIInfo objects that contain the menu items for
which the hints will be created.public void fillMenu(org.gnu.gtk.MenuShell menuShell, UIInfo[] uiinfos, org.gnu.gtk.AccelGroup accelGroup, boolean underline, int position)
menuShell
- uiinfos
- accelGroup
- underline
- position
- public void fillToolbar(org.gnu.gtk.ToolBar toolbar, UIInfo[] uiinfos, org.gnu.gtk.AccelGroup accelGroup)
toolbar
- uiinfos
- accelGroup
- public void removeMenuRange(java.lang.String path, int start, int numItems)
path
- start
- numItems
- public org.gnu.gtk.Widget message(java.lang.String message)
message
- The text to display.
MessageDialog
public void flash(java.lang.String flash)
flash
- The message to flash.public org.gnu.gtk.Widget warning(java.lang.String warning)
warning
- The text to display.
MessageDialog
public org.gnu.gtk.Widget error(java.lang.String error)
error
- The text to display.
MessageDialog
public static org.gnu.glib.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |