Plumtree UI Infrastructure API  
 

JSDateTimePicker Members

JSDateTimePicker overview

Public Static Fields

STR_MVC_CLASS_NAME 

Public Static Methods

GetDateTime Return the XPDateTime for the specific date picker

Public Instance Constructors

JSDateTimePicker Constructor Default empty constructor.

Public Instance Fields

m_strDatePickerMgrID (inherited from JSDatePicker) Variable to store a unique ID for the DatePickMgr associated with this DatePicker *

Public Instance Methods

Create This method is used by the ASManager to return new instances of managed objects.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetAMPM This method returns the AM/PM part of the time. If we are using 24-hour time this method returns null.
GetAMPMInputName Provides a means of retrieving the HTML Input name for the AMPM portion of the date picker. This allows for using javascript to programmatically set input values, for example.
GetComponentHeadContent (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.)
GetComponentHTMLOverloaded. This method returns the date/time-picker HTML.
GetComponentHTML (inherited from JSDatePicker)Overloaded. This method returns the datepicker HTML.
GetComponentMgr (inherited from JSDatePicker) 
GetComponentMgrName (inherited from JSDatePicker) Return the name of the component manager responsible for this page control
GetComponentPostContent (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.)
GetComponentPreContent (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.)
GetComponentPreFormContent (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.)
GetDateAsDateTime (inherited from JSDatePicker) This function returns an XPDateTime object that represents the date and time the user has chosen using the date/time-picker HTML control.
GetDateInputName (inherited from JSDatePicker) Provides a means of retrieving the HTML Input name for the date portion of the date picker. This allows for using javascript to programmatically set input values, for example.
GetDateTimeAsDateTime This function returns an XPDateTime object that represents the date and time the user has chosen using the date/time-picker HTML control.
GetDateTimeAsString This method returns the date and time as a String.
GetHashCode (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.
GetHours This method returns the hours part of the time as a String.
GetHoursInputName Provides a means of retrieving the HTML Input name for the hours portion of the date picker. This allows for using javascript to programmatically set input values, for example.
GetMinutes This method returns the minutes part of the time as a String.
GetMinutesInputName Provides a means of retrieving the HTML Input name for the minutes portion of the date picker. This allows for using javascript to programmatically set input values, for example.
GetName Return the name of the MVC object.
GetPageMgr (inherited from AComponent) This method returns the page manager that houses this component manager.
GetPTDatepickerVarName (inherited from JSDatePicker) Returns the name of the PTDatepicker JavaScript variable name
GetSelectedDateAsString (inherited from JSDatePicker) Returns the date selected in the date picker as a string
GetSubComponentHTMLByIndex This method serves as a getter for "sub-component" HTML. The date/time-picker 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.
GetTimeAsString This method returns just the time part of the String.
GetType (inherited from Object)Gets the Type of the current instance.
GetUniqueInstanceID (inherited from AComponent) This method returns the string used to uniquely idenify this component on a page.
GetValidators (inherited from JSDatePicker) Currently validation on the date/time picker page controls is not implemented. This method returns null.
InitOverloaded. Initialize a new JSDateTimePicker.
Init (inherited from AComponent)Overloaded. Initializes a new AComponent()
SetBlankDate (inherited from ADatePickerComponent) 
SetDatePickerMgrID (inherited from JSDatePicker) 
SetDefaultDate (inherited from ADatePickerComponent) 
StoreUserInput Stores the user input after the request is sent back.
ToString (inherited from Object)Returns a String that represents the current Object.
Validate (inherited from JSDatePicker) Currently validation on the date/time picker page controls is not implemented. This method returns null.

Protected Instance Fields

m_ptPageMgr (inherited from AComponent) The page manager associated with this component.

Protected Instance Methods

AppendUniqueIDToElementName (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".
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

JSDateTimePicker Class | com.plumtree.uiinfrastructure.pagecontrols.jsdatetimepicker Namespace