Package io.guise.framework.component
Class AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>
java.lang.Object
io.guise.framework.event.MouseAdapter
io.guise.framework.component.AbstractComponent.AbstractFlyoverStrategy<S>
io.guise.framework.component.AbstractComponent.AbstractFlyoverFrameStrategy<S>
- Type Parameters:
S
- The type of component for which this object is to control flyovers.
- All Implemented Interfaces:
Component.FlyoverStrategy<S>
,GuiseEventListener
,MouseListener
,EventListener
- Direct Known Subclasses:
AbstractComponent.DefaultFlyoverStrategy
- Enclosing class:
- AbstractComponent
public abstract static class AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>
extends AbstractComponent.AbstractFlyoverStrategy<S>
An abstract flyover strategy that uses flyover frames.
- Author:
- Garret Wilson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Closes the flyover for the component.protected abstract FlyoverFrame
void
Shows a flyover for the component.Methods inherited from class io.guise.framework.component.AbstractComponent.AbstractFlyoverStrategy
getComponent, getExtent, getLineExtent, getOpenEffect, getPageExtent, getStyleID, getTetherBearing, mouseEntered, mouseExited, setExtent, setLineExtent, setOpenEffect, setPageExtent, setStyleID, setTetherBearing
Methods inherited from class io.guise.framework.event.MouseAdapter
mouseClicked
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.guise.framework.event.MouseListener
mouseClicked
-
Constructor Details
-
AbstractFlyoverFrameStrategy
Component constructor.- Parameters:
component
- The component for which this object will control flyovers.- Throws:
NullPointerException
- if the given component isnull
.
-
-
Method Details
-
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:
-
closeFlyover
public void closeFlyover()Closes the flyover for the component.This implementation closes any open flyover frame.
-
createFrame
- Returns:
- A new frame for displaying flyover information.
-