Package com.formdev.flatlaf.ui
Interface FlatTitlePane.TitleBarCaptionHitTest
-
- All Known Implementing Classes:
FlatSplitPaneUI,FlatTabbedPaneUI,FlatToolBarUI
- Enclosing class:
- FlatTitlePane
public static interface FlatTitlePane.TitleBarCaptionHitTestFor custom components useFlatClientProperties.COMPONENT_TITLE_BAR_CAPTIONinstead of this interface.- Since:
- 3.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleanisTitleBarCaptionAt(int x, int y)Invoked for a component that is enabled and has mouse listeners, to check whether it processes mouse input at the given x/y location.
-
-
-
Method Detail
-
isTitleBarCaptionAt
Boolean isTitleBarCaptionAt(int x, int y)
Invoked for a component that is enabled and has mouse listeners, to check whether it processes mouse input at the given x/y location. Useful for components that do not use mouse input on whole component bounds. E.g. a tabbed pane with a few tabs has some empty space beside the tabs that can be used to move the window.- Returns:
trueif the component is not interested in mouse input at the given locationfalseif the component wants process mouse input at the given locationnullif the component children should be checked
-
-