Crossfire JXClient, Trunk
Public Member Functions | List of all members
com.realtime.crossfire.jxclient.gui.gauge.Orientation Interface Reference
Inheritance diagram for com.realtime.crossfire.jxclient.gui.gauge.Orientation:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.gui.gauge.Orientation:
Collaboration graph

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)
 

Detailed Description

Interface for orientation images.

Author
Andreas Kirschbaum

Definition at line 29 of file Orientation.java.

Member Function Documentation

◆ getH()

int com.realtime.crossfire.jxclient.gui.gauge.Orientation.getH ( )

Returns the height of the highlighted part of the image.

Returns
the height

Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.

◆ getW()

int com.realtime.crossfire.jxclient.gui.gauge.Orientation.getW ( )

Returns the width of the highlighted part of the image.

Returns
the width

Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.

◆ getX()

int com.realtime.crossfire.jxclient.gui.gauge.Orientation.getX ( )

Returns the x-coordinate of the highlighted part of the image.

Returns
the x-coordinate

Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.

◆ getY()

int com.realtime.crossfire.jxclient.gui.gauge.Orientation.getY ( )

Returns the y-coordinate of the highlighted part of the image.

Returns
the y-coordinate

Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.

◆ isLowImage()

boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.isLowImage ( )

Returns whether the low image should be shown.

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().

Here is the caller graph for this function:

◆ isNegativeImage()

boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.isNegativeImage ( )

Returns whether the negative image should be shown.

Returns
whether the negative image should be shown

Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.

◆ isValid()

boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.isValid ( )

Returns whether the gauge's values are valid.

Returns
whether the values are valid

Implemented in com.realtime.crossfire.jxclient.gui.gauge.AbstractOrientation.

◆ setExtends()

boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.setExtends ( int  width,
int  height 
)

◆ setHasNegativeImage()

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.

Parameters
hasNegativeImagewhether 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().

Here is the caller graph for this function:

◆ setValues()

boolean com.realtime.crossfire.jxclient.gui.gauge.Orientation.setValues ( int  cur,
int  min,
int  max 
)

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