public class FitCurrentPageCommand extends AbstractDocumentCommand
ZoomCommand
but it does not use a Zoom
Mode. instead it will only fit to the current page and won't need PresentationRules.Modifier and Type | Class and Description |
---|---|
static class |
FitCurrentPageCommand.Mode |
AbstractDocumentCommand.Scope
document
Constructor and Description |
---|
FitCurrentPageCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute()
This method is called in order to execute the command.
|
FitCurrentPageCommand.Mode |
getMode() |
void |
setMode(FitCurrentPageCommand.Mode mode)
Deprecated.
Will be used by injection exclusively.
|
void |
zoomFit(PageView pageView) |
void |
zoomFitHeight(PageView pageView) |
void |
zoomFitWidth(PageView pageView) |
canExecute, getRenderControls, getScope, setScope
getPageView, setPageView
getContext, propagateContextChange, setContext
canExecute, execute, getKey, isAvailable, isSelected, isSelected, setKey
protected void execute()
InjectedCommand
InjectedCommand.canExecute()
has returned
true
.execute
in class InjectedCommand
public void zoomFit(PageView pageView)
public void zoomFitWidth(PageView pageView)
public void zoomFitHeight(PageView pageView)
public void setMode(FitCurrentPageCommand.Mode mode)
Developers should not invoke this method in any direct way.
public FitCurrentPageCommand.Mode getMode()
Copyright © 2024 levigo holding gmbh. All rights reserved.