|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.utils.ImageInfo
public class ImageInfo
The Class ImageInfo.
Constructor Summary | |
---|---|
ImageInfo(java.net.URL imageResource,
int x,
int y,
int width,
int height)
Instantiates a new image info. |
Method Summary | |
---|---|
int |
getHeight()
Gets the height. |
java.net.URL |
getImageResource()
Gets the image resource. |
int |
getWidth()
Gets the width. |
int |
getX()
Gets the x. |
int |
getY()
Gets the y. |
boolean |
isAutoRatioByImageHeight()
Checks if is auto ratio by image height. |
void |
setAutoRatioByImageHeight(boolean isAutoRatioByImageHeight)
Sets the auto ratio by image height. |
void |
setHeight(int height)
Sets the height. |
void |
setImageResource(java.net.URL imageResource)
Sets the image resource. |
void |
setWidth(int width)
Sets the width. |
void |
setX(int x)
Sets the x. |
void |
setY(int y)
Sets the y. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageInfo(java.net.URL imageResource, int x, int y, int width, int height)
imageResource
- the image resourcex
- the xy
- the ywidth
- the widthheight
- the heightMethod Detail |
---|
public int getHeight()
public java.net.URL getImageResource()
public int getWidth()
public int getX()
public int getY()
public boolean isAutoRatioByImageHeight()
public void setAutoRatioByImageHeight(boolean isAutoRatioByImageHeight)
isAutoRatioByImageHeight
- the new auto ratio by image heightpublic void setHeight(int height)
height
- the new heightpublic void setImageResource(java.net.URL imageResource)
imageResource
- the new image resourcepublic void setWidth(int width)
width
- the new widthpublic void setX(int x)
x
- the new xpublic void setY(int y)
y
- the new y
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |