Class ColumnInputTime

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

@Component public class ColumnInputTime extends ColumnInputRegExp
This component extends ColumnInputRegExp and must be used to insert a time input field as a column.
See Also:
GCApi:
component
  • Field Details

  • Constructor Details

    • ColumnInputTime

      public ColumnInputTime()
  • Method Details

    • setup

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

      protected void setupTimeFormat()
    • setSDF

      public void setSDF(String s)
      Set the date format will be sent to server with submit of the field (see SimpleDateFormat). If it isn't set the default value is "HH:mm".
      Parameters:
      s - The string of the time format.
    • setRANGE

      public void setRANGE(String s)
      Set the field as a part of a time range.
      Parameters:
      s - String to define which type of range you are defining. Below are the allowed values:
      • "FROM": set the start of the time range. If the time isn't set, it is automatically set to TIME_MIN
      • "TO": set the end of the time range. If the time isn't set, it is automatically set to TIME_MAX
    • getHtmlRow

      public org.apache.ecs.Element getHtmlRow(EntitySet es, int row, int pagerow, ArrayList al)
      Description copied from class: Column
      Returns the html element that defines the row
      Overrides:
      getHtmlRow in class ColumnInput
      Parameters:
      es - The EntitySet to which the element belongs
      row - The number of the row
      pagerow - The number ofd the page
      al - The list of values of the row
      Returns:
      The html element that defines the row
    • validate

      protected void validate(org.apache.ecs.html.Input i, EntitySet es, boolean ro, int row)
      Overrides:
      validate in class ColumnInputRegExp
    • prepareName

      protected String prepareName()
      Overrides:
      prepareName in class ColumnInput
    • prepareValue

      protected String prepareValue(ArrayList al)
      Overrides:
      prepareValue in class ColumnInput
    • getDefaultLayoutLabel

      public String getDefaultLayoutLabel()
      Overrides:
      getDefaultLayoutLabel in class ColumnInput