public class FXPanOnTypePolicy extends AbstractFXOnTypePolicy
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_SCROLL_AMOUNT_PER_SECOND |
| Constructor and Description |
|---|
FXPanOnTypePolicy() |
| Modifier and Type | Method and Description |
|---|---|
double |
getScrollAmountPerSecond()
Returns the amount of units scrolled per second when a direction key is
pressed.
|
protected ViewportModel |
getViewportModel() |
void |
pressed(javafx.scene.input.KeyEvent event) |
void |
released(javafx.scene.input.KeyEvent event) |
protected void |
updateScrollPosition() |
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, getHost, init, setAdaptablepublic static final double DEFAULT_SCROLL_AMOUNT_PER_SECOND
public double getScrollAmountPerSecond()
protected ViewportModel getViewportModel()
public void pressed(javafx.scene.input.KeyEvent event)
pressed in class AbstractFXOnTypePolicypublic void released(javafx.scene.input.KeyEvent event)
released in class AbstractFXOnTypePolicyprotected void updateScrollPosition()
Copyright (c) 2014 itemis AG and others. All rights reserved.