|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Measurable
A Measurable object returns min and max values for its x and y extent. This interface is used to autoscale the x and y axes on a drawing panel. Minimum and maximum values may NOT be valid if isMeasured returns false. Objects that store data, for example, usually return zero if data is null. Copyright: Copyright (c) 2005
Method Summary | |
---|---|
double |
getXMax()
Gets the maximum x needed to draw this object. |
double |
getXMin()
Gets the minimum x needed to draw this object. |
double |
getYMax()
Gets the maximum y needed to draw this object. |
double |
getYMin()
Gets the minimum y needed to draw this object. |
boolean |
isMeasured()
Determines if information is available to set min/max values. |
Methods inherited from interface org.opensourcephysics.display.Drawable |
---|
draw |
Method Detail |
---|
double getXMin()
double getXMax()
double getYMin()
double getYMax()
boolean isMeasured()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |