Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.edit.internal.swt.controls
Class NumericalHelper

    java.lang.Object
      org.eclipse.emf.ecp.edit.internal.swt.controls.NumericalHelper

    public final class NumericalHelper

extends Object

Author:
  Eugen Neufeld

Method Summary
`static Number` | `getDefaultValue(Class<?> instanceClass)`
`static boolean` | `isDouble(Class<?> instanceClass)`
`static boolean` | `isInteger(Class<?> instanceClass)`
`static Object` | `numberToInstanceClass(Number number, Class<?> instanceClass)`
`static DecimalFormat` | `setupFormat(Locale locale, Class<?> instanceClass)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### setupFormat

    public static DecimalFormat setupFormat(Locale locale,
                                            Class<?> instanceClass)

### getDefaultValue

    public static Number getDefaultValue(Class<?> instanceClass)

  Returns:

### isDouble

    public static boolean isDouble(Class<?> instanceClass)

### isInteger

    public static boolean isInteger(Class<?> instanceClass)

### numberToInstanceClass

    public static Object numberToInstanceClass(Number number,
                                               Class<?> instanceClass)

  Parameters:
    `number` -
  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.