public class ImageViewerZoomFitAction extends ImageViewerAction
TAG_ACCELERATOR, TAG_MNEMONIC, TAG_NAME, TAG_TOOLTIPchangeSupport, 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 |
|---|
ImageViewerZoomFitAction(ImageViewer application)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
protected ImageIcon |
getDefaultIcon()
Coloca ícone padronizado, caso não seja definido algum.
|
protected void |
handleActionPerformed(ActionEvent ae)
Método que implementa a lógica da ação.
|
actionPerformed, getClassString, getString, getStrokeFromTextgetApplicationaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic ImageViewerZoomFitAction(ImageViewer application)
application - aplicação.protected ImageIcon getDefaultIcon()
getDefaultIcon in class AbstractSimpleApplicationAction<ImageViewer>protected void handleActionPerformed(ActionEvent ae)
handleActionPerformed in class AbstractSimpleApplicationAction<ImageViewer>ae - evento que gerou a ação.Copyright © 2016. All rights reserved.