Class RealNumberFormatingParameters
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.RealNumberFormatingParameters
-
- All Implemented Interfaces:
java.io.Serializable
public class RealNumberFormatingParameters extends java.lang.Object implements java.io.Serializable
Parameters for formating real numbers in grids. It is part ofDisplaySettings
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_PRECISION
-
Constructor Summary
Constructors Constructor Description RealNumberFormatingParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPrecision()
boolean
isFormatingEnabled()
boolean
isScientific()
void
setFormatingEnabled(boolean formatingEnabled)
void
setPrecision(int precision)
void
setScientific(boolean scientific)
-
-
-
Method Detail
-
isFormatingEnabled
public boolean isFormatingEnabled()
-
setFormatingEnabled
public void setFormatingEnabled(boolean formatingEnabled)
-
getPrecision
public int getPrecision()
-
setPrecision
public void setPrecision(int precision)
-
isScientific
public boolean isScientific()
-
setScientific
public void setScientific(boolean scientific)
-
-