public class NumericField extends Field
drawingShape, formElement, mElement, mFormProperties| Modifier and Type | Method and Description | 
|---|---|
static TimeField | 
getInstanceOf(FormFormattedTextElement element)
Get an instance of numeric field by an instance of FormFormattedTextElement, while searching
 the document content to make a bind with the DrawControl which already reference to this
 numeric field. 
 | 
void | 
setDecimalAccuracy(double value)
Set the decimal accuracy of the input value 
 | 
void | 
setStepValue(double value)
Set the step value for the spin button. 
 | 
getCurrentValue, getFormatString, getId, getName, getSimpleIterator, getValue, setControlImplementation, setCurrentValue, setFormatString, setId, setName, setSpinButonVisible, setValuegetDrawControl, getOdfElement, getRectangle, remove, setAnchorType, setFormProperty, setRectanglegetComponentByElement, getOwnerDocument, registerComponent, unregisterComponentpublic static TimeField getInstanceOf(FormFormattedTextElement element)
element - - an instance of FormFormattedTextElementpublic void setDecimalAccuracy(double value)
value - - specify how many digits will be kept after the decimal pointpublic void setStepValue(double value)
value - - the step value for the spin button.Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.