R
- The generic row itempublic class ActionsMenuListController<R extends ActionsMenuRowItem<?>>
extends java.lang.Object
Constructor and Description |
---|
ActionsMenuListController() |
Modifier and Type | Method and Description |
---|---|
void |
clickLink(javax.faces.event.ActionEvent event)
Handles the clickLink event.
|
void |
displayListener(com.icesoft.faces.component.DisplayEvent displayEvent)
This listener catches the DisplayEvent from the popupmenu.
|
java.lang.Object |
getDataFromActionEvent(javax.faces.event.ActionEvent event)
Gets the entity from action event.
|
int |
getRowCount()
Gets the number of row items.
|
java.util.List<R> |
getRowItems()
Gets the row items that act as input for this controller.
|
<T> java.util.List<T> |
getSelectedEntities(java.util.List<T> list)
Gets the selected entities.
|
java.util.List<R> |
getSelectedItems()
Gets the selected items.
|
void |
menuActionListener(javax.faces.event.ActionEvent event)
This listener catches all click events from the popupmenu.
|
void |
setConfirmationDialogController(IConfirmationDialogController controller)
Set the ConfirmationDialogController.
|
void |
setInput(java.util.List<R> items)
Sets the items which acts as input for the ICEFace component.
|
void |
setMaximizedUrl(java.lang.String maximizedUrl)
Set the maximizedUrl (used for returning maximized to the previous page).
|
void |
setNormalUrl(java.lang.String normalUrl)
Set the normalURL (used for returning normal to the previous page).
|
void |
setOutcomeMapping(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> mapping)
Sets the outcome mapping HashMap.
|
public void setOutcomeMapping(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> mapping)
mapping
- the mappingpublic void setMaximizedUrl(java.lang.String maximizedUrl)
maximizedUrl
- maximizedUrlpublic void setNormalUrl(java.lang.String normalUrl)
normalUrl
- normalURLpublic void setInput(java.util.List<R> items)
items
- the list of itemspublic void setConfirmationDialogController(IConfirmationDialogController controller)
controller
- this.confirmationControllerpublic java.util.List<R> getRowItems()
public int getRowCount()
public void displayListener(com.icesoft.faces.component.DisplayEvent displayEvent)
displayEvent
- displayEventpublic void menuActionListener(javax.faces.event.ActionEvent event)
event
- ActionEventpublic void clickLink(javax.faces.event.ActionEvent event)
event
- ActionEventpublic java.util.List<R> getSelectedItems()
public <T> java.util.List<T> getSelectedEntities(java.util.List<T> list)
T
- BaseModellist
- the listpublic java.lang.Object getDataFromActionEvent(javax.faces.event.ActionEvent event)
event
- the event