com.centrasite.control.ext.welcome.standard
Class CentraSiteWidget

java.lang.Object
  extended by com.centrasite.control.ext.welcome.standard.CentraSiteWidget
All Implemented Interfaces:
IColumnWidget, ISingleColumnWidget, IWidget

public class CentraSiteWidget
extends java.lang.Object
implements ISingleColumnWidget


Constructor Summary
CentraSiteWidget()
           
 
Method Summary
 java.lang.String getBackgroundImage()
          Get the path to an image shown as background of the widget.
 java.lang.String getImage()
          Get the path to an image shown next to title.
 IItem[] getItems()
          Get the items of this widget.
 java.lang.String getSubTitle()
          Get the subtitle of this widget.
 java.lang.String getSubTitleStyle()
          Get the style of the subtitle of this widget.
 java.lang.String getSubTitleTooltip()
          Get the tooltip for subtitle of this widget.
 java.lang.String getTitle()
          Get the title of this widget.
 java.lang.String getTitleStyle()
          Get the style of the title of this widget.
 java.lang.String getTooltip()
          Get the tooltip for this widget.
 java.lang.String getWidth()
          Get the width of the widget in HTML notation (e.g. "100%" or "120px" ).
 void invalidate(boolean invalidated)
          Invalidates this widget.
 boolean isInvalidated()
          Indicates whether this widget is invalidated.
 void setActionContext(com.centrasite.control.ActionContext actionContext)
          Set ActionContext for this welcome action.
 void setLocale(java.util.Locale locale)
          Set locale for this welcome widget
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CentraSiteWidget

public CentraSiteWidget()
Method Detail

getWidth

public java.lang.String getWidth()
Description copied from interface: IWidget
Get the width of the widget in HTML notation (e.g. "100%" or "120px" ).

Specified by:
getWidth in interface IWidget
Returns:
The width of this widget.

getTitle

public java.lang.String getTitle()
Description copied from interface: IColumnWidget
Get the title of this widget.

Specified by:
getTitle in interface IColumnWidget
Returns:
The title.

getTooltip

public java.lang.String getTooltip()
Description copied from interface: IColumnWidget
Get the tooltip for this widget.

Specified by:
getTooltip in interface IColumnWidget
Returns:
The tooltip.

getTitleStyle

public java.lang.String getTitleStyle()
Description copied from interface: IColumnWidget
Get the style of the title of this widget.

Specified by:
getTitleStyle in interface IColumnWidget
Returns:
The style of the title in css2 notation.

getSubTitle

public java.lang.String getSubTitle()
Description copied from interface: ISingleColumnWidget
Get the subtitle of this widget.

Specified by:
getSubTitle in interface ISingleColumnWidget
Returns:
The subtitle.

getSubTitleTooltip

public java.lang.String getSubTitleTooltip()
Description copied from interface: ISingleColumnWidget
Get the tooltip for subtitle of this widget.

Specified by:
getSubTitleTooltip in interface ISingleColumnWidget
Returns:
The tooltip.

getSubTitleStyle

public java.lang.String getSubTitleStyle()
Description copied from interface: ISingleColumnWidget
Get the style of the subtitle of this widget.

Specified by:
getSubTitleStyle in interface ISingleColumnWidget
Returns:
The style of the subtitle in css2 notation.

getImage

public java.lang.String getImage()
Description copied from interface: IColumnWidget
Get the path to an image shown next to title.

Specified by:
getImage in interface IColumnWidget
Returns:
The path to an image.

getBackgroundImage

public java.lang.String getBackgroundImage()
Description copied from interface: IColumnWidget
Get the path to an image shown as background of the widget.

Specified by:
getBackgroundImage in interface IColumnWidget
Returns:
The path to an image.

getItems

public IItem[] getItems()
Description copied from interface: ISingleColumnWidget
Get the items of this widget.

Specified by:
getItems in interface ISingleColumnWidget
Returns:
The items.

invalidate

public void invalidate(boolean invalidated)
Description copied from interface: IWidget
Invalidates this widget.

Specified by:
invalidate in interface IWidget

isInvalidated

public boolean isInvalidated()
Description copied from interface: IWidget
Indicates whether this widget is invalidated.

Specified by:
isInvalidated in interface IWidget

setLocale

public void setLocale(java.util.Locale locale)
Description copied from interface: IWidget
Set locale for this welcome widget

Specified by:
setLocale in interface IWidget

setActionContext

public void setActionContext(com.centrasite.control.ActionContext actionContext)
Description copied from interface: IWidget
Set ActionContext for this welcome action.

Specified by:
setActionContext in interface IWidget