Class FloatPolicy.NullFloatPolicy
java.lang.Object
org.flexdock.docking.floating.policy.FloatPolicy.NullFloatPolicy
- All Implemented Interfaces:
FloatPolicy
- Direct Known Subclasses:
DefaultFloatPolicy
- Enclosing interface:
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrue.booleanisFloatingAllowed(Dockable dockable) Returnstrue.
-
Constructor Details
-
NullFloatPolicy
public NullFloatPolicy()
-
-
Method Details
-
isFloatingAllowed
Returnstrue.- Specified by:
isFloatingAllowedin interfaceFloatPolicy- Parameters:
dockable- theDockableto be checked for floating support- Returns:
true.- See Also:
-
isFloatDropAllowed
Returnstrue.- Specified by:
isFloatDropAllowedin interfaceFloatPolicy- Parameters:
evt- theDockingEventto be checked for drop-to-float support- Returns:
true.- See Also:
-