|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Node
Method Summary | |
InsertionPoint
|
getFirstInsertionPoint()
Returns the first insertion point in this element, if any. |
InsertionPoint
|
getLastInsertionPoint()
Returns the last insertion point in this element, if any. |
Null
|
getLength()
Gets the length of this node. |
Node
|
getParentBlock()
Climbs toward the root of the DOM tree until it finds an ancestor node for which isBlock is true, or it reaches the documentElement. |
Integer
|
getPosition()
Returns the offset of this child within it's parent. |
InsertionPoint
|
getTerminalInsertionPoint(<Integer> direction)
Returns either the firs or the last insertion point (if any), depending on the given direction. |
String
|
getXPath()
Returns a simple unique XPath location for this node. |
Node
|
insertAfter(<Node> newNode, <Node> refNode)
A simple convenience function which inserted the newNode after the referenceNode. |
Boolean
|
isAncestorOf(<Node> node)
Climbs the DOM tree until it finds the given node, or the documentElement. |
Boolean
|
isBlock()
Checks to see if this node has a CSS display property which matches the matchDisplayBlock regular expression (defined globally at the top of this file). |
Boolean
|
isEditable()
Checks to see if the node is editable. |
Method Detail |
InsertionPoint getFirstInsertionPoint()
InsertionPoint getLastInsertionPoint()
Null getLength()
Node getParentBlock()
Integer getPosition()
InsertionPoint getTerminalInsertionPoint(<Integer> direction)
direction
- See the special constants in InsertionPoint. Can be NEXT or PREVIOUS.
String getXPath()
Node insertAfter(<Node> newNode, <Node> refNode)
newNode
- . The new node to be inserted.
refNode
- . The node which will be the newNode's previousSibling.
Boolean isAncestorOf(<Node> node)
node
- The node which might be an ancestor of this node.
Boolean isBlock()
Boolean isEditable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |