|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ideo.sweetdevria.config.RIAConfigImpl
public class RIAConfigImpl
RIA configuration implementation.
Field Summary | |
---|---|
protected java.util.HashMap |
builderConfigs
|
protected boolean |
configured
|
protected java.util.HashMap |
drawerConfigs
|
protected java.util.HashMap |
messageResources
|
protected java.util.List |
messageResourcesOrder
|
protected java.util.ArrayList |
plugIns
|
protected java.util.Map |
properties
|
Constructor Summary | |
---|---|
RIAConfigImpl()
|
Method Summary | |
---|---|
void |
addBuilderConfig(BuilderConfig config)
Add a builder config to the object The add is processed from the HIGHER to the LOWER important element. |
void |
addDrawerConfig(DrawerConfig config)
Add a new DrawerConfig instance to the set
The add is processed from the HIGHER to the LOWER important element. |
void |
addMessageResourcesConfig(MessageResourcesConfig config)
Add a message resources config to the object The add is processed from the HIGHER to the LOWER important element. |
void |
addPlugInConfig(PlugInConfig plugInConfig)
|
void |
addPropertyConfig(PropertyConfig propertyConfig)
|
BuilderConfig |
findBuilderConfig(java.lang.String id)
Return the builder configuration for the specified id otherwise return null/code> |
DrawerConfig |
findDrawerConfig(java.lang.String drawerId)
Return the drawer configuration for the specified id, if any; otherwise return null . |
DrawerConfig[] |
findDrawerConfigs()
Return the drawer configurations. |
MessageResourcesConfig |
findMessageResourcesConfig(java.lang.String key)
|
MessageResourcesConfig[] |
findMessageResourcesConfigs()
|
PlugInConfig[] |
findPlugInConfigs()
|
void |
freeze()
|
boolean |
getConfigured()
Get the configured. |
java.util.Map |
getProperties()
|
java.lang.String |
getProperty(java.lang.String key)
|
void |
setConfigured(boolean configured)
Set the configured. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.HashMap messageResources
protected java.util.List messageResourcesOrder
protected boolean configured
protected java.util.HashMap builderConfigs
protected java.util.HashMap drawerConfigs
protected java.util.ArrayList plugIns
protected java.util.Map properties
Constructor Detail |
---|
public RIAConfigImpl()
Method Detail |
---|
public boolean getConfigured()
public void addMessageResourcesConfig(MessageResourcesConfig config)
config
- the new message resources configpublic void addPlugInConfig(PlugInConfig plugInConfig)
public void addPropertyConfig(PropertyConfig propertyConfig)
public java.util.Map getProperties()
getProperties
in interface IRIAConfig
public java.lang.String getProperty(java.lang.String key)
getProperty
in interface IRIAConfig
public MessageResourcesConfig findMessageResourcesConfig(java.lang.String key)
findMessageResourcesConfig
in interface IRIAConfig
public MessageResourcesConfig[] findMessageResourcesConfigs()
findMessageResourcesConfigs
in interface IRIAConfig
public void freeze()
freeze
in interface IRIAConfig
public void addBuilderConfig(BuilderConfig config)
config
- the new builder configpublic void setConfigured(boolean configured)
configured
- The configured to set.public BuilderConfig findBuilderConfig(java.lang.String id)
null/code>
- Specified by:
findBuilderConfig
in interface IRIAConfig
- Parameters:
id
- Id of the builder configuration to return
public void addDrawerConfig(DrawerConfig config)
DrawerConfig
instance to the set
The add is processed from the HIGHER to the LOWER important element.
config
- The new configuration instance to be added
java.lang.IllegalStateException
- if this module configuration
has been frozenpublic DrawerConfig findDrawerConfig(java.lang.String drawerId)
null
.
findDrawerConfig
in interface IRIAConfig
drawerId
- ID of the drawer configuration to return.public DrawerConfig[] findDrawerConfigs()
findDrawerConfigs
in interface IRIAConfig
public PlugInConfig[] findPlugInConfigs()
findPlugInConfigs
in interface IRIAConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |