ERXBatchNavigationBar Class Reference

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

Inherited by ERXAjaxBatchNavigationBar, ERLITBatchNavigationBar, and ERXBatchNavigationBarInForm.

Collaboration diagram for ERXBatchNavigationBar:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void appendToResponse (WOResponse response, WOContext context)
void awake ()
int currentBatchIndex ()
WOComponent displayFirstBatch ()
WODisplayGroup displayGroup ()
WOComponent displayLastBatch ()
WOComponent displayNextBatch ()
WOComponent displayPreviousBatch ()
 ERXBatchNavigationBar (WOContext aContext)
int filteredObjectsCount ()
String formTarget ()
boolean hasObjectName ()
boolean hasSortKeyList ()
String imageFramework ()
String leftArrowImage ()
int numberOfObjectsPerBatch ()
int objectCount ()
void reset ()
String rightArrowImage ()
void setCurrentBatchIndex (Number newValue)
void setNumberOfObjectsPerBatch (Number newValue)

Public Attributes

boolean wasInForm

Static Public Attributes

static final String BatchSizeChanged = "BatchSizeChanged"
static final Logger log = Logger.getLogger(ERXBatchNavigationBar.class)

Protected Member Functions

void clearSelection (NSArray selection)
NSArray selection ()

Private Attributes

WODisplayGroup _displayGroup
String _threadStorageKey


Detailed Description

Better batch navigation bar to page thtough display groups.

d2wContext the D2W context that this component is in displayGroup the WODisplayGroup that is being controlled width the width of the navigation bar table (there is a minimum 500 pixel width if tableClass is not specified) objectName the name of the type of object that is contained in the WODisplayGroup border the border width of the navigation bar table bgcolor the background color of the navigation bar table textColor no longer used? sortKeyList an NSArray of sort key paths that will be displayed in a popup button tableClass the CSS class for the navigation table (overrides minimum 500 pixel width when set) imageFramework the name of the framework that contains the navigation arrow images leftArrowImage the name of the left navigation arrow image rightArrowImage the name of the right navigation arrow image clearSelection boolean that indicates if the selection should be reset on paging (default false)


Constructor & Destructor Documentation

ERXBatchNavigationBar ( WOContext  aContext  ) 

Public constructor


Member Function Documentation

void appendToResponse ( WOResponse  response,
WOContext  context 
)

Calls resetCachedBindingsInStatefulComponent prior to super.appendToResponse.

Parameters:
response to which we are appending
context context of the response

Reimplemented from ERXNonSynchronizingComponent.

void awake (  ) 

void clearSelection ( NSArray  selection  )  [protected]

int currentBatchIndex (  ) 

WOComponent displayFirstBatch (  ) 

WODisplayGroup displayGroup (  ) 

WOComponent displayLastBatch (  ) 

WOComponent displayNextBatch (  ) 

WOComponent displayPreviousBatch (  ) 

int filteredObjectsCount (  ) 

String formTarget (  ) 

Reimplemented in ERXBatchNavigationBarInForm.

boolean hasObjectName (  ) 

boolean hasSortKeyList (  ) 

String imageFramework (  ) 

String leftArrowImage (  ) 

int numberOfObjectsPerBatch (  ) 

int objectCount (  ) 

void reset (  ) 

Reimplemented from ERXStatelessComponent.

String rightArrowImage (  ) 

NSArray selection (  )  [protected]

void setCurrentBatchIndex ( Number  newValue  ) 

void setNumberOfObjectsPerBatch ( Number  newValue  ) 


Member Data Documentation

WODisplayGroup _displayGroup [private]

final String BatchSizeChanged = "BatchSizeChanged" [static]

Contains a string that names the notification posted when the batch size changes

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

logging support

boolean wasInForm


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