|
||||||||||
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.Box
org.gnu.gtk.HBox
org.gnu.gnome.AppBar
The AppBar widget is a progress bar with a textual annotation.
Constructor Summary | |
AppBar(boolean hasProgress,
boolean hasStatus,
PreferencesType type)
Creates new instance of AppBar. |
|
AppBar(org.gnu.glib.Handle handle)
Construct an AppBar using a handle to a native resource. |
Method Summary | |
void |
addListener(AppBarListener listener)
Register an object to handle AppBar events. |
void |
clearPrompt()
Clears any prompt. |
void |
clearStack()
Clears the stack. |
java.lang.Class |
getEventListenerClass(java.lang.String signal)
|
org.gnu.glib.EventType |
getEventType(java.lang.String signal)
|
org.gnu.gtk.ProgressBar |
getProgressBar()
Returns the progress bar used by AppBar. |
java.lang.String |
getResponse()
Gets the response to setPrompt |
org.gnu.gtk.StatusBar |
getStatusBar()
Return the StatusBar widget contained in this AppBar. |
static org.gnu.glib.Type |
getType()
Retrieve the runtime type used by the GLib library. |
void |
popStack()
Pops the top status off the stack. |
void |
pushStack(java.lang.String status)
Pushes the status onto the stack. |
void |
refresh()
Refreshes to the current state of stack/default. |
void |
removeListener(AppBarListener listener)
Removes a listener. |
void |
setProgressPercentage(double percentage)
Sets the percetage to show for progress. |
void |
setPrompt(java.lang.String prompt,
boolean modal)
Sets a prompt in the appbar and waits for a response. |
void |
setStatusDefault(java.lang.String status)
What to show when showing nothing else. |
void |
setStatusText(java.lang.String status)
Sets the status text without changing the widget state. |
Methods inherited from class org.gnu.gtk.HBox |
getHBox |
Methods inherited from class org.gnu.gtk.Box |
getHomogeneous, getSpacing, packEnd, packEnd, packStart, packStart, reorderChild, setHomogeneous, setSpacing |
Methods inherited from class org.gnu.gtk.Container |
add, addListener, getBorderWidth, getChildren, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, 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, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, 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, 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 |
destroy, sink |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, 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 AppBar(boolean hasProgress, boolean hasStatus, PreferencesType type)
public AppBar(org.gnu.glib.Handle handle)
Method Detail |
public void clearPrompt()
setPrompt(String, boolean)
public void clearStack()
public org.gnu.gtk.ProgressBar getProgressBar()
public java.lang.String getResponse()
setPrompt(String, boolean)
public void popStack()
public void pushStack(java.lang.String status)
status
- The status text. Not null.public void refresh()
public void setProgressPercentage(double percentage)
public void setPrompt(java.lang.String prompt, boolean modal)
prompt
- The message used to prompt the user.modal
- True if all user input to the application should be blocked
until the user responds to the prompt or cancels.public void setStatusDefault(java.lang.String status)
status
- The text to use as default. Not null.public void setStatusText(java.lang.String status)
status
- The text to set. Not null.public org.gnu.gtk.StatusBar getStatusBar()
public static org.gnu.glib.Type getType()
public void addListener(AppBarListener listener)
AppBarListener
public void removeListener(AppBarListener listener)
addListener(AppBarListener)
public java.lang.Class getEventListenerClass(java.lang.String signal)
public org.gnu.glib.EventType getEventType(java.lang.String signal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |