Package io.guise.framework.component
Class AbstractComponent.DefaultFlyoverStrategy<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>
-
- io.guise.framework.component.AbstractComponent.DefaultFlyoverStrategy<S>
-
- Type Parameters:
S
- The type of component for which this object is to control flyovers.
- All Implemented Interfaces:
Component.FlyoverStrategy<S>
,GuiseEventListener
,MouseListener
,java.util.EventListener
- Enclosing class:
- AbstractComponent
public static class AbstractComponent.DefaultFlyoverStrategy<S extends Component> extends AbstractComponent.AbstractFlyoverFrameStrategy<S>
The default strategy for showing and hiding flyovers in response to mouse events. //TODO del This implementation uses flyover frames to represent flyovers. //TODO del This implementation defaults to an opacity fade effect for opening with a 500 millisecond delay.- Author:
- Garret Wilson
-
-
Constructor Summary
Constructors Constructor Description DefaultFlyoverStrategy(S component)
Component constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FlyoverFrame
createFrame()
-
Methods inherited from class io.guise.framework.component.AbstractComponent.AbstractFlyoverFrameStrategy
closeFlyover, openFlyover
-
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 Detail
-
DefaultFlyoverStrategy
public DefaultFlyoverStrategy(S component)
Component constructor.- Parameters:
component
- The component for which this object will control flyovers.- Throws:
java.lang.NullPointerException
- if the given component isnull
.
-
-
Method Detail
-
createFrame
protected FlyoverFrame createFrame()
- Specified by:
createFrame
in classAbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>
- Returns:
- A new frame for displaying flyover information.
-
-