|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.fractal.gui.graph.model.BasicGraphModel
Basic implementation of the GraphModel interface.
| Field Summary | |
|---|---|
static java.lang.String |
GRAPH_MODEL_LISTENERS_BINDING
A collection client interface bound to the listeners of this model. |
| Constructor Summary | |
|---|---|
BasicGraphModel()
Constructs a new BasicGraphModel component. |
|
| Method Summary | |
|---|---|
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
java.awt.Color |
getComponentColor(Component component)
TODO javadoc. |
Rect |
getComponentPosition(Component component)
Returns the coordinates of the given component. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
setComponentColor(Component component,
java.awt.Color color)
TODO javadoc. |
void |
setComponentPosition(Component component,
Rect position)
Sets the coordinates of the given component. |
void |
unbindFc(java.lang.String clientItfName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String GRAPH_MODEL_LISTENERS_BINDING
listeners of this model.
| Constructor Detail |
public BasicGraphModel()
BasicGraphModel component.
| Method Detail |
public java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingControllerpublic java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
bindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic void unbindFc(java.lang.String clientItfName)
unbindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic java.awt.Color getComponentColor(Component component)
GraphModel
getComponentColor in interface GraphModelcomponent -
public void setComponentColor(Component component,
java.awt.Color color)
GraphModel
setComponentColor in interface GraphModelcomponent - color - public Rect getComponentPosition(Component component)
GraphModel
getComponentPosition in interface GraphModelcomponent - the component whose coordinates must be returned.
GraphModel.setComponentPosition(org.objectweb.fractal.gui.model.Component, org.objectweb.fractal.gui.graph.model.Rect)
public void setComponentPosition(Component component,
Rect position)
GraphModel
setComponentPosition in interface GraphModelcomponent - the component whose coordinates must be set.position - the new coordinates of the given component.GraphModel.getComponentPosition(org.objectweb.fractal.gui.model.Component)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||