de.lmu.ifi.dbs.elki.visualization.batikutil
Class CSSHoverClass

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.batikutil.CSSHoverClass
All Implemented Interfaces:
EventListener

public class CSSHoverClass
extends Object
implements EventListener

Do a hover effect using a CSS class.


Field Summary
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 Summary
CSSHoverClass(String overclass, String outclass)
          Constructor without 'clickisout' option.
CSSHoverClass(String overclass, String outclass, boolean clickisout)
          Constructor
 
Method Summary
 void handleEvent(Event evt)
          Event handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

overclass

private String overclass
Class to set when over


outclass

private String outclass
Class to set when out


clickisout

private boolean clickisout
Consider a click as 'out'?

Constructor Detail

CSSHoverClass

public CSSHoverClass(String overclass,
                     String outclass,
                     boolean clickisout)
Constructor

Parameters:
overclass - class to set when over
outclass - class to set when out
clickisout - consider a click to be an 'out' event

CSSHoverClass

public CSSHoverClass(String overclass,
                     String outclass)
Constructor without 'clickisout' option.

Parameters:
overclass - class to set when over
outclass - class to set when out
Method Detail

handleEvent

public void handleEvent(Event evt)
Event handler

Specified by:
handleEvent in interface EventListener

Release 0.4.0 (2011-09-20_1324)