|
||||||||||
| 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.ChangeDepthAction
An action that just calls the setMax method on
a Display. This action listens to the display model in order to
enable or disable itself when the max depth 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 | |
ChangeDepthAction()
Constructs a new ChangeDepthAction 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. |
boolean |
getIsIncrease()
Returns true if the action must increase the max depth of the display. |
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 |
setIsIncrease(boolean isIncrease)
Sets the increase attribute of this action component. |
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 max depth is modified by this controller component.
| Constructor Detail |
public ChangeDepthAction()
ChangeDepthAction 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 boolean getIsIncrease()
ChangeDepthActionAttributes
getIsIncrease in interface ChangeDepthActionAttributesChangeDepthActionAttributes.setIsIncrease(boolean)public void setIsIncrease(boolean isIncrease)
ChangeDepthActionAttributes
setIsIncrease in interface ChangeDepthActionAttributesisIncrease - true if the action must increase the max depth
of the display, or false if it must decrease it.ChangeDepthActionAttributes.getIsIncrease()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 | |||||||||