|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.portal.context.GUIArea
public class 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.
Field Summary | |
---|---|
static int |
CENTER
A constant defining a 'CENTER' direction. |
static int |
EAST
A constant defining a 'EAST' direction. |
static int |
NORTH
A constant defining a 'NORTH' direction. |
static int |
SOUTH
A constant defining a 'SOUTH' direction. |
static int |
WEST
A constant defining a 'west' direction. |
Constructor Summary | |
---|---|
GUIArea(int area,
boolean hidden,
int width,
int height,
int left,
int top,
int right,
int bottom,
boolean overlay,
boolean header,
boolean closable,
Module[] modules)
Creates a new GUIArea instance |
Method Summary | |
---|---|
void |
addModul(Module module)
adds a module to a GUIArea |
int |
getArea()
returns area (north, west, east ...) assigned to an instance |
int |
getBottom()
|
int |
getHeight()
|
int |
getLeft()
|
Module |
getModule(java.lang.String name)
returns a module identified by its name |
Module[] |
getModules()
returns all modules of a GUIArea |
int |
getRight()
|
int |
getTop()
|
int |
getWidth()
|
boolean |
hasHeader()
|
boolean |
isClosable()
|
boolean |
isHidden()
returns true if the GUIArea is hidden. |
boolean |
isOverlay()
|
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 |
setBottom(int bottom)
|
void |
setClosable(boolean closable)
|
void |
setHeader(boolean header)
|
void |
setHeight(int height)
|
void |
setHidden(boolean hidden)
sets the GUIArea to be hidden or visible. |
void |
setLeft(int left)
|
void |
setModules(Module[] modules)
sets the modules of a GUIArea |
void |
setOverlay(boolean overlay)
|
void |
setRight(int right)
|
void |
setTop(int top)
|
void |
setWidth(int width)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int WEST
public static final int EAST
public static final int SOUTH
public static final int NORTH
public static final int CENTER
Constructor Detail |
---|
public GUIArea(int area, boolean hidden, int width, int height, int left, int top, int right, int bottom, boolean overlay, boolean header, boolean closable, Module[] modules)
area
- hidden
- width
- height
- left
- top
- right
- bottom
- overlay
- header
- closable
- modules
- Method Detail |
---|
public int getArea()
public void setArea(int area)
area
- public boolean isHidden()
public void setHidden(boolean hidden)
hidden
- public int getBottom()
public void setBottom(int bottom)
bottom
- the bottom to setpublic int getLeft()
public void setLeft(int left)
left
- the left to setpublic int getRight()
public void setRight(int right)
right
- the right to setpublic int getTop()
public void setTop(int top)
top
- the top to setpublic boolean isOverlay()
public void setOverlay(boolean overlay)
overlay
- the overlay to setpublic boolean isClosable()
public void setClosable(boolean closable)
closable
- the closable to setpublic boolean hasHeader()
public void setHeader(boolean header)
header
- the header to setpublic int getHeight()
public void setHeight(int height)
height
- the height to setpublic int getWidth()
public void setWidth(int width)
width
- the width to setpublic Module getModule(java.lang.String name)
name
-
public Module[] getModules()
public void setModules(Module[] modules)
modules
- public void addModul(Module module)
module
- public Module removeModule(java.lang.String name)
name
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org