|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opengts.util.PixelDimension
public class PixelDimension
A container for pixel width and height
| Constructor Summary | |
|---|---|
PixelDimension(int w,
int h)
Constructor |
|
PixelDimension(PixelDimension pd)
Copy constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a copy of this PixelDimension |
int |
getHeight()
Gets the height of the pixel |
int |
getWidth()
Gets the width of the pixel |
boolean |
isValid()
Returns ture if the pixel dimensions are valid |
void |
setHeight(int h)
Sets the height of the pixel |
void |
setWidth(int w)
Sets the witdh of the pixel |
java.lang.String |
toString()
Returns a String representation of this instance |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PixelDimension(int w,
int h)
w - The width of the pixelh - The height of the pixelpublic PixelDimension(PixelDimension pd)
pd - The PixelDimension to copy| Method Detail |
|---|
public java.lang.Object clone()
clone in class java.lang.Objectpublic void setWidth(int w)
w - The width of the pixelpublic int getWidth()
public void setHeight(int h)
h - The height of the pixelpublic int getHeight()
public boolean isValid()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||