Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## info.bioinfweb.treegraph.gui.dialogs.datatable.math
Class RescaleCalculator

    java.lang.Object
      info.bioinfweb.treegraph.gui.dialogs.datatable.math.RescaleCalculator

All Implemented Interfaces:
  NodeDataCalculator

    public class RescaleCalculator

extends java.lang.Object
implements NodeDataCalculator

Field Summary
`private double` | `currentMin`
`private double` | `multiplier`
`private double` | `newMin`

Constructor Summary
`RescaleCalculator(double currentMin, double currentMax, double newMin, double newMax)`

Method Summary
`double` | `calculate(double value)`

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

Field Detail

### currentMin

    private double currentMin

### newMin

    private double newMin

### multiplier

    private double multiplier

Constructor Detail

### RescaleCalculator

    public RescaleCalculator(double currentMin,
                             double currentMax,
                             double newMin,
                             double newMax)

Method Detail

### calculate

    public double calculate(double value)

  Specified by:
    `calculate` in interface `NodeDataCalculator`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD