Class OutputTimeRange

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 OutputTimeRange extends Output
This component extends Output and must be used to show in output a range of time. The output string will be composed of how many values are given as input (none, start time or end time) and predefined labels.
See Also:
GCApi:
component
  • Field Details

  • Constructor Details

    • OutputTimeRange

      public OutputTimeRange()
  • Method Details

    • setup

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

      public void setVALUE1(String s)
      Sets the first value to use as start range. This value is overwritten from setNAME() or setNAME1().
      It's possible to use this value singly to create a "after" range.
      It is same thing use setVALUE().
      Parameters:
      s - The string rappresents the time to set (see string2Date()).
    • setVALUE

      public void setVALUE(String s)
      Sets the first value to use as start range. This value is overwritten from setNAME() or setNAME1().
      It's possible to use this value singly to create a "after" range.
      It is same thing use setVALUE1().
      Overrides:
      setVALUE in class Output
      Parameters:
      s - The string rappresents the time to set (see string2Date()).
    • setVALUE2

      public void setVALUE2(String s)
      Sets the second value to use as end range. This value is overwritten from setNAME2().
      It's possible to use this value singly to create a "by" range.
      Parameters:
      s - The string rappresents the time to set (see string2Date()).
    • setNAME

      public void setNAME(String s)
      Sets the name key of the first value to search in the passed values to use as start range. This value overwrites setVALUE() and setVALUE1().
      It's possible to use this value singly to create a "after" range.
      It is same thing use setNAME1().
      Overrides:
      setNAME in class Output
      Parameters:
      s - The string rappresents the key of the value in the passed values (see Control.getValues()).
    • setNAME1

      public void setNAME1(String s)
      Sets the name key of the first value to search in the passed values to use as start range. This value overwrites setVALUE() and setVALUE1().
      It's possible to use this value singly to create a "after" range.
      It is same thing use setNAME().
      Parameters:
      s - The string rappresents the key of the value in the passed values (see Control.getValues()).
    • setNAME2

      public void setNAME2(String s)
      Sets the name key of the second value to search in the passed values to use as end range. This value overwrites setVALUE2().
      It's possible to use this value singly to create a "by" range.
      Parameters:
      s - The string rappresents the key of the value in the passed values (see Control.getValues()).
    • setSDF

      public void setSDF(String s)
      Set the time format with the string passed as input (see SimpleDateFormat). It is the same thing use setSDFWRITE().
      Parameters:
      s - String rappresenting the new format
    • setSDFWRITE

      public void setSDFWRITE(String s)
      Set the time format with the string passed as input (see SimpleDateFormat). It is the same thing use setSDF().
      Parameters:
      s - String rappresenting the new format
    • prepareValue

      public String prepareValue()
      Overrides:
      prepareValue in class Output