|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.pagecontrols.framework.AComponent
com.plumtree.uiinfrastructure.pagecontrols.datepicker.ADatePickerComponent
com.plumtree.uiinfrastructure.pagecontrols.jsdatepicker.JSDatePicker
public class JSDatePicker
| Field Summary | |
|---|---|
protected static XPLocale |
m_oUSLocale
Static EN-us locale used for formatting dates exchanged with client side javascript |
java.lang.String |
m_strDatePickerMgrID
Variable to store a unique ID for the DatePickMgr associated with this DatePicker |
static java.lang.String |
STR_DP_DATE_INPUT_NAME
The base name of the date-picker input textbox. |
static java.lang.String |
STR_MVC_CLASS_NAME
MVC class name for page control |
| Fields inherited from class com.plumtree.uiinfrastructure.pagecontrols.datepicker.ADatePickerComponent |
|---|
AM, EMPTY, H, OPTION_TEXT, OPTION_VALUE, PM |
| Fields inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent |
|---|
m_ptPageMgr |
| Constructor Summary | |
|---|---|
JSDatePicker()
Create a new instance of JSDatePicker |
|
| Method Summary | |
|---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
HTMLElementCollection |
GetComponentHTML()
This method returns the datepicker HTML. |
HTMLElementCollection |
GetComponentHTML(java.lang.String _strPickerType)
This method returns the datepicker HTML. |
ComponentMgr |
GetComponentMgr(PageMgr _ptPageMgr)
Return a ComponentMgr of the type responsisble for this PageControl. |
java.lang.String |
GetComponentMgrName()
Return the name of the component manager responsible for this page control |
XPDateTime |
GetDateAsDateTime()
This function returns an XPDateTime object that represents the date and time the user has chosen using the date/time-picker HTML control. |
java.lang.String |
GetDateInputName()
Provides a means of retrieving the HTML Input name for the date portion of the date picker. |
java.lang.String |
GetName()
Return the name of the MVC object. |
java.lang.String |
GetPTDatepickerVarName()
Returns the name of the PTDatepicker JavaScript variable name |
java.lang.String |
GetSelectedDateAsString()
Returns the date selected in the date picker as a string |
XPArrayList |
GetValidators()
Currently validation on the date/time picker page controls is not implemented. |
void |
Init(java.lang.String _strFormName,
PageMgr _ptPageMgr,
java.lang.String _strUniqueInstanceID)
Initialize the JSDatePicker. |
void |
Init(java.lang.String _strFormName,
java.lang.String _strDefaultDate,
PageMgr _ptPageMgr,
java.lang.String _strUniqueInstanceID)
Initialize a new JSDatePicker object. |
void |
SetDatePickerMgrID(java.lang.String strDatePickerMgrID)
|
int |
StoreUserInput(XPHashtable _htRequestParameters)
Stores the user input after the request is sent back. |
XPArrayList |
Validate()
Currently validation on the date/time picker page controls is not implemented. |
| Methods inherited from class com.plumtree.uiinfrastructure.pagecontrols.datepicker.ADatePickerComponent |
|---|
GetDateTime, GetDateTimeAsDateTime, SetBlankDate, SetDefaultDate |
| Methods inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent |
|---|
AppendUniqueIDToElementName, GetComponentHeadContent, GetComponentPostContent, GetComponentPreContent, GetComponentPreFormContent, GetPageMgr, GetSubComponentHTMLByIndex, GetUniqueInstanceID, Init |
| 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 |
|---|
GetUniqueInstanceID |
| Field Detail |
|---|
public static final java.lang.String STR_DP_DATE_INPUT_NAME
public static java.lang.String STR_MVC_CLASS_NAME
public java.lang.String m_strDatePickerMgrID
protected static XPLocale m_oUSLocale
| Constructor Detail |
|---|
public JSDatePicker()
| Method Detail |
|---|
public void Init(java.lang.String _strFormName,
PageMgr _ptPageMgr,
java.lang.String _strUniqueInstanceID)
Init in class ADatePickerComponent_strFormName - The name of the form in which the datepicker resides_ptPageMgr - The datepicker page manager for this instance of
the datepicker_strUniqueInstanceID - The string that will be appended to
variables to make them unique
public void Init(java.lang.String _strFormName,
java.lang.String _strDefaultDate,
PageMgr _ptPageMgr,
java.lang.String _strUniqueInstanceID)
Init in class ADatePickerComponent_strFormName - The name of the form in which the datepicker resides_strDefaultDate - The initial date selected_ptPageMgr - The datepicker page manager for this instance of
the datepicker_strUniqueInstanceID - The string that will be appended to
variables to make them uniquepublic HTMLElementCollection GetComponentHTML()
GetComponentHTML in interface IPageControlGetComponentHTML in class AComponentpublic HTMLElementCollection GetComponentHTML(java.lang.String _strPickerType)
_strPickerType - the picker type.
public java.lang.String GetDateInputName()
GetDateInputName in class ADatePickerComponentpublic java.lang.String GetPTDatepickerVarName()
GetPTDatepickerVarName in class ADatePickerComponentpublic java.lang.String GetSelectedDateAsString()
GetSelectedDateAsString in class ADatePickerComponentpublic int StoreUserInput(XPHashtable _htRequestParameters)
StoreUserInput in interface IPageControlStoreUserInput in class AComponent_htRequestParameters - The XPHashtable of request name/value pairs.public XPDateTime GetDateAsDateTime()
GetDateAsDateTime in class ADatePickerComponentpublic void SetDatePickerMgrID(java.lang.String strDatePickerMgrID)
public java.lang.Object Create()
Create in interface IManagedObjectCreate in class AComponentpublic java.lang.String GetName()
GetName in interface IMVCObjectGetName in class AComponentpublic ComponentMgr GetComponentMgr(PageMgr _ptPageMgr)
IPageControl
GetComponentMgr in interface IPageControl_ptPageMgr - this PageMgr
public java.lang.String GetComponentMgrName()
GetComponentMgrName in interface IPageControlpublic XPArrayList Validate()
Validate in class AComponentpublic XPArrayList GetValidators()
GetValidators in class AComponent
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||