Class OutputLookup

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 OutputLookup extends Output
This class extends Output and implements the graphic user interface element used to display a lookup field. This output field is fed with value associated with the input value received.
Values can be specified statically by adding a list of InputOption as children of the component, or dynamically, loading them from the database using a StaticView.
See Also:
GCApi:
component
  • Field Details

    • _defaultValue

      protected String _defaultValue
    • _defaultOption

      protected String _defaultOption
    • _type

      protected String _type
  • Constructor Details

    • OutputLookup

      public OutputLookup()
  • Method Details

    • setTYPE

      public void setTYPE(String s)
      Sets the control on the type of the value passed in input, forcing it to be a string.
      Parameters:
      s - Type of input accepted. The value can be "string" forcing the input to be a string. Otherwise will be interpreted as Object.
    • getHtmlValue

      public org.apache.ecs.Element getHtmlValue(EntitySet es)
      Overrides:
      getHtmlValue in class Output
    • getHtmlValue

      protected org.apache.ecs.Element getHtmlValue(EntitySet es, boolean asString)
    • getHtml

      public org.apache.ecs.Element getHtml(EntitySet es)
      Description copied from class: Component
      Abstract method that must be extended and returns the html code of the Component
      Overrides:
      getHtml in class Output
      Parameters:
      es - The EntitySet to which the element belongs
      Returns:
      The html of the Component
    • prepareValue

      protected String prepareValue()
      Overrides:
      prepareValue in class Output
    • prepareValue

      public org.apache.ecs.Element prepareValue(ArrayList al)
    • prepareValue

      protected org.apache.ecs.Element prepareValue(ArrayList al, boolean asString)
    • isSelected

      public boolean isSelected(String sCurrentValue, boolean oldSelection)