org.deegree.clients.context
Interface GUIArea

All Known Implementing Classes:
GUIArea_Impl

public interface GUIArea

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.

Version:
$Revision: 1.2 $
Author:
Andreas Poth

Field Summary
static int CENTER
           
static int EAST
           
static int NORTH
           
static int SOUTH
           
static int WEST
           
 
Method Summary
 void addModul(Module module)
           
 int getArea()
          returns area (north, west, east ...)
 Module getModule(java.lang.String name)
           
 Module[] getModules()
           
 boolean isHidden()
          returns true if the GUIArea is hidden.
 Module removeModule(java.lang.String name)
           
 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[] mosules)
           
 

Field Detail

WEST

public static final int WEST
See Also:
Constant Field Values

EAST

public static final int EAST
See Also:
Constant Field Values

SOUTH

public static final int SOUTH
See Also:
Constant Field Values

NORTH

public static final int NORTH
See Also:
Constant Field Values

CENTER

public static final int CENTER
See Also:
Constant Field Values
Method Detail

getArea

public int getArea()
returns area (north, west, east ...) assigned to an instance

Returns:

setArea

public void setArea(int area)
sets the name of a module

Parameters:
area -

isHidden

public boolean isHidden()
returns true if the GUIArea is hidden.

Returns:

setHidden

public void setHidden(boolean hidden)
sets the GUIArea to be hidden or visible.

Parameters:
hidden -

getModule

public Module getModule(java.lang.String name)
Parameters:
name -
Returns:

getModules

public Module[] getModules()
Returns:

setModules

public void setModules(Module[] mosules)
Parameters:
mosules -

addModul

public void addModul(Module module)
Parameters:
module -

removeModule

public Module removeModule(java.lang.String name)
Parameters:
name -
Returns: