Package org.opencms.acacia.client
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 java.lang.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearFocus()
Removes all focus highlighting.void
destroy()
Destroys the current handler instance.static CmsValueFocusHandler
getInstance()
Returns the highlighting handler instance.void
hideHelpBubbles(com.google.gwt.user.client.ui.Widget formPanel, boolean hide)
Hides all help bubbles.void
onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent event)
void
onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent event)
void
onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent event)
void
setFocus(CmsAttributeValueView target)
Sets the given attribute value view focused.
-
-
-
Method Detail
-
getInstance
public static CmsValueFocusHandler 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 panelhide
-true
to hide the help bubbles
-
onMouseDown
public void onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent event)
- Specified by:
onMouseDown
in interfacecom.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 interfacecom.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 interfacecom.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
-
-