|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A model associating coordinates to components.
Method Summary | |
Color |
getComponentColor(Component component)
TODO. |
Rect |
getComponentPosition(Component component)
Returns the coordinates of the given component. |
org.objectweb.fractal.adl.XMLElement |
getComponentsPositions(Component component)
Returns an XML element containing the coordinates of the given component. |
void |
setComponentColor(Component component,
Color color)
TODO. |
void |
setComponentPosition(Component component,
Rect position)
Sets the coordinates of the given component. |
void |
setComponentsPositions(Component component,
org.objectweb.fractal.adl.XMLElement positions)
Sets the coordinates of the given component from the given XML element. |
Method Detail |
public Color getComponentColor(Component component)
component
-
public void setComponentColor(Component component, Color color)
component
- color
- public Rect getComponentPosition(Component component)
component
- the component whose coordinates must be returned.
setComponentPosition(org.objectweb.fractal.gui.model.Component, org.objectweb.fractal.gui.graph.model.Rect)
public org.objectweb.fractal.adl.XMLElement getComponentsPositions(Component component) throws Exception
component
- the component whose coordinates must be returned.
Exception
- if something goes wrong.setComponentsPositions(org.objectweb.fractal.gui.model.Component, org.objectweb.fractal.adl.XMLElement)
public void setComponentPosition(Component component, Rect position)
component
- the component whose coordinates must be set.position
- the new coordinates of the given component.getComponentPosition(org.objectweb.fractal.gui.model.Component)
public void setComponentsPositions(Component component, org.objectweb.fractal.adl.XMLElement positions) throws Exception
component
- the component whose coordinates must be set.positions
- an XML element containing the new coordinates of the given
component, and of all its direct and indirect sub components.
Exception
- if something goes wrong.getComponentsPositions(org.objectweb.fractal.gui.model.Component)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |