net.infonode.tabbedpanel.hover
public class TitledTabHoverAction extends Object implements HoverListener
TitledTabHoverAction is an action that makes it easy to change properties for a hovered {@link TitledTab}. The action is meant to be set as a {@link HoverListener} in the {@link TitledTabProperties}.
This hover action contains a TitledTabProperties object that will be added as super object to the hovered titled tab and then automatically removed when the titled tab is no longer hovered.
Since: ITP 1.3.0
Version: $Revision: 1.12 $
See Also: TitledTab TitledTabProperties
Constructor Summary | |
---|---|
TitledTabHoverAction()
Creates a TitledTabHoverAction containing an empty TitledTabProperties
object. | |
TitledTabHoverAction(TitledTabProperties props)
Creates a TitledTabHoverAction with the given TitledTabProperties
object.
|
Method Summary | |
---|---|
TitledTabProperties | getTitledTabProperties()
Gets the TitledTabProperties object for this action.
|
void | mouseEntered(HoverEvent event) |
void | mouseExited(HoverEvent event) |
Parameters: props reference to a TitledTabProperties object
Returns: reference to the TitledTabProperties