Class OutputStaticView

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 OutputStaticView extends Output
This class extends Output and implements the graphic user interface that put in output a string using a StaticView to decode the input passed to the element and create the output.
See Also:
GCApi:
component
  • Field Details

    • _tf

      protected TextFormat _tf
    • _staticviewpath

      protected String _staticviewpath
    • _staticview

      protected StaticView _staticview
    • _columnlabels

      protected String[] _columnlabels
    • _ffLabels

      protected ForeignField[] _ffLabels
    • _defaultValue

      protected String _defaultValue
    • _defaultOption

      protected String _defaultOption
    • _type

      protected String _type
  • Constructor Details

    • OutputStaticView

      public OutputStaticView()
  • Method Details

    • setCOLUMNLABEL

      public void setCOLUMNLABEL(String s)
      Sets which of the values of the StaticView are used in the output field. If there are multiple values, they are to be separated with a comma and formatted by setFORMAT.
      Parameters:
      s - String of values to use as output. The values are to be separeted with a comma.
    • setSTATICVIEW

      public void setSTATICVIEW(String path)
      Sets the StaticView to use to build the ouput of the column.
      Parameters:
      path - String of the path of the StaticView to use. This path use the Factory.
    • setFORMAT

      public void setFORMAT(String s)
      Set the format of the values to show. To know how to create a format, see TextFormat.
      Parameters:
      s - String represent the format to be set.
    • 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
    • prepareValue

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

      protected static String padString(String s, int minlength, boolean numeric)