Bean backing the Time Zone application. This bean uses the RenderManager to
update state at a specified interval. Also controls time zone information
during the session.
Constructor Summary
public
TimeZoneBean() Constructor initializes time zones.
timeZoneChanged(ValueChangeEvent event) Adds or removes a TimeZoneWrapper to
checkedTimeZoneList when a selectBooleanCheckbox
ValueChangeEvent is fired from the UI.
Extracts the first word from a TimeZone displayName.
Parameters: displayName - A TimeZone displayName. String The first word from the TimeZone displayName.
Gets ArrayList of currently active TimeZoneWrapper objects.
This list is populated by selectBooleanCheckbox components in UI.
ArrayList of TimeZoneWrapper objects.
Used to create, setup, and start an IntervalRenderer from the passed
renderManager This is used in conjunction with faces-config.xml to allow
the same single render manager to be set in all TimeZoneBeans
Parameters: renderManager - RenderManager to get the IntervalRenderer from
timeZoneChanged
public void timeZoneChanged(ValueChangeEvent event)(Code)
Adds or removes a TimeZoneWrapper to
checkedTimeZoneList when a selectBooleanCheckbox
ValueChangeEvent is fired from the UI.
Parameters: event - ValueChangeEvent.