CentraSite Documentation : CentraSite Developer's Guide : Pluggable Architecture : Customizing the Welcome Page : Technical Implementation of the Welcome Page : Overview of Java Methods Used : Screen Component: Widget
Screen Component: Widget
The body part of the Welcome page is composed of one or more widgets. A widget can define just HTML code (an HTML-style widget) or can define content and layout, similar to the header part of the Welcome page. The content/layout components are: a background image, a header text, the definition of a single-column table of items, the definition of a multi-column table of items.
The content and appearance of these components are determined by the Java methods shown in the following diagram.
The following table describes the purpose of these Java methods:
Name of Java interface
Java Method
Description
IWidget
getWidth();
Defines the screen width of the widget.
IHtmlWidget
getHtml();
Defines HTML code for an HTML-style widget.
IColumnWidget
getBackgroundImage();
Defines the background image to be used for a column of a widget.
IColumnWidget
getTitle();
Defines the header text of a column of a widget.
IColumnWidget
getTitleStyle();
Defines the CSS style for the header text of a column of a widget.
IColumnWidget
getImage();
Defines the background image to be used for the header part of the widget.
ISingleColumnWidget
getSubTitle();
Defines the subtitle text of a single-column widget.
ISingleColumnWidget
getSubTitleStyle();
Defines the CSS style for the subtitle header text of a single-column widget.
ISingleColumnWidget
getItems();
Defines the items contained in a single-column widget.
IMultiColumnWidget
getColumns();
Defines the columns used in a multi-column widget.
IColumn
getSubTitle();
Defines the subtitle text of a column of a multi-column widget.
IColumn
getSubTitleStyle();
Defines the CSS style for the subtitle text of a column of a multi-column widget.
IColumn
getItems();
Defines the items contained in a column of a multi-column widget.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback