ERXBooleanSelector Class Reference

Inherits er::extensions::components::ERXStatelessComponent.

Collaboration diagram for ERXBooleanSelector:

Collaboration graph
[legend]

List of all members.

Classes

class  BooleanProxy

Public Member Functions

String displayString ()
 ERXBooleanSelector (WOContext context)
boolean isCheckbox ()
boolean isPopup ()
boolean isRadio ()
String noSelectionString ()
NSArray< Boolean > options ()
NSArray< BooleanProxyproxyOptions ()
Object proxySelection ()
void reset ()
void setProxySelection (Object object)
String uiMode ()

Public Attributes

Boolean _option
BooleanProxy _proxy

Private Attributes

final NSArray< Boolean > _options = new NSArray<Boolean>(new Boolean[] { Boolean.TRUE, Boolean.FALSE })
final NSArray< BooleanProxy_proxyOptions = new NSArray<BooleanProxy>(new BooleanProxy[] { TRUE, FALSE })
final NSArray< BooleanProxy_proxyOptionsWithNull = new NSArray<BooleanProxy>(new BooleanProxy[] { TRUE, FALSE, NULL})

Static Private Attributes

static final BooleanProxy FALSE = new BooleanProxy(Boolean.FALSE)
static final BooleanProxy NULL = new BooleanProxy(null)
static final BooleanProxy TRUE = new BooleanProxy(Boolean.TRUE)


Detailed Description

A custom boolean selector (defaults to "Yes", "No", and "All") for use as, for instance, a boolean search filter.

Author:
mschrag

ak

yesString the string to show for the "Yes" option noString the string to show for the "No" option noSelectionString the string to show for the "All" option selection the selected value

Constructor & Destructor Documentation

ERXBooleanSelector ( WOContext  context  ) 


Member Function Documentation

String displayString (  ) 

boolean isCheckbox (  ) 

boolean isPopup (  ) 

boolean isRadio (  ) 

String noSelectionString (  ) 

NSArray<Boolean> options (  ) 

NSArray<BooleanProxy> proxyOptions (  ) 

Object proxySelection (  ) 

void reset (  ) 

Reimplemented from ERXStatelessComponent.

void setProxySelection ( Object  object  ) 

String uiMode (  ) 


Member Data Documentation

Boolean _option

final NSArray<Boolean> _options = new NSArray<Boolean>(new Boolean[] { Boolean.TRUE, Boolean.FALSE }) [private]

final NSArray<BooleanProxy> _proxyOptions = new NSArray<BooleanProxy>(new BooleanProxy[] { TRUE, FALSE }) [private]

final NSArray<BooleanProxy> _proxyOptionsWithNull = new NSArray<BooleanProxy>(new BooleanProxy[] { TRUE, FALSE, NULL}) [private]

final BooleanProxy FALSE = new BooleanProxy(Boolean.FALSE) [static, private]

final BooleanProxy NULL = new BooleanProxy(null) [static, private]

final BooleanProxy TRUE = new BooleanProxy(Boolean.TRUE) [static, private]


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

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