Class ColumnColor

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
Direct Known Subclasses:
ColumnColorOutcome

@Component public class ColumnColor extends Column
This class extends Column and allows to set a color of a cell.
For example, if you set the color as value of the column, all the cells of that column will have that background color. Otherwise it is possible to take the background color from the value of the field referenced by the name attribute. In both cases, the value must be a valid CSS color.
See Also:
GCApi:
component
  • Field Details

    • _msg

      protected String _msg
    • _color

      protected String _color
    • _height

      protected String _height
    • _width

      protected String _width
    • borderRadius

      protected int borderRadius
  • Constructor Details

    • ColumnColor

      public ColumnColor()
      Creates a ColumnColor
  • Method Details

    • setHEIGHT

      public void setHEIGHT(String s)
      Sets the height of the coloured cell
      Parameters:
      s - The height, expressed in pixels
    • setWIDTH

      public void setWIDTH(String s)
      Sets the width of the coloured cell
      Overrides:
      setWIDTH in class Column
      Parameters:
      s - The width, expressed in pixel
    • setBORDERRADIUS

      public void setBORDERRADIUS(String s)
      Sets a border radius for the background of the component.
      By default, the border-radius is set to 0 and it is not applied.
      Parameters:
      s - The border-radius value to apply.
    • 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
    • getDefaultLayoutLabel

      public String getDefaultLayoutLabel()
      Overrides:
      getDefaultLayoutLabel in class Column