|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.miginfocom.util.gfx.geometry.numbers.AtFollow
public final class AtFollow
A value that only returnes the referrent value or start if the AtRefRangeNumber interface methods
are used.
Use instance to get the only needed instance.
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
static AtFollow |
getInstance()
Returns the sole instance |
int |
getIntValue(float ref)
Returns a value rounded to an int, possibly depending on the ref. |
int |
getIntValue(float start,
float end)
Returns offset rounded to an integer. |
float |
getValue(float ref)
Returns a value, possibly depending on the ref. |
float |
getValue(float start,
float end)
Returns start |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static AtFollow getInstance()
public float getValue(float ref)
AtRefNumberref.
getValue in interface AtRefNumberref - Some reference value. Might be used or disregarded depending on implementation.
public int getIntValue(float ref)
AtRefNumberint, possibly depending on the ref.
getIntValue in interface AtRefNumberref - Some reference value. Might be used or disregarded depending on implementation.
int.
public final float getValue(float start,
float end)
start
getValue in interface AtRefRangeNumberstart - Returnedend - Not used.
start.
public final int getIntValue(float start,
float end)
offset rounded to an integer. The integer value is cached.
getIntValue in interface AtRefRangeNumberstart - Returned rounded.end - Not used.
start rounded to an int.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||