|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent com.plumtree.uiinfrastructure.pagecontrols.framework.AHTMLComponent com.plumtree.uiinfrastructure.pagecontrols.htmlpagecontrols.HTMLNameDescLang
public class HTMLNameDescLang
HTMLNameDescLang page control handles display and values of a page control made up of a text box text area and a select dropdown. The select is populated with default language options. This is a common construct throughout the admin ui.
Field Summary | |
---|---|
HTMLSelectDropDown |
m_SelectDropDown
the selectdropdown for this object |
HTMLTextArea |
m_TextArea
the textarea for this object |
HTMLTextBox |
m_TextBox
the textbox for this object |
static java.lang.String |
STR_MVC_CLASS_NAME
class name constant |
Fields inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent |
---|
m_ptPageMgr |
Constructor Summary | |
---|---|
HTMLNameDescLang()
Default constructor. |
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
HTMLElementCollection |
GetComponentHTML()
Returns the HTML for this component. |
IPTGrowableSortedArrayWrapperRO |
GetData()
Returns member variable m_ptGSArrayWrapper. |
protected java.lang.String |
GetHTMLComponentBaseName()
Returns the base name of this HTML Component. |
java.lang.String |
GetHTMLComponentValue()
Return the component values of the TextBox and SelectDropdown separated by a space. |
java.lang.String |
GetJSValidationCode()
Return a string made up of all the JSValidationCode for each of the Validator's associated with this component. |
java.lang.String |
GetName()
Return the name of the MVC object. |
void |
Init(PageMgr _ptPageMgr,
java.lang.String _strUniqueInstanceID,
XPResourceManager _ptResourceManager,
java.lang.String _strPrimaryLang)
Initializes a new HTMLNameDescLang object. |
void |
SetData(IPTGrowableSortedArrayWrapperRO data)
Sets the member variable m_ptGSArrayWrapper |
void |
SetLangChoices(XPResourceManager _ptResourceManager)
Set the options of the member variable m_SelectDropDown with the appropriate languages. |
void |
SetPrimaryLanguage(java.lang.String _sPrimaryLang)
Set the primary language member variable. |
XPArrayList |
Validate()
For every Validator associated with this object execute it's Validate method. |
Methods inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AHTMLComponent |
---|
AddValidator, GetComponentMgr, GetComponentMgrName, GetHTMLComponentName, GetHTMLComponentSize, GetHTMLComponentStyleClass, GetLabel, GetValidators, Init, SetHTMLComponentName, SetHTMLComponentSize, SetHTMLComponentStyleClass, SetHTMLComponentValue, SetLabel, SetParameters, StoreUserInput |
Methods inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent |
---|
AppendUniqueIDToElementName, GetComponentHeadContent, GetComponentPostContent, GetComponentPreContent, GetComponentPreFormContent, GetPageMgr, GetSubComponentHTMLByIndex, GetUniqueInstanceID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IPageControl |
---|
GetComponentMgr, GetComponentMgrName, GetUniqueInstanceID, StoreUserInput |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public HTMLTextBox m_TextBox
public HTMLSelectDropDown m_SelectDropDown
public HTMLTextArea m_TextArea
Constructor Detail |
---|
public HTMLNameDescLang()
Method Detail |
---|
public void Init(PageMgr _ptPageMgr, java.lang.String _strUniqueInstanceID, XPResourceManager _ptResourceManager, java.lang.String _strPrimaryLang)
_ptPageMgr
- The component manager for this component_strUniqueInstanceID
- The unique ID for this component._arrDropDownValueText
- The dropdown valuesprotected java.lang.String GetHTMLComponentBaseName()
GetHTMLComponentBaseName
in class AHTMLComponent
public HTMLElementCollection GetComponentHTML()
GetComponentHTML
in interface IPageControl
GetComponentHTML
in class AComponent
public java.lang.String GetHTMLComponentValue()
GetHTMLComponentValue
in class AHTMLComponent
public java.lang.Object Create()
Create
in interface IManagedObject
Create
in class AComponent
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class AComponent
public XPArrayList Validate()
Validate
in class AHTMLComponent
public java.lang.String GetJSValidationCode()
GetJSValidationCode
in class AHTMLComponent
public void SetLangChoices(XPResourceManager _ptResourceManager)
_ptResourceManager
- XPResourceManager with language optionspublic IPTGrowableSortedArrayWrapperRO GetData()
public void SetData(IPTGrowableSortedArrayWrapperRO data)
data
- public void SetPrimaryLanguage(java.lang.String _sPrimaryLang)
_sPrimaryLang
- the primary language
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |