 |
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.
void reCalculate()
Recalculate the extents of the highlighted image part.
static int calculate(final int val, final int max, final int size)
Returns the fraction.
int getMin()
Returns the minimum value.
Implements an Orientation which grows north to south.
Abstract base class for implementing Orientation instances.
int getCur()
Returns the current value.
OrientationNS()
Creates a new instance.
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.