Top  | Previous | Next

Level Indicator

display_LevelIndicator1

display_LevelIndicator2

display_LevelIndicator3

Description

A component that displays the level of fullness of some container. This is basically a visually simplified version of the Cylindrical Tank component. By turning on and off the Gradient and Liquid Waves properties, you can control how fancy this component looks. This component is well suited to be put behind images of tanks with transparent cutaways.

Properties

Appearance

Font

Font of text of this component

Scripting name

font

Data type

Font

Units

Units of measure for tank contents

Scripting name

units

Data type

String

Show Value

Show numeric value, capacity, and units?

Scripting name

showValue

Data type

boolean

Show Percentage

Show percentage of tank filled?

Scripting name

showPercent

Data type

boolean

Value Format

Format string used for the value

Scripting name

valueFormat

Data type

String

Percent Format

Format string used for the percentage

Scripting name

percentFormat

Data type

String

Orientation

Determines which way the level "grows" for an increase in value

Scripting name

orientation

Data type

int

Values

0

Bottom to Top

1

Left to Right

2

Top to Bottom

3

Right to Left

Filled Color

Set the color of filled portion.

Scripting name

foreground

Data type

Color

Background Color

The color of the background.

Scripting name

background

Data type

Color

Gradient

Draw level as 3D gradient?.

Scripting name

gradient

Data type

boolean

Liquid Waves

Draw liquid 'waves'?

Scripting name

waves

Data type

boolean

Wave Length

The length of each 'wave'

Scripting name

waveLength

Data type

int

Flags

expert

Wave Height

The height of each 'wave'

Scripting name

waveHeight

Data type

int

Flags

expert

Font Color

 

Scripting name

fontColor

Data type

Color

Anti Alias

Draw component using anti-aliasing?

Scripting name

antiAlias

Data type

boolean

Flags

expert

Styles

Contains the component's styles

Scripting name

styles

Data type

Dataset

Flags

bindable | expert

Common

Name

The name of this component.

Scripting name

name

Data type

String

Flags

bindable

Visible

If disabled, the component will be hidden.

Scripting name

visible

Data type

boolean

Flags

bindable

Border

The border surrounding this component. NOTE that the border is unaffected by rotation.

Scripting name

border

Data type

Border

Mouseover Text

The text that is displayed in the tooltip which pops up on mouseover of this component.

Scripting name

toolTipText

Data type

String

Cursor

The mouse cursor to use when hovering over this component.

Scripting name

cursorCode

Data type

int

Values

0

Default

1

Crosshair

2

Text

3

Wait

12

Hand

13

Move

4

SW Resize

5

SE Resize

6

NW Resize

7

NE Resize

8

N Resize

9

S Resize

10

W Resize

11

E Resize

Data

Value

Numeric value of tank's level

Scripting name

value

Data type

double

Flags

bindable

Capacity

Total capacity of tank

Scripting name

capacity

Data type

double

Flags

bindable

Data Quality

The data quality code for any tag bindings on this component.

Scripting name

dataQuality

Data type

int

Flags

bindable | expert

Scripting

Events

The following event sets are fired by this component. See Component Event Handlers to learn more.

mouse
mouseMotion
propertyChange

 

Scripting Functions

This component has no special scripting functions.