org.lobobrowser.html.domimpl
Class HTMLAbstractUIElement

java.lang.Object
  extended by org.lobobrowser.js.AbstractScriptableDelegate
      extended by org.lobobrowser.html.domimpl.NodeImpl
          extended by org.lobobrowser.html.domimpl.ElementImpl
              extended by org.lobobrowser.html.domimpl.HTMLElementImpl
                  extended by org.lobobrowser.html.domimpl.HTMLAbstractUIElement
All Implemented Interfaces:
ModelNode, org.lobobrowser.html.style.CSS2PropertiesContext, org.lobobrowser.js.ScriptableDelegate, org.w3c.dom.Element, org.w3c.dom.html2.HTMLElement, org.w3c.dom.Node
Direct Known Subclasses:
HTMLAppletElementImpl, HTMLBaseFontElementImpl, HTMLBaseInputElement, HTMLBlockQuoteElementImpl, HTMLBodyElementImpl, HTMLCenterElementImpl, HTMLDivElementImpl, HTMLEmElementImpl, HTMLFontElementImpl, HTMLFontSizeChangeElementImpl, HTMLFormElementImpl, HTMLGenericMarkupElement, HTMLHeadingElementImpl, HTMLHRElementImpl, HTMLIFrameElementImpl, HTMLImageElementImpl, HTMLLIElementImpl, HTMLLinkElementImpl, HTMLMonospacedElementImpl, HTMLObjectElementImpl, HTMLOListElementImpl, HTMLPElementImpl, HTMLPreElementImpl, HTMLSpanElementImpl, HTMLStrikeElementImpl, HTMLStrongElementImpl, HTMLSuperscriptElementImpl, HTMLTableCellElementImpl, HTMLTableElementImpl, HTMLUListElementImpl, HTMLUnderlineElementImpl

public class HTMLAbstractUIElement
extends HTMLElementImpl

Implements common functionality of most elements.


Field Summary
 
Fields inherited from class org.lobobrowser.html.domimpl.ElementImpl
attributes
 
Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl
document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNode
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
HTMLAbstractUIElement(java.lang.String name)
           
 
Method Summary
protected  void assignAttributeField(java.lang.String normalName, java.lang.String value)
           
 void blur()
           
 void focus()
           
protected  org.mozilla.javascript.Function getEventFunction(org.mozilla.javascript.Function varValue, java.lang.String attributeName)
           
 org.mozilla.javascript.Function getOnblur()
           
 org.mozilla.javascript.Function getOnclick()
           
 org.mozilla.javascript.Function getOncontextmenu()
           
 org.mozilla.javascript.Function getOndblclick()
           
 org.mozilla.javascript.Function getOnfocus()
           
 org.mozilla.javascript.Function getOnkeydown()
           
 org.mozilla.javascript.Function getOnkeypress()
           
 org.mozilla.javascript.Function getOnkeyup()
           
 org.mozilla.javascript.Function getOnmousedown()
           
 org.mozilla.javascript.Function getOnmousemove()
           
 org.mozilla.javascript.Function getOnmouseout()
           
 org.mozilla.javascript.Function getOnmouseover()
           
 org.mozilla.javascript.Function getOnmouseup()
           
 void setOnblur(org.mozilla.javascript.Function onblur)
           
 void setOnclick(org.mozilla.javascript.Function onclick)
           
 void setOncontextmenu(org.mozilla.javascript.Function oncontextmenu)
           
 void setOndblclick(org.mozilla.javascript.Function ondblclick)
           
 void setOnfocus(org.mozilla.javascript.Function onfocus)
           
 void setOnkeydown(org.mozilla.javascript.Function onkeydown)
           
 void setOnkeypress(org.mozilla.javascript.Function onkeypress)
           
 void setOnkeyup(org.mozilla.javascript.Function onkeyup)
           
 void setOnmousedown(org.mozilla.javascript.Function onmousedown)
           
 void setOnmousemove(org.mozilla.javascript.Function onmousemove)
           
 void setOnmouseout(org.mozilla.javascript.Function onmouseout)
           
 void setOnmouseover(org.mozilla.javascript.Function onmouseover)
           
 void setOnmouseup(org.mozilla.javascript.Function onmouseup)
           
 
Methods inherited from class org.lobobrowser.html.domimpl.HTMLElementImpl
addStyleSheetDeclarations, appendOuterHTMLImpl, createDefaultStyleSheet, createRenderState, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAncestor, getAncestorForJavaClass, getAncestorWithClass, getAncestorWithId, getAttributeAsBoolean, getAttributeAsInt, getCharset, getClassName, getComputedStyle, getCssInputSourceForDecl, getCurrentStyle, getDocumentBaseURI, getFormInputs, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOuterHTML, getParent, getParentStyle, getParentWithClass, getParentWithId, getPreceedingSibling, getPreceedingSiblingElement, getPreceedingSiblingWithClass, getPreceedingSiblingWithId, getPseudoNames, getStyle, informInvalid, informInvalidAttibute, setCharset, setClassName, setCurrentStyle, setInnerHTML, setMouseOver, setStyle, toString, warn, warn
 
Methods inherited from class org.lobobrowser.html.domimpl.ElementImpl
createSimilarNode, equalAttributes, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDir, getElementsByTagName, getElementsByTagNameNS, getId, getLang, getLocalName, getNodeName, getNodeType, getNodeValue, getRawInnerText, getSchemaTypeInfo, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, htmlEncodeChildText, isTagName, normalizeAttributeName, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeImpl, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDir, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerText, setLang, setNodeValue, setTitle
 
Methods inherited from class org.lobobrowser.html.domimpl.NodeImpl
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, cloneNode, compareDocumentPosition, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getInnerText, getLastChild, getNamespaceURI, getNextSibling, getNodeList, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getTextContent, getUINode, getUserAgentContext, getUserData, hasChildNodes, informDocumentInvalid, informExternalScriptLoading, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setPrefix, setTextContent, setUINode, setUserData
 
Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate
getScriptable, setScriptable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html2.HTMLElement
getDir, getId, getLang, getTitle, setDir, setId, setLang, setTitle
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from interface org.lobobrowser.html.style.CSS2PropertiesContext
informLayoutInvalid, informLookInvalid, informPositionInvalid, informSizeInvalid
 

Constructor Detail

HTMLAbstractUIElement

public HTMLAbstractUIElement(java.lang.String name)
Method Detail

getOnblur

public org.mozilla.javascript.Function getOnblur()

setOnblur

public void setOnblur(org.mozilla.javascript.Function onblur)

getOnclick

public org.mozilla.javascript.Function getOnclick()

setOnclick

public void setOnclick(org.mozilla.javascript.Function onclick)

getOndblclick

public org.mozilla.javascript.Function getOndblclick()

setOndblclick

public void setOndblclick(org.mozilla.javascript.Function ondblclick)

getOnfocus

public org.mozilla.javascript.Function getOnfocus()

setOnfocus

public void setOnfocus(org.mozilla.javascript.Function onfocus)

getOnkeydown

public org.mozilla.javascript.Function getOnkeydown()

setOnkeydown

public void setOnkeydown(org.mozilla.javascript.Function onkeydown)

getOnkeypress

public org.mozilla.javascript.Function getOnkeypress()

setOnkeypress

public void setOnkeypress(org.mozilla.javascript.Function onkeypress)

getOnkeyup

public org.mozilla.javascript.Function getOnkeyup()

setOnkeyup

public void setOnkeyup(org.mozilla.javascript.Function onkeyup)

getOnmousedown

public org.mozilla.javascript.Function getOnmousedown()

setOnmousedown

public void setOnmousedown(org.mozilla.javascript.Function onmousedown)

getOnmousemove

public org.mozilla.javascript.Function getOnmousemove()

setOnmousemove

public void setOnmousemove(org.mozilla.javascript.Function onmousemove)

getOnmouseout

public org.mozilla.javascript.Function getOnmouseout()

setOnmouseout

public void setOnmouseout(org.mozilla.javascript.Function onmouseout)

getOnmouseover

public org.mozilla.javascript.Function getOnmouseover()

setOnmouseover

public void setOnmouseover(org.mozilla.javascript.Function onmouseover)

getOnmouseup

public org.mozilla.javascript.Function getOnmouseup()

setOnmouseup

public void setOnmouseup(org.mozilla.javascript.Function onmouseup)

getOncontextmenu

public org.mozilla.javascript.Function getOncontextmenu()

setOncontextmenu

public void setOncontextmenu(org.mozilla.javascript.Function oncontextmenu)

focus

public void focus()

blur

public void blur()

getEventFunction

protected org.mozilla.javascript.Function getEventFunction(org.mozilla.javascript.Function varValue,
                                                           java.lang.String attributeName)

assignAttributeField

protected void assignAttributeField(java.lang.String normalName,
                                    java.lang.String value)
Overrides:
assignAttributeField in class HTMLElementImpl


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Cobra Project Home]