|
|||||||||
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.HTMLDuration
public class HTMLDuration
HTMLDuration Page Control handles display and values of a page control made up of a text box and a select dropdown. A bitwise operators (with values defined in PTDurationCombo) dictates that time increments to display in the select.
Field Summary | |
---|---|
HTMLSelectDropDown |
m_SelectDropDown
the selectdropdown 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 | |
---|---|
HTMLDuration()
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. |
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. |
java.lang.String |
GetTextBoxErrorMessage()
|
int |
GetValueInSeconds()
Return the value of this page contrl in seconds. |
void |
Init(PageMgr _ptPageMgr,
java.lang.String _strUniqueInstanceID,
int _intDisplayFlags,
AActivitySpace _asOwner,
java.lang.String _strFormName,
java.lang.String _strDefaultValue)
Initializes a new HTMLTextAndDropDown object. |
void |
SetTextBoxErrorMessage(java.lang.String textBoxErrorMessage)
|
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
Constructor Detail |
---|
public HTMLDuration()
Method Detail |
---|
public void Init(PageMgr _ptPageMgr, java.lang.String _strUniqueInstanceID, int _intDisplayFlags, AActivitySpace _asOwner, java.lang.String _strFormName, java.lang.String _strDefaultValue)
_ptPageMgr
- PageManager_strUniqueInstanceID
- Unique Instance ID_intDisplayFlags
- bitwise operator_asOwner
- AActivitySpace where this appears_strFormName
- name of the form on which this appears_strDefaultValue
- default value for textbox (must be an int)protected 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 int GetValueInSeconds()
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 java.lang.String GetTextBoxErrorMessage()
public void SetTextBoxErrorMessage(java.lang.String textBoxErrorMessage)
textBoxErrorMessage
- The m_sTextBoxErrorMessage to set.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |