com.plumtree.uiinfrastructure.pagecontrols.timepicker
Class ATimePicker

java.lang.Object
  extended by com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent
      extended by com.plumtree.uiinfrastructure.pagecontrols.timepicker.ATimePicker
All Implemented Interfaces:
IManagedObject, IMVCObject, IPageControl
Direct Known Subclasses:
TimePicker

public abstract class ATimePicker
extends AComponent
implements IPageControl

Author:
DorisL

Field Summary
 
Fields inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent
m_ptPageMgr
 
Constructor Summary
ATimePicker()
           
 
Method Summary
abstract  java.lang.String GetAMPM()
          Returns the AMPM string
abstract  java.lang.String GetAMPMInputName()
          Provides a means of retrieving the HTML Input name for the AMPM portion of the date picker.
abstract  java.lang.String GetHours()
          Returns the hours string
abstract  java.lang.String GetHoursInputName()
          Provides a means of retrieving the HTML Input name for the hours portion of the date picker.
abstract  java.lang.String GetMinutes()
          Returns the minutes string
abstract  java.lang.String GetMinutesInputName()
          Provides a means of retrieving the HTML Input name for the minutes portion of the date picker.
abstract  java.lang.String GetTimeAsEnglishString()
          Returns the time chosen by the user as a String in the English format: "h:mm:ss a".
abstract  java.lang.String GetTimeAsString()
          Returns the time portion of the date and time chosen by the user as a String.
abstract  void Init(int _nHours, int _nMinutes, PageMgr _ptPageMgr, java.lang.String _strUniqueInstanceID)
          Creates a new TimePicker object.
abstract  void Init(int _nHours, int _nMinutes, java.lang.String _strAMPM, PageMgr _ptPageMgr, java.lang.String _strUniqueInstanceID)
          Creates a new TimePicker object.
abstract  void Init(PageMgr _ptPageMgr, java.lang.String _strTime, java.lang.String _strUniqueInstanceID)
          Creates a new TimePicker object based on a complete time string in XPDateFormat.MEDIUM format
 
Methods inherited from class com.plumtree.uiinfrastructure.pagecontrols.framework.AComponent
AppendUniqueIDToElementName, Create, GetComponentHeadContent, GetComponentHTML, GetComponentPostContent, GetComponentPreContent, GetComponentPreFormContent, GetName, GetPageMgr, GetSubComponentHTMLByIndex, GetUniqueInstanceID, GetValidators, Init, StoreUserInput, Validate
 
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
GetComponentHTML, GetComponentMgr, GetComponentMgrName, GetUniqueInstanceID, StoreUserInput
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject
GetName
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IManagedObject
Create
 

Constructor Detail

ATimePicker

public ATimePicker()
Method Detail

Init

public abstract void Init(PageMgr _ptPageMgr,
                          java.lang.String _strTime,
                          java.lang.String _strUniqueInstanceID)
Creates a new TimePicker object based on a complete time string in XPDateFormat.MEDIUM format

Parameters:
_strTime - - The time string to parse
_ptComponentMgr - - The component manager
_strUniqueInstanceID - - The unique identifying string to distinguish multiple time pickers on the page

Init

public abstract void Init(int _nHours,
                          int _nMinutes,
                          java.lang.String _strAMPM,
                          PageMgr _ptPageMgr,
                          java.lang.String _strUniqueInstanceID)
Creates a new TimePicker object.

Parameters:
_nHours - The hours value to initially select
_nMinutes - The minutes value to initially select
_strAMPM - The AM/PM string to initially select
_ptComponentMgr - The component manager
_strUniqueInstanceID - The unique identifier string used to distinguish multiple copies of this component on the same page

Init

public abstract void Init(int _nHours,
                          int _nMinutes,
                          PageMgr _ptPageMgr,
                          java.lang.String _strUniqueInstanceID)
Creates a new TimePicker object.

Parameters:
_nHours - The hours value to initially select
_nMinutes - The minutes value to initially select
_ptComponentMgr - The component manager
_strUniqueInstanceID - The unique identifier string used to distinguish multiple copies of this component on the same page

GetAMPM

public abstract java.lang.String GetAMPM()
Returns the AMPM string

Returns:
String

GetAMPMInputName

public abstract java.lang.String 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.

Returns:
String

GetHours

public abstract java.lang.String GetHours()
Returns the hours string

Returns:
String

GetHoursInputName

public abstract java.lang.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.

Returns:
String

GetMinutes

public abstract java.lang.String GetMinutes()
Returns the minutes string

Returns:
String

GetMinutesInputName

public abstract java.lang.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.

Returns:
String

GetTimeAsString

public abstract java.lang.String GetTimeAsString()
Returns the time portion of the date and time chosen by the user as a String.

Returns:
String

GetTimeAsEnglishString

public abstract java.lang.String GetTimeAsEnglishString()
Returns the time chosen by the user as a String in the English format: "h:mm:ss a".

Returns:
String



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.