|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Works like an AWPopup, except using our JavaScript/CSS based PopupMenuLink / PopupMenuButton. This can be useful: 1) to workaround the IE SELECT element bug where an incremental refresh that affects a popup causes the browser to do a full screen flash. 2) to deal with layouts where the traditional popup control is rendering too wide (i.e. AWPopup renders its control to be as wide as its widest element (not the selected element)
Bindings | |||
---|---|---|---|
list
*
|
Ordered list of items displayed in the popup menu. |
AWOrderedList (get) |
|
item
|
The current menu item being rendered in the the popup. |
Object (set) |
|
index
|
The current index for the menu item being rendered in the popup. |
int (set) |
|
selection
|
The item that was selected by the user in the popup menu. The is set during the takeValues phase. |
Object (set) |
|
noSelectionString
|
The string to be displayed in the popup which allows the user to make "no selection" from the available list. If the user chooses this option, then the selection binding will be pushed as $null. |
String (get) |
|
action
|
The action invoked when a popup menu item is changed. |
AWResponseGenerating (get) |
|
disabled
|
Disables the popup menu if true. |
boolean (get) |
|
size
|
Not supported? |
int (get) |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.widgets.PopupControl
public class PopupControl
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 | |
---|---|
PopupControl()
|
Method Summary | |
---|---|
AWResponseGenerating |
actionClickedAction()
|
java.lang.String |
buttonClass()
|
java.lang.String |
isCurrentItemSelected()
|
AWResponseGenerating |
itemClickedAction()
|
void |
setCurrentIndex(java.lang.Integer integer)
|
void |
setCurrentItem(java.lang.Object object)
|
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 java.lang.Object _menuId
public AWEncodedString _noSelectionString
public java.lang.Integer _currentIndex
public AWAction _currentAction
public java.lang.Object _orderedList
public AWAction[] _actionList
public java.lang.Object _selectedItem
public boolean _disabled
Constructor Detail |
---|
public PopupControl()
Method Detail |
---|
public void setCurrentItem(java.lang.Object object)
public void setCurrentIndex(java.lang.Integer integer)
public java.lang.String isCurrentItemSelected()
public AWResponseGenerating itemClickedAction()
public AWResponseGenerating actionClickedAction()
public java.lang.String buttonClass()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |