|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
fi.hut.tml.xsmiles.dom.XSmilesElementImpl
fi.hut.tml.xsmiles.mlfc.xbl2.dom.ElementImpl
fi.hut.tml.xsmiles.mlfc.xbl2.dom.HandlerElementImpl
XBL-element: handler
| Nested Class Summary |
| Nested classes inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
XSmilesElementImpl.PseudoNodeList |
| Field Summary | |
static java.lang.String |
ALTKEY
|
static java.lang.String |
CTRLKEY
|
static java.lang.String |
METAKEY
|
static java.lang.String |
SHIFTKEY
|
| Fields inherited from class fi.hut.tml.xsmiles.dom.XSmilesElementImpl |
DESTROYED, elementStatus, INITIALIZED, INITIALIZING, setPseudoClasses, style, UNINITIALIZED, xblpropname |
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
HandlerElementImpl(org.apache.xerces.dom.DocumentImpl owner,
java.lang.String namespace,
java.lang.String tag)
|
|
| Method Summary | |
boolean |
acceptsAttrChange(short attrChange)
Helper method for filtering mutation events. |
boolean |
acceptsAttrName(java.lang.String attrName)
Helper method for filtering mutation events. |
boolean |
acceptsButton(int buttonNumb)
Checks that will the handler accept this button when filtering events. |
boolean |
acceptsClickCount(int cc)
This function checks if the "click-count" filter attribute on the event matches the one in the handler. |
boolean |
acceptsDefaultAction()
Checks whether the default action should be allowed. |
boolean |
acceptsModifiers(boolean ctrlKey,
boolean shiftKey,
boolean altKey,
boolean metaKey)
This method checks that does this handler accept the modifiers given in parameters. |
boolean |
acceptsNewValue(java.lang.String newValue)
Helper method for filtering mutation events. |
boolean |
acceptsPhase(int phase)
Checks whether the events phase matches the phase attribute on this handler |
boolean |
acceptsPrevValue(java.lang.String prevValue)
Helper method for filtering mutation events. |
boolean |
acceptsTrusted(boolean trusted)
This function checks if the "trusted" filter attribute on the event matches the one in the handler. |
java.lang.String |
getEventName()
|
XBLHandler |
getXBLHandler()
|
static java.lang.String[] |
parseSpaceSeparatedList(java.lang.String list)
This method parses the space separated list and returns an array containing the separated values. |
boolean |
propagate()
From the W3C XBL 2.0 specification: The propagate attribute specifies whether, after processing all listeners at the current node, the event is allowed to continue on its path (either in the capture or the bubble phase). |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, setPrefix, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Field Detail |
public static final java.lang.String CTRLKEY
public static final java.lang.String SHIFTKEY
public static final java.lang.String ALTKEY
public static final java.lang.String METAKEY
| Constructor Detail |
public HandlerElementImpl(org.apache.xerces.dom.DocumentImpl owner,
java.lang.String namespace,
java.lang.String tag)
| Method Detail |
public XBLHandler getXBLHandler()
public static java.lang.String[] parseSpaceSeparatedList(java.lang.String list)
list - Space separated list (e.g. "12 3 35 foo bar"), is allowed to
contain other whitespace characters which are removed.
public boolean propagate()
public boolean acceptsButton(int buttonNumb)
buttonNumb - Button number
public boolean acceptsModifiers(boolean ctrlKey,
boolean shiftKey,
boolean altKey,
boolean metaKey)
ctrlKey - Was control key down?shiftKey - Was shift key down?altKey - Was alt key down?metaKey - Was meta key down?
public boolean acceptsClickCount(int cc)
cc - click-count from the detail-attribute of the event
public boolean acceptsTrusted(boolean trusted)
trusted - value of the trusted attribute on the event object
public boolean acceptsPhase(int phase)
phase - the events phase
public boolean acceptsDefaultAction()
public boolean acceptsPrevValue(java.lang.String prevValue)
prevValue - The prevValue attribute of the event object.
public boolean acceptsNewValue(java.lang.String newValue)
newValue - The newValue attribute of the event object.
public boolean acceptsAttrName(java.lang.String attrName)
attrName - The attrName attribute of the event object.
public boolean acceptsAttrChange(short attrChange)
attrChange - The attrChange attribute of the event object.
MutationEventImplpublic java.lang.String getEventName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||