|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.mewt.utils.Utils
public class Utils
The Class Utils.
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
static javax.microedition.lcdui.Image |
load(java.lang.String imagePath)
Load. |
static javax.microedition.lcdui.Image |
loadImage(java.lang.String imageName)
Load image. |
static javax.microedition.lcdui.Image |
scale(javax.microedition.lcdui.Image temp,
int maxX,
int maxY)
Scale. |
static javax.microedition.lcdui.Image |
scale(java.lang.String imagePath,
int maxX,
int maxY)
Scale. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
public static javax.microedition.lcdui.Image loadImage(java.lang.String imageName)
imageName - the image name
public static javax.microedition.lcdui.Image scale(javax.microedition.lcdui.Image temp,
int maxX,
int maxY)
temp - the tempmaxX - the max xmaxY - the max y
public static javax.microedition.lcdui.Image scale(java.lang.String imagePath,
int maxX,
int maxY)
throws java.io.IOException
imagePath - the image pathmaxX - the max xmaxY - the max y
java.io.IOException - Signals that an I/O exception has occurred.public static javax.microedition.lcdui.Image load(java.lang.String imagePath)
imagePath - the image path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||