|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.mode.PreviousModeDoubleClickStrategy
@FrameworkOnly public class PreviousModeDoubleClickStrategy
If the current mode is ExtendedMode.MAXIMIZED, then this strategy asks
the CLocationModeManager for the last mode a Dockable was in and
selects this mode. Otherwise ExtendedMode.MAXIMIZED is selected.
| Field Summary |
|---|
| Fields inherited from interface bibliothek.gui.dock.facile.mode.DoubleClickLocationStrategy |
|---|
DEFAULT |
| Constructor Summary | |
|---|---|
PreviousModeDoubleClickStrategy(CLocationModeManager manager)
Creates a new strategy |
|
| Method Summary | |
|---|---|
ExtendedMode |
handleDoubleClick(Dockable dockable,
ExtendedMode current,
ExtendedModeEnablement enablement)
Called if the user double-clicked on dockable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreviousModeDoubleClickStrategy(CLocationModeManager manager)
manager - the manager to ask for the previous mode, not null| Method Detail |
|---|
public ExtendedMode handleDoubleClick(Dockable dockable,
ExtendedMode current,
ExtendedModeEnablement enablement)
DoubleClickLocationStrategydockable.
handleDoubleClick in interface DoubleClickLocationStrategydockable - the clicked elementcurrent - the current mode of dockable, might be nullenablement - tells which modes are available for dockable and which not
dockable should be assigned, null indicates
that nothing should happen
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||