|
WebObjects 5.4.2 | ||||||||
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 com.webobjects.directtoweb.DefaultHeader
public class DefaultHeader
The DefaultHeader
class defines the behavior of the menu header
in a Direct to Web application.
The source code for this class is copied into the MenuHeader.java file
in the project of the application.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
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.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary | |
---|---|
String |
entityNameInList
Is used as a temporary variable by the Entities WOPopupButton. |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
DefaultHeader(WOContext aContext)
Constructs a DefaultHeader with the specified context. |
Method Summary | |
---|---|
WOComponent |
findEntityAction()
Is invoked when the user clicks New in the menu bar. |
WOComponent |
homeAction()
Is invoked when the user clicks Home in the menu bar. |
boolean |
isWebAssistantEnabled()
Returns whether the Web Assistant is enabled. |
WOComponent |
logout()
Is invoked when the user clicks Logout in the menu bar. |
String |
manipulatedEntityName()
Returns the entity name that the user chooses in the Entities pop-up list in the menu bar. |
WOComponent |
newObjectAction()
Is invoked when the user clicks Search in the menu bar. |
void |
setManipulatedEntityName(String newValue)
Sets the entity name that the user chooses in the pop-up list in the menu bar. |
WOComponent |
showWebAssistant()
Is invoked when the user clicks Customize in the menu bar. |
NSArray |
visibleEntityNames()
Returns an NSArray containing the names of the visible entities in the session WOSession. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String entityNameInList
Constructor Detail |
---|
public DefaultHeader(WOContext aContext)
aContext
- - the WOContext.Method Detail |
---|
public String manipulatedEntityName()
public void setManipulatedEntityName(String newValue)
newValue
- - the entity name chosen in the pop-up list.public NSArray visibleEntityNames()
public WOComponent findEntityAction()
DefaultHeader.manipulatedEntityName()
public WOComponent newObjectAction()
DefaultHeader.manipulatedEntityName()
public WOComponent logout()
D2W.homeHrefInContext(com.webobjects.appserver.WOContext)
public WOComponent homeAction()
public WOComponent showWebAssistant()
public boolean isWebAssistantEnabled()
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |