|
WebObjects 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.webobjects.appserver.WOElement | +--com.webobjects.appserver.WOComponent | +--com.webobjects.directtoweb.D2WComponent
The D2WComponent
class is the parent class for the Direct to Web
templates and the property-level components.
The components access a Direct to Web context with the d2wContext
method.
The D2WComponent class also defines several keys that are used
in the binding (.wod) files for the Direct to Web templates.
In addition, D2WComponent defines an action method, showWebAssistant
,
that opens the Web Assistant in the user's Web browser.
Inner classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Inner classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary | |
static String |
currentObjectKey
This constant is intentionally undocumented. |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
KeyPathSeparator |
Constructor Summary | |
D2WComponent(WOContext aContext)
Constructs a D2WComponent with the specified context. |
Method Summary | |
String |
allEntities()
This method is intentionally undocumented. |
Integer |
allowCollapsing()
This method is intentionally undocumented. |
int |
applicationPort()
This method is intentionally undocumented. |
int |
assistantPort()
This method is intentionally undocumented. |
EOAttribute |
attribute()
This method is intentionally undocumented. |
String |
backgroundColorForHeaderRow()
Returns the background color for the header rows of tables rendered by Direct to Web. |
String |
backgroundColorForPage()
This method is intentionally undocumented. |
String |
backgroundColorForTable()
Returns the background color for tables rendered in this component. |
String |
backgroundColorForTableDark()
This method is intentionally undocumented. |
String |
backgroundColorForTableLight()
This method is intentionally undocumented. |
String |
color()
This method is intentionally undocumented. |
String |
currentSettings()
This method is intentionally undocumented. |
String |
currentUrl()
Returns a String containing the URL for the current page. |
D2WContext |
d2wContext()
Returns the Direct to Web context of the receiver. |
String |
d2wContextVisibleEntityNamesCountPlus1()
Returns a String containing the number of visible entities in the Direct to Web context of the receiver incremented by one. |
String |
defaultRowspan()
Returns the number of HTML table rows spanned by the vertical rule in the page containing the Direct to Web context in which the rule of the receiver fires. |
String |
displayNameForKeyWhenRelationship()
Returns a String containing the name of a property that represents the destination object of the current relationship in the Direct to Web context of the receiver. |
String |
displayNameForProperty()
Returns a String containing a user-presentable name for the current property in the Direct to Web context of the component. |
NSArray |
displayPropertyKeys()
Returns an NSArray containing the keys (Strings) for all visible properties of the current entity in the components Direct to Web context. |
String |
dynamicPages()
This method is intentionally undocumented. |
EOEntity |
entity()
Returns the current entity in the Direct to Web context of the receiver. |
String |
entityName()
Returns a String containing the name of the entity displayed by this component. |
String |
formatter()
This method is intentionally undocumented. |
protected String |
generationReplacementFor(String variableName)
This method is intentionally undocumented. |
String |
generationReplacementForCurrentObject()
This method is intentionally undocumented. |
boolean |
hasCustomKey(String customKey)
This method is intentionally undocumented. |
boolean |
hasEntity()
Returns whether the Direct to Web context of the receiver has an entity. |
boolean |
hasNoColor()
This method is intentionally undocumented. |
WOComponent |
homeClicked()
This method is intentionally undocumented. |
String |
homeHref()
Returns a String containing the URL of the home page (the Main component) of the application. |
boolean |
isEditing()
This method is intentionally undocumented. |
boolean |
isEntityReadOnly()
Returns whether the current entity in the Direct to Web context of the receiver can be modified or not. |
boolean |
isEntityReadOnly(EOEntity e)
This method is intentionally undocumented. |
boolean |
isLiveAssistantEnabled()
Deprecated. |
boolean |
isNotBoldAsBoolean()
This method is intentionally undocumented. |
boolean |
isNotItalicAsBoolean()
This method is intentionally undocumented. |
boolean |
isPropertyAnAttribute()
Returns true if the property in the Direct to Web context of the receiver is an attribute (and not a relationship). |
boolean |
isWebAssistantActive()
This method is intentionally undocumented. |
boolean |
isWebAssistantConnected()
This method is intentionally undocumented. |
boolean |
isWebAssistantEnabled()
This method is intentionally undocumented. |
static String |
keyForGenerationReplacementForVariableNamed(String variableName)
This method is intentionally undocumented. |
String |
keyWhenRelationship()
This method is intentionally undocumented. |
String |
lastUrl()
Returns a String containing the URL for the last page. |
String |
length()
This method is intentionally undocumented. |
D2WContext |
localContext()
Deprecated. |
WOComponent |
logout()
Is invoked when the user clicks Logout in the menu bar. |
EOEnterpriseObject |
object()
Returns the EOEnterpriseObject, defined in the EOControl Framework, displayed by this component. |
Object |
objectPropertyValue()
Returns the value of the current property for the object that the receiver displays. |
boolean |
objectPropertyValueIsNonNull()
This method is intentionally undocumented. |
String |
pageTitle()
This method is intentionally undocumented. |
Object |
property()
This method is intentionally undocumented. |
String |
propertyKey()
Returns the key corresponding to the current property in the Direct to Web context of the receiver. |
String |
propertyValueClassName()
Returns a String containing the name of the class for the values of the current attribute (for example, "NSString"). |
EORelationship |
relationship()
Returns the EORelationship, defined in the EOAccess Framework, for the current property in the Direct to Web context of the receiver, or null if the property is not a relationship. |
WOAssociation |
replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
WOContext aContext)
|
String |
resourcePathURL()
This method is intentionally undocumented. |
String |
sessionID()
This method is intentionally undocumented. |
void |
setCurrentSettings(String newValue)
This method is intentionally undocumented. |
void |
setDynamicPages(String newValue)
This method is intentionally undocumented. |
void |
setEntities(String newValue)
This method is intentionally undocumented. |
void |
setEntity(EOEntity newValue)
This method is intentionally undocumented. |
void |
setEntityName(String newValue)
This method is intentionally undocumented. |
void |
setLocalContext(D2WContext newValue)
Sets the Direct to Web context for this component to newValue . |
void |
setObject(EOEnterpriseObject eo)
Sets the EOEnterpriseObject, defined in the EOControl Framework, that the receiver manipulates to the specified object. |
void |
setPropertyKey(String newValue)
This method is intentionally undocumented. |
void |
setResourcePathURL(String newValue)
This method is intentionally undocumented. |
void |
setTask(String newValue)
This method is intentionally undocumented. |
void |
setTasks(String newValue)
This method is intentionally undocumented. |
boolean |
showBanner()
Returns whether the banner should be shown in this component. |
WOComponent |
showWebAssistant()
|
String |
submitActionName()
The name of an action method that is called when the user clicks a submit button within the form. |
String |
target()
This method is intentionally undocumented. |
String |
task()
Returns a String containing the current task in the Direct to Web context of the receiver. |
String |
tasks()
This method is intentionally undocumented. |
NSArray |
visibleEntityNames()
Returns an NSArray of the names of entities visible in the application. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String currentObjectKey
Constructor Detail |
public D2WComponent(WOContext aContext)
aContext
- - the WOContext.Method Detail |
public String allEntities()
public Integer allowCollapsing()
public int applicationPort()
public int assistantPort()
public EOAttribute attribute()
public String backgroundColorForHeaderRow()
public String backgroundColorForPage()
public String backgroundColorForTable()
public String backgroundColorForTableDark()
public String backgroundColorForTableLight()
public String color()
public String currentSettings()
public String currentUrl()
public D2WContext d2wContext()
public String d2wContextVisibleEntityNamesCountPlus1()
public String defaultRowspan()
The query and inspect pages in the WebObjects look use this method.
public String displayNameForKeyWhenRelationship()
public String displayNameForProperty()
public NSArray displayPropertyKeys()
You can hide a property or make it visible with the Web Assistant.
public String dynamicPages()
public EOEntity entity()
public String entityName()
public String formatter()
protected String generationReplacementFor(String variableName)
public String generationReplacementForCurrentObject()
public boolean hasCustomKey(String customKey)
public boolean hasEntity()
public boolean hasNoColor()
public WOComponent homeClicked()
public String homeHref()
public boolean isEditing()
public boolean isEntityReadOnly()
public boolean isEntityReadOnly(EOEntity e)
public boolean isLiveAssistantEnabled()
public boolean isNotBoldAsBoolean()
public boolean isNotItalicAsBoolean()
public boolean isPropertyAnAttribute()
public boolean isWebAssistantActive()
public boolean isWebAssistantConnected()
public boolean isWebAssistantEnabled()
public static String keyForGenerationReplacementForVariableNamed(String variableName)
public String keyWhenRelationship()
public String lastUrl()
public String length()
public D2WContext localContext()
d2wContext
instead.public WOComponent logout()
public EOEnterpriseObject object()
public Object objectPropertyValue()
public boolean objectPropertyValueIsNonNull()
public String pageTitle()
public Object property()
public String propertyKey()
public String propertyValueClassName()
public EORelationship relationship()
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, com.webobjects.directtoweb.generation.DTWTemplate aTemplate, WOContext aContext)
replacementAssociationForAssociation
in interface com.webobjects.directtoweb.generation.DTWGeneration
public String resourcePathURL()
public String sessionID()
public void setCurrentSettings(String newValue)
public void setDynamicPages(String newValue)
public void setEntities(String newValue)
public void setEntity(EOEntity newValue)
public void setEntityName(String newValue)
public void setLocalContext(D2WContext newValue)
newValue
.newValue
- - the new local context.public void setObject(EOEnterpriseObject eo)
eo
- - the EOEnterpriseObject of the receiver.public void setPropertyKey(String newValue)
public void setResourcePathURL(String newValue)
public void setTask(String newValue)
public void setTasks(String newValue)
public boolean showBanner()
public WOComponent showWebAssistant()
public String submitActionName()
submitActionName
binding of the WOTabPanel.public String target()
public String task()
public String tasks()
public NSArray visibleEntityNames()
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |