org.jcurl.demo.tactics.old
Class ActionRegistry
java.lang.Object
org.jcurl.demo.tactics.old.ActionRegistry
public class ActionRegistry
- extends Object
- Version:
- $Id$
- Author:
- M. Rohrmoser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionRegistry
public ActionRegistry()
getInstance
public static ActionRegistry getInstance()
invoke
public static void invoke(Class<?> controller,
String method)
invoke
public static void invoke(Class<?> controller,
String method,
Class<? extends Executor> exec)
createJMenu
public JMenu createJMenu(Object controller)
findAccelerator
KeyStroke findAccelerator(String acc)
findAction
public Action findAction(Class<?> controller,
String method)
- Returns:
- never
null
- Throws:
IllegalArgumentException - no such action found
findAction
public Action findAction(Method method)
- Returns:
- never
null
- Throws:
IllegalArgumentException - no such action found
findAction
public Action findAction(Object controller,
Method method)
- Returns:
- never
null
- Throws:
IllegalArgumentException - no such action found
findAction
public Action findAction(Object controller,
String method)
throws IllegalArgumentException
- Returns:
- never
null
- Throws:
IllegalArgumentException - no such action found
findMnemonic
Character findMnemonic(CharSequence acc)
registerController
public Object registerController(Object controller)
stripMnemonic
String stripMnemonic(CharSequence a)
- De-escape "mnemocicced" titles.
Copyright © 2005-2009 JCurl.mro.name. All Rights Reserved.