|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.fractal.gui.graph.model.BasicDisplay
Basic implementation of the Display interface.
| Field Summary | |
static String |
DISPLAY_LISTENERS_BINDING
A collection client interface bound to the listeners of this model. |
static String |
USER_DATA_BINDING
An optional client interface TODO. |
| Constructor Summary | |
BasicDisplay()
Constructs a new BasicDisplay component. |
|
| Method Summary | |
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
Rect |
getDisplayedArea()
Returns the area of the component graph shown by this display. |
int |
getItfNameDisplayMode()
Returns the displaying mode for the interfaces name of this display. |
int |
getMaxDepth()
Returns the max depth at which the component graph is shown by this display. |
Rectangle |
getScreenSize()
Returns the size of this display. |
boolean |
isAntialiasing()
Returns true if this display is anti aliased. |
String[] |
listFc()
Returns the names of the client interfaces of the component to which this interface belongs. |
Object |
lookupFc(String clientItfName)
Returns the interface to which the given client interface is bound. |
void |
setDisplayedArea(Rect displayedArea)
Sets the area of the component graph shown by this display. |
void |
setIsAntialiasing(boolean isAntialiasing)
Sets the anti aliasing option of this display. |
void |
setItfNameDisplayMode()
Sets the displaying mode for the interfaces name of this display. |
void |
setMaxDepth(int maxDepth)
Sets the max depth at which the component graph is shown by this display. |
void |
setScreenSize(Rectangle screenSize)
Sets the size of this display. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String DISPLAY_LISTENERS_BINDING
listeners of this model.
public static final String USER_DATA_BINDING
| Constructor Detail |
public BasicDisplay()
BasicDisplay component.
| Method Detail |
public String[] listFc()
BindingController
listFc in interface BindingControllerpublic Object lookupFc(String clientItfName)
BindingControllerbindFc).
lookupFc in interface BindingControllerclientItfName - the name of a client interface of the component to
which this interface belongs.
public void bindFc(String clientItfName,
Object serverItf)
BindingController
bindFc in interface BindingControllerclientItfName - the name of a client interface of the component to
which this interface belongs.serverItf - a server interface.public void unbindFc(String clientItfName)
BindingController
unbindFc in interface BindingControllerclientItfName - the name of a client interface of the component to
which this interface belongs.public Rectangle getScreenSize()
Display
getScreenSize in interface DisplayDisplay.setScreenSize(java.awt.Rectangle)public void setScreenSize(Rectangle screenSize)
Display
setScreenSize in interface DisplayscreenSize - the new size of this display, in pixels.Display.getScreenSize()public Rect getDisplayedArea()
Display
getDisplayedArea in interface DisplayDisplay.setDisplayedArea(org.objectweb.fractal.gui.graph.model.Rect)public void setDisplayedArea(Rect displayedArea)
Display
setDisplayedArea in interface DisplaydisplayedArea - the new area of the component graph shown by this
display.Display.getDisplayedArea()public boolean isAntialiasing()
Display
isAntialiasing in interface DisplayDisplay.setIsAntialiasing(boolean)public void setIsAntialiasing(boolean isAntialiasing)
Display
setIsAntialiasing in interface DisplayisAntialiasing - the new anti aliasing option of this display.public int getMaxDepth()
Display
getMaxDepth in interface DisplayDisplay.setMaxDepth(int)public void setMaxDepth(int maxDepth)
Display
setMaxDepth in interface DisplaymaxDepth - the new max depth at which the component graph is shown by
this display.Display.getMaxDepth()public int getItfNameDisplayMode()
Display
getItfNameDisplayMode in interface Displaypublic void setItfNameDisplayMode()
Display
setItfNameDisplayMode in interface Display
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||