t3.portfolios
Class PointInputDeviceTypeAndButton

java.lang.Object
  extended by t3.portfolios.PointInputDeviceTypeAndButton

public final class PointInputDeviceTypeAndButton
extends java.lang.Object

A data structure class representing a pid device type and button number. Two instances with identical field data will return true when compared using the .equals() method.

Author:
pjt40

Field Summary
 int button
           
static int DRAGBUTTON
           
static int DRAGPEN
           
 int pointInputDeviceType
           
 
Constructor Summary
PointInputDeviceTypeAndButton(int pointInputDeviceType, int button)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

pointInputDeviceType

public final int pointInputDeviceType

button

public final int button

DRAGPEN

public static final int DRAGPEN
See Also:
Constant Field Values

DRAGBUTTON

public static final int DRAGBUTTON
See Also:
Constant Field Values
Constructor Detail

PointInputDeviceTypeAndButton

public PointInputDeviceTypeAndButton(int pointInputDeviceType,
                                     int button)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object