/** * <p>Set the ISO 4217 currency code used by <code>getAsString()</code> * with a <code>type</code> of <code>currency</code>.</p> * * @param currencyCode The new currency code */ public void setCurrencyCode(String currencyCode) { clearInitialState(); this.currencyCode = currencyCode; }
/** * <p>Set the currency symbol used by <code>getAsString()</code> * with a <code>type</code> of <code>currency</code>.</p> * * @param currencySymbol The new currency symbol */ public void setCurrencySymbol(String currencySymbol) { clearInitialState(); this.currencySymbol = currencySymbol; }
/** * <p>Set to <code>true</code> if only the integer portion of the given * value should be returned from <code>getAsObject()</code>.</p> * * @param integerOnly The new integer-only flag */ public void setIntegerOnly(boolean integerOnly) { clearInitialState(); this.integerOnly = integerOnly; }
/** * <p>Set the flag indicating whether <code>getAsString()</code> should * include grouping separators if necessary.</p> * * @param groupingUsed The new grouping used flag */ public void setGroupingUsed(boolean groupingUsed) { clearInitialState(); this.groupingUsed = groupingUsed; }
/** * <p>Set the minimum number of digits <code>getAsString()</code> should * render in the fraction portion of the result. If not set, the number of * digits depends on the value being converted.</p> * * @param minFractionDigits The new limit */ public void setMinFractionDigits(int minFractionDigits) { clearInitialState(); this.minFractionDigits = minFractionDigits; }
/** * <p>Set the maximum number of digits <code>getAsString()</code> should * render in the integer portion of the result. If not set, the number of * digits depends on the value being converted.</p> * * @param maxIntegerDigits The new limit */ public void setMaxIntegerDigits(int maxIntegerDigits) { clearInitialState(); this.maxIntegerDigits = maxIntegerDigits; }
/** * <p>Set the minimum number of digits <code>getAsString()</code> should * render in the integer portion of the result. If not set, the number of * digits depends on the value being converted.</p> * * @param minIntegerDigits The new limit */ public void setMinIntegerDigits(int minIntegerDigits) { clearInitialState(); this.minIntegerDigits = minIntegerDigits; }
/** * <p>Set the <code>Locale</code> to be used when parsing numbers. * If set to <code>null</code>, the <code>Locale</code> stored in the * {@link javax.faces.component.UIViewRoot} for the current request * will be utilized.</p> * * @param locale The new <code>Locale</code> (or <code>null</code>) */ public void setLocale(Locale locale) { clearInitialState(); this.locale = locale; }
/** * <p>Set to <code>true</code> if only the integer portion of the given * value should be returned from <code>getAsObject()</code>.</p> * * @param integerOnly The new integer-only flag */ public void setIntegerOnly(boolean integerOnly) { clearInitialState(); this.integerOnly = integerOnly; }
/** * <p>Set the minimum number of digits <code>getAsString()</code> should * render in the integer portion of the result. If not set, the number of * digits depends on the value being converted.</p> * * @param minIntegerDigits The new limit */ public void setMinIntegerDigits(int minIntegerDigits) { clearInitialState(); this.minIntegerDigits = minIntegerDigits; }
public void setGroupingUsed(boolean groupingUsed) { _groupingUsed = groupingUsed; clearInitialState(); }
public void setMaxFractionDigits(int maxFractionDigits) { _maxFractionDigitsSet = true; _maxFractionDigits = maxFractionDigits; clearInitialState(); }
public void setType(String type) { //TODO: validate type _type = type; clearInitialState(); }
public void setCurrencySymbol(String currencySymbol) { _currencySymbol = currencySymbol; clearInitialState(); }
public void setIntegerOnly(boolean integerOnly) { _integerOnly = integerOnly; clearInitialState(); }
/** * <p>Set to <code>true</code> if only the integer portion of the given * value should be returned from <code>getAsObject()</code>.</p> * * @param integerOnly The new integer-only flag */ public void setIntegerOnly(boolean integerOnly) { clearInitialState(); this.integerOnly = integerOnly; }
/** * <p>Set the maximum number of digits <code>getAsString()</code> should * render in the fraction portion of the result. If not set, the number of * digits depends on the value being converted.</p> * * @param maxFractionDigits The new limit */ public void setMaxFractionDigits(int maxFractionDigits) { clearInitialState(); this.maxFractionDigits = maxFractionDigits; }
/** * <p>Set to <code>true</code> if only the integer portion of the given * value should be returned from <code>getAsObject()</code>.</p> * * @param integerOnly The new integer-only flag */ public void setIntegerOnly(boolean integerOnly) { clearInitialState(); this.integerOnly = integerOnly; }
/** * <p>Set the minimum number of digits <code>getAsString()</code> should * render in the fraction portion of the result. If not set, the number of * digits depends on the value being converted.</p> * * @param minFractionDigits The new limit */ public void setMinFractionDigits(int minFractionDigits) { clearInitialState(); this.minFractionDigits = minFractionDigits; }
/** * <p>Set the minimum number of digits <code>getAsString()</code> should * render in the integer portion of the result. If not set, the number of * digits depends on the value being converted.</p> * * @param minIntegerDigits The new limit */ public void setMinIntegerDigits(int minIntegerDigits) { clearInitialState(); this.minIntegerDigits = minIntegerDigits; }