Package jadex.base.gui.modeltree
Class CollapseAllAction
- java.lang.Object
- 
- javax.swing.AbstractAction
- 
- jadex.commons.gui.ToolTipAction
- 
- jadex.base.gui.modeltree.CollapseAllAction
 
 
 
- 
- All Implemented Interfaces:
- java.awt.event.ActionListener,- java.io.Serializable,- java.lang.Cloneable,- java.util.EventListener,- javax.swing.Action
 
 public class CollapseAllAction extends ToolTipAction Collapse all paths.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static javax.swing.UIDefaultsiconsThe image icons.protected FileTreePaneltreepanelThe tree.
 - 
Constructor SummaryConstructors Constructor Description CollapseAllAction(FileTreePanel treepanel)Create a new actionCollapseAllAction(java.lang.String name, javax.swing.Icon icon, java.lang.String desc, FileTreePanel treepanel)Create a new action
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)Action performed.static javax.swing.IcongetIcon()Get the icon.static java.lang.StringgetName()Get the name.static java.lang.StringgetTooltipText()Get the tooltip text.booleanisEnabled()Test if action is available in current context.- 
Methods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
 
- 
 
- 
- 
- 
Field Detail- 
iconsprotected static final javax.swing.UIDefaults icons The image icons.
 - 
treepanelprotected FileTreePanel treepanel The tree.
 
- 
 - 
Constructor Detail- 
CollapseAllActionpublic CollapseAllAction(FileTreePanel treepanel) Create a new action
 - 
CollapseAllActionpublic CollapseAllAction(java.lang.String name, javax.swing.Icon icon, java.lang.String desc, FileTreePanel treepanel)Create a new action
 
- 
 - 
Method Detail- 
isEnabledpublic boolean isEnabled() Test if action is available in current context.- Specified by:
- isEnabledin interface- javax.swing.Action
- Overrides:
- isEnabledin class- javax.swing.AbstractAction
- Returns:
- True, if available.
 
 - 
actionPerformedpublic void actionPerformed(java.awt.event.ActionEvent e) Action performed.
 - 
getIconpublic static javax.swing.Icon getIcon() Get the icon.- Returns:
- The icon.
 
 - 
getNamepublic static java.lang.String getName() Get the name.- Returns:
- The name.
 
 - 
getTooltipTextpublic static java.lang.String getTooltipText() Get the tooltip text.- Returns:
- The tooltip text.
 
 
- 
 
-