|
||||||||||
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 BindingController
public Object lookupFc(String clientItfName)
BindingController
bindFc
).
lookupFc
in interface BindingController
clientItfName
- 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 BindingController
clientItfName
- 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 BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.public Rectangle getScreenSize()
Display
getScreenSize
in interface Display
Display.setScreenSize(java.awt.Rectangle)
public void setScreenSize(Rectangle screenSize)
Display
setScreenSize
in interface Display
screenSize
- the new size of this display, in pixels.Display.getScreenSize()
public Rect getDisplayedArea()
Display
getDisplayedArea
in interface Display
Display.setDisplayedArea(org.objectweb.fractal.gui.graph.model.Rect)
public void setDisplayedArea(Rect displayedArea)
Display
setDisplayedArea
in interface Display
displayedArea
- the new area of the component graph shown by this
display.Display.getDisplayedArea()
public boolean isAntialiasing()
Display
isAntialiasing
in interface Display
Display.setIsAntialiasing(boolean)
public void setIsAntialiasing(boolean isAntialiasing)
Display
setIsAntialiasing
in interface Display
isAntialiasing
- the new anti aliasing option of this display.public int getMaxDepth()
Display
getMaxDepth
in interface Display
Display.setMaxDepth(int)
public void setMaxDepth(int maxDepth)
Display
setMaxDepth
in interface Display
maxDepth
- the new max depth at which the component graph is shown by
this display.Display.getMaxDepth()
public int getItfNameDisplayMode()
Display
getItfNameDisplayMode
in interface Display
public void setItfNameDisplayMode()
Display
setItfNameDisplayMode
in interface Display
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |