 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.gauge;
int w
The width of the highlighted part of the image.
void reCalculate()
Recalculate the extents of the highlighted image part.
int getMax()
Returns the maximum value.
int cur
The current value.
OrientationWE()
Creates a new instance.
void setExtent(final int x, final int y, final int w, final int h)
Sets the extent of the highlighted part of the image.
static int calculate(final int val, final int max, final int size)
Returns the fraction.
int getMin()
Returns the minimum value.
Abstract base class for implementing Orientation instances.
int getCur()
Returns the current value.
Implements an Orientation which grows west to east.
boolean isNegativeImage()
Returns whether the negative image should be shown.
int getHeight()
Returns the total height of the image.
int getWidth()
Returns the total width of the image.
int min
The minimum value; the gauge is displayed as empty if.