Class FirstPageCommand
java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.commands.AbstractContextCommand
com.levigo.jadice.web.client.commands.AbstractPageViewCommand
com.levigo.jadice.web.client.commands.AbstractMouseCommand
com.levigo.jadice.web.client.commands.internal.AbstractSetCurrentPageCommand
com.levigo.jadice.web.client.commands.FirstPageCommand
- All Implemented Interfaces:
Command
public final class FirstPageCommand
extends com.levigo.jadice.web.client.commands.internal.AbstractSetCurrentPageCommand
Command that navigates to the first page.
Positioning of the visible rectangle is configured via
PageView.setVisibleRectPositionOnPageChange(VisibleRectPositioningStrategy)
.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.levigo.jadice.web.client.commands.internal.AbstractSetCurrentPageCommand
canExecute, execute
Methods inherited from class com.levigo.jadice.web.client.commands.AbstractMouseCommand
clearInjections, isDoubleClicked, setMouseEvent
Methods inherited from class com.levigo.jadice.web.client.commands.AbstractPageViewCommand
getPageView, setPageView
Methods inherited from class com.levigo.jadice.web.client.commands.AbstractContextCommand
getContext, propagateContextChange, setContext
Methods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, execute, getKey, isSelected, isSelected, setKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.levigo.jadice.web.client.util.command.Command
getID, isAvailable, isAvailable
-
Constructor Details
-
FirstPageCommand
public FirstPageCommand()
-
-
Method Details
-
getTargetPage
protected int getTargetPage()- Specified by:
getTargetPage
in classcom.levigo.jadice.web.client.commands.internal.AbstractSetCurrentPageCommand
-