public class ActionMap extends java.lang.Object
Action
objects in a Map
and access them with a unique String
.Constructor and Description |
---|
ActionMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
javax.swing.Action |
get(java.lang.Object name) |
protected java.util.Map<java.lang.String,javax.swing.Action> |
getMap() |
boolean |
isEmpty() |
javax.swing.Action |
put(java.lang.String name,
javax.swing.Action action) |
javax.swing.Action |
remove(java.lang.Object name) |
int |
size() |
public ActionMap()
protected java.util.Map<java.lang.String,javax.swing.Action> getMap()
public void clear()
public javax.swing.Action get(java.lang.Object name)
public boolean isEmpty()
public javax.swing.Action put(java.lang.String name, javax.swing.Action action)
public javax.swing.Action remove(java.lang.Object name)
public int size()