Cylindrical Tank
Component Palette Icon:
A component that looks like a 3D cylindrical tank, with some liquid inside. The liquid rises and falls as the Value property changes.
display |
description |
type |
Scripting |
category |
Anti Alias |
Draw with antialias on? Makes text smoother |
boolean |
.antiAlias |
Appearance |
Background Color |
The background color of the component. |
Color |
.background |
Appearance |
Border |
The border surrounding this component. NOTE that the border is unaffected by rotation. |
Border |
.border |
Common |
Capacity |
Total capacity of tank |
double |
.capacity |
Data |
Cursor |
The mouse cursor to use when hovering over this component. |
int |
.cursorCode |
Common |
Data Quality |
The data quality code for any tag bindings on this component. |
int |
.dataQuality |
Data |
Font |
Font of text of this component |
Font |
.font |
Appearance |
Font Color |
The color of the value and/or percentage labels. |
Color |
.fontColor |
Appearance |
Foreground Color |
The foreground color of the component. |
Color |
.foreground |
Appearance |
Liquid Color |
Color of the filled tank section |
Color |
.liquidColor |
Appearance |
Mouseover Text |
The text that is displayed in the tooltip which pops up on mouseover of this component. |
String |
.toolTipText |
Common |
Name |
The name of this component. |
String |
.name |
Common |
Percent Format |
Format string used for the percentage |
String |
.percentFormat |
Appearance |
Rotation |
The angle of rotation in degrees. |
int |
.rotation |
Appearance |
Show Percentage |
Show percentage of tank filled? |
boolean |
.showPercent |
Appearance |
Show Value |
Show numeric value, capacity, and units? |
boolean |
.showValue |
Appearance |
Styles |
Contains the component's styles |
Dataset |
.styles |
Appearance |
Tank Color |
Color of the non-filled tank section |
Color |
.tankColor |
Appearance |
Units |
Units of measure for tank contents |
String |
.units |
Appearance |
Value |
Numeric value of tank's level |
double |
.value |
Data |
Value Format |
Format string used for the value |
String |
.valueFormat |
Appearance |
Visible |
If disabled, the component will be hidden. |
boolean |
.visible |
Common |
This component does not have scripting functions associated with it. Remove the panel below if there are no scripting functions.
This component does not have scripting functions associated with it.
mouse
mouseClicked
This event signifies a mouse click on the source component. A mouse click the combination of a mouse press and a mouse release, both of which must have occurred over the source component. Note that this event fires after the pressed and released events have fired.
Property |
Description |
source |
The component that fired this event |
button |
The code for the button that coused this event to fire. |
clickCount |
The number of mouse clicks associated with this event. |
x |
The x-coordinate (with respect to the source component) of this mouse event. |
y |
The y-coordinate (with respect to the source component) of this mouse event. |
popupTrigger |
Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
altDown |
True (1) if the Alt key was held down during this event, false (0) otherwise. |
controlDown |
True (1) if the Control key was held down during this event, false (0) otherwise. |
shiftDown |
True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseEntered
This event fires when the mouse enters the space over the source component.
Property |
Description |
source |
The component that fired this event |
button |
The code for the button that coused this event to fire. |
clickCount |
The number of mouse clicks associated with this event. |
x |
The x-coordinate (with respect to the source component) of this mouse event. |
y |
The y-coordinate (with respect to the source component) of this mouse event. |
popupTrigger |
Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
altDown |
True (1) if the Alt key was held down during this event, false (0) otherwise. |
controlDown |
True (1) if the Control key was held down during this event, false (0) otherwise. |
shiftDown |
True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseExited
This event fires when the mouse leaves the space over the source component.
Property |
Description |
source |
The component that fired this event |
button |
The code for the button that coused this event to fire. |
clickCount |
The number of mouse clicks associated with this event. |
x |
The x-coordinate (with respect to the source component) of this mouse event. |
y |
The y-coordinate (with respect to the source component) of this mouse event. |
popupTrigger |
Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
altDown |
True (1) if the Alt key was held down during this event, false (0) otherwise. |
controlDown |
True (1) if the Control key was held down during this event, false (0) otherwise. |
shiftDown |
True (1) if the Shift key was held down during this event, false (0) otherwise. |
mousePressed
This event fires when a mouse button is pressed down on the source component.
Property |
Description |
source |
The component that fired this event |
button |
The code for the button that coused this event to fire. |
clickCount |
The number of mouse clicks associated with this event. |
x |
The x-coordinate (with respect to the source component) of this mouse event. |
y |
The y-coordinate (with respect to the source component) of this mouse event. |
popupTrigger |
Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
altDown |
True (1) if the Alt key was held down during this event, false (0) otherwise. |
controlDown |
True (1) if the Control key was held down during this event, false (0) otherwise. |
shiftDown |
True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseReleased
This event fires when a mouse button is released, if that mouse button's press happened over this component.
Property |
Description |
source |
The component that fired this event |
button |
The code for the button that coused this event to fire. |
clickCount |
The number of mouse clicks associated with this event. |
x |
The x-coordinate (with respect to the source component) of this mouse event. |
y |
The y-coordinate (with respect to the source component) of this mouse event. |
popupTrigger |
Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
altDown |
True (1) if the Alt key was held down during this event, false (0) otherwise. |
controlDown |
True (1) if the Control key was held down during this event, false (0) otherwise. |
shiftDown |
True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseMotion
mouseDragged
Fires when the mouse moves over a component after a button has been pushed.
Property |
Description |
source |
The component that fired this event |
button |
The code for the button that coused this event to fire. |
clickCount |
The number of mouse clicks associated with this event. |
x |
The x-coordinate (with respect to the source component) of this mouse event. |
y |
The y-coordinate (with respect to the source component) of this mouse event. |
popupTrigger |
Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
altDown |
True (1) if the Alt key was held down during this event, false (0) otherwise. |
controlDown |
True (1) if the Control key was held down during this event, false (0) otherwise. |
shiftDown |
True (1) if the Shift key was held down during this event, false (0) otherwise. |
mouseMoved
Fires when the mouse moves over a component, but no buttons are pushed.
Property |
Description |
source |
The component that fired this event |
button |
The code for the button that coused this event to fire. |
clickCount |
The number of mouse clicks associated with this event. |
x |
The x-coordinate (with respect to the source component) of this mouse event. |
y |
The y-coordinate (with respect to the source component) of this mouse event. |
popupTrigger |
Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
altDown |
True (1) if the Alt key was held down during this event, false (0) otherwise. |
controlDown |
True (1) if the Control key was held down during this event, false (0) otherwise. |
shiftDown |
True (1) if the Shift key was held down during this event, false (0) otherwise. |
propertyChange
propertyChange
Fires whenever a bindable property of the source component changes. This works for standard and custom (dynamic) properties.
Property |
Description |
source |
The component that fired this event |
newValue |
The new value that this property changed to. |
oldValue |
The value that this property was before it changed. Note that not all components include an accurate oldValue in their events. |
propertyName |
The name of the property that changed. NOTE: remember to always filter out these events for the property that you are looking for! Components often have many properties that change. |
This component does not have any custom properties.
Property Name |
Value |
Value |
800 |
Show Value |
True |
Show Percentage |
False |