|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.gui.views.Layer
A Layer in a view.
Constructor Summary | |
Layer()
Constructor of a layer. |
Method Summary | |
void |
add(mascoptLib.gui.views.GObject comp)
Add a GObject in this layer. |
void |
add(mascoptLib.gui.views.GObject comp,
int priority)
Add an object in a layer with a priority. |
void |
addView(mascoptLib.gui.views.View v)
Add a new view. |
boolean |
contains(mascoptLib.gui.views.GObject comp)
Say if a layer contains this object. |
Component |
getComponentAt(Point p)
Give the components situated at a point p. |
void |
paint(Graphics g,
Rectangle view)
Repaint a rectangle. |
void |
remove(mascoptLib.gui.views.GObject comp)
Remove an object of a layer. |
void |
remove(mascoptLib.gui.views.GObject comp,
int priority)
Remove an object with a priority |
void |
removeView(mascoptLib.gui.views.View v)
Remove a view. |
void |
repaint()
Repaint this layer. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Layer()
Method Detail |
public void add(mascoptLib.gui.views.GObject comp)
comp
- the object to add.public void add(mascoptLib.gui.views.GObject comp, int priority)
comp
- the object to addpriority
- the prioritypublic void remove(mascoptLib.gui.views.GObject comp)
comp
- the object to remove.public boolean contains(mascoptLib.gui.views.GObject comp)
comp
- the object
public void remove(mascoptLib.gui.views.GObject comp, int priority)
comp
- the objectpriority
- the prioritypublic void addView(mascoptLib.gui.views.View v)
v
- the view.public void removeView(mascoptLib.gui.views.View v)
v
- the viewpublic void repaint()
public Component getComponentAt(Point p)
p
-
public void paint(Graphics g, Rectangle view)
g
- the graphicview
- the view to repaint.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |