|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.ui.widgets.zoomslider.ZoomSliderUtilities
public class ZoomSliderUtilities
A general utilities class for zoom slider functionality
| Constructor Summary | |
|---|---|
ZoomSliderUtilities()
|
|
| Method Summary | |
|---|---|
static int |
calculateOOM(double number)
Calculate the order of magnitude of a double |
static java.lang.String |
double2String(double n)
Convert a double value to a string representation |
static double |
round(double roundee,
double rounder)
Round to the nearest multiple of rounder |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZoomSliderUtilities()
| Method Detail |
|---|
public static int calculateOOM(double number)
number - the double to calculate the magnitude of
public static double round(double roundee,
double rounder)
roundee - rounder -
public static java.lang.String double2String(double n)
n - the double value
|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||