public class CurrencyField extends Field
drawingShape, formElement, mElement, mFormProperties| Modifier and Type | Method and Description |
|---|---|
static CurrencyField |
getInstanceOf(FormFormattedTextElement element)
Get an instance of currency field by an instance of FormFormattedTextElement, while searching
the document content to make a bind with the DrawControl which already reference to this
currency field.
|
void |
setCurrencySymbol(String symbol) |
void |
setCurrencySymbolVisible(boolean visible) |
void |
setDecimalAccuracy(double value) |
void |
setStepValue(double value) |
getCurrentValue, getFormatString, getId, getName, getSimpleIterator, getValue, setControlImplementation, setCurrentValue, setFormatString, setId, setName, setSpinButonVisible, setValuegetDrawControl, getOdfElement, getRectangle, remove, setAnchorType, setFormProperty, setRectanglegetComponentByElement, getOwnerDocument, registerComponent, unregisterComponentpublic static CurrencyField getInstanceOf(FormFormattedTextElement element)
element - - an instance of FormFormattedTextElementpublic void setCurrencySymbol(String symbol)
public void setDecimalAccuracy(double value)
public void setStepValue(double value)
public void setCurrencySymbolVisible(boolean visible)
Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.