public class MTAjaxTabbedPanelTab extends AjaxDynamicElement
ERXDynamicElement.ContextData<T>
log
Constructor and Description |
---|
MTAjaxTabbedPanelTab(String aName,
NSDictionary<String,com.webobjects.appserver.WOAssociation> associations,
com.webobjects.appserver.WOElement template) |
Modifier and Type | Method and Description |
---|---|
protected String |
_containerID(com.webobjects.appserver.WOContext context)
Override this method and return an update container ID this element should react on.
|
com.webobjects.appserver.WOAssociation |
accesskey() |
protected void |
addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext aContext)
Creates the panes.
|
com.webobjects.appserver.WOActionResults |
handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
The pane content is rendered when an Ajax request is received.
|
com.webobjects.appserver.WOAssociation |
id() |
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Do nothing if not visible.
|
boolean |
isSelected(com.webobjects.appserver.WOComponent component) |
boolean |
isVisble(com.webobjects.appserver.WOComponent component)
Returns current component's value for the isVisible binding.
|
com.webobjects.appserver.WOAssociation |
name() |
Boolean |
refreshesOnSelect(com.webobjects.appserver.WOComponent component)
Returns current component's value for the refreshOnSelect binding.
|
void |
setId(com.webobjects.appserver.WOAssociation newID)
Sets the id association so that the AjaxTabbedPanel can provide an id if needed.
|
void |
setIsSelected(com.webobjects.appserver.WOComponent component,
boolean isTabSelected)
If present and settable, sets the isSelected association to true for this tab when it selected and
to false when it is no longer the selected tab.
|
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Do nothing if not visible.
|
addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, shouldHandleRequest
afterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBinding
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
valueForBinding, valueForBinding
public MTAjaxTabbedPanelTab(String aName, NSDictionary<String,com.webobjects.appserver.WOAssociation> associations, com.webobjects.appserver.WOElement template)
public void appendToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext aContext)
appendToResponse
in class AjaxDynamicElement
response
- the current responseaContext
- context of the transactionpublic void takeValuesFromRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
takeValuesFromRequest
in class com.webobjects.appserver._private.WODynamicGroup
public com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
invokeAction
in class AjaxDynamicElement
request
- the current requestcontext
- context of the transactionpublic boolean isSelected(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered intrue
if this pane is the selected onepublic void setIsSelected(com.webobjects.appserver.WOComponent component, boolean isTabSelected)
component
- the component this is being rendered inisTabSelected
- true is this is being rendered as the selected tabprotected void addRequiredWebResources(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
AjaxDynamicElement
addRequiredWebResources
in class AjaxDynamicElement
response
- the current responsecontext
- context of the transactionpublic com.webobjects.appserver.WOActionResults handleRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
handleRequest
in interface IAjaxElement
handleRequest
in class AjaxDynamicElement
request
- the current requestcontext
- context of the transactionprotected String _containerID(com.webobjects.appserver.WOContext context)
AjaxDynamicElement
_containerID
in class AjaxDynamicElement
context
- WOContext response is being returned inpublic com.webobjects.appserver.WOAssociation id()
public void setId(com.webobjects.appserver.WOAssociation newID)
newID
- the association to use to get the HTML id attributepublic com.webobjects.appserver.WOAssociation name()
public Boolean refreshesOnSelect(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered inpublic boolean isVisble(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered inpublic com.webobjects.appserver.WOAssociation accesskey()
Copyright © 2002 – 2020 Project Wonder.