Class DebugField

All Implemented Interfaces:
RSC, SsComponent, ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants

public class DebugField extends Field
A simple field for debug that is not in the formatting package.
See Also:
  • Constructor Details

    • DebugField

      public DebugField()
      Creates a default SSDateField object using the default date format.
    • DebugField

      public DebugField(SsFormat format)
      Creates a new instance of SSDateField with the specified format.
      Parameters:
      format - - an enum format to be used while the date field is in edit mode
    • DebugField

      Creates an object of SSDateField with the specified formatter factory
      Parameters:
      factory - - formatter factory to be used
  • Method Details

    • cleanField

      public void cleanField()
      Sets the value that will be formatted to null. Subclasses may chose to do something else; for example, the current date could be set possibly conditioned on getAllowNull() false.
      Specified by:
      cleanField in interface SsComponent
      Overrides:
      cleanField in class SsFormattedTextField
    • createFormatterFactory

      Create mask formatter factory with specified format pattern.
      Parameters:
      _format - - Format to be used for date while in editing mode.
      Returns:
      a DefaultFormatterFactory for the specified date format