Public Types | |
typedef ConstBaseIterator< WindowFactoryRegistry > | WindowFactoryIterator |
typedef ConstBaseIterator< TypeAliasRegistry > | TypeAliasIterator |
typedef ConstBaseIterator< FalagardMapRegistry > | FalagardMappingIterator |
Public Member Functions | |
WindowFactoryManager (void) | |
Constructs a new WindowFactoryManager object. | |
~WindowFactoryManager (void) | |
Destructor for WindowFactoryManager objects. | |
void | addFactory (WindowFactory *factory) |
Adds a new WindowFactory to the list of registered factories. | |
void | removeFactory (const String &name) |
Removes a WindowFactory from the list of registered factories. | |
void | removeFactory (WindowFactory *factory) |
Removes a WindowFactory from the list of registered factories. | |
void | removeAllFactories (void) |
Remove all WindowFactory objects from the list. | |
WindowFactory * | getFactory (const String &type) const |
Return a pointer to the specified WindowFactory object. | |
bool | isFactoryPresent (const String &name) const |
Checks the list of registered WindowFactory objects, aliases, and falagard mapped types for one which can create Window objects of the specified type. | |
void | addWindowTypeAlias (const String &aliasName, const String &targetType) |
Adds an alias for a current window type. | |
void | removeWindowTypeAlias (const String &aliasName, const String &targetType) |
Remove the specified alias mapping. If the alias mapping does not exist, nothing happens. | |
void | addFalagardWindowMapping (const String &newType, const String &targetType, const String &lookName) |
Add a mapping for a falagard based window. | |
void | removeFalagardWindowMapping (const String &type) |
Remove the specified falagard type mapping if it exists. | |
bool | isFalagardMappedType (const String &type) const |
Return whether the given type is a falagard mapped type. | |
const String & | getMappedLookForType (const String &type) const |
Return the name of the LookN'Feel assigned to the specified window mapping. | |
String | getDereferencedAliasType (const String &type) const |
Use the alias system, where required, to 'de-reference' the specified type to an actual window type that can be created directly (that being either a concrete window type, or a falagard mapped type). | |
WindowFactoryIterator | getIterator (void) const |
Return a WindowFactoryManager::WindowFactoryIterator object to iterate over the available WindowFactory types. | |
TypeAliasIterator | getAliasIterator (void) const |
Return a WindowFactoryManager::TypeAliasIterator object to iterate over the defined aliases for window types. | |
FalagardMappingIterator | getFalagardMappingIterator () const |
Return a WindowFactoryManager::FalagardMappingIterator object to iterate over the defined falagard window mappings. | |
Static Public Member Functions | |
static WindowFactoryManager & | getSingleton (void) |
Return singleton WindowFactoryManager object. | |
static WindowFactoryManager * | getSingletonPtr (void) |
Return pointer to singleton WindowFactoryManager object. | |
Classes | |
class | AliasTargetStack |
Class used to track active alias targets for Window factory types. More... | |
struct | FalagardWindowMapping |
struct used to hold mapping information required to create a falagard based window. More... |
|
Adds a new WindowFactory to the list of registered factories.
|
|
Add a mapping for a falagard based window. This function creates maps a target window type and target 'look' name onto a registered window type, thus allowing the ususal window creation interface to be used to create windows that require extra information to full initialise themselves.
|
|
Adds an alias for a current window type. This method allows you to create an alias for a specified window type. This means that you can then use either name as the type parameter when creating a window.
|
|
Use the alias system, where required, to 'de-reference' the specified type to an actual window type that can be created directly (that being either a concrete window type, or a falagard mapped type).
|
|
Return a pointer to the specified WindowFactory object.
|
|
Return the name of the LookN'Feel assigned to the specified window mapping.
|
|
Return singleton WindowFactoryManager object.
|
|
Return pointer to singleton WindowFactoryManager object.
|
|
Checks the list of registered WindowFactory objects, aliases, and falagard mapped types for one which can create Window objects of the specified type.
|
|
Return whether the given type is a falagard mapped type.
|
|
Remove all WindowFactory objects from the list.
|
|
Removes a WindowFactory from the list of registered factories.
|
|
Removes a WindowFactory from the list of registered factories.
|
|
Remove the specified falagard type mapping if it exists.
|
|
Remove the specified alias mapping. If the alias mapping does not exist, nothing happens.
|