|
|||||||||
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.gnome.Druid
public class Druid
The GNOME druid is a system for assisting the user with installing a service. It is roughly equivalent in functionality to the Wizards available in Windows.
Constructor Summary | |
---|---|
Druid()
Construct a new Druid object. |
|
Druid(org.gnu.glib.Handle handle)
Construct a new Druid from a handle to a native resource. |
|
Druid(java.lang.String title,
org.gnu.gtk.Window parent,
boolean closeOnCancel,
org.gnu.gtk.Widget window)
Construct a new Druid object that already contains a window. |
Method Summary | |
---|---|
void |
appendPage(DruidPage page)
Append a DruidPage into the list of pages for this dialog. |
org.gnu.gtk.Button |
getBackButton()
Retrieve the "Back" button. |
org.gnu.gtk.Button |
getCancelButton()
Retrieve the "Cancel" button. |
static Druid |
getDruid(org.gnu.glib.Handle handle)
Internal static factory method to be used by Java-Gnome only. |
org.gnu.gtk.Button |
getFinishButton()
Retrieve the "Finish" button. |
org.gnu.gtk.Button |
getHelpButton()
Retrieve the "Help" button. |
org.gnu.gtk.Button |
getNextButton()
Retrieve the "Next" button. |
static org.gnu.glib.Type |
getType()
Retrieve the runtime type used by the GLib library. |
void |
insertPage(DruidPage backPage,
DruidPage page)
Insert page after backPage into the list of pages for this dialog. |
void |
prependPage(DruidPage page)
Prepends a DruidPage into the list of pages for this dialog. |
void |
setButtonsSensitive(boolean backSensitive,
boolean nextSensitive,
boolean cancelSensitive,
boolean helpSensitive)
Sets the sensitivity of the buttons on the Druid dialog. |
void |
setPage(DruidPage page)
Set the currently displayed page to page. |
void |
setShowFinish(boolean showFinish)
Sets the text on the last button of the dialog. |
void |
setShowHelp(boolean showHelp)
Sets whether the help button should be displayed |
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, 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, 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 |
---|
destroy, 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, 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 Druid()
public Druid(org.gnu.glib.Handle handle)
public Druid(java.lang.String title, org.gnu.gtk.Window parent, boolean closeOnCancel, org.gnu.gtk.Widget window)
Method Detail |
---|
public static Druid getDruid(org.gnu.glib.Handle handle)
public void setButtonsSensitive(boolean backSensitive, boolean nextSensitive, boolean cancelSensitive, boolean helpSensitive)
backSensitive
- Determines if the "Back" button is sensitive.nextSensitive
- Determines if the "Next" button is sensitive.cancelSensitive
- Determines if the "Cancel" button is sensitive.helpSensitive
- Determines if the "Help" button is sensitive.public void setShowFinish(boolean showFinish)
showFinish
- Determines the text of the last button on the dialog.public void setShowHelp(boolean showHelp)
public void prependPage(DruidPage page)
page
- The page to prepend.public void appendPage(DruidPage page)
page
- The page to append.public void insertPage(DruidPage backPage, DruidPage page)
backPage
- page
- public void setPage(DruidPage page)
page
- The page to make the current page.public org.gnu.gtk.Button getHelpButton()
public org.gnu.gtk.Button getBackButton()
public org.gnu.gtk.Button getNextButton()
public org.gnu.gtk.Button getCancelButton()
public org.gnu.gtk.Button getFinishButton()
public static org.gnu.glib.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |