WebObjects 5.4.2

com.webobjects.directtoweb
Class D2WTabInspectPage

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by com.webobjects.directtoweb.D2WComponent
              extended by com.webobjects.directtoweb.D2WPage
                  extended by com.webobjects.directtoweb.D2WInspectPage
                      extended by com.webobjects.directtoweb.D2WTabInspectPage
All Implemented Interfaces:
WOActionResults, EditPageInterface, DTWGeneration, InspectPageInterface, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable
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/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
 
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.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, 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, setVariableValueForName, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
 
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
 
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

tabContents

public NSDictionary tabContents()
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.


displayedTabName

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

Returns:
the name of the tab being displayed.

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.

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.

tabNameIsInHeader

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


replacementAssociationForAssociation

public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation,
                                                          String oldBinding,
                                                          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 DTWGeneration
Overrides:
replacementAssociationForAssociation in class D2WInspectPage

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.

Last updated June 2008

Copyright © 2000-2008 Apple Inc.