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 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
Modifier and TypeMethodDescriptionvoidRemoves all focus highlighting.voiddestroy()Destroys the current handler instance.static CmsValueFocusHandlerReturns the highlighting handler instance.voidhideHelpBubbles(com.google.gwt.user.client.ui.Widget formPanel, boolean hide) Hides all help bubbles.voidonMouseDown(com.google.gwt.event.dom.client.MouseDownEvent event) voidonMouseOut(com.google.gwt.event.dom.client.MouseOutEvent event) voidonMouseOver(com.google.gwt.event.dom.client.MouseOverEvent event) voidsetFocus(CmsAttributeValueView target) Sets the given attribute value view focused.
-
Method Details
-
getInstance
Returns the highlighting handler instance.- Returns:
- the highlighting handler instance
-
clearFocus
Removes all focus highlighting. -
destroy
Destroys the current handler instance. -
hideHelpBubbles
Hides all help bubbles.- Parameters:
formPanel- the form panelhide-trueto hide the help bubbles
-
onMouseDown
- Specified by:
onMouseDownin interfacecom.google.gwt.event.dom.client.MouseDownHandler- See Also:
-
onMouseOut
- Specified by:
onMouseOutin interfacecom.google.gwt.event.dom.client.MouseOutHandler- See Also:
-
onMouseOver
- Specified by:
onMouseOverin interfacecom.google.gwt.event.dom.client.MouseOverHandler- See Also:
-
setFocus
Sets the given attribute value view focused.- Parameters:
target- the target attribute value view
-