org.eclipse.birt.chart.model.attribute
Interface JavaNumberFormatSpecifier

All Superinterfaces:
org.eclipse.emf.ecore.EObject, FormatSpecifier, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
JavaNumberFormatSpecifierImpl

public interface JavaNumberFormatSpecifier
extends FormatSpecifier

A representation of the model object 'Java Number Format Specifier'. This type holds the java pattern for NumberFormat.

The following features are supported:

See Also:
AttributePackage.getJavaNumberFormatSpecifier()

Method Summary
 java.lang.String format(double dValue, java.util.Locale lo)
          Deprecated.  
 java.lang.String format(double dValue, com.ibm.icu.util.ULocale lo)
          Formats a value using the internally defined format specifier rules
 double getMultiplier()
          Returns the value of the 'Multiplier' attribute.
 java.lang.String getPattern()
          Returns the value of the 'Pattern' attribute.
 boolean isSetMultiplier()
          Returns whether the value of the 'Multiplier' attribute is set.
 void setMultiplier(double value)
          Sets the value of the 'Multiplier' attribute.
 void setPattern(java.lang.String value)
          Sets the value of the 'Pattern' attribute.
 void unsetMultiplier()
          Unsets the value of the 'Multiplier' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getPattern

java.lang.String getPattern()
Returns the value of the 'Pattern' attribute. Specifies the format pattern.

Returns:
the value of the 'Pattern' attribute.
See Also:
setPattern(String), AttributePackage.getJavaNumberFormatSpecifier_Pattern()

setPattern

void setPattern(java.lang.String value)
Sets the value of the 'Pattern' attribute.

Parameters:
value - the new value of the 'Pattern' attribute.
See Also:
getPattern()

getMultiplier

double getMultiplier()
Returns the value of the 'Multiplier' attribute. Specifies the multiplier.

Returns:
the value of the 'Multiplier' attribute.
See Also:
isSetMultiplier(), unsetMultiplier(), setMultiplier(double), AttributePackage.getJavaNumberFormatSpecifier_Multiplier()

setMultiplier

void setMultiplier(double value)
Sets the value of the 'Multiplier' attribute.

Parameters:
value - the new value of the 'Multiplier' attribute.
See Also:
isSetMultiplier(), unsetMultiplier(), getMultiplier()

unsetMultiplier

void unsetMultiplier()
Unsets the value of the 'Multiplier' attribute.

See Also:
isSetMultiplier(), getMultiplier(), setMultiplier(double)

isSetMultiplier

boolean isSetMultiplier()
Returns whether the value of the 'Multiplier' attribute is set.

Returns:
whether the value of the 'Multiplier' attribute is set.
See Also:
unsetMultiplier(), getMultiplier(), setMultiplier(double)

format

java.lang.String format(double dValue,
                        java.util.Locale lo)
Deprecated. 

Formats a value using the internally defined format specifier rules

Parameters:
dValue -
Returns:
A formatted string representation of the numerical value provided

format

java.lang.String format(double dValue,
                        com.ibm.icu.util.ULocale lo)
Formats a value using the internally defined format specifier rules

Parameters:
dValue -
Returns:
A formatted string representation of the numerical value provided
Since:
2.1


Copyright © 2005-2008 Actuate Corp. All rights reserved.