Class ColumnImage

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 ColumnImage extends Column
This component is an extension of Column that is used to contain images
See Also:
GCApi:
component
  • Field Details

    • _path

      protected String _path
    • _roicon

      protected String _roicon
    • _filetype

      protected String _filetype
    • _imgWidth

      protected int _imgWidth
    • _imgHeight

      protected int _imgHeight
    • _css

      protected String _css
  • Constructor Details

    • ColumnImage

      public ColumnImage()
      Creates a ColumnImage
  • Method Details

    • setIMGWIDTH

      public void setIMGWIDTH(String s)
      Sets the width of the image
      Parameters:
      s - The width of the image, expressed in pixels
    • setIMGHEIGHT

      public void setIMGHEIGHT(String s)
      Sets the height of the image
      Parameters:
      s - The height of the image, expressed in pixels
    • setFILETYPE

      public void setFILETYPE(String s)
      Sets the extension of the image that must be loaded
      Parameters:
      s - The string that defines the extension of the image
    • setCSS

      public void setCSS(String s)
      Sets a specific CSS class to the image.
      Parameters:
      s - A string that identifies a CSS class. To make sure that the image has the same dimensions of the icons of the currently used theme, the CSS class to be used is "icon"
    • setPATH

      public void setPATH(String s)
      Sets the path of the folder that contains the image that must be loaded
      Parameters:
      s - The string that defines the path
    • setBLINKER

      public void setBLINKER(String blinker)
    • 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
    • manageStyles

      protected void manageStyles(IconHD inputImg)
    • getDefaultLayoutLabel

      public String getDefaultLayoutLabel()
      Overrides:
      getDefaultLayoutLabel in class Column