Class FloatPolicy.NullFloatPolicy
- java.lang.Object
-
- org.flexdock.docking.floating.policy.FloatPolicy.NullFloatPolicy
-
- All Implemented Interfaces:
FloatPolicy
- Direct Known Subclasses:
DefaultFloatPolicy
- Enclosing interface:
- FloatPolicy
public static class FloatPolicy.NullFloatPolicy extends java.lang.Object implements FloatPolicy
Provides a default implementation of the FloatPolicy interface.- Author:
- Christopher Butler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.flexdock.docking.floating.policy.FloatPolicy
FloatPolicy.NullFloatPolicy
-
-
Constructor Summary
Constructors Constructor Description NullFloatPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFloatDropAllowed(DockingEvent evt)
Returnstrue
.boolean
isFloatingAllowed(Dockable dockable)
Returnstrue
.
-
-
-
Method Detail
-
isFloatingAllowed
public boolean isFloatingAllowed(Dockable dockable)
Returnstrue
.- Specified by:
isFloatingAllowed
in interfaceFloatPolicy
- Parameters:
dockable
- theDockable
to be checked for floating support- Returns:
true
.- See Also:
FloatPolicy.isFloatingAllowed(Dockable)
-
isFloatDropAllowed
public boolean isFloatDropAllowed(DockingEvent evt)
Returnstrue
.- Specified by:
isFloatDropAllowed
in interfaceFloatPolicy
- Parameters:
evt
- theDockingEvent
to be checked for drop-to-float support- Returns:
true
.- See Also:
FloatPolicy.isFloatDropAllowed(DockingEvent)
-
-