 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.gauge;
int getMax()
Returns the maximum value.
int h
The height of the highlighted part of the image.
int cur
The current value.
void setExtent(final int x, final int y, final int w, final int h)
Sets the extent of the highlighted part of the image.
Implements an Orientation which grows south to north.
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.
boolean isNegativeImage()
Returns whether the negative image should be shown.
void reCalculate()
Recalculate the extents of the highlighted image part.
int getHeight()
Returns the total height of the image.
int height
The total height of the image.
int getWidth()
Returns the total width of the image.
OrientationSN()
Creates a new instance.
int min
The minimum value; the gauge is displayed as empty if.