org.das2.graph
Class Leveler

java.lang.Object
  extended by org.das2.graph.Leveler

public class Leveler
extends java.lang.Object


Constructor Summary
Leveler(DasCanvas parent)
           
Leveler(DasCanvas parent, DasRow row)
           
 
Method Summary
 DasRow addRow()
           
 DasRow addRow(double nposition)
           
 DasRow addRow(double nposition, double weight)
           
 void deleteRow(DasRow row)
           
 double getPosition(DasRow row)
           
 java.util.List getRows()
          returns a copy of the List of the Row objects.
 double getWeight(DasRow row)
           
 int rowCount()
           
 void setBottomMargin(double nmargin)
           
 void setInsideMargin(double n)
           
 void setTopMargin(double nmargin)
           
 java.lang.String toString()
           
 DasRow whichRow(int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Leveler

public Leveler(DasCanvas parent)

Leveler

public Leveler(DasCanvas parent,
               DasRow row)
Method Detail

getWeight

public double getWeight(DasRow row)

getPosition

public double getPosition(DasRow row)

addRow

public DasRow addRow(double nposition,
                     double weight)

addRow

public DasRow addRow(double nposition)

addRow

public DasRow addRow()

whichRow

public DasRow whichRow(int y)

rowCount

public int rowCount()

deleteRow

public void deleteRow(DasRow row)

setInsideMargin

public void setInsideMargin(double n)

setTopMargin

public void setTopMargin(double nmargin)

setBottomMargin

public void setBottomMargin(double nmargin)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getRows

public java.util.List getRows()
returns a copy of the List of the Row objects.