Klasse CommandMap
java.lang.Object
org.apache.myfaces.tobago.internal.renderkit.CommandMap
Map of commands to be send to the user agent.
 It contains the command which shall be executed by click or other events.
- Seit:
- 2.0.0
- 
KonstruktorübersichtKonstruktorenKonstruktorBeschreibungCreates an empty command map, which may hold different command triggered by different keys.CommandMap(Command click) Creates a command map, which hold the given command triggered by "click".
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoidaddCommand(ClientBehaviors name, Command command) getClick()getOther()booleanisEmpty()static CommandMapmerge(CommandMap m1, CommandMap m2) Merges these two maps.static CommandMaprestoreCommandMap(javax.faces.context.FacesContext facesContext) voidstatic voidstoreCommandMap(javax.faces.context.FacesContext facesContext, CommandMap map) 
- 
Konstruktordetails- 
CommandMappublic CommandMap()Creates an empty command map, which may hold different command triggered by different keys.
- 
CommandMapCreates a command map, which hold the given command triggered by "click".
 
- 
- 
Methodendetails- 
setClick
- 
getClick
- 
addCommand
- 
getOther
- 
mergeMerges these two maps. If one is null, the other one will be return. It may also return null. If both are not null, m1 will be filled with the data of m2.- Parameter:
- m1- map 1
- m2- map 2
- Gibt zurück:
- m1 or m2
 
- 
restoreCommandMap
- 
storeCommandMap
- 
isEmptypublic boolean isEmpty()
 
-