public interface DoubleClickLocationStrategy
LocationModeManager to change the ExtendedMode when
an element gets double-clicked.LocationModeManager.setDoubleClickStrategy(DoubleClickLocationStrategy)| Modifier and Type | Field and Description |
|---|---|
static DoubleClickLocationStrategy |
DEFAULT
The default implementation of a
DoubleClickLocationStrategy switches between
ExtendedMode.NORMALIZED and ExtendedMode.MAXIMIZED. |
| Modifier and Type | Method and Description |
|---|---|
ExtendedMode |
handleDoubleClick(Dockable dockable,
ExtendedMode current,
ExtendedModeEnablement enablement)
Called if the user double-clicked on
dockable. |
static final DoubleClickLocationStrategy DEFAULT
DoubleClickLocationStrategy switches between
ExtendedMode.NORMALIZED and ExtendedMode.MAXIMIZED.ExtendedMode handleDoubleClick(Dockable dockable, ExtendedMode current, ExtendedModeEnablement enablement)
dockable.dockable - the clicked elementcurrent - the current mode of dockable, might be nullenablement - tells which modes are available for dockable and which notdockable should be assigned, null indicates
that nothing should happenCopyright © 2018. All rights reserved.