|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
er.ajax.AjaxDynamicElement
er.ajax.AjaxTabbedPanelTab
public class AjaxTabbedPanelTab
This implements the tab contents of a tabbed panel display as an unordered list (UL and LI elements). This is to be used inside of a AjaxTabbedPanel. The contents can be anything.
for details on CSS and usage
Bindings | |
name | required, String the text shown in the tab that is clicked on
to select the tab |
isSelected | optional, boolean true if this tab is initially selected
when the page is first rendered, defaults to false. If present and
can be set, is set to true when this tab is selected and to false
when it is no longer the selected tab |
id | optional, String the id attribute of the A element selecting
this panel, [id]_panel is the id of LI element implementing this tab |
refreshOnSelect | optional, if true the tab content will reload each
time the tab is selected. Defaults to false |
onLoad | optional, String JavaScript to execute after the tab loads |
isVisible | optional, default is true, indicates if tab and panel should be displayed |
accesskey | optional, The accesskey for this tab |
Field Summary |
---|
Fields inherited from class er.ajax.AjaxDynamicElement |
---|
log |
Fields inherited from class com.webobjects.appserver.WODynamicElement |
---|
_ConstructorParameters |
Constructor Summary | |
---|---|
AjaxTabbedPanelTab(java.lang.String aName,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
|
Method Summary | |
---|---|
protected java.lang.String |
_containerID(com.webobjects.appserver.WOContext context)
|
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 aResponse,
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()
|
java.lang.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. |
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
---|
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AjaxTabbedPanelTab(java.lang.String aName, com.webobjects.foundation.NSDictionary associations, com.webobjects.appserver.WOElement template)
Method Detail |
---|
public void appendToResponse(com.webobjects.appserver.WOResponse aResponse, com.webobjects.appserver.WOContext aContext)
appendToResponse
in class AjaxDynamicElement
public void takeValuesFromRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
takeValuesFromRequest
in class AjaxDynamicElement
public com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
invokeAction
in class AjaxDynamicElement
public boolean isSelected(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered in
true
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
public com.webobjects.appserver.WOActionResults handleRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
handleRequest
in interface IAjaxElement
handleRequest
in class AjaxDynamicElement
protected java.lang.String _containerID(com.webobjects.appserver.WOContext context)
_containerID
in class AjaxDynamicElement
context
- WOContext response is being returned in
public 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 java.lang.Boolean refreshesOnSelect(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered in
public boolean isVisble(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered in
public com.webobjects.appserver.WOAssociation accesskey()
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |