Class SearchBoxMenu

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, AjaxableComponent, Badgeable, EventValidator, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

public class SearchBoxMenu extends Control implements EventValidator, AjaxableComponent
This component is use to display the new search box when the hideable favorites mode is active
When it's active this new mode the search bar, into the identity box, will be placed above the favorites box and will be displayed an icon on its left side that allows the user to hide/show the entire favorites box
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getFrameHtml

      public org.apache.ecs.Element getFrameHtml(overit.geocall.ux.servlet.processor.Change c, EntitySet es)
      Description copied from interface: AjaxableComponent
      Defines the html part of the element that changes when an Ajax interaction occurs
      Specified by:
      getFrameHtml in interface AjaxableComponent
      Parameters:
      c - The Change object that defines the specific morphing type for the element
      es - The EntitySet to which the element belongs
      Returns:
      The html part of the element that changes when an Ajax interaction occurs
    • changed

      public void changed(overit.geocall.ux.servlet.processor.Change change)
      Description copied from interface: AjaxableComponent
      Defines the morphing of the element that occurs when there is an Ajax interaction
      Specified by:
      changed in interface AjaxableComponent
      Parameters:
      change - The Change object that defines the specific morphing type for the element
    • getDefaultChange

      public overit.geocall.ux.servlet.processor.Change getDefaultChange()
      Description copied from interface: AjaxableComponent
      Defines the default Change object for the element
      Specified by:
      getDefaultChange in interface AjaxableComponent
      Returns:
      The default Change object that defines the default morphing type of the element
    • 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
    • getSearchBox

      protected org.apache.ecs.Element getSearchBox()
    • validateParams

      public boolean validateParams(UIMessage uim)
      Description copied from interface: EventValidator
      Checks if the parameters are valid or not
      Specified by:
      validateParams in interface EventValidator
      Parameters:
      uim - The UIMessage that contains the parameters that must be validated
      Returns:
      true if the parameters are valid, false otherwise
    • needValueValidation

      public boolean needValueValidation()
      Specified by:
      needValueValidation in interface EventValidator