|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
org.objectweb.fractal.swing.AbstractAction
org.objectweb.fractal.gui.graph.control.ChangeItfDisplayAction
An action that just calls the setIsAntiAliasing method on a Display. This action listens to the
display model in order to change its name when the anti aliasing option
changes.
| Field Summary | |
static String |
DISPLAY_BINDING
A mandatory client interface bound to a display model. |
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
ChangeItfDisplayAction()
Constructs a new AntiAliasAction component. |
|
| Method Summary | |
void |
actionPerformed(ActionEvent e)
|
void |
antialiasingChanged()
Notifies this listener that the anti aliasing option of the display has changed. |
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
void |
displayedAreaChanged(Rect oldValue)
Notifies this listener that component graph area shown by the display has changed. |
void |
itfNameDisplayModeChanged()
Notifies this listener that the displaying mode for the interfaces name of the display has changed. |
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 |
maxDepthChanged()
Notifies this listener that the max rendering depth of the display has changed. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
| Methods inherited from class org.objectweb.fractal.swing.AbstractAction |
getAcceleratorKey, getIconURL, getName, getToolTipText, setAcceleratorKey, setIconURL, setName, setToolTipText |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String DISPLAY_BINDING
display model. This
is the display whose anti aliasing option is modified by this controller
component.
| Constructor Detail |
public ChangeItfDisplayAction()
AntiAliasAction 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 void displayedAreaChanged(Rect oldValue)
DisplayListener
displayedAreaChanged in interface DisplayListeneroldValue - the old component graph area that was shown by the display.public void antialiasingChanged()
DisplayListener
antialiasingChanged in interface DisplayListenerpublic void maxDepthChanged()
DisplayListener
maxDepthChanged in interface DisplayListenerpublic void itfNameDisplayModeChanged()
DisplayListener
itfNameDisplayModeChanged in interface DisplayListenerpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||