|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtheque.core.managers.AbstractManager
public abstract class AbstractManager
An abstract manager.
Constructor Summary | |
---|---|
AbstractManager()
|
Method Summary | ||
---|---|---|
void |
close()
Close the manager. |
|
protected static IErrorManager |
getErrorManager()
Return the error manager. |
|
protected static org.jdesktop.swingx.event.WeakEventListenerList |
getListeners()
Return the listeners of the manager. |
|
protected IJThequeLogger |
getLogger()
Return the logger of the manager. |
|
protected static
|
getManager(Class<T> managerClass)
Return the manager with the specific class. |
|
protected static String |
getMessage(String key)
Return the internationalized message. |
|
protected static String |
getMessage(String key,
Object... replaces)
Return the internationalized message. |
|
protected static IStateManager |
getStates()
Return the state manager. |
|
void |
init()
Init the manager. |
|
void |
preInit()
Pre-init the manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractManager()
Method Detail |
---|
protected static org.jdesktop.swingx.event.WeakEventListenerList getListeners()
protected final IJThequeLogger getLogger()
protected static IErrorManager getErrorManager()
protected static IStateManager getStates()
protected static String getMessage(String key)
key
- The internationalization key.
protected static String getMessage(String key, Object... replaces)
key
- The internationalization key.replaces
- The objects to use for the replaces.
protected static <T> T getManager(Class<T> managerClass)
T
- The type of manager.managerClass
- The class of the manager.
public void preInit()
IManager
preInit
in interface IManager
public void init() throws ManagerException
IManager
init
in interface IManager
ManagerException
- If an error occurs during the init process.public void close()
IManager
close
in interface IManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |