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, setValue
getDrawControl, getOdfElement, getRectangle, remove, setAnchorType, setFormProperty, setRectangle
getComponentByElement, getOwnerDocument, registerComponent, unregisterComponent
public 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-2013 The Apache Software Foundation. All Rights Reserved.