|
|||||||||||
| 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 java.lang.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(java.awt.event.ActionEvent e)
|
void |
antialiasingChanged()
Notifies this listener that the anti aliasing option of the display has changed. |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
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. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
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(java.lang.String clientItfName)
|
| 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 java.lang.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 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 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(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||