Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
HBox
org.gnu.gnome.AppBar
public class AppBar
extends HBox
Constructor Summary | |
| |
|
Method Summary | |
void |
|
void |
|
void |
|
static AppBar |
|
Class |
|
EventType |
|
ProgressBar |
|
String |
|
StatusBar |
|
static Type |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public AppBar(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.
Construct an AppBar using a handle to a native resource.
public AppBar(boolean hasProgress, boolean hasStatus, PreferencesType type)
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.
Creates new instance of AppBar.
public void addListener(AppBarListener listener)
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.
Register an object to handle AppBar events.
- See Also:
AppBarListener
public void clearPrompt()
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.
Clears any prompt.
- See Also:
setPrompt(String,boolean)
public void clearStack()
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.
Clears the stack.
public static AppBar getAppBar(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.
Internal static factory method to be used by Java-Gnome only.
public Class getEventListenerClass(String signal)
public EventType getEventType(String signal)
public ProgressBar getProgressBar()
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.
Returns the progress bar used by AppBar.
- Returns:
- The progress bar.
public String getResponse()
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.
Gets the response to setPrompt
- Returns:
- The user's response.
- See Also:
setPrompt(String,boolean)
public 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.
Return the StatusBar widget contained in this AppBar.
public static 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.
Retrieve the runtime type used by the GLib library.
public void popStack()
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.
Pops the top status off the stack. Calling this on an empty stack causes no problems.
public void pushStack(String status)
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.
Pushes the status onto the stack.
- Parameters:
status
- The status text. Not null.
public void refresh()
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.
Refreshes to the current state of stack/default. Useful for forcing the text set by a call to setStatusText to disappear.
public void removeListener(AppBarListener listener)
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.
Removes a listener.
- See Also:
addListener(AppBarListener)
public void setProgressPercentage(double percentage)
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.
Sets the percetage to show for progress.
public void setPrompt(String prompt, boolean modal)
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.
Sets a prompt in the appbar and waits for a response. When the user responds or cancels, a user_response signal is emitted.
- Parameters:
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(String status)
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.
What to show when showing nothing else. Defaults to nothing.
- Parameters:
status
- The text to use as default. Not null.
public void setStatusText(String status)
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.
Sets the status text without changing the widget state. The next set or push will destroy this permanently.
- Parameters:
status
- The text to set. Not null.