public class PointerDetectorWindowMediaParam extends Object
| Constructor and Description |
|---|
PointerDetectorWindowMediaParam(String id,
int height,
int width,
int upperRightX,
int upperRightY)
Create a PointerDetectorWindowMediaParam
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActiveImage()
get uri of the image to be used when the pointer is inside the window
|
int |
getHeight()
get height in pixels
|
String |
getId()
get id of the window for pointer detection
|
String |
getImage()
get uri of the image to be used for the window.
|
Float |
getImageTransparency()
get transparency ratio of the image
|
int |
getUpperRightX()
get X coordinate in pixels of the upper left corner
|
int |
getUpperRightY()
get Y coordinate in pixels of the upper left corner
|
int |
getWidth()
get width in pixels
|
void |
setActiveImage(String activeImage)
set uri of the image to be used when the pointer is inside the window
|
void |
setHeight(int height)
set height in pixels
|
void |
setId(String id)
set id of the window for pointer detection
|
void |
setImage(String image)
set uri of the image to be used for the window.
|
void |
setImageTransparency(Float imageTransparency)
set transparency ratio of the image
|
void |
setUpperRightX(int upperRightX)
set X coordinate in pixels of the upper left corner
|
void |
setUpperRightY(int upperRightY)
set Y coordinate in pixels of the upper left corner
|
void |
setWidth(int width)
set width in pixels
|
public PointerDetectorWindowMediaParam(String id, int height, int width, int upperRightX, int upperRightY)
public String getId()
public void setId(String id)
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
public int getUpperRightX()
public void setUpperRightX(int upperRightX)
public int getUpperRightY()
public void setUpperRightY(int upperRightY)
public String getActiveImage()
public void setActiveImage(String activeImage)
public Float getImageTransparency()
public void setImageTransparency(Float imageTransparency)
public String getImage()
activeImage has been set, it will only be shown when the pointer is outside of the window.public void setImage(String image)
activeImage has been set, it will only be shown when the pointer is outside of the window.Copyright © 2015. All rights reserved.