|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.clients.context.Module_Impl
this class encapsulates the basic informations of a module that is part of an area of the GUI. Other classes may extent this class by adding special attributes for more specialazied GUIs.
| Field Summary | |
private java.lang.String |
content
|
private boolean |
hidden
|
private ModuleConfiguration |
moduleConfiguration
|
private java.lang.String |
name
|
private ParameterList |
parameterList
|
| Constructor Summary | |
Module_Impl(java.lang.String name,
java.lang.String content,
boolean hidden,
ModuleConfiguration moduleConfiguration,
ParameterList parameterList)
Creates a new Module_Impl object. |
|
| Method Summary | |
void |
addParameter(Parameter parameter)
adds a parameter to the list of parameters that will be passed to a class/object etc. that represents a module |
java.lang.String |
exportAsXML()
Produces an XML-representation of this object. |
java.lang.String |
getContent()
returns the name of the page/class/file etc. containing the content of the module |
ModuleConfiguration |
getModuleConfiguration()
returns the a specific confguration for a module. |
java.lang.String |
getName()
returns the name of a module |
ParameterList |
getParameter()
returns a list of parameters that will be passed to a class/object etc. |
boolean |
isHidden()
returns true if the module is hidden. this will always be the case for modules that just offers functions to the context. visible modules may offere the capability to be turned to visible or not. |
void |
removeParameter(java.lang.String name)
removes a parameter to the list of parameters that will be passed to a class/object etc. that represents a module |
void |
setContent(java.lang.String content)
sets the name of the page/class/file etc. containing the content of the module |
void |
setHidden(boolean hidden)
sets the module to be hidden or visible. modules that only adds functions to a context will ignore this because they are always hidden |
void |
setModuleConfiguration(ModuleConfiguration configuration)
sets the specific configuration for a module. |
void |
setName(java.lang.String name)
sets the name of a module |
void |
setParameter(ParameterList parameterList)
sets a list of parameters that will be passed to a class/object etc. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private ModuleConfiguration moduleConfiguration
private java.lang.String content
private java.lang.String name
private boolean hidden
private ParameterList parameterList
| Constructor Detail |
public Module_Impl(java.lang.String name,
java.lang.String content,
boolean hidden,
ModuleConfiguration moduleConfiguration,
ParameterList parameterList)
name - name of the modulecontent - the name of the page/class/file etc. containing the content
of the modulehidden - indicates if the module is visible or notmoduleConfiguration - encapsulates the access to the modules
configuration (may be null)| Method Detail |
public java.lang.String getName()
getName in interface Modulepublic void setName(java.lang.String name)
setName in interface Modulename - public java.lang.String getContent()
getContent in interface Modulepublic void setContent(java.lang.String content)
setContent in interface Modulecontent - public boolean isHidden()
isHidden in interface Modulepublic void setHidden(boolean hidden)
setHidden in interface Modulehidden - public ModuleConfiguration getModuleConfiguration()
getModuleConfiguration in interface Modulepublic void setModuleConfiguration(ModuleConfiguration configuration)
setModuleConfiguration in interface Moduleconfiguration - public ParameterList getParameter()
getParameter in interface Modulepublic void setParameter(ParameterList parameterList)
setParameter in interface ModuleparameterList - public void addParameter(Parameter parameter)
addParameter in interface Moduleparameter - public void removeParameter(java.lang.String name)
removeParameter in interface Modulename - public java.lang.String exportAsXML()
Marshallable
exportAsXML in interface Marshallable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||