|
Parkinson Disease Database | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttablet.TabletInfo
public class TabletInfo
Class stores information about tablet
Copyright: Copyright (c) 2005 Miroslav Skrbek, Jan Dolezel
Company: ÈVUT FEL, Prague
Field Summary | |
---|---|
private int |
maxx
maximal x coordinate |
private int |
maxy
maximal y coordinate |
private int |
minx
minimal x coordinate |
private int |
miny
minimal y coordinate |
private java.lang.String |
name
tablet name |
Constructor Summary | |
---|---|
TabletInfo(java.lang.String name,
int maxx,
int maxy)
creates new tablet information with x and y minimal coordinates set to 0 |
|
TabletInfo(java.lang.String name,
int minx,
int maxx,
int miny,
int maxy)
creates new tablet information |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getHeight()
returns tablet's height |
int |
getMaxX()
returns tablet's maximal x coordinate |
int |
getMaxY()
returns tablet's maximal y coordinate |
int |
getMinX()
returns tablet's minimal x coordinate |
int |
getMinY()
returns tablet's minimal y coordinate |
java.lang.String |
getTabletName()
returns tablet's name |
int |
getWidth()
returns tablet's width |
java.lang.String |
toString()
returns string representation of tablet's naem and measures |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String name
private int minx
private int maxx
private int miny
private int maxy
Constructor Detail |
---|
public TabletInfo(java.lang.String name, int maxx, int maxy)
name
- tablet namemaxx
- maximal x coordinatemaxy
- maximal y coordinatepublic TabletInfo(java.lang.String name, int minx, int maxx, int miny, int maxy)
name
- tablet nameminx
- minimal x coordinatemaxx
- maximal x coordinateminy
- minimal y coordinatemaxy
- maximal y coordinateMethod Detail |
---|
public java.lang.String getTabletName()
public int getMinX()
public int getMinY()
public int getMaxX()
public int getMaxY()
public int getWidth()
public int getHeight()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
Parkinson Disease Database | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |