org.jzy3d.junit.replay.events
Class MouseEventLog

java.lang.Object
  extended by org.jzy3d.junit.replay.events.AbstractEventLog
      extended by org.jzy3d.junit.replay.events.MouseEventLog
All Implemented Interfaces:
IEventLog, IMouseEventLog

public class MouseEventLog
extends AbstractEventLog
implements IMouseEventLog


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jzy3d.junit.replay.events.IMouseEventLog
IMouseEventLog.MouseEventType
 
Field Summary
protected  int button
           
protected  int clicks
           
protected  IntegerCoord2d coord
           
protected  IMouseEventLog.MouseEventType type
           
protected  int value
           
 
Fields inherited from class org.jzy3d.junit.replay.events.AbstractEventLog
since
 
Constructor Summary
MouseEventLog(IMouseEventLog.MouseEventType type, int x, int y, int button, long since)
           
MouseEventLog(IMouseEventLog.MouseEventType type, int value, int button, long since)
           
 
Method Summary
 int getButton()
           
 int getClicks()
           
 IntegerCoord2d getCoord()
           
 IMouseEventLog.MouseEventType getType()
           
 int getValue()
           
 String toString()
           
 
Methods inherited from class org.jzy3d.junit.replay.events.AbstractEventLog
since
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jzy3d.junit.replay.events.IEventLog
since
 

Field Detail

type

protected IMouseEventLog.MouseEventType type

coord

protected IntegerCoord2d coord

value

protected int value

button

protected int button

clicks

protected int clicks
Constructor Detail

MouseEventLog

public MouseEventLog(IMouseEventLog.MouseEventType type,
                     int x,
                     int y,
                     int button,
                     long since)

MouseEventLog

public MouseEventLog(IMouseEventLog.MouseEventType type,
                     int value,
                     int button,
                     long since)
Method Detail

getCoord

public IntegerCoord2d getCoord()
Specified by:
getCoord in interface IMouseEventLog

getButton

public int getButton()
Specified by:
getButton in interface IMouseEventLog

getClicks

public int getClicks()
Specified by:
getClicks in interface IMouseEventLog

getType

public IMouseEventLog.MouseEventType getType()
Specified by:
getType in interface IMouseEventLog

getValue

public int getValue()
Specified by:
getValue in interface IMouseEventLog

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All rights reserved.