public class LaunchEvent
extends javax.faces.event.FacesEvent
LaunchListener
can serve to add parameters that
should be passed to the dialog by using the getDialogParameters()
map, or add UI hints for any dialog that is being raised by
using the getWindowProperties()
map.
source
Constructor and Description |
---|
LaunchEvent(javax.faces.component.UIComponent source,
javax.faces.component.UIViewRoot viewRoot)
Create a LaunchEvent.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Map<String,Object> |
getDialogParameters()
A map of parameters to pass to the dialog.
|
javax.faces.component.UIViewRoot |
getViewRoot()
The UIViewRoot that will be displayed at the start of the dialog.
|
Map<String,Object> |
getWindowProperties()
A map of user interface hints used to configure a dialog.
|
int |
hashCode() |
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
launchDialog(boolean useWindow) |
void |
processListener(javax.faces.event.FacesListener listener) |
String |
toString() |
getComponent, getPhaseId, queue, setPhaseId
getSource
public LaunchEvent(javax.faces.component.UIComponent source, javax.faces.component.UIViewRoot viewRoot)
source
- the component responsible for launching the dialogviewRoot
- the UIViewRoot to be displayed at the start of
the dialogpublic void launchDialog(boolean useWindow)
public javax.faces.component.UIViewRoot getViewRoot()
public Map<String,Object> getDialogParameters()
public Map<String,Object> getWindowProperties()
public void processListener(javax.faces.event.FacesListener listener)
processListener
in class javax.faces.event.FacesEvent
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener
in class javax.faces.event.FacesEvent
public String toString()
toString
in class EventObject
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.