|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.infonode.tabbedpanel.hover.TitledTabHoverAction
public class TitledTabHoverAction
TitledTabHoverAction is an action that makes it easy to change properties for
a hovered TitledTab. The action is meant to be set as a HoverListener
in the 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.
TitledTab,
TitledTabProperties| Field Summary | |
|---|---|
private TitledTabProperties |
props
|
| 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)
Called when the mouse enters the hoverable component |
void |
mouseExited(HoverEvent event)
Called when the mouse exits the hoverable component |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private TitledTabProperties props
| Constructor Detail |
|---|
public TitledTabHoverAction()
public TitledTabHoverAction(TitledTabProperties props)
props - reference to a TitledTabProperties object| Method Detail |
|---|
public TitledTabProperties getTitledTabProperties()
public void mouseEntered(HoverEvent event)
HoverListener
mouseEntered in interface HoverListenerevent - the hover eventpublic void mouseExited(HoverEvent event)
HoverListener
mouseExited in interface HoverListenerevent - the hover event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||