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 Viewport extends Container implements Hideable
The Viewport class supports dynamic layouts with visibility control, split views, and vertical or horizontal alignment.
Since:
19.0
See Also:
GCApi:
component
  • Field Details

  • Constructor Details

    • Viewport

      public Viewport()
  • Method Details

    • setBORDER

      public void setBORDER(String border)
    • setSPLIT

      public void setSPLIT(String split)
    • setVERTICAL

      public void setVERTICAL(String vertical)
    • buildDisplayScript

      public void buildDisplayScript(StringBuilder sb)
      Description copied from class: Component
      Every component can add a script to the StringBuilder, script executed when the component is displayed.
      Overrides:
      buildDisplayScript in class Component
      Parameters:
      sb - The StringBuilder on which we want to add the script
    • getJsVarName

      public String getJsVarName()
    • domId

      protected String domId()
    • getVisibleViewportPart

      public List<ViewportPart> getVisibleViewportPart()
    • getHtml

      public org.apache.ecs.Element getHtml(EntitySet es)
      Description copied from class: Container
      Returns the html code of the Container
      Overrides:
      getHtml in class Container
      Parameters:
      es - The EntitySet to which the element belong
      Returns:
      The html code of the Container
    • getFooter

      protected ViewportFooter getFooter()
    • addBorder

      protected void addBorder(StringBuilder style)
    • 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