|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.context.GUIArea_Impl
this interface describes the content of an area of a GUI. a GUI area contains zero ... n modules described by the Module interface. A GUI area may be can be switched to be invisible. indicated by the hidden attribute.
Field Summary | |
private int |
area
|
private boolean |
hidden
|
private java.util.HashMap |
modules
|
Fields inherited from interface org.deegree.clients.context.GUIArea |
CENTER, EAST, NORTH, SOUTH, WEST |
Constructor Summary | |
GUIArea_Impl(int area,
boolean hidden,
Module[] modules)
Creates a new GUIArea_Impl object. |
Method Summary | |
void |
addModul(Module module)
adds a module to a GUIArea |
java.lang.String |
exportAsXML()
Produces an XML-representation of this object. |
int |
getArea()
returns area (north, west, east ...) |
Module |
getModule(java.lang.String name)
returns a module identified by its name |
Module[] |
getModules()
returns all modules of a GUIArea |
boolean |
isHidden()
returns true if the GUIArea is hidden. |
Module |
removeModule(java.lang.String name)
reomes a module identified by its name from the GUIArea |
void |
setArea(int area)
sets the name of a module |
void |
setHidden(boolean hidden)
sets the GUIArea to be hidden or visible. |
void |
setModules(Module[] modules)
sets the modules of a GUIArea |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.HashMap modules
private boolean hidden
private int area
Constructor Detail |
public GUIArea_Impl(int area, boolean hidden, Module[] modules)
area
- hidden
- modules
- Method Detail |
public int getArea()
getArea
in interface GUIArea
public void setArea(int area)
setArea
in interface GUIArea
area
- public boolean isHidden()
isHidden
in interface GUIArea
public void setHidden(boolean hidden)
setHidden
in interface GUIArea
hidden
- public Module getModule(java.lang.String name)
getModule
in interface GUIArea
name
-
public Module[] getModules()
getModules
in interface GUIArea
public void setModules(Module[] modules)
setModules
in interface GUIArea
modules
- public void addModul(Module module)
addModul
in interface GUIArea
module
- public Module removeModule(java.lang.String name)
removeModule
in interface GUIArea
name
-
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 |