com.guiseframework.component
Class AbstractComponent.DefaultFlyoverStrategy<S extends Component>

java.lang.Object
  extended by com.guiseframework.event.MouseAdapter
      extended by com.guiseframework.component.AbstractComponent.AbstractFlyoverStrategy<S>
          extended by com.guiseframework.component.AbstractComponent.AbstractFlyoverFrameStrategy<S>
              extended by com.guiseframework.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
AbstractComponent.DefaultFlyoverStrategy(S component)
          Component constructor.
 
Method Summary
protected  FlyoverFrame createFrame()
           
 
Methods inherited from class com.guiseframework.component.AbstractComponent.AbstractFlyoverFrameStrategy
closeFlyover, openFlyover
 
Methods inherited from class com.guiseframework.component.AbstractComponent.AbstractFlyoverStrategy
getComponent, getExtent, getLineExtent, getOpenEffect, getPageExtent, getStyleID, getTetherBearing, mouseEntered, mouseExited, setExtent, setLineExtent, setOpenEffect, setPageExtent, setStyleID, setTetherBearing
 
Methods inherited from class com.guiseframework.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 com.guiseframework.event.MouseListener
mouseClicked
 

Constructor Detail

AbstractComponent.DefaultFlyoverStrategy

public AbstractComponent.DefaultFlyoverStrategy(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

createFrame

protected FlyoverFrame createFrame()
Specified by:
createFrame in class AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>
Returns:
A new frame for displaying flyover information.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.