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.
VBox
getLayout()
Get the layout control for the page.
static Type
getType()
Retrieve the runtime type used by the GLib library.
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, getEventListenerClass, getEventType, getType, 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.

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.

getType

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

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.