org.itsnat.comp.button.normal
Interface ItsNatHTMLAnchor

All Superinterfaces:
ItsNatButton, ItsNatButtonNormal, ItsNatComponent, ItsNatElementComponent, ItsNatHTMLElementComponent, ItsNatUserData
All Known Subinterfaces:
ItsNatHTMLAnchorLabel

public interface ItsNatHTMLAnchor
extends ItsNatHTMLElementComponent, ItsNatButtonNormal

Is the interface of HTML <a> based components. This component type works as a normal button.

ItsNat provides a default implementation of this interface.

Author:
Jose Maria Arranz Santamaria
See Also:
ItsNatHTMLComponentManager.createItsNatHTMLAnchor(org.w3c.dom.html.HTMLAnchorElement,org.itsnat.core.NameValue[])

Method Summary
 void blur()
          Removes focus from this element.
 void focus()
          Gives focus to this element.
 org.w3c.dom.html.HTMLAnchorElement getHTMLAnchorElement()
          Returns the associated DOM element to this component.
 
Methods inherited from interface org.itsnat.comp.ItsNatHTMLElementComponent
getHTMLElement, getItsNatHTMLComponentManager, getItsNatHTMLElementComponentUI
 
Methods inherited from interface org.itsnat.comp.button.ItsNatButton
createDefaultButtonModel, getButtonModel, getItsNatButtonUI, isEnabled, setButtonModel, setEnabled
 
Methods inherited from interface org.itsnat.comp.ItsNatElementComponent
getElement, getItsNatElementComponentUI
 
Methods inherited from interface org.itsnat.comp.ItsNatComponent
addEventListener, addEventListener, addEventListener, addEventListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, disableEventListener, disableEventListener, dispose, enableEventListener, enableEventListener, getArtifact, getArtifact, getItsNatComponentManager, getItsNatComponentUI, getItsNatDocument, getNode, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, isDisposed, registerArtifact, removeArtifact, removeEventListener, removeEventListener, removeEventListener, removeEventListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, setEventListenerParams, setEventListenerParams, setNode
 
Methods inherited from interface org.itsnat.core.ItsNatUserData
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
 

Method Detail

getHTMLAnchorElement

org.w3c.dom.html.HTMLAnchorElement getHTMLAnchorElement()
Returns the associated DOM element to this component.

Returns:
the associated DOM element.

blur

void blur()
Removes focus from this element.

It sends the appropriated JavaScript to the client to call again using the symmetric DOM element at the client. This method does the same as org.w3c.dom.html.HTMLAnchorElement.blur() in non-internal (remote) event mode.


focus

void focus()
Gives focus to this element.

It sends the appropriated JavaScript to the client to call again using the symmetric DOM element at the client. This method does the same as org.w3c.dom.html.HTMLAnchorElement.focus() in non-internal (remote) event mode.



Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.