org.gui4j.core
Class Gui4jComponentContainerManager.Gui4jComponentContainerImpl

java.lang.Object
org.gui4j.core.Gui4jComponentContainerManager.Gui4jComponentContainerImpl
- All Implemented Interfaces:
- Gui4jComponentContainer, java.io.Serializable
- Enclosing class:
- Gui4jComponentContainerManager
- static class Gui4jComponentContainerManager.Gui4jComponentContainerImpl
- extends java.lang.Object
- implements java.io.Serializable, Gui4jComponentContainer
mGui4jControllerClass
private final java.lang.Class mGui4jControllerClass
mElements
private final java.util.Map mElements
mGui4jComponentsInPath
private final java.util.Map mGui4jComponentsInPath
mGui4j
private final Gui4jInternal mGui4j
mGui4jStyleContainer
private final Gui4jStyleContainer mGui4jStyleContainer
mParamIds
private final java.util.Set mParamIds
mParamInstantiation
private final java.util.Map mParamInstantiation
mToplevelAttributes
private final java.util.Map mToplevelAttributes
mGui4jComponentContainerImports
private final java.util.List mGui4jComponentContainerImports
- // List(Gui4jComponentContainerInclude)
mClassAliasMap
private final java.util.Map mClassAliasMap
mDefMap
private final java.util.Map mDefMap
mConfigurationSource
private final java.net.URL mConfigurationSource
mErrorList
private final java.util.List mErrorList
mLoggerComponentContainer
private static final org.apache.commons.logging.Log mLoggerComponentContainer
Gui4jComponentContainerManager.Gui4jComponentContainerImpl
protected Gui4jComponentContainerManager.Gui4jComponentContainerImpl(Gui4jInternal gui4j,
java.lang.Class gui4jControllerClass,
java.lang.String resourceNameFullyQuantified,
java.net.URL configurationSource,
Gui4jComponentContainerManager.Resource resource)
getGui4j
public Gui4jInternal getGui4j()
- Specified by:
getGui4j in interface Gui4jComponentContainer
getParamIds
public java.util.Set getParamIds()
- Description copied from interface:
Gui4jComponentContainer
- Liefert die Menge der zu setzenden Parameter beim Inlcudes des Containers
- Specified by:
getParamIds in interface Gui4jComponentContainer
getMappedIds
public java.util.Set getMappedIds()
- Description copied from interface:
Gui4jComponentContainer
- Liefert die Menge der Ids zurück welche durch Parameterinstanziierung
benötigt werden
- Specified by:
getMappedIds in interface Gui4jComponentContainer
getParamInstantiation
public java.util.Map getParamInstantiation()
- Description copied from interface:
Gui4jComponentContainer
- Method getParamInstantiation.
- Specified by:
getParamInstantiation in interface Gui4jComponentContainer
computeParamInstantiation
private java.util.Map computeParamInstantiation()
getClassForAliasName
public java.lang.Class getClassForAliasName(java.lang.String aliasName)
- Specified by:
getClassForAliasName in interface Gui4jComponentContainer
extractGui4jComponent
public Gui4jQualifiedComponent extractGui4jComponent(org.dom4j.LElement e)
- Specified by:
extractGui4jComponent in interface Gui4jComponentContainer
autoExtend
public void autoExtend(org.dom4j.LElement e)
- Description copied from interface:
Gui4jComponentContainer
- inserts additional attributes into the element correspondingly to defined styles
- Specified by:
autoExtend in interface Gui4jComponentContainer
getAttrValueReplaceAll
public java.lang.String getAttrValueReplaceAll(org.dom4j.LElement e,
java.lang.String field)
- Specified by:
getAttrValueReplaceAll in interface Gui4jComponentContainer
getAttrValue
public java.lang.String getAttrValue(org.dom4j.LElement e,
java.lang.String field)
- Specified by:
getAttrValue in interface Gui4jComponentContainer
getBooleanAttrValue
public boolean getBooleanAttrValue(org.dom4j.LElement e,
java.lang.String field,
boolean dflt)
- Specified by:
getBooleanAttrValue in interface Gui4jComponentContainer
getGui4jQualifiedComponent
public Gui4jQualifiedComponent getGui4jQualifiedComponent(java.lang.String id)
- Description copied from interface:
Gui4jComponentContainer
- Throws an exception if the corresponding component is not defined
- Specified by:
getGui4jQualifiedComponent in interface Gui4jComponentContainer
getGui4jControllerClass
public java.lang.Class getGui4jControllerClass()
- Specified by:
getGui4jControllerClass in interface Gui4jComponentContainer
isDefined
public boolean isDefined(java.lang.String id)
- Specified by:
isDefined in interface Gui4jComponentContainer
getConfigurationSource
public java.net.URL getConfigurationSource()
- Specified by:
getConfigurationSource in interface Gui4jComponentContainer
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
getToplevelAttrValue
public java.lang.String getToplevelAttrValue(java.lang.String field)
- Specified by:
getToplevelAttrValue in interface Gui4jComponentContainer