|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nutiteq.controls.OnScreenZoomControls
public class OnScreenZoomControls
Zoom controls to be used on touch screen. Displays images on screen and also handles pressing on them.
Used image needs to have zoom images in one image - zoom in is first frame and zoom out second frame. Frames need to be the same size.
| Field Summary | |
|---|---|
static int |
CONTROL_ZOOM_IN
|
static int |
CONTROL_ZOOM_OUT
|
static java.lang.String |
DEFAULT_ZOOM_IMAGE
Default zoom controls image path for library. |
| Constructor Summary | |
|---|---|
OnScreenZoomControls(com.nutiteq.wrappers.Image controlsImage)
Create zoom controls with given image. |
|
| Method Summary | |
|---|---|
int |
getControlAction(int x,
int y)
Not part of public API |
void |
paint(com.nutiteq.wrappers.Graphics g,
int displayWidth,
int displayHeight)
Not part of public API |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_ZOOM_IMAGE
public static final int CONTROL_ZOOM_IN
public static final int CONTROL_ZOOM_OUT
| Constructor Detail |
|---|
public OnScreenZoomControls(com.nutiteq.wrappers.Image controlsImage)
controlsImage - image to be used| Method Detail |
|---|
public void paint(com.nutiteq.wrappers.Graphics g,
int displayWidth,
int displayHeight)
g - displayWidth - displayHeight -
public int getControlAction(int x,
int y)
x - y -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||