Class LongFormatter

All Implemented Interfaces:
java.util.EventListener, ITextFormatter, org.eclipse.swt.events.VerifyListener, org.eclipse.swt.internal.SWTEventListener

public class LongFormatter
extends NumberFormatter
This class provides formatting of Long values in a FormattedText.

NumberFormatter returns different numeric types based on the current value in the Text field. LongFormatter is an override of NumberFormatter allowing to guaranty to always return Long values (Number.longValue()).

  • Constructor Details

    • LongFormatter

      public LongFormatter()
    • LongFormatter

      public LongFormatter​(java.util.Locale loc)
    • LongFormatter

      public LongFormatter​(java.lang.String editPattern, java.util.Locale loc)
    • LongFormatter

      public LongFormatter​(java.lang.String editPattern, java.lang.String displayPattern, java.util.Locale loc)
    • LongFormatter

      public LongFormatter​(java.lang.String editPattern, java.lang.String displayPattern)
    • LongFormatter

      public LongFormatter​(java.lang.String editPattern)
  • Method Details