info.magnolia.ui.mediaeditor.action.feature
Class ScaleToFitAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<ScaleToFitActionDefinition>
info.magnolia.ui.mediaeditor.action.feature.ScaleToFitAction
- All Implemented Interfaces:
- Action
public class ScaleToFitAction
- extends AbstractAction<ScaleToFitActionDefinition>
Forces an instance of Scalable
to scale to fit the available space.
Method Summary |
void |
execute()
Executes the action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaleToFitAction
public ScaleToFitAction(ScaleToFitActionDefinition def,
MediaEditorView view)
execute
public void execute()
throws ActionExecutionException
- Description copied from interface:
Action
- Executes the action.
- Throws:
ActionExecutionException
- if an error occurs performing the action
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.