Constructor and Description |
---|
TickUnitSource() |
Modifier and Type | Method and Description |
---|---|
void |
add(TickUnit tickUnit) |
TickUnit |
getCeilingTickUnit(double size)
Returns the tick unit in the collection that is greater than or equal to
the specified size.
|
TickUnit |
getCeilingTickUnit(TickUnit unit)
Returns the tick unit in the collection that is greater than or equal to
(in size) the specified unit.
|
TickUnit |
getLargerTickUnit(TickUnit unit)
Returns a tick unit that is larger than the supplied unit.
|
public void add(TickUnit tickUnit)
public TickUnit getLargerTickUnit(TickUnit unit)
unit
- the unit.public TickUnit getCeilingTickUnit(TickUnit unit)
unit
- the unit.public TickUnit getCeilingTickUnit(double size)
size
- the size.Copyright © 2016 Emxsys. All rights reserved.