|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AWXOutlineControl renders the indentation, arrow, and text for a node in an outline. It should be used either in the body of an AWXOutlineRepetition, or in the first column of an AWTDataTable (that set to act as an outline via the children binding).
AWComponentContent is supported as an alternative to the title. The named template "icon" can be provided for an icon image to be rendering between the outline arrow and the title text (or rest of component content).
Bindings | |||
---|---|---|---|
renderAsTable
|
Should the control (arrow, icon (if any) and title) be rendered as a nested HTML table. This is (sadly) often necessary to force a wrapping title to wrap under the start of the text from the line abover (i.e. the the right of the indented arrow) instead of left justified. |
boolean (get) |
|
title
|
The title (label) on the node. |
String (get) |
|
action
|
Seldom used: fired whenever and outline node is expanded/collapsed. |
AWResponseGenerating (get) |
|
selectAction
|
If allowSelection=$true, this action is fired when a node is "selected" (i.e. the title text was clicked on). |
AWResponseGenerating (get) |
|
indentationPerLevel
|
Number of pixels to indent each level of the outline. |
int (get) |
|
allowSelection
|
Allow clicking on the title string to "select" a node (and visually reflect that selection). |
boolean (get) |
|
expansionLinkAction
|
If allowSelection=$false, this action is fired when a node is "expanded" (i.e. the title text is clicked on). |
AWResponseGenerating (get) |
|
addSelectionPadding
|
Whether to wrap the title of the selected item with a span that includes a padded highlight box. |
boolean (get) |
|
style
|
TBD |
String (get) |
|
valign
|
TBD |
String (get) |
Named Content | |
---|---|
icon |
TBD |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.outline.OutlineControl
public final class OutlineControl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.ui.aribaweb.core.AWComponent |
---|
AWComponent.RenderingFilter, AWComponent.RenderingListener |
Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating |
---|
AWResponseGenerating.ResponseSubstitution |
Constructor Summary | |
---|---|
OutlineControl()
|
Method Summary | |
---|---|
void |
awake()
|
java.lang.String |
currentToggleImageName()
|
boolean |
divWrapTitle()
|
int |
indentation()
|
int |
indentationWithControl()
|
java.lang.String |
indentationWithControlStyle()
|
int |
indentationWithoutControl()
|
java.lang.String |
indentationWithoutControlStyle()
|
boolean |
isSelected()
|
boolean |
noLinkOnTitle()
|
boolean |
renderInTable()
|
void |
renderResponse(AWRequestContext requestContext,
AWComponent component)
The receiver should render its content to the AWRequestContext.response() |
AWComponent |
select()
|
boolean |
showExpansionControl()
|
void |
sleep()
|
java.lang.String |
spacePadding()
|
java.lang.String |
title()
|
AWComponent |
toggleExpansion()
|
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
---|
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
---|
getFieldValue, isKindOfClass, setFieldValue |
Field Detail |
---|
public static final AWEncodedString FourNBSPs
public OutlineRepetition _currentRepetition
public boolean _hasTitle
Constructor Detail |
---|
public OutlineControl()
Method Detail |
---|
public void awake()
public void sleep()
public void renderResponse(AWRequestContext requestContext, AWComponent component)
AWCycleable
AWRequestContext.response()
renderResponse
in interface AWCycleable
renderResponse
in class AWComponent
requestContext
- the context for the current request.component
- the current parent componentpublic int indentation()
public int indentationWithoutControl()
public int indentationWithControl()
public java.lang.String indentationWithControlStyle()
public java.lang.String indentationWithoutControlStyle()
public java.lang.String spacePadding()
public boolean showExpansionControl()
public java.lang.String currentToggleImageName()
public AWComponent toggleExpansion()
public boolean isSelected()
public AWComponent select()
public boolean noLinkOnTitle()
public boolean divWrapTitle()
public java.lang.String title()
public boolean renderInTable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |