Class OutputTime

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Arrangeable, Badgeable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

@Component public class OutputTime extends Output
This class implements the graphic user interface element used to display a time in output
See Also:
GCApi:
component
  • Field Details

    • _strSdfW

      protected String _strSdfW
    • _sdf

      protected SimpleDateFormat _sdf
    • _range

      protected int _range
    • hourSystem

      protected String hourSystem
    • FROM

      public static final String FROM
      String that defines that the field will be used to set the start of a range
      See Also:
    • TO

      public static final String TO
      String that defines that the field will be used to set the end of a range
      See Also:
  • Constructor Details

    • OutputTime

      public OutputTime()
      Creates an OutputTime
  • Method Details

    • setSDFWRITE

      public void setSDFWRITE(String s)
      Sets the format in which the time is passed to the server when the field is submitted
      Parameters:
      s - The string use to format of the time
    • setRANGE

      public void setRANGE(String s)
      Defines if the field belongs to a time range
      Parameters:
      s - Possible values are: FROM and TO
    • setup

      protected void setup()
      Description copied from class: Component
      Setup the Component
      Overrides:
      setup in class Component
    • prepareValue

      protected String prepareValue()
      Overrides:
      prepareValue in class Output