Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class Tank

    java.lang.Object
      Equipment
          Tank

    public class Tank

extends Equipment

Ésta clase maneja la visualización y nivel de agua en los estanques

Field Summary
`static float` | `H`
`static float` | `W`

Constructor Summary
`Tank(java.awt.Point _position, PlantView v, int id)`

Method Summary
`void` | `addVol(float vol)`
`javax.swing.Box` | `getGUI()`
`float` | `getLevel()`
`float` | `getOutValve()`
`void` | `paint(java.awt.Graphics2D g2d)`
`void` | `setOutValve(float x)`
`void` | `setReceiver(Tank t)`
`void` | `timeTick(float dt)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### H

    public static final float H

See Also:
  Constant Field Values

### W

    public static final float W

See Also:
  Constant Field Values

Constructor Detail

### Tank

    public Tank(java.awt.Point _position,
                PlantView v,
                int id)

Method Detail

### paint

    public void paint(java.awt.Graphics2D g2d)

  Specified by:
    `paint` in class `Equipment`

### getLevel

    public float getLevel()

### setOutValve

    public void setOutValve(float x)

### getOutValve

    public float getOutValve()

### setReceiver

    public void setReceiver(Tank t)

### getGUI

    public javax.swing.Box getGUI()

  Specified by:
    `getGUI` in class `Equipment`

### addVol

    public void addVol(float vol)

### timeTick

    public void timeTick(float dt)

  Specified by:
    `timeTick` in class `Equipment`

Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD