org.gnu.gnome

Class DruidPageStandard


public class DruidPageStandard
extends DruidPage

A widget representing pages that are not initial or terminal pages of a Druid.

Constructor Summary

DruidPageStandard()
Construct a new DruidPageStandard object
DruidPageStandard(Handle handle)
Constructs a new DruidPageStandard object form a native resource.
DruidPageStandard(String title, Pixbuf logo, Pixbuf topWatermark)
Construct a new DruidPageStandard object

Method Summary

void
appendItem(String question, Widget item, String additionalInfo)
Convenience method to append a widget.
protected static Handle
getBackground(Handle cptr)
protected static Handle
getContentsBackground(Handle cptr)
VBox
getLayout()
Get the layout control for the page.
protected static Handle
getLogo(Handle cptr)
protected static Handle
getLogoBackground(Handle cptr)
protected static String
getTitle(Handle cptr)
protected static Handle
getTitleForeground(Handle cptr)
protected static Handle
getTopWatermark(Handle cptr)
static Type
getType()
Retrieve the runtime type used by the GLib library.
protected static Handle
getVbox(Handle cptr)
protected static void
gnome_druid_page_standard_append_item(Handle page, String questionMnemonic, Handle item, String additionalInfoMarkup)
protected static int
gnome_druid_page_standard_get_type()
protected static Handle
gnome_druid_page_standard_new()
protected static Handle
gnome_druid_page_standard_new_with_vals(String title, Handle logo, Handle topWatermark)
protected static void
gnome_druid_page_standard_set_background(Handle page, Handle color)
protected static void
gnome_druid_page_standard_set_contents_background(Handle page, Handle color)
protected static void
gnome_druid_page_standard_set_logo(Handle page, Handle logoImage)
protected static void
gnome_druid_page_standard_set_logo_background(Handle page, Handle color)
protected static void
gnome_druid_page_standard_set_title(Handle page, String title)
protected static void
gnome_druid_page_standard_set_title_foreground(Handle page, Handle color)
protected static void
gnome_druid_page_standard_set_top_watermark(Handle page, Handle topWatermarkImage)
void
setBackgroundColor(Color color)
Set the background for the page.
void
setContentsBackgroundColor(Color color)
Set the contents background for the page.
void
setLogo(Pixbuf logo)
Set the logo for the page.
void
setLogoBackgroundColor(Color color)
Set the logo background color.
void
setTitle(String title)
Set the title for the page.
void
setTitleForegroundColor(Color color)
Set the title foreground for the page.
void
setTopWatermark(Pixbuf watermark)
Set the watermark for the page.

Methods inherited from class org.gnu.gnome.DruidPage

addListener, addListener, fireDruidPageChangeEvent, fireDruidPageSetupEvent, getEventListenerClass, getEventType, getType, gnome_druid_page_back, gnome_druid_page_cancel, gnome_druid_page_finish, gnome_druid_page_get_type, gnome_druid_page_new, gnome_druid_page_next, gnome_druid_page_prepare, pageBack, pageCancel, pageFinish, pageNext, pagePrepare, removeListener, removeListener

Constructor Details

DruidPageStandard

public DruidPageStandard()
Construct a new DruidPageStandard object


DruidPageStandard

public DruidPageStandard(Handle handle)
Constructs a new DruidPageStandard object form a native resource.

Parameters:
handle - The handle to the native resource.


DruidPageStandard

public DruidPageStandard(String title,
                         Pixbuf logo,
                         Pixbuf topWatermark)
Construct a new DruidPageStandard object

Method Details

appendItem

public void appendItem(String question,
                       Widget item,
                       String additionalInfo)
Convenience method to append a widget.


getBackground

protected static final Handle getBackground(Handle cptr)


getContentsBackground

protected static final Handle getContentsBackground(Handle cptr)


getLayout

public VBox getLayout()
Get the layout control for the page. This can be used to add widgets the the main area of the page.


getLogo

protected static final Handle getLogo(Handle cptr)


getLogoBackground

protected static final Handle getLogoBackground(Handle cptr)


getTitle

protected static final String getTitle(Handle cptr)


getTitleForeground

protected static final Handle getTitleForeground(Handle cptr)


getTopWatermark

protected static final Handle getTopWatermark(Handle cptr)


getType

public static Type getType()
Retrieve the runtime type used by the GLib library.
Overrides:
getType in interface DruidPage


getVbox

protected static final Handle getVbox(Handle cptr)


gnome_druid_page_standard_append_item

protected static final void gnome_druid_page_standard_append_item(Handle page,
                                                                  String questionMnemonic,
                                                                  Handle item,
                                                                  String additionalInfoMarkup)


gnome_druid_page_standard_get_type

protected static final int gnome_druid_page_standard_get_type()


gnome_druid_page_standard_new

protected static final Handle gnome_druid_page_standard_new()


gnome_druid_page_standard_new_with_vals

protected static final Handle gnome_druid_page_standard_new_with_vals(String title,
                                                                      Handle logo,
                                                                      Handle topWatermark)


gnome_druid_page_standard_set_background

protected static final void gnome_druid_page_standard_set_background(Handle page,
                                                                     Handle color)


gnome_druid_page_standard_set_contents_background

protected static final void gnome_druid_page_standard_set_contents_background(Handle page,
                                                                              Handle color)


gnome_druid_page_standard_set_logo

protected static final void gnome_druid_page_standard_set_logo(Handle page,
                                                               Handle logoImage)


gnome_druid_page_standard_set_logo_background

protected static final void gnome_druid_page_standard_set_logo_background(Handle page,
                                                                          Handle color)


gnome_druid_page_standard_set_title

protected static final void gnome_druid_page_standard_set_title(Handle page,
                                                                String title)


gnome_druid_page_standard_set_title_foreground

protected static final void gnome_druid_page_standard_set_title_foreground(Handle page,
                                                                           Handle color)


gnome_druid_page_standard_set_top_watermark

protected static final void gnome_druid_page_standard_set_top_watermark(Handle page,
                                                                        Handle topWatermarkImage)


setBackgroundColor

public void setBackgroundColor(Color color)
Set the background for the page.


setContentsBackgroundColor

public void setContentsBackgroundColor(Color color)
Set the contents background for the page.


setLogo

public void setLogo(Pixbuf logo)
Set the logo for the page.


setLogoBackgroundColor

public void setLogoBackgroundColor(Color color)
Set the logo background color.


setTitle

public void setTitle(String title)
Set the title for the page.


setTitleForegroundColor

public void setTitleForegroundColor(Color color)
Set the title foreground for the page.


setTopWatermark

public void setTopWatermark(Pixbuf watermark)
Set the watermark for the page.