Public Methods |
static
String
|
addThousandsSymbol(String value, String thousandsSymbol)
|
static
RulerItem
|
calibrate(Annot annot, RulerItem rulerItem, float userInput)
|
static
String
|
getAnnotMeasureInfo(Annot annot)
|
static
String
|
getAreaKey()
|
static
MeasureInfo
|
getAxisInfo(JSONObject jsonObject)
|
static
String
|
getAxisKey()
|
static
String
|
getDecimalSymbolKey()
|
static
String
|
getDefaultMeasureInfo()
|
static
String
|
getDisplayKey()
|
static
String
|
getDistanceKey()
|
static
String
|
getFactorKey()
|
static
MeasureInfo
|
getFromJSON(String json)
|
static
String
|
getIT(Annot annot)
|
static
double
|
getLineLength(double pt1x, double pt1y, double pt2x, double pt2y)
|
static
MeasureInfo
|
getMeasureInfo(int annotType, JSONObject jsonObject)
|
static
JSONObject
|
getMeasureJSON(int annotType, JSONObject jsonObject)
|
static
String
|
getMeasureKey(int annotType)
|
static
String
|
getMeasurementText(double value, MeasureInfo numberFormat)
|
static
int
|
getPrecision(int annotType, JSONObject jsonObject)
|
static
Integer
|
getPrecision(int position)
|
static
String
|
getPrecisionKey()
|
static
int
|
getPrecisionPosition(int precision)
|
static
HashMap<String, Integer>
|
getPrecisions()
|
static
RulerItem
|
getRulerItemFromAnnot(Annot annot)
|
static
RulerItem
|
getScale(JSONObject jsonObject)
Converts FDF to RulerItem
|
static
String
|
getScaleKey()
|
static
String
|
getThousandSymbolKey()
|
static
String
|
getTypeKey()
|
static
HashMap<String, Double>
|
getUnitConversion()
|
static
double
|
getUnitConversion(String unit)
|
static
String
|
getUnitKey()
|
static
String
|
getUnitPositionKey()
|
static
String
|
getUnitPrefixKey()
|
static
String
|
getUnitSuffixKey()
|
static
String
|
modifyLastUnitValue(double value, MeasureInfo numberFormat)
|
static
void
|
putMeasurementInfo(Annot annot, String json)
|
static
int
|
safeGetInt(JSONObject json, String key, int defaultValue)
|
static
JSONObject
|
safeGetJSON(JSONObject json, String key)
|
static
String
|
safeGetString(JSONObject json, String key)
|
static
String
|
setScaleAndPrecision(int annotType, JSONObject jsonObject, RulerItem rulerItem)
|
static
void
|
updateMeasureInfo(JSONObject jsonObject, String key, MeasureInfo info)
|