Uiinfrastructure API Docs  
 

DatePicker Members

DatePicker overview

Public Static Fields

iconiconBLANK Constant for Month Names
iconiconDAY_DROP_DOWN String constant for day select drop down component
iconiconDELIMETERS Delimeters in the date pattern
iconiconMAX_DAY 
iconiconMIN_DAY 
iconiconMIN_YEAR String constant for min year, max year, min num of days, max num of days
iconiconMONTH_DROP_DOWN String constant for month select drop down component
iconiconNUM_OF_MONTHS 
iconiconNUM_OF_YEARS 
iconiconREG_EXP_DELEMETERS Reg. expression for delimeters in date pattern
iconiconSTR_BLANK Constant String for BLANK
iconiconSTR_COMP_BASE_NAME component's base name
iconiconSTR_MVC_CLASS_NAME mvc class name for datepicker component
iconiconYEAR_DROP_DOWN String constant for year select drop down component

Public Instance Constructors

icon DatePicker Constructor Creates a new DatePicker for 508 mode

Public Instance Methods

iconCreate This method is used by the ASManager to return new instances of managed objects.
iconEquals (inherited from Object)Determines whether the specified Object is equal to the current Object.
iconGetComponentHeadContent (inherited from AComponent) This method returns script that needs to be printed within the HTML head tag. This method could have been abstract except that most components do not have a use for it. It therefore returns null and should be overridden as needed. (Note: there is an anologous method for printing page- level content in ComponentMgr.)
iconGetComponentHTML Returns the HTML for this component.
iconGetComponentMgr 
iconGetComponentMgrName Return the name of the component manager responsible for this page control
iconGetComponentPostContent (inherited from AComponent) This method returns script that needs to be printed after the component itself has been printed. This method could have been abstract except that most components do not have a use for it. It therefore returns null and should be overridden as needed. (Note: there is an anologous method for printing page- level content in ComponentMgr.)
iconGetComponentPreContent (inherited from AComponent) This method returns script that needs to be printed before the component itself has been printed. This method could have been abstract except that most components do not have a use for it. It therefore returns null and should be overridden as needed. (Note: there is an anologous method for printing page- level content in ComponentMgr.)
iconGetComponentPreFormContent (inherited from AComponent) This method returns script that needs to be printed before the form in which this component is embedded. It therefore returns null and should be overridden as needed. (Note: there is an anologous method for printing page- level content in ComponentMgr.)
iconGetDateAsDateTime This function returns an XPDateTime object that represents the date and the user has chosen using the HTMLDatePicker.
iconGetDateInputName Returns the name of the date input. In this case there isn't one so return null;
iconGetDateTimeAsDateTime (inherited from ADatePickerComponent) 
iconGetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
iconGetName Return the name of the MVC object.
iconGetPageMgr (inherited from AComponent) This method returns the page manager that houses this component manager.
iconGetPTDatepickerVarName Returns the name of the PTDatepicker JavaScript variable name. In this case there isn't one so return null;
iconGetSelectedDateAsString Returns the date as a String in the pattern format specified by the locale, null values in memeber variables, m_strYear, m_strMonth, or m_strDay indicate an invalid date so return the default, and empty String.
iconGetSubComponentHTMLByIndex (inherited from AComponent) This method serves as a getter for "sub-component" HTML. The breakdown of sub-components is decided by the component author. One example is the date/time-picker. It is made up of two sub-components: the date-picker and the time-picker. The constants for component sub-index should be specified in the component file and prefixed with "N_SUB_COMPONENT_INDEX." If the specified index is not valid, null should be returned. This method returns null in the parent instead of being abstract becuase many components will not need to use this method.
iconGetType (inherited from Object)Gets the Type of the current instance.
iconGetUniqueInstanceID (inherited from AComponent) This method returns the string used to uniquely idenify this component on a page.
iconGetValidators Currently validation on the date/time picker page controls is not implemented. This method returns null.
iconInitOverloaded. initializes a new HTMLDatePicker object with the month, day and year blank
iconInit (inherited from AComponent)Overloaded. Initializes a new AComponent()
iconSetBlankDate Sets the month, day, and year of drop down menus to blank
iconSetDefaultDate (inherited from ADatePickerComponent) 
iconStoreUserInput Store the new value of this HTML component.
iconToString (inherited from Object)Returns a String that represents the current Object.
iconValidate Currently validation on the date/time picker page controls is not implemented. This method returns null.

Protected Instance Fields

iconm_ptPageMgr (inherited from AComponent) The page manager associated with this component.
iconm_strDay 
iconm_strMonth Variables to save the month, day, and year
iconm_strYear 

Protected Instance Methods

iconAppendUniqueIDToElementName (inherited from AComponent) This method should be used to add the unique identifier to HTML inputs related to this component. If my element name is "in_cb_MyCheckBox" and my unique ID is "one", then this method will return "in_cb_MyCheckBox_one".
iconFinalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
iconGetHTMLComponentBaseName Returns the base name of this HTML OpenComponent.
iconMemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DatePicker Class | com.plumtree.uiinfrastructure.pagecontrols.datepicker Namespace