AjaxOption Class Reference

Inherited by AjaxConstantOption.

Collaboration diagram for AjaxOption:

Collaboration graph
[legend]

List of all members.

Classes

class  Type

Public Member Functions

void addToDictionary (WOComponent component, NSMutableDictionary< String, String > dictionary)
 AjaxOption (String name, String bindingName, Object defaultValue, AjaxOption.Type type)
 AjaxOption (String name, Object defaultValue, AjaxOption.Type type)
 AjaxOption (String name, AjaxOption.Type type)
 AjaxOption (String name)
Object defaultValue ()
String name ()
AjaxOption.Type type ()
AjaxValue valueForObject (Object obj)

Static Public Member Functions

static NSMutableDictionary
< String, String
createAjaxOptionsDictionary (NSArray< AjaxOption > ajaxOptions, WOComponent component, NSDictionary< String,?extends WOAssociation > associations)
static NSMutableDictionary
< String, String
createAjaxOptionsDictionary (NSArray< AjaxOption > ajaxOptions, WOComponent component)

Static Public Attributes

static final AjaxOption.Type ARRAY = new AjaxOption.Type(4)
static final AjaxOption.Type BOOLEAN = new AjaxOption.Type(6)
static final AjaxOption.Type DEFAULT = new AjaxOption.Type(0)
static final AjaxOption.Type DICTIONARY = new AjaxOption.Type(8)
static final AjaxOption.Type FUNCTION = new AjaxOption.Type(9)
static final AjaxOption.Type FUNCTION_1 = new AjaxOption.Type(9)
static final AjaxOption.Type FUNCTION_2 = new AjaxOption.Type(9)
static final AjaxOption.Type NUMBER = new AjaxOption.Type(3)
static final AjaxOption.Type SCRIPT = new AjaxOption.Type(2)
static final AjaxOption.Type STRING = new AjaxOption.Type(1)
static final AjaxOption.Type STRING_ARRAY = new AjaxOption.Type(5)
static final AjaxOption.Type STRING_OR_ARRAY = new AjaxOption.Type(7)

Protected Member Functions

void addToDictionary (WOComponent component, NSDictionary< String,?extends WOAssociation > associations, NSMutableDictionary< String, String > dictionary)
Object valueInComponent (WOComponent component, NSDictionary< String,?extends WOAssociation > associations)
Object valueInComponent (WOComponent component)

Private Attributes

String _bindingName
Object _defaultValue
String _name
AjaxOption.Type _type


Constructor & Destructor Documentation

AjaxOption ( String  name  ) 

AjaxOption ( String  name,
AjaxOption.Type  type 
)

AjaxOption ( String  name,
Object  defaultValue,
AjaxOption.Type  type 
)

AjaxOption ( String  name,
String  bindingName,
Object  defaultValue,
AjaxOption.Type  type 
)


Member Function Documentation

void addToDictionary ( WOComponent  component,
NSDictionary< String,?extends WOAssociation >  associations,
NSMutableDictionary< String, String dictionary 
) [protected]

void addToDictionary ( WOComponent  component,
NSMutableDictionary< String, String dictionary 
)

static NSMutableDictionary<String, String> createAjaxOptionsDictionary ( NSArray< AjaxOption ajaxOptions,
WOComponent  component,
NSDictionary< String,?extends WOAssociation >  associations 
) [static]

static NSMutableDictionary<String, String> createAjaxOptionsDictionary ( NSArray< AjaxOption ajaxOptions,
WOComponent  component 
) [static]

Object defaultValue (  ) 

String name (  ) 

AjaxOption.Type type (  ) 

AjaxValue valueForObject ( Object  obj  ) 

Object valueInComponent ( WOComponent  component,
NSDictionary< String,?extends WOAssociation >  associations 
) [protected]

Reimplemented in AjaxConstantOption.

Object valueInComponent ( WOComponent  component  )  [protected]

Reimplemented in AjaxConstantOption.


Member Data Documentation

String _bindingName [private]

Object _defaultValue [private]

String _name [private]

AjaxOption.Type _type [private]

final AjaxOption.Type ARRAY = new AjaxOption.Type(4) [static]

final AjaxOption.Type BOOLEAN = new AjaxOption.Type(6) [static]

final AjaxOption.Type DEFAULT = new AjaxOption.Type(0) [static]

final AjaxOption.Type DICTIONARY = new AjaxOption.Type(8) [static]

final AjaxOption.Type FUNCTION = new AjaxOption.Type(9) [static]

final AjaxOption.Type FUNCTION_1 = new AjaxOption.Type(9) [static]

final AjaxOption.Type FUNCTION_2 = new AjaxOption.Type(9) [static]

final AjaxOption.Type NUMBER = new AjaxOption.Type(3) [static]

final AjaxOption.Type SCRIPT = new AjaxOption.Type(2) [static]

final AjaxOption.Type STRING = new AjaxOption.Type(1) [static]

final AjaxOption.Type STRING_ARRAY = new AjaxOption.Type(5) [static]

final AjaxOption.Type STRING_OR_ARRAY = new AjaxOption.Type(7) [static]


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

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