public interface GridPinnedModeManager extends IsPinnedModeAware
Modifier and Type | Interface and Description |
---|---|
static class |
GridPinnedModeManager.PinnedContext
Container for the previous Viewport state; to support "unpinning" to revert to the previous Viewport transformation.
|
Modifier and Type | Method and Description |
---|---|
void |
addOnEnterPinnedModeCommand(com.google.gwt.user.client.Command command) |
void |
addOnExitPinnedModeCommand(com.google.gwt.user.client.Command command) |
void |
enterPinnedMode(GridWidget gridWidget,
com.google.gwt.user.client.Command onStartCommand)
Enters "pinned" mode.
|
void |
exitPinnedMode(com.google.gwt.user.client.Command onCompleteCommand)
Exits "pinned" mode.
|
TransformMediator |
getDefaultTransformMediator()
Returns the default restriction when in "unpinned" mode.
|
GridPinnedModeManager.PinnedContext |
getPinnedContext()
Returns the pinned Context, or null if no GridWidget is pinned.
|
void |
updatePinnedContext(GridWidget gridWidget)
Updates the context to a different GridWidget and related translation.
|
isGridPinned
void enterPinnedMode(GridWidget gridWidget, com.google.gwt.user.client.Command onStartCommand)
gridWidget
- GridWidget to "pin"onStartCommand
- Command to execute on start of entry to "pinned" modevoid exitPinnedMode(com.google.gwt.user.client.Command onCompleteCommand)
onCompleteCommand
- Command to execute on completion of exiting "pinned" modevoid updatePinnedContext(GridWidget gridWidget) throws IllegalStateException
gridWidget
- GridWidget to "pin"IllegalStateException
- If "pinned" mode has not been entered.GridPinnedModeManager.PinnedContext getPinnedContext()
TransformMediator getDefaultTransformMediator()
void addOnEnterPinnedModeCommand(com.google.gwt.user.client.Command command)
void addOnExitPinnedModeCommand(com.google.gwt.user.client.Command command)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.