Crossfire JXClient, Trunk
|
Public Member Functions | |
int | getH () |
int | getW () |
int | getX () |
int | getY () |
boolean | isLowImage () |
boolean | isNegativeImage () |
boolean | isValid () |
boolean | setExtends (int width, int height) |
void | setHasNegativeImage (boolean hasNegativeImage) |
boolean | setValues (int cur, int min, int max) |
Interface for orientation images.
Definition at line 29 of file Orientation.java.
int com.realtime.crossfire.jxclient.gui.gauge.Orientation.getH | ( | ) |
Returns the height of the highlighted part of the image.
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
int com.realtime.crossfire.jxclient.gui.gauge.Orientation.getW | ( | ) |
Returns the width of the highlighted part of the image.
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
int com.realtime.crossfire.jxclient.gui.gauge.Orientation.getX | ( | ) |
Returns the x-coordinate of the highlighted part of the image.
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
int com.realtime.crossfire.jxclient.gui.gauge.Orientation.getY | ( | ) |
Returns the y-coordinate of the highlighted part of the image.
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.isLowImage | ( | ) |
Returns whether the low image should be shown.
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
Referenced by com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientationTest.isLowImage().
boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.isNegativeImage | ( | ) |
Returns whether the negative image should be shown.
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.isValid | ( | ) |
Returns whether the gauge's values are valid.
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.setExtends | ( | int | width, |
int | height | ||
) |
Sets the extends of the image.
width | the width |
height | the height |
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
Referenced by com.realtime.crossfire.jxclient.gui.gauge.OrientationTest.checkNegative(), com.realtime.crossfire.jxclient.gui.gauge.OrientationTest.checkPositive(), com.realtime.crossfire.jxclient.gui.gauge.GUIDupGauge.GUIDupGauge(), com.realtime.crossfire.jxclient.gui.gauge.GUIGauge.GUIGauge(), com.realtime.crossfire.jxclient.gui.gauge.GUIGauge.setBounds(), and com.realtime.crossfire.jxclient.gui.gauge.GUIDupGauge.setBounds().
void com.realtime.crossfire.jxclient.gui.gauge.Orientation.setHasNegativeImage | ( | boolean | hasNegativeImage | ) |
Sets whether the gauge can display negative images. By default, negative images are not supported.
hasNegativeImage | whether the gauge can display negative images |
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
Referenced by com.realtime.crossfire.jxclient.gui.gauge.OrientationTest.checkNegative(), com.realtime.crossfire.jxclient.gui.gauge.OrientationTest.checkPositive(), and com.realtime.crossfire.jxclient.gui.gauge.GUIGauge.GUIGauge().
boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.setValues | ( | int | cur, |
int | min, | ||
int | max | ||
) |
Sets the gauge's values.
cur | the current value |
min | the minimum value |
max | the maximum value |
Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.
Referenced by com.realtime.crossfire.jxclient.gui.gauge.OrientationTest.checkNegative(), com.realtime.crossfire.jxclient.gui.gauge.OrientationTest.checkPositive(), com.realtime.crossfire.jxclient.gui.gauge.GUIDupGauge.GUIDupGauge(), com.realtime.crossfire.jxclient.gui.gauge.GUIGauge.GUIGauge(), com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientationTest.isLowImage(), com.realtime.crossfire.jxclient.gui.gauge.GUIGauge.setValues(), and com.realtime.crossfire.jxclient.gui.gauge.GUIDupGauge.setValues().