org.gnu.gnome

Class Druid

public class Druid extends Container

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may have an equivalent in java-gnome 4.0; have a look for org.gnome.gnome.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(Handle handle)
Construct a new Druid from a handle to a native resource.
Druid(String title, Window parent, boolean closeOnCancel, Widget window)
Construct a new Druid object that already contains a window.
Method Summary
voidappendPage(DruidPage page)
Append a DruidPage into the list of pages for this dialog.
ButtongetBackButton()
Retrieve the "Back" button.
ButtongetCancelButton()
Retrieve the "Cancel" button.
static DruidgetDruid(Handle handle)
Internal static factory method to be used by Java-Gnome only.
ButtongetFinishButton()
Retrieve the "Finish" button.
ButtongetHelpButton()
Retrieve the "Help" button.
ButtongetNextButton()
Retrieve the "Next" button.
static TypegetType()
Retrieve the runtime type used by the GLib library.
voidinsertPage(DruidPage backPage, DruidPage page)
Insert page after backPage into the list of pages for this dialog.
voidprependPage(DruidPage page)
Prepends a DruidPage into the list of pages for this dialog.
voidsetButtonsSensitive(boolean backSensitive, boolean nextSensitive, boolean cancelSensitive, boolean helpSensitive)
Sets the sensitivity of the buttons on the Druid dialog.
voidsetPage(DruidPage page)
Set the currently displayed page to page.
voidsetShowFinish(boolean showFinish)
Sets the text on the last button of the dialog.
voidsetShowHelp(boolean showHelp)
Sets whether the help button should be displayed

Constructor Detail

Druid

public Druid()

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 a new Druid object.

Druid

public Druid(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 a new Druid from a handle to a native resource.

Druid

public Druid(String title, Window parent, boolean closeOnCancel, Widget window)

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 a new Druid object that already contains a window.

Method Detail

appendPage

public void appendPage(DruidPage page)

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.

Append a DruidPage into the list of pages for this dialog.

Parameters: page The page to append.

getBackButton

public Button getBackButton()

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 "Back" button.

getCancelButton

public Button getCancelButton()

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 "Cancel" button.

getDruid

public static Druid getDruid(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.

getFinishButton

public Button getFinishButton()

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 "Finish" button.

getHelpButton

public Button getHelpButton()

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 "Help" button.

getNextButton

public Button getNextButton()

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 "Next" button.

getType

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.

insertPage

public void insertPage(DruidPage backPage, DruidPage page)

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.

Insert page after backPage into the list of pages for this dialog. If backPage is not present or null, page will be prepended.

Parameters: backPage page

prependPage

public void prependPage(DruidPage page)

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.

Prepends a DruidPage into the list of pages for this dialog.

Parameters: page The page to prepend.

setButtonsSensitive

public void setButtonsSensitive(boolean backSensitive, boolean nextSensitive, boolean cancelSensitive, boolean helpSensitive)

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 sensitivity of the buttons on the Druid dialog.

Parameters: 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)

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.

Set the currently displayed page to page.

Parameters: page The page to make the current page.

setShowFinish

public void setShowFinish(boolean showFinish)

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 text on the last button of the dialog. If showFinish is true the text becomes "Finish". Otherwise the text is set to "Cancel".

Parameters: showFinish Determines the text of the last button on the dialog.

setShowHelp

public void setShowHelp(boolean showHelp)

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 whether the help button should be displayed