Class Matrix

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Identified, Tool

@Component public class Matrix extends Component
This element extends Component and serves to graphically position its child elements in a matrix manner.
See Also:
GCApi:
component
  • Field Details

    • _cols

      protected int _cols
    • _fullsize

      protected boolean _fullsize
    • _valigns

      protected String _valigns
    • _aligns

      protected String _aligns
    • _padding

      protected int _padding
    • _border

      protected int _border
  • Constructor Details

    • Matrix

      public Matrix()
  • Method Details

    • setFULLSIZE

      public void setFULLSIZE(String s)
      Sets the fullsize mode.
      Parameters:
      s - Boolean to enable or disable the fullsize mode.
    • setCOLS

      public void setCOLS(String s)
      Sets the number of columns of the matrix.
      Parameters:
      s - Number of the columns of the matrix
    • setVALIGNS

      public void setVALIGNS(String s)
      Sets the vertical align of the elements inside the cells
      Parameters:
      s - Type of the vertical align. The allowed values are:
      • 't': top;
      • 'm': middle;
      • 'b': bottom.
    • setALIGNS

      public void setALIGNS(String s)
      Sets the hotizontal align of the elements inside the cells
      Parameters:
      s - Type of the horizontal align. The allowed values are:
      • 'l': left;
      • 'c': center;
      • 'r': middle.
    • setPADDING

      public void setPADDING(String s)
      Sets the padding of the cells.
      Parameters:
      s - The value of the padding. It is cast in integer.
    • setBORDER

      public void setBORDER(String s)
      Sets the dimensions of the border of the matrix.
      Parameters:
      s - The value of the edges. It is cast in integer.
    • 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
      Specified by:
      getHtml in class Component
      Parameters:
      es - The EntitySet to which the element belongs
      Returns:
      The html of the Component