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.
appendPage
public void appendPage(DruidPage page)
Append a DruidPage into the list of pages for this dialog.
page
- The page to append.
getBack
protected static final Handle getBack(Handle cptr)
getBackButton
public Button getBackButton()
Retrieve the "Back" button.
getCancel
protected static final Handle getCancel(Handle cptr)
getCancelButton
public Button getCancelButton()
Retrieve the "Cancel" button.
getFinish
protected static final Handle getFinish(Handle cptr)
getFinishButton
public Button getFinishButton()
Retrieve the "Finish" button.
getHelp
protected static final Handle getHelp(Handle cptr)
getHelpButton
public Button getHelpButton()
Retrieve the "Help" button.
getNext
protected static final Handle getNext(Handle cptr)
getNextButton
public Button getNextButton()
Retrieve the "Next" button.
getType
public static Type getType()
Retrieve the runtime type used by the GLib library.
gnome_druid_append_page
protected static final void gnome_druid_append_page(Handle druid,
Handle page)
gnome_druid_get_type
protected static final int gnome_druid_get_type()
gnome_druid_insert_page
protected static final void gnome_druid_insert_page(Handle druid,
Handle backPage,
Handle page)
gnome_druid_new
protected static final Handle gnome_druid_new()
gnome_druid_new_with_window
protected static final Handle gnome_druid_new_with_window(String title,
Handle parent,
boolean closeOnCancel,
Handle window)
gnome_druid_prepend_page
protected static final void gnome_druid_prepend_page(Handle druid,
Handle page)
gnome_druid_set_buttons_sensitive
protected static final void gnome_druid_set_buttons_sensitive(Handle druid,
boolean backSensitive,
boolean nextSensitive,
boolean cancelSensitive,
boolean helpSensitive)
gnome_druid_set_page
protected static final void gnome_druid_set_page(Handle druid,
Handle page)
gnome_druid_set_show_finish
protected static final void gnome_druid_set_show_finish(Handle druid,
boolean showFinish)
gnome_druid_set_show_help
protected static final void gnome_druid_set_show_help(Handle druid,
boolean showHelp)
insertPage
public void insertPage(DruidPage backPage,
DruidPage page)
Insert page after backPage into the list of pages for
this dialog. If backPage is not present or null, page will
be prepended.
backPage
- page
-
prependPage
public void prependPage(DruidPage page)
Prepends a DruidPage into the list of pages for this dialog.
page
- The page to prepend.
setButtonsSensitive
public void setButtonsSensitive(boolean backSensitive,
boolean nextSensitive,
boolean cancelSensitive,
boolean helpSensitive)
Sets the sensitivity of the buttons on the Druid dialog.
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.
setPage
public void setPage(DruidPage page)
Set the currently displayed page to page.
page
- The page to make the current page.
setShowFinish
public void setShowFinish(boolean showFinish)
Sets the text on the last button of the dialog. If showFinish is true the text
becomes "Finish". Otherwise the text is set to "Cancel".
showFinish
- Determines the text of the last button on the dialog.
setShowHelp
public void setShowHelp(boolean showHelp)
Sets whether the help button should be displayed