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 TypeMethodDescriptionvoid
Removes all focus highlighting.void
destroy()
Destroys the current handler instance.static CmsValueFocusHandler
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 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
-true
to hide the help bubbles
-
onMouseDown
- Specified by:
onMouseDown
in interfacecom.google.gwt.event.dom.client.MouseDownHandler
- See Also:
-
MouseDownHandler.onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent)
-
onMouseOut
- Specified by:
onMouseOut
in interfacecom.google.gwt.event.dom.client.MouseOutHandler
- See Also:
-
MouseOutHandler.onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent)
-
onMouseOver
- Specified by:
onMouseOver
in interfacecom.google.gwt.event.dom.client.MouseOverHandler
- See Also:
-
MouseOverHandler.onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent)
-
setFocus
Sets the given attribute value view focused.- Parameters:
target
- the target attribute value view
-