|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsidnet.core.misc.LocationContext
public class LocationContext
Constructor Summary | |
---|---|
LocationContext(int width,
int height)
Constructor. |
|
LocationContext(LocationContext locationContext)
Copy Constructor. |
Method Summary | |
---|---|
Location2D |
adapt(Location2D thisLocation,
LocationContext thisLocationContext)
Converts a Location2D information represented relative to one locationContext to a new Location2D represented relative to "thisLocationContext" without having to convert it to NCS first |
int |
getHeight()
Getter method. |
int |
getWidth()
Getter method. |
void |
setHeight(int height)
Setter method. |
void |
setWidth(int width)
Setter method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocationContext(int width, int height)
public LocationContext(LocationContext locationContext)
Method Detail |
---|
public void setWidth(int width)
public void setHeight(int height)
public int getWidth()
public int getHeight()
public Location2D adapt(Location2D thisLocation, LocationContext thisLocationContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |