|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.biocomfort.TO.user_parameters.ScaleConfigurationTO
public class ScaleConfigurationTO
The class ScaleConfigurationTO is a data class to store
configuration information for a body diagnostic scale. It is part of the
class ScaleUserParametersTO but initially not instantiated
in case of using the standard constructor. To store scale configuration
information for a ScaleUserParametersTO object create a
new instance of this class and assign it to the
ScaleUserParametersTO object.
| Field Summary | |
|---|---|
static int |
DISPLAY_ALL
Ease-of-use constant to describe the displayed measurement values for body diagnostic scales. |
static int |
DISPLAY_BODYFAT
Ease-of-use constant to describe the displayed measurement values for body diagnostic scales. |
static int |
DISPLAY_BODYFAT_BODYWATER
Ease-of-use constant to describe the displayed measurement values for body diagnostic scales. |
static int |
DISPLAY_NONE
Ease-of-use constant to describe the displayed measurement values for body diagnostic scales. |
static int |
WEIGHT_HEIGHT_UNITS__KG_CM
Ease-of-use constant to describe the weight and height units displayed by the body diagnostic scale. |
static int |
WEIGHT_HEIGHT_UNITS__LB_FTINCH
Ease-of-use constant to describe the weight and height units displayed by the body diagnostic scale. |
static int |
WEIGHT_HEIGHT_UNITS__STLB_FTINCH
Ease-of-use constant to describe the weight and height units displayed by a body diagnostic scale. |
| Constructor Summary | |
|---|---|
ScaleConfigurationTO()
Constructs a ScaleConfigurationTO object with
initializing it so that the display mode is set to
ScaleConfigurationTO.DISPLAY_ALL, the weight and height units
configuration is set to
ScaleConfigurationTO.WEIGHT_HEIGHT_UNITS__KG_CM, and the bits
rfMode, bindStatus are set to false. |
|
| Method Summary | |
|---|---|
int |
getDisplayMode()
Returns a number that represents the display mode of a body diagnostic scale. |
int |
getWeightHeightUnits()
Returns a number that represents the weight and height units configuration of a body diagnostic scale. |
boolean |
isBindStatusBit()
Returns true if the flag BIND_STATUS is set. |
boolean |
isRfModeBit()
Returns true if the flag RF_MODE is set. |
void |
setBindStatusBit(boolean bindStatusBit)
Sets the flag BIND_STATUS. |
void |
setDisplayMode(int displayMode)
Sets the display mode of a body diagnostic scale described by a numeric value. |
void |
setRfModeBit(boolean rfModeBit)
Sets the flag RF_MODE. |
void |
setWeightHeightUnits(int weightHeightUnits)
Sets the weight and height units configuration of a body diagnostic scale described by a numeric value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int WEIGHT_HEIGHT_UNITS__KG_CM
setWeightHeightUnits(int),
getWeightHeightUnits(),
Constant Field Valuespublic static final int WEIGHT_HEIGHT_UNITS__LB_FTINCH
setWeightHeightUnits(int),
getWeightHeightUnits(),
Constant Field Valuespublic static final int WEIGHT_HEIGHT_UNITS__STLB_FTINCH
setWeightHeightUnits(int),
getWeightHeightUnits(),
Constant Field Valuespublic static final int DISPLAY_ALL
setDisplayMode(int),
getDisplayMode(),
Constant Field Valuespublic static final int DISPLAY_BODYFAT_BODYWATER
setDisplayMode(int),
getDisplayMode(),
Constant Field Valuespublic static final int DISPLAY_BODYFAT
setDisplayMode(int),
getDisplayMode(),
Constant Field Valuespublic static final int DISPLAY_NONE
setDisplayMode(int),
getDisplayMode(),
Constant Field Values| Constructor Detail |
|---|
public ScaleConfigurationTO()
ScaleConfigurationTO object with
initializing it so that the display mode is set to
ScaleConfigurationTO.DISPLAY_ALL, the weight and height units
configuration is set to
ScaleConfigurationTO.WEIGHT_HEIGHT_UNITS__KG_CM, and the bits
rfMode, bindStatus are set to false.
| Method Detail |
|---|
public int getWeightHeightUnits()
WEIGHT_HEIGHT_UNITS__KG_CM,
WEIGHT_HEIGHT_UNITS__LB_FTINCH,
WEIGHT_HEIGHT_UNITS__STLB_FTINCHpublic void setWeightHeightUnits(int weightHeightUnits)
weightHeightUnits - the body diagnostic scale's weight and height
units configurationWEIGHT_HEIGHT_UNITS__KG_CM,
WEIGHT_HEIGHT_UNITS__LB_FTINCH,
WEIGHT_HEIGHT_UNITS__STLB_FTINCHpublic int getDisplayMode()
DISPLAY_ALL,
DISPLAY_BODYFAT_BODYWATER,
DISPLAY_BODYFAT,
DISPLAY_NONEpublic void setDisplayMode(int displayMode)
displayMode - the body diagnostic scale's display modeDISPLAY_ALL,
DISPLAY_BODYFAT_BODYWATER,
DISPLAY_BODYFAT,
DISPLAY_NONEpublic boolean isRfModeBit()
public void setRfModeBit(boolean rfModeBit)
rfModeBit - represents the flag RF_MODEpublic boolean isBindStatusBit()
public void setBindStatusBit(boolean bindStatusBit)
bindStatusBit - represents the flag BIND_STATUS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||