Package elki.visualization.batikutil
Class CSSHoverClass
- java.lang.Object
-
- elki.visualization.batikutil.CSSHoverClass
-
- All Implemented Interfaces:
org.w3c.dom.events.EventListener
public class CSSHoverClass extends java.lang.Object implements org.w3c.dom.events.EventListener
Do a hover effect using a CSS class.- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
clickisout
Consider a click as 'out'?private java.lang.String
outclass
Class to set when outprivate java.lang.String
overclass
Class to set when over
-
Constructor Summary
Constructors Constructor Description CSSHoverClass(java.lang.String overclass, java.lang.String outclass)
Constructor without 'clickisout' option.CSSHoverClass(java.lang.String overclass, java.lang.String outclass, boolean clickisout)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEvent(org.w3c.dom.events.Event evt)
Event handler
-
-
-
Constructor Detail
-
CSSHoverClass
public CSSHoverClass(java.lang.String overclass, java.lang.String outclass, boolean clickisout)
Constructor- Parameters:
overclass
- class to set when overoutclass
- class to set when outclickisout
- consider a click to be an 'out' event
-
CSSHoverClass
public CSSHoverClass(java.lang.String overclass, java.lang.String outclass)
Constructor without 'clickisout' option.- Parameters:
overclass
- class to set when overoutclass
- class to set when out
-
-