/** * Returns the binding for <code>key</code>, messaging the * parent <code>ActionMap</code> if the binding is not locally defined. * * @param key the key to be queried. * @return the action for this key, or null if there is no such action. */ public Action get(final Object key) { final Action retval = (Action) this.actionMap.get(key); if (retval != null) { return retval; } if (this.parent != null) { return this.parent.get(key); } return null; }
/** * Returns the binding for <code>key</code>, messaging the * parent <code>ActionMap</code> if the binding is not locally defined. * * @param key the key to be queried. * @return the action for this key, or null if there is no such action. */ public Action get(final Object key) { final Action retval = (Action) this.actionMap.get(key); if (retval != null) { return retval; } if (this.parent != null) { return this.parent.get(key); } return null; }
/** * Returns the binding for <code>key</code>, messaging the * parent <code>ActionMap</code> if the binding is not locally defined. * * @param key the key to be queried. * @return the action for this key, or null if there is no such action. */ public Action get(final Object key) { final Action retval = (Action) this.actionMap.get(key); if (retval != null) { return retval; } if (this.parent != null) { return this.parent.get(key); } return null; }