Crossfire JXClient, Trunk
com.realtime.crossfire.jxclient.gui.gauge.OrientationWE Class Reference

Implements an Orientation which grows west to east. More...

+ Inheritance diagram for com.realtime.crossfire.jxclient.gui.gauge.OrientationWE:
+ Collaboration diagram for com.realtime.crossfire.jxclient.gui.gauge.OrientationWE:

Public Member Functions

 OrientationWE ()
 Creates a new instance. More...
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation
int getCur ()
 Returns the current value. More...
 
int getH ()
 Returns the height of the highlighted part of the image. More...
 
int getHeight ()
 Returns the total height of the image. More...
 
int getMax ()
 Returns the maximum value. More...
 
int getMin ()
 Returns the minimum value. More...
 
int getW ()
 Returns the width of the highlighted part of the image. More...
 
int getWidth ()
 Returns the total width of the image. More...
 
int getX ()
 Returns the x-coordinate of the highlighted part of the image. More...
 
int getY ()
 Returns the y-coordinate of the highlighted part of the image. More...
 
boolean isLowImage ()
 Returns whether the low image should be shown. More...
 
boolean isNegativeImage ()
 Returns whether the negative image should be shown. More...
 
boolean isValid ()
 Returns whether the gauge's values are valid. More...
 
boolean setExtends (final int width, final int height)
 Sets the extends of the image. More...
 
void setHasNegativeImage (final boolean hasNegativeImage)
 Sets whether the gauge can display negative images. More...
 
boolean setValues (final int cur, final int min, final int max)
 Sets the gauge's values. More...
 

Protected Member Functions

void reCalculate ()
 Recalculate the extents of the highlighted image part. More...
 
- Protected Member Functions inherited from com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation
 AbstractOrientation ()
 Creates a new instance. More...
 
void setExtent (final int x, final int y, final int w, final int h)
 Sets the extent of the highlighted part of the image. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation
static int calculate (final int val, final int max, final int size)
 Returns the fraction. More...
 

Detailed Description

Implements an Orientation which grows west to east.

Author
Andreas Kirschbaum

Definition at line 29 of file OrientationWE.java.

Constructor & Destructor Documentation

◆ OrientationWE()

com.realtime.crossfire.jxclient.gui.gauge.OrientationWE.OrientationWE ( )

Creates a new instance.

Definition at line 34 of file OrientationWE.java.

References com.realtime.crossfire.jxclient.gui.gauge.OrientationWE.reCalculate().

+ Here is the call graph for this function:

Member Function Documentation

◆ reCalculate()


The documentation for this class was generated from the following file: