com.plumtree.portalpages.browsing.portalsettings.localesettings
Class LocaleSettingsView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.portalpages.browsing.portalsettings.localesettings.LocaleSettingsView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class LocaleSettingsView
extends EditorView


Field Summary
static java.lang.String HTMLINPUT_LANG
           
static java.lang.String HTMLINPUT_TZ
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
LocaleSettingsView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
static HTMLSelect GetLocalesDropdown(AActivitySpace asOwner, java.lang.String _strSelectedLocale)
          Returns a dropdown for the Locales.
 java.lang.String GetName()
          Returns the Class name.
static HTMLSelect GetTimeZoneDropdown(AActivitySpace asOwner, java.lang.String _strSelectedTZ)
          Returns a dropdown for the Timezones.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, DisplayJavascript, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable, Init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
See Also:
Constant Field Values

HTMLINPUT_LANG

public static final java.lang.String HTMLINPUT_LANG
See Also:
Constant Field Values

HTMLINPUT_TZ

public static final java.lang.String HTMLINPUT_TZ
See Also:
Constant Field Values
Constructor Detail

LocaleSettingsView

public LocaleSettingsView()
Method Detail

Display

public HTMLElement Display()
Description copied from class: EditorView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
Specified by:
Display in class EditorView
Returns:

GetLocalesDropdown

public static HTMLSelect GetLocalesDropdown(AActivitySpace asOwner,
                                            java.lang.String _strSelectedLocale)
Returns a dropdown for the Locales.

Parameters:
rm - The resource manager can be retrieved from the editor's activity space owner - XPResourceManager rm = m_asOwner.GetResourceManager();
__strSelectedLocale - The setting returned from the server as the previously selected locale. Use the LoginHelper to get the setting :- (String) LoginHelper.GetPersonalSettingValue(PersonalSettingNames.LOCALE, sessionManager, ptSession);
Returns:
An HTMLSelect that is the dropdown for timezones.
Throws:
HTMLException

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorView
Returns:
String

GetTimeZoneDropdown

public static HTMLSelect GetTimeZoneDropdown(AActivitySpace asOwner,
                                             java.lang.String _strSelectedTZ)
Returns a dropdown for the Timezones.

Parameters:
rm - The resource manager can be retrieved from the editor's activity space owner - XPResourceManager rm = m_asOwner.GetResourceManager();
_strSelectedTZ - The setting returned from the server as the previously selected time zone. Use the LoginHelper to get the setting :- (String) LoginHelper.GetPersonalSettingValue(PersonalSettingNames.TIMEZONE, sessionManager, ptSession);
Returns:
An HTMLSelect that is the dropdown for timezones.
Throws:
HTMLException

Create

public java.lang.Object Create()
Description copied from class: EditorView
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class EditorView
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.