Class CmsValueFocusHandler

java.lang.Object
org.opencms.acacia.client.CmsValueFocusHandler
All Implemented Interfaces:
com.google.gwt.event.dom.client.MouseDownHandler, com.google.gwt.event.dom.client.MouseOutHandler, com.google.gwt.event.dom.client.MouseOverHandler, com.google.gwt.event.shared.EventHandler

public final class CmsValueFocusHandler extends Object implements com.google.gwt.event.dom.client.MouseOverHandler, com.google.gwt.event.dom.client.MouseOutHandler, com.google.gwt.event.dom.client.MouseDownHandler
The attribute value view highlighting handler.

  • Method Details

    • getInstance

      Returns the highlighting handler instance.

      Returns:
      the highlighting handler instance
    • clearFocus

      public void clearFocus()
      Removes all focus highlighting.

    • destroy

      public void destroy()
      Destroys the current handler instance.

    • hideHelpBubbles

      public void hideHelpBubbles(com.google.gwt.user.client.ui.Widget formPanel, boolean hide)
      Hides all help bubbles.

      Parameters:
      formPanel - the form panel
      hide - true to hide the help bubbles
    • onMouseDown

      public void onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent event)
      Specified by:
      onMouseDown in interface com.google.gwt.event.dom.client.MouseDownHandler
      See Also:
      • MouseDownHandler.onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent)
    • onMouseOut

      public void onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent event)
      Specified by:
      onMouseOut in interface com.google.gwt.event.dom.client.MouseOutHandler
      See Also:
      • MouseOutHandler.onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent)
    • onMouseOver

      public void onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent event)
      Specified by:
      onMouseOver in interface com.google.gwt.event.dom.client.MouseOverHandler
      See Also:
      • MouseOverHandler.onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent)
    • setFocus

      public void setFocus(CmsAttributeValueView target)
      Sets the given attribute value view focused.

      Parameters:
      target - the target attribute value view