org.jtheque.core.managers
Class AbstractManager

java.lang.Object
  extended by org.jtheque.core.managers.AbstractManager
All Implemented Interfaces:
IManager
Direct Known Subclasses:
EventManager, ModuleManager, SkinManager, UpdateManager, ViewManager

public abstract class AbstractManager
extends java.lang.Object
implements IManager

An abstract manager.

Author:
Baptiste Wicht

Constructor Summary
AbstractManager()
           
 
Method Summary
protected static IErrorManager getErrors()
          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 java.lang.String getMessage(java.lang.String key)
          Return the internationalized message.
protected static java.lang.String getMessage(java.lang.String key, java.lang.Object... replaces)
          Return the internationalized message.
protected static IStateManager getStates()
          Return the state manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jtheque.core.managers.IManager
close, init, preInit
 

Constructor Detail

AbstractManager

public AbstractManager()
Method Detail

getListeners

protected static org.jdesktop.swingx.event.WeakEventListenerList getListeners()
Return the listeners of the manager.

Returns:
The listeners of the manager.

getLogger

protected final IJThequeLogger getLogger()
Return the logger of the manager.

Returns:
The logger of the manager.

getErrors

protected static IErrorManager getErrors()
Return the error manager.

Returns:
The error manager.

getStates

protected static IStateManager getStates()
Return the state manager.

Returns:
The state manager.

getMessage

protected static java.lang.String getMessage(java.lang.String key)
Return the internationalized message.

Parameters:
key - The internationalization key.
Returns:
The internationalized message.

getMessage

protected static java.lang.String getMessage(java.lang.String key,
                                             java.lang.Object... replaces)
Return the internationalized message.

Parameters:
key - The internationalization key.
replaces - The objects to use for the replaces.
Returns:
The internationalized message.


Copyright © 2009 JTheque. All Rights Reserved.