WebObjects 5.2.3

com.webobjects.directtoweb
Class D2WTabInspectPage

java.lang.Object
  extended bycom.webobjects.appserver.WOElement
      extended bycom.webobjects.appserver.WOComponent
          extended bycom.webobjects.directtoweb.D2WComponent
              extended bycom.webobjects.directtoweb.D2WPage
                  extended bycom.webobjects.directtoweb.D2WInspectPage
                      extended bycom.webobjects.directtoweb.D2WTabInspectPage
All Implemented Interfaces:
Cloneable, com.webobjects.directtoweb.generation.DTWGeneration, EditPageInterface, InspectPageInterface, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
Direct Known Subclasses:
NEUTabInspectPage, WOLTabInspectPage

public class D2WTabInspectPage
extends D2WInspectPage

The D2WTabInspectPage class provides the behavior for the tab-inspect page Direct to Web templates, specifically NEUTabInspectPage and WOLTabInspectPage. The classes for these components inherit directly from D2WTabInspectPage and define no additional methods or variables.

Most methods are accessed, via the EOKeyValueCoding interface in EOControl, from the bindings (.wod) file of the Direct to Web template. If you create a Direct to Web template from a tab-inspect page, you can invoke the methods in this class in the same way.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes inherited from class com.webobjects.foundation.NSValidation
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
 
Fields inherited from class com.webobjects.directtoweb.D2WInspectPage
errorMessage
 
Fields inherited from class com.webobjects.directtoweb.D2WComponent
currentObjectKey
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
D2WTabInspectPage(WOContext aContext)
          Constructs a D2WTabInspectPage with the specified context.
 
Method Summary
 String defaultRowspan()
          Returns a String containing the number of HTML table rows spanned by the vertical rule within the current tab panel.
 String displayedTabName()
          Returns the name of the tab that is being displayed.
 boolean isPropertyInHeader()
          Returns whether the current property in the Direct to Web context of the receiver is outside the tab panel and consequently in the header.
 WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, com.webobjects.directtoweb.generation.DTWTemplate aTemplate, WOContext aContext)
          This method is intentionally undocumented.
 void setDisplayedTabName(String newValue)
          Sets the displayed tab to the one with the specified name.
 NSDictionary tabContents()
          This method is intentionally undocumented.
 boolean tabNameIsInHeader(String tabName)
          This method is intentionally undocumented.
 NSArray tabs()
          Returns an NSArray containing the names of the tabs displayed in the tab inspect page.
 String tabsAsString()
          This method is intentionally undocumented.
 
Methods inherited from class com.webobjects.directtoweb.D2WInspectPage
awake, cancelAction, deleteAction, editAction, implementedInterface, nextPage, object, setEditingContext, setObject, sleep, submitAction, validationFailedWithException
 
Methods inherited from class com.webobjects.directtoweb.D2WPage
alternateRowColor, dataSource, descriptionForResponse, extraBindings, finalize, nextPageDelegate, pageWrapperName, setDataSource, setExtraBindings, setNextPage, setNextPageDelegate, showCancel
 
Methods inherited from class com.webobjects.directtoweb.D2WComponent
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContext, d2wContextVisibleEntityNamesCountPlus1, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, localContext, logout, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setLocalContext, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames
 
Methods inherited from class com.webobjects.appserver.WOComponent
appendToResponse, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.webobjects.directtoweb.InspectPageInterface
setNextPage, setNextPageDelegate
 

Constructor Detail

D2WTabInspectPage

public D2WTabInspectPage(WOContext aContext)
Constructs a D2WTabInspectPage with the specified context.

Parameters:
aContext - - the WOContext.
Method Detail

defaultRowspan

public String defaultRowspan()
Returns a String containing the number of HTML table rows spanned by the vertical rule within the current tab panel.

Overrides:
defaultRowspan in class D2WComponent
Returns:
number of table rows spanned by vertical rule in current tab.

displayedTabName

public String displayedTabName()
Returns the name of the tab that is being displayed.

Returns:
the name of the tab being displayed.

isPropertyInHeader

public boolean isPropertyInHeader()
Returns whether the current property in the Direct to Web context of the receiver is outside the tab panel and consequently in the header.

Returns:
whether the current property is outside the tab panel.

replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation,
                                                          String oldBinding,
                                                          com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
                                                          WOContext aContext)
Description copied from class: D2WInspectPage
This method is intentionally undocumented. You should never have to invoke or customize it.

Specified by:
replacementAssociationForAssociation in interface com.webobjects.directtoweb.generation.DTWGeneration
Overrides:
replacementAssociationForAssociation in class D2WInspectPage

setDisplayedTabName

public void setDisplayedTabName(String newValue)
Sets the displayed tab to the one with the specified name.

Parameters:
newValue - - the name of the tab to display.

tabContents

public NSDictionary tabContents()
This method is intentionally undocumented. You should never have to invoke or customize it.


tabNameIsInHeader

public boolean tabNameIsInHeader(String tabName)
This method is intentionally undocumented. You should never have to invoke or customize it.


tabs

public NSArray tabs()
Returns an NSArray containing the names of the tabs displayed in the tab inspect page. This key is resolved using the rule system.

Returns:
the names of the tabs being displayed.

tabsAsString

public String tabsAsString()
This method is intentionally undocumented. You should never have to invoke or customize it.


Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.