|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOElement com.webobjects.appserver.WOComponent er.extensions.ERXNonSynchronizingComponent er.directtoweb.ERDCustomComponent er.directtoweb.ERDCustomEditComponent er.directtoweb.ERDActionBar
Displays a set of buttons and calls the enclosing page's branch delegate with it. Its usable as an item in a repetition.
Bindings | |
d2wContext | the context for this component |
Nested Class Summary |
Nested classes inherited from class er.directtoweb.ERDCustomEditComponent |
ERDCustomEditComponent.Keys |
Nested classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent._EventLoggingEnabler, WOComponent.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary | |
protected NSDictionary |
branch
holds the chosen branch |
protected NSArray |
branchChoices
|
protected ERDBranchDelegateInterface |
branchDelegate
|
Fields inherited from class er.directtoweb.ERDCustomEditComponent |
editingContext |
Fields inherited from class er.directtoweb.ERDCustomComponent |
extraBindings, FALSE, TRUE |
Fields inherited from class er.extensions.ERXNonSynchronizingComponent |
_dynamicBindings |
Fields inherited from class com.webobjects.appserver.WOComponent |
_Extension, _IsEventLoggingEnabled, _keyAssociations |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
_CLASS, NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
_CLASS |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
Fields inherited from interface com.webobjects.foundation.NSValidation |
_CLASS |
Constructor Summary | |
ERDActionBar(WOContext context)
Public constructor |
Method Summary | |
NSDictionary |
branch()
Cover method for getting the choosen branch. |
String |
branchButtonLabel()
Implementation of the ERDBranchDelegate .
|
NSArray |
branchChoices()
Calculates the branch choices for the current poage. |
ERDBranchDelegateInterface |
branchDelegate()
find the next non-null NextPageDelegate in the component tree, break if there is a D2WPage found beforehand |
String |
branchName()
Implementation of the ERDBranchDelegate .
|
boolean |
hasBranchChoices()
Determines if this message page should display branch choices. |
boolean |
isStateless()
component is not stateless |
WOComponent |
nextPageFromParent()
|
WOComponent |
performAction()
override this |
void |
reset()
Used by stateless subclasses. |
void |
setBranch(NSDictionary value)
Sets the user choosen branch. |
boolean |
synchronizesVariablesWithBindings()
component does not synchronize it's variables |
void |
validationFailedWithException(Throwable theException,
Object theValue,
String theKeyPath)
Validation Support. |
Methods inherited from class er.directtoweb.ERDCustomEditComponent |
object, objectKeyPathValue, objectPropertyValue, permissionToEdit, setObject, setObjectKeyPathValue, setObjectPropertyValue |
Methods inherited from class er.extensions.ERXNonSynchronizingComponent |
booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, dynamicBindings, intValueForBinding, localizer, objectValueForBinding, objectValueForBinding, stringValueForBinding, stringValueForBinding |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected NSDictionary branch
protected NSArray branchChoices
protected ERDBranchDelegateInterface branchDelegate
Constructor Detail |
public ERDActionBar(WOContext context)
context
- the contextMethod Detail |
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class ERDCustomEditComponent
public boolean isStateless()
ERXNonSynchronizingComponent
isStateless
in class ERDCustomEditComponent
public ERDBranchDelegateInterface branchDelegate()
public WOComponent nextPageFromParent()
public WOComponent performAction()
public void reset()
ERDCustomComponent
reset
in class ERDCustomEditComponent
public NSDictionary branch()
public void setBranch(NSDictionary value)
public String branchName()
ERDBranchDelegate
.
Gets the user selected branch name.
branchName
in interface ERDBranchInterface
public String branchButtonLabel()
ERDBranchDelegate
.
Gets the user selected branch name.
public NSArray branchChoices()
branchChoicesForContext
on the current ERDBranchDelegate
.
public boolean hasBranchChoices()
public void validationFailedWithException(Throwable theException, Object theValue, String theKeyPath)
ERDCustomComponent
validationFailedWithException
in class ERDCustomComponent
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |