ERDEditDatePopupCommon Class Reference

Inherits er::directtoweb::components::ERDCustomEditComponent.

Inherited by ERDEditDatePopup, and ERDEditDatePopupOrNull.

Collaboration diagram for ERDEditDatePopupCommon:

Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean checkFutureDate ()
String day () throws Exception
NSArray dayList ()
boolean editTime ()
 ERDEditDatePopupCommon (WOContext context)
boolean isStateless ()
String month () throws Exception
NSArray monthList ()
String monthName () throws Exception
NSArray monthNameList ()
void reset ()
void setDay (String newDay) throws Exception
void setMonth (String newMonth) throws Exception
void setTime (String newTime)
void setYear (String newYear) throws Exception
boolean synchronizesVariablesWithBindings ()
String time () throws Exception
String today ()
String year () throws Exception
NSArray yearList ()

Public Attributes

String currentMonth

Protected Attributes

String day
String month
NSArray monthNameList
String time
String year
NSMutableArray yearList

Static Protected Attributes

static final NSTimestampFormatter ALL_FORMAT
static final NSTimestampFormatter ALL_FORMAT_AND_TIME
static final NSTimestampFormatter DAY_FORMAT
static NSArray dayList
static NSArray defaultMonthNameList
static final NSTimestampFormatter MONTH_FORMAT
static NSArray monthList
static final NSTimestampFormatter TIME_FORMAT
static final NSTimestampFormatter YEAR_FORMAT

Private Attributes

Integer _editTime


Detailed Description

Common superclass for date editing components.

Constructor & Destructor Documentation

ERDEditDatePopupCommon ( WOContext  context  ) 


Member Function Documentation

boolean checkFutureDate (  ) 

String day (  )  throws Exception

NSArray dayList (  ) 

boolean editTime (  ) 

boolean isStateless (  ) 

component is not stateless

Reimplemented from ERDCustomEditComponent.

Reimplemented in ERDEditDatePopupOrNull.

String month (  )  throws Exception

NSArray monthList (  ) 

String monthName (  )  throws Exception

NSArray monthNameList (  ) 

void reset (  ) 

Used by stateless subclasses.

Reimplemented from ERDCustomEditComponent.

Reimplemented in ERDEditDatePopupOrNull.

void setDay ( String  newDay  )  throws Exception

void setMonth ( String  newMonth  )  throws Exception

void setTime ( String  newTime  ) 

void setYear ( String  newYear  )  throws Exception

boolean synchronizesVariablesWithBindings (  ) 

Overridden from superclass to turn on component synching, which is the default.

Reimplemented from ERDCustomEditComponent.

Reimplemented in ERDEditDatePopupOrNull.

String time (  )  throws Exception

String today (  ) 

String year (  )  throws Exception

NSArray yearList (  ) 


Member Data Documentation

Integer _editTime [private]

final NSTimestampFormatter ALL_FORMAT [static, protected]

Initial value:

        new NSTimestampFormatter("%d %m %Y")

final NSTimestampFormatter ALL_FORMAT_AND_TIME [static, protected]

Initial value:

        new NSTimestampFormatter("%d %m %Y %H:%M")

String day [protected]

final NSTimestampFormatter DAY_FORMAT [static, protected]

Initial value:

        new NSTimestampFormatter("%d")

NSArray dayList [static, protected]

NSArray defaultMonthNameList [static, protected]

String month [protected]

final NSTimestampFormatter MONTH_FORMAT [static, protected]

Initial value:

        new NSTimestampFormatter("%m")

NSArray monthList [static, protected]

NSArray monthNameList [protected]

String time [protected]

final NSTimestampFormatter TIME_FORMAT [static, protected]

Initial value:

        new NSTimestampFormatter("%H:%M")

String year [protected]

final NSTimestampFormatter YEAR_FORMAT [static, protected]

Initial value:

        new NSTimestampFormatter("%Y")

NSMutableArray yearList [protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:51 2012 for Project Wonder by  doxygen 1.5.8