Class NullComponent

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:
Break, HighlightComponent

@Component public class NullComponent extends Control implements Hideable
This component extends Control and can be used for two purposes: take up space or group multiple elements.
In first case this element must be used as an empty element; In this way it will occupy the space of the elements presents at the same height of the window.
In second case this elements must be used with child elements. So all children will be grouped and managed as one single element in any configuration.
See Also:
GCApi:
component
  • Field Details

    • _fullsize

      protected boolean _fullsize
    • _visible

      protected SetPredicate _visible
  • Constructor Details

    • NullComponent

      public NullComponent()
  • Method Details

    • setFULLSIZE

      public void setFULLSIZE(String s)
      Sets the horizontal size of the NullComponent to fullsize. So, when it is sets to true, the width of the NullComponent will occupy all the space possible
      Parameters:
      s - String containing the boolean value to enable fullsize mode or not.
    • setVISIBLE

      public void setVISIBLE(String s)
      Sets the visibility of the element.
      Specified by:
      setVISIBLE in interface Hideable
      Parameters:
      s - Boolean to enable or disable the visibility of the element.
    • isVisible

      public boolean isVisible()
      Checks if the element is rendered for the user currently logged in the application, or not.
      Specified by:
      isVisible in interface Hideable
      Returns:
      true if the element 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