public class CSSHoverClass extends Object implements EventListener
Modifier and Type | Field and Description |
---|---|
private boolean |
clickisout
Consider a click as 'out'?
|
private String |
outclass
Class to set when out
|
private String |
overclass
Class to set when over
|
Constructor and Description |
---|
CSSHoverClass(String overclass,
String outclass)
Constructor without 'clickisout' option.
|
CSSHoverClass(String overclass,
String outclass,
boolean clickisout)
Constructor
|
private String overclass
private String outclass
private boolean clickisout
public CSSHoverClass(String overclass, String outclass, boolean clickisout)
overclass
- class to set when overoutclass
- class to set when outclickisout
- consider a click to be an 'out' eventpublic void handleEvent(Event evt)
handleEvent
in interface EventListener