Class OutputSpan

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 OutputSpan extends Output
This component extends Output and can be used to insert an output field built from the combination of several outputs. The ouputs to use to build the OutputSpan must be inserted as its child nodes. The child outputs must be a Output component or derived components. The children output are numbered by 0 in the order of insertion in the xml so that they can be called in the costruction of the OutputSpan.
See Also:
GCApi:
component
  • Constructor Details

    • OutputSpan

      public OutputSpan()
  • Method Details

    • setFORMAT

      public void setFORMAT(String s)
      Sets how to build the value of the output. It's possible to set it with a static label or by combining the values of the child columns.
      Parameters:
      s - The string used to set the values of the OutputSpan. To retrieve the values of the child columns, you must enter the number corresponding to the column in brace (for example, to retrieve the value of the first child column, you must enter the string: "{0}"). Obviously, it is possible to combine a static value with the values of the child columns (for example "{0} - {1}"). To get more information see TextFormat
    • prepareValue

      public String prepareValue()
      Overrides:
      prepareValue in class Output