org.das2.graph.Leveler

Manages a set of rows or columns, making sure they fill a space without overlapping. This is an ancient class that would manage a set of rows to support a PaPCo- or Autoplot-like application.

Leveler( org.das2.graph.DasCanvas parent )

Leveler( org.das2.graph.DasCanvas parent, org.das2.graph.DasRow row )


addRow

addRow( double nposition, double weight ) → org.das2.graph.DasRow

Parameters

nposition - a double
weight - a double

Returns:

org.das2.graph.DasRow

[search for examples] [view on GitHub] [view on old javadoc] [view source]

addRow( double nposition ) → org.das2.graph.DasRow
addRow( ) → org.das2.graph.DasRow

deleteRow

deleteRow( org.das2.graph.DasRow row ) → void

Parameters

row - a DasRow

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getPosition

getPosition( org.das2.graph.DasRow row ) → double

Parameters

row - a DasRow

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getRows

getRows( ) → java.util.List

returns a copy of the List of the Row objects.

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getWeight

getWeight( org.das2.graph.DasRow row ) → double

Parameters

row - a DasRow

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


rowCount

rowCount( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setBottomMargin

setBottomMargin( double nmargin ) → void

Parameters

nmargin - a double

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setInsideMargin

setInsideMargin( double n ) → void

Parameters

n - a double

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setTopMargin

setTopMargin( double nmargin ) → void

Parameters

nmargin - a double

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


toString

toString( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


whichRow

whichRow( int y ) → org.das2.graph.DasRow

Parameters

y - an int

Returns:

org.das2.graph.DasRow

[search for examples] [view on GitHub] [view on old javadoc] [view source]