|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXComponent
er.extensions.components.ERXNonSynchronizingComponent
er.directtoweb.components.ERDCustomComponent
er.directtoweb.components.buttons.ERDActionButton
er.directtoweb.components.buttons.ERDControllerButton
public class ERDControllerButton
Action button that looks for the inner-most page with a pageController (which must be a ERDBranchDelegateInterface), collects all the actions from there and displays them as a menu with an activation button.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class er.directtoweb.components.buttons.ERDActionButton |
|---|
ERDActionButton.Keys |
| Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
|---|
WOComponent._EventLoggingEnabler, WOComponent.Event |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Nested classes/interfaces inherited from interface 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.components.ERDCustomComponent |
|---|
extraBindings, FALSE, TRUE |
| Fields inherited from class er.extensions.components.ERXComponent |
|---|
_dynamicBindings |
| Fields inherited from class com.webobjects.appserver.WOComponent |
|---|
_Extension, _IsEventLoggingEnabled, _keyAssociations |
| 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.NSKeyValueCoding |
|---|
NullValue |
| Fields inherited from interface com.webobjects.foundation.NSValidation |
|---|
_CLASS |
| Constructor Summary | |
|---|---|
ERDControllerButton(WOContext context)
|
|
| 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 page. |
ERDBranchDelegateInterface |
branchDelegate()
find the page controller of the closest D2WPage in the component tree |
String |
branchName()
Implementation of the ERDBranchDelegate. |
String |
cssForChoice()
|
boolean |
hasBranchChoices()
Determines if this message page should display branch choices. |
String |
imageName()
|
boolean |
isButton()
|
boolean |
isFlyOver()
|
WOComponent |
nextPageFromParent()
|
WOComponent |
performAction()
override this |
void |
reset()
Used by stateless subclasses. |
void |
setBranch(NSDictionary value)
Sets the user chosen branch. |
void |
validationFailedWithException(Throwable theException,
Object theValue,
String theKeyPath)
Validation Support. |
| Methods inherited from class er.directtoweb.components.buttons.ERDActionButton |
|---|
dataSource, displayGroup, enclosingPageOfClass, isStateless, nextPageInPage, object, parentD2WPage, parentEditPage, parentListPage, parentPickPage, parentQueryPage, parentSelectPage, synchronizesVariablesWithBindings, task, topLevelD2WPage |
| Methods inherited from class er.extensions.components.ERXNonSynchronizingComponent |
|---|
invokeAction, takeValuesFromRequest |
| 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 ERDControllerButton(WOContext context)
| Method Detail |
|---|
public boolean isFlyOver()
public boolean isButton()
public String cssForChoice()
public ERDBranchDelegateInterface branchDelegate()
public WOComponent nextPageFromParent()
public WOComponent performAction()
public void reset()
ERDCustomComponent
reset in class ERDCustomComponentpublic NSDictionary branch()
public void setBranch(NSDictionary value)
value - branch chosen by user.public String branchName()
ERDBranchDelegate.
Gets the user selected branch name.
branchName in interface ERDBranchInterfacepublic 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 ERDCustomComponentpublic String imageName()
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||