public class ZoomAction extends AbstractAction
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
ZoomAction(JTreeMap jTreeMap,
TreeMapNode node,
Icon icon)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
boolean |
isEnabled() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabledpublic ZoomAction(JTreeMap jTreeMap, TreeMapNode node, Icon icon)
node - where you want to zoom/unzoomicon - icon corresponding to the operation (zoom or unzoom)public void actionPerformed(ActionEvent e)
public boolean isEnabled()
isEnabled in interface ActionisEnabled in class AbstractActionCopyright © 2005–2019 Appendium - Portfolio Financing Platform. All rights reserved.