ERMDDefaultCSSAssignment Class Reference

Inherits er::directtoweb::assignments::ERDAssignment.

Collaboration diagram for ERMDDefaultCSSAssignment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

String classForAttributeColumn (D2WContext c)
String classForAttributeRepetition (D2WContext c)
Object classForAttributeRepetitionWrapper (D2WContext c)
String classForAttributeValue (D2WContext c)
String classForBanner (D2WContext c)
String classForBottomActionBlock (D2WContext c)
String classForBottomBatchSize (D2WContext c)
String classForBottomNavBar (D2WContext c)
String classForConfirmBlock (D2WContext c)
String classForEmbeddedCreateBlock (D2WContext c)
String classForEmbeddedEditBlock (D2WContext c)
String classForEmbeddedInspectBlock (D2WContext c)
String classForEmbeddedListBlock (D2WContext c)
String classForEmbeddedQueryBlock (D2WContext c)
String classForEmptyLabelSpan (D2WContext c)
String classForErrorBlock (D2WContext c)
String classForHeader (D2WContext c)
String classForInnerWrapper (D2WContext c)
String classForLabelSpan (D2WContext c)
String classForObjectTable (D2WContext c)
String classForObjectTableHeader (D2WContext c)
String classForSection (D2WContext c)
String classForTopActionBlock (D2WContext c)
String classForTopBatchSize (D2WContext c)
String classForTopNavBar (D2WContext c)
String classForWrapper (D2WContext c)
String cssClassBuilder (D2WContext c, String base, String root)
String cssClassBuilderFromBaseName (D2WContext c, String baseName, String rootName)
NSArray dependentKeys (String keyPath)
 ERMDDefaultCSSAssignment (String key, Object value)
 ERMDDefaultCSSAssignment (EOKeyValueUnarchiver u)
String idForMainBusyIndicator (D2WContext c)
String idForMainContainer (D2WContext c)
String idForPageConfiguration (D2WContext c)
String idForPageTabContainer (D2WContext c)
String idForParentMainContainer (D2WContext c)
String idForParentPageConfiguration (D2WContext c)
String idForPropertyContainer (D2WContext c)
String idForRepetitionContainer (D2WContext c)
String pageConfigAppender (D2WContext c, String base, String suffix)
String pageType (D2WContext c)

Static Public Member Functions

static Object decodeWithKeyValueUnarchiver (EOKeyValueUnarchiver eokeyvalueunarchiver)

Static Public Attributes

static final Logger log = Logger.getLogger(ERMDDefaultCSSAssignment.class)

Static Protected Attributes

static final NSDictionary keys


Detailed Description

Assignment class to generate the default CSS class and id values used by the ERModernLook.

Author:
davidleber

Constructor & Destructor Documentation

ERMDDefaultCSSAssignment ( EOKeyValueUnarchiver  u  ) 

Public constructor

Parameters:
u key-value unarchiver used when unarchiving from rule files.

ERMDDefaultCSSAssignment ( String  key,
Object  value 
)

Public constructor

Parameters:
key context key
value of the assignment


Member Function Documentation

String classForAttributeColumn ( D2WContext  c  ) 

String classForAttributeRepetition ( D2WContext  c  ) 

Object classForAttributeRepetitionWrapper ( D2WContext  c  ) 

Obtains a class for the attribute repetition wrapper based on the baseClassForAttributeRepetitionWrapper

String classForAttributeValue ( D2WContext  c  ) 

String classForBanner ( D2WContext  c  ) 

String classForBottomActionBlock ( D2WContext  c  ) 

String classForBottomBatchSize ( D2WContext  c  ) 

String classForBottomNavBar ( D2WContext  c  ) 

String classForConfirmBlock ( D2WContext  c  ) 

String classForEmbeddedCreateBlock ( D2WContext  c  ) 

String classForEmbeddedEditBlock ( D2WContext  c  ) 

String classForEmbeddedInspectBlock ( D2WContext  c  ) 

String classForEmbeddedListBlock ( D2WContext  c  ) 

String classForEmbeddedQueryBlock ( D2WContext  c  ) 

String classForEmptyLabelSpan ( D2WContext  c  ) 

String classForErrorBlock ( D2WContext  c  ) 

String classForHeader ( D2WContext  c  ) 

String classForInnerWrapper ( D2WContext  c  ) 

String classForLabelSpan ( D2WContext  c  ) 

String classForObjectTable ( D2WContext  c  ) 

String classForObjectTableHeader ( D2WContext  c  ) 

String classForSection ( D2WContext  c  ) 

String classForTopActionBlock ( D2WContext  c  ) 

String classForTopBatchSize ( D2WContext  c  ) 

String classForTopNavBar ( D2WContext  c  ) 

String classForWrapper ( D2WContext  c  ) 

String cssClassBuilder ( D2WContext  c,
String  base,
String  root 
)

Builds a css class for page elements based on the supplied base and root. Depends on pageConfiguration, parentPageConfiguration and task

Parameters:
c 
base 
root 
Returns:

String cssClassBuilderFromBaseName ( D2WContext  c,
String  baseName,
String  rootName 
)

Builds a css class for a page element Looks up the css base and root using the supplied baseName and rootName from the rules Depends on pageConfiguration, parentPageConfiguration, and task

Parameters:
c 
baseName 
rootName 
Returns:

static Object decodeWithKeyValueUnarchiver ( EOKeyValueUnarchiver  eokeyvalueunarchiver  )  [static]

Static constructor required by the EOKeyValueUnarchiver interface. If this isn't implemented then the default behavior is to construct the first super class that does implement this method. Very lame.

Parameters:
eokeyvalueunarchiver to be unarchived
Returns:
decoded assignment of this class

NSArray dependentKeys ( String  keyPath  ) 

Implementation of the ERDComputingAssignmentInterface. This array of keys is used when constructing the significant keys for the passed in keyPath.

Parameters:
keyPath to compute significant keys for.
Returns:
array of context keys this assignment depends upon.

Implements ERDComputingAssignmentInterface.

String idForMainBusyIndicator ( D2WContext  c  ) 

String idForMainContainer ( D2WContext  c  ) 

String idForPageConfiguration ( D2WContext  c  ) 

String idForPageTabContainer ( D2WContext  c  ) 

String idForParentMainContainer ( D2WContext  c  ) 

String idForParentPageConfiguration ( D2WContext  c  ) 

String idForPropertyContainer ( D2WContext  c  ) 

String idForRepetitionContainer ( D2WContext  c  ) 

String pageConfigAppender ( D2WContext  c,
String  base,
String  suffix 
)

Appends the pageConfiguration if it exists to a supplied base and suffix

Parameters:
c 
base 
suffix 
Returns:

String pageType ( D2WContext  c  ) 

Builds a css friendly name for the page task. Depends on pageConfiguration and task


Member Data Documentation

final NSDictionary keys [static, protected]

holds the array of keys this assignment depends upon

final Logger log = Logger.getLogger(ERMDDefaultCSSAssignment.class) [static]

logging support

Reimplemented from ERDAssignment.


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

Generated on Sat May 26 06:43:23 2012 for Project Wonder by  doxygen 1.5.8