Class PowerSourceElement

java.lang.Object
   |
   +----Element
           |
           +----PowerSourceElement

public abstract class PowerSourceElement
extends Element
Abstract class for power source elements any element with independent power source should be inherited from this base class or from ConstVoltageSource which is son of this class.


Constructor Index

 o PowerSourceElement()

Method Index

 o getMaxVoltage()
This method is called to get maximal voltage for power element.
 o getMinVoltage()
This method is called to get minimal voltage for power element.

Constructors

 o PowerSourceElement
 public PowerSourceElement()

Methods

 o getMaxVoltage
 public abstract double getMaxVoltage()
This method is called to get maximal voltage for power element. Used for drawing to set maximum.

Returns:
maximal voltage.
 o getMinVoltage
 public abstract double getMinVoltage()
This method is called to get minimal voltage for power element. Used for drawing to set minimum.

Returns:
minimal voltage.