public class ERXBatchNavigationBar extends ERXStatelessComponent
form
Name | Description |
---|---|
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) |
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
Modifier and Type | Field and Description |
---|---|
static String |
BatchSizeChanged
Contains a string that names the notification posted when the batch size changes
|
boolean |
wasInForm |
_dynamicBindings
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
ERXBatchNavigationBar(com.webobjects.appserver.WOContext aContext)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Calls
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent() prior to super.appendToResponse. |
void |
awake() |
protected void |
clearSelection(NSArray selection) |
int |
currentBatchIndex() |
com.webobjects.appserver.WOComponent |
displayFirstBatch() |
WODisplayGroup |
displayGroup() |
com.webobjects.appserver.WOComponent |
displayLastBatch() |
com.webobjects.appserver.WOComponent |
displayNextBatch() |
com.webobjects.appserver.WOComponent |
displayPreviousBatch() |
int |
filteredObjectsCount() |
String |
formTarget() |
boolean |
hasObjectName() |
boolean |
hasSortKeyList() |
String |
imageFramework() |
String |
leftArrowImage() |
int |
numberOfObjectsPerBatch() |
int |
objectCount() |
void |
reset()
このメソッドは、指定されているコンテクストのオブジェクトに対する、
ステートレス・コンポーネントの一時的リファレンスをリセットもしくは削除します。
あるコンポーネントの共有化されたインスタンスが、他のセッションによって再利用されるとき、
このメソッドを利用し、各コンポーネントのインスタンス変数を解放します。
|
String |
rightArrowImage() |
protected NSArray |
selection() |
void |
setCurrentBatchIndex(Number newValue) |
void |
setNumberOfObjectsPerBatch(Number newValue) |
isStateless
invokeAction, resetCachedBindingsInStatefulComponent, synchronizesVariablesWithBindings, takeValuesFromRequest
_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, arrayValueForBinding, arrayValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, browser, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, preAppendToResponse, primaryCSSFile, primaryJavascriptFile, shouldCheckAccess, stringValueForBinding, stringValueForBinding, useDefaultComponentCSS, useDefaultComponentJavascript
__valueForBinding, _associationWithName, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
public static final String BatchSizeChanged
public boolean wasInForm
public ERXBatchNavigationBar(com.webobjects.appserver.WOContext aContext)
public void awake()
awake
in class com.webobjects.appserver.WOComponent
public void reset()
ERXComponent
reset
in class ERXStatelessComponent
public void appendToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
ERXNonSynchronizingComponent
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent()
prior to super.appendToResponse.appendToResponse
in class ERXNonSynchronizingComponent
response
- to which we are appendingcontext
- context of the responsepublic WODisplayGroup displayGroup()
public boolean hasObjectName()
public boolean hasSortKeyList()
public int numberOfObjectsPerBatch()
public int currentBatchIndex()
public void setCurrentBatchIndex(Number newValue)
public void setNumberOfObjectsPerBatch(Number newValue)
public int filteredObjectsCount()
public int objectCount()
public String imageFramework()
public String leftArrowImage()
public String rightArrowImage()
protected NSArray selection()
protected void clearSelection(NSArray selection)
public com.webobjects.appserver.WOComponent displayNextBatch()
public com.webobjects.appserver.WOComponent displayPreviousBatch()
public com.webobjects.appserver.WOComponent displayFirstBatch()
public com.webobjects.appserver.WOComponent displayLastBatch()
public String formTarget()
Copyright © 2002 – 2020 Project Wonder.