Interface FlatTitlePane.TitleBarCaptionHitTest

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.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.
    • Method Detail

      • isTitleBarCaptionAt

        java.lang.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:
        true if the component is not interested in mouse input at the given location false if the component wants process mouse input at the given location null if the component children should be checked