|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
de.jreality.ui.viewerapp.actions.AbstractJrAction
de.jreality.ui.viewerapp.actions.AbstractSelectionListenerAction
de.jreality.ui.viewerapp.actions.edit.ToggleVisibility
public class ToggleVisibility
Toggles the visibility of the selected scene graph component.
Field Summary |
---|
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
ToggleVisibility(java.lang.String name,
SelectionManager sm)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
boolean |
isEnabled(SelectionEvent e)
Override this method to specify when to disable or enable the action based on the current selection. |
Methods inherited from class de.jreality.ui.viewerapp.actions.AbstractSelectionListenerAction |
---|
getSelection, getSelectionManager, selectionChanged |
Methods inherited from class de.jreality.ui.viewerapp.actions.AbstractJrAction |
---|
createMenuItem, createToolboxItem, getIcon, setAcceleratorKey, setIcon, setName, setShortDescription |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToggleVisibility(java.lang.String name, SelectionManager sm)
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class AbstractJrAction
public boolean isEnabled(SelectionEvent e)
AbstractSelectionListenerAction
AbstractSelectionListenerAction.selectionChanged(SelectionEvent)
.
isEnabled
in class AbstractSelectionListenerAction
e
- the selection event
AbstractSelectionListenerAction.selectionChanged(SelectionEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |