Class AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>

    • Constructor Detail

      • AbstractFlyoverFrameStrategy

        public AbstractFlyoverFrameStrategy​(S component)
        Component constructor.
        Parameters:
        component - The component for which this object will control flyovers.
        Throws:
        java.lang.NullPointerException - if the given component is null.
    • Method Detail

      • openFlyover

        public void openFlyover()
        Shows a flyover for the component.

        This implementation creates a flyover frame if necessary and then opens the frame.

        See Also:
        createFrame()
      • closeFlyover

        public void closeFlyover()
        Closes the flyover for the component.

        This implementation closes any open flyover frame.

      • createFrame

        protected abstract FlyoverFrame createFrame()
        Returns:
        A new frame for displaying flyover information.