|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.asdf.utils.ChipOffSet
public class ChipOffSet
Describes the offset of a chip instance from the center of the applicable area.
| Field Summary | |
|---|---|
int |
off_x
|
int |
off_y
|
int |
on_top
|
int |
value
|
| Constructor Summary | |
|---|---|
ChipOffSet()
Default constructor. |
|
ChipOffSet(int val,
int offx,
int offy)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addOnTop()
Increases topness of this chip. |
int |
compareTo(ChipOffSet o)
Comparator. |
void |
setOnTop()
Sets this chip to be on top. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int value
public int off_x
public int off_y
public int on_top
| Constructor Detail |
|---|
public ChipOffSet()
public ChipOffSet(int val,
int offx,
int offy)
val - Value of the chip.offx - Offset on x-axis.offy - Offset on y-axis.| Method Detail |
|---|
public int compareTo(ChipOffSet o)
compareTo in interface java.lang.Comparable<ChipOffSet>public void setOnTop()
public void addOnTop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||