public interface Orientation
Modifier and Type | Method and Description |
---|---|
int |
getH()
Returns the height of the highlighted part of the image.
|
int |
getW()
Returns the width of the highlighted part of the image.
|
int |
getX()
Returns the x-coordinate of the highlighted part of the image.
|
int |
getY()
Returns the y-coordinate of the highlighted part of the image.
|
boolean |
isLowImage()
Returns whether the low image should be shown.
|
boolean |
isNegativeImage()
Returns whether the negative image should be shown.
|
boolean |
isValid()
Returns whether the gauge's values are valid.
|
boolean |
setExtends(int width,
int height)
Sets the extends of the image.
|
void |
setHasNegativeImage(boolean hasNegativeImage)
Sets whether the gauge can display negative images.
|
boolean |
setValues(int cur,
int min,
int max)
Sets the gauge's values.
|
void setHasNegativeImage(boolean hasNegativeImage)
hasNegativeImage
- whether the gauge can display negative imagesboolean setValues(int cur, int min, int max)
cur
- the current valuemin
- the minimum valuemax
- the maximum valueboolean setExtends(int width, int height)
width
- the widthheight
- the heightint getX()
int getY()
int getW()
int getH()
boolean isNegativeImage()
boolean isLowImage()
boolean isValid()