Class ColumnLookup2

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

@Component public class ColumnLookup2 extends Column
This component extends Column and must be used to insert a column with the values of the InputOption elements children of this element. It is possible to use static values or values of a static view with InputOption.
See Also:
GCApi:
component
  • Field Details

    • _type

      protected String _type
    • _image

      protected boolean _image
    • _hideDeprecation

      protected boolean _hideDeprecation
    • currentMatch

      protected InputOption.MatchingOption currentMatch
  • Constructor Details

    • ColumnLookup2

      public ColumnLookup2()
      Creates a new instance of ColumnLookup2
  • Method Details

    • setIMAGE

      public void setIMAGE(String s)
      Enable the encoding of the output value as a path of an image. If the path is correct, the output will be formed from the image present at that path.
      Parameters:
      s - Boolean to enable or disable the encoding of the output value as a path of a resource.
    • 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.
    • setHIDEDEPRECATION

      public void setHIDEDEPRECATION(String s)
      If this attribute is set to "true", in case the value to show is deprecated, it will not be marked in the column.
      Parameters:
      s - String representing the boolean to enable or disable the mark of deprecated values
    • setupMetaData

      public void setupMetaData(DBView dbv)
      Description copied from class: Column
      Called to init all the field starting form the DBView
      Overrides:
      setupMetaData in class Column
      Parameters:
      dbv - The DBView with all the field used in the init
    • 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 Column
      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
    • prepareValueNew

      public org.apache.ecs.Element prepareValueNew(ArrayList row)
    • setupTitle

      protected void setupTitle(org.apache.ecs.html.TD td, ArrayList al)
      Overrides:
      setupTitle in class Column
    • prepareValue

      public org.apache.ecs.Element prepareValue(ArrayList row)
    • isSelected

      protected boolean isSelected(String sCurrentValue, boolean oldSelection, ArrayList row)
    • getDefaultLayoutLabel

      public String getDefaultLayoutLabel()
      Overrides:
      getDefaultLayoutLabel in class Column