public class CommandMap extends Object
Constructor and Description |
---|
CommandMap()
Creates 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".
|
Modifier and Type | Method and Description |
---|---|
void |
addCommand(ClientBehaviors name,
Command command) |
Command |
getClick() |
Map<ClientBehaviors,Command> |
getOther() |
boolean |
isEmpty() |
static CommandMap |
merge(CommandMap m1,
CommandMap m2)
Merges these two maps.
|
static CommandMap |
restoreCommandMap(javax.faces.context.FacesContext facesContext) |
void |
setClick(Command click) |
static void |
storeCommandMap(javax.faces.context.FacesContext facesContext,
CommandMap map) |
public CommandMap()
public CommandMap(Command click)
public void setClick(Command click)
public Command getClick()
public void addCommand(ClientBehaviors name, Command command)
public Map<ClientBehaviors,Command> getOther()
public static CommandMap merge(CommandMap m1, CommandMap m2)
m1
- map 1m2
- map 2public static CommandMap restoreCommandMap(javax.faces.context.FacesContext facesContext)
public static void storeCommandMap(javax.faces.context.FacesContext facesContext, CommandMap map)
public boolean isEmpty()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.