Class Col

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 Col extends Control implements Hideable
This class implements Control and implements Hideable.
This component aims to grouping together different graphic objects by assigning them a common purpose and semantics.
It can be used , for example, to create a survey.
See Also:
GCApi:
component
  • Field Details

  • Constructor Details

    • Col

      public Col()
  • Method Details

    • setEVENT

      public void setEVENT(String s)
    • setMSG

      public void setMSG(String s)
    • setPARAM

      public void setPARAM(String s)
    • setVISIBLE

      public void setVISIBLE(String s)
      Description copied from interface: Hideable
      Sets the visibility of the component
      Specified by:
      setVISIBLE in interface Hideable
      Parameters:
      s - String used to defines the visibility of the component
    • isVisible

      public boolean isVisible()
      Description copied from interface: Hideable
      Checks the visibility of the component
      Specified by:
      isVisible in interface Hideable
      Returns:
      true if the component is visible, false otherwise
    • 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
    • getEventButton

      public org.apache.ecs.Element getEventButton()
      Create a Button which will be used to launch the user-defined event with specifics params and message.
      If it's set an icon element, the icon will be set to the button.
      If this component instance is read only or not enabled, also the button created will be read only or not enabled.
      Returns:
      A Button which will be used to launch the user-defined event with specifics params and message
    • getBasicHtml

      public org.apache.ecs.Element getBasicHtml(EntitySet es)
      Gets the basic structucre of the component which is a Table used to display its grouped control.
      Parameters:
      es - The EntitySet to which elements belong.
      Returns:
      The basic structucre of the component.
    • setMsg

      public void setMsg(String s)
      Sets a message displayed to the user whenever an event will be launched from event button.
      Represent the message displayed with which the user can confirm or not the event launching.
      Parameters:
      s - The message to set.