Uses of Class
org.apache.pivot.wtk.text.Node
-
Packages that use Node Package Description org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.text Contains classes representing a text object model. -
-
Uses of Node in org.apache.pivot.wtk
Methods in org.apache.pivot.wtk with parameters of type Node Modifier and Type Method Description static void
TextPane. dumpNode(java.lang.String msg, Node node, int indent)
-
Uses of Node in org.apache.pivot.wtk.text
Subclasses of Node in org.apache.pivot.wtk.text Modifier and Type Class Description class
Block
Abstract base class for block elements.class
BulletedList
Element representing a bulleted list.class
ComponentNode
Node representing a live Pivot component to be inserted into aTextPane
.class
Document
Node representing the root of an element hierarchy.class
Element
Abstract base class for elements.class
ImageNode
Node representing an image to be inserted into aTextPane
.class
List
Abstract base class for list elements.static class
List.Item
Element representing a list item.class
NumberedList
Element representing a numbered list.class
Paragraph
Element representing a paragraph.class
TextNode
Node representing a sequence of characters.class
TextSpan
Element representing an inline range of styled characters.Methods in org.apache.pivot.wtk.text that return Node Modifier and Type Method Description Node
ComponentNode. duplicate(boolean recursive)
Node
ImageNode. duplicate(boolean recursive)
abstract Node
Node. duplicate(boolean recursive)
Creates a copy of this node.Node
TextNode. duplicate(boolean recursive)
Node
Element. get(int index)
Node
Element. getDescendantAt(int offset)
Determines the descendant node at a given offset.Node
Paragraph. getDescendantAt(int offset)
Get the descendant node at the given offset.Node
ComponentNode. getRange(int offset, int characterCount)
Node
ImageNode. getRange(int offset, int characterCount)
abstract Node
Node. getRange(int offsetArgument, int characterCount)
Returns a range from the node.Node
TextNode. getRange(int offset, int characterCount)
Node
ComponentNode. removeRange(int offset, int span)
Node
Element. removeRange(int offset, int charCount)
Node
ImageNode. removeRange(int offset, int span)
abstract Node
Node. removeRange(int offsetArgument, int characterCount)
Removes a range from the node.Node
Paragraph. removeRange(int offset, int characterCount)
Remove a range of characters from this paragraph.Node
TextNode. removeRange(int offset, int characterCount)
Node
Node. replaceRange(int offsetArgument, int characterCount, Node range)
Replaces an existing range with a new range.Node
Element. update(int index, Node node)
Methods in org.apache.pivot.wtk.text that return types with arguments of type Node Modifier and Type Method Description java.util.Iterator<Node>
Element. iterator()
Sequence<Node>
Element. remove(int index, int count)
Methods in org.apache.pivot.wtk.text with parameters of type Node Modifier and Type Method Description int
Element. add(Node node)
int
Element. indexOf(Node node)
void
Document. insert(Node node, int index)
void
Element. insert(Node node, int index)
void
List. insert(Node node, int index)
void
List.Item. insert(Node node, int index)
void
Paragraph. insert(Node node, int index)
void
TextSpan. insert(Node node, int index)
void
ComponentNode. insertRange(Node range, int offset)
void
Element. insertRange(Node range, int offset)
void
ImageNode. insertRange(Node range, int offset)
abstract void
Node. insertRange(Node range, int offsetArgument)
Inserts a range into the node.void
TextNode. insertRange(Node range, int offset)
void
NodeListener.Adapter. nodeInserted(Node node, int offset)
Deprecated.void
NodeListener.Listeners. nodeInserted(Node node, int offset)
default void
NodeListener. nodeInserted(Node node, int offset)
Called when a child node has been inserted into a node.protected void
Node. nodesRemoved(Node node, Sequence<Node> removed, int offsetArgument)
Called to notify parent nodes and other listeners for the node that child nodes have been removed.void
NodeListener.Adapter. nodesRemoved(Node node, Sequence<Node> removed, int offset)
Deprecated.void
NodeListener.Listeners. nodesRemoved(Node node, Sequence<Node> removed, int offset)
default void
NodeListener. nodesRemoved(Node node, Sequence<Node> removed, int offset)
Called when child nodes have been removed from a node.void
NodeListener.Adapter. offsetChanged(Node node, int previousOffset)
Deprecated.void
NodeListener.Listeners. offsetChanged(Node node, int previousOffset)
default void
NodeListener. offsetChanged(Node node, int previousOffset)
Called when a node's offset has changed within its parent element.void
NodeListener.Adapter. parentChanged(Node node, Element previousParent)
Deprecated.void
NodeListener.Listeners. parentChanged(Node node, Element previousParent)
default void
NodeListener. parentChanged(Node node, Element previousParent)
Called when a node's parent has changed, either as a result of being added to or removed from an element.void
NodeListener.Adapter. rangeInserted(Node node, int offset, int span)
Deprecated.void
NodeListener.Listeners. rangeInserted(Node node, int offset, int characterCount)
default void
NodeListener. rangeInserted(Node node, int offset, int span)
Called when a text range has been inserted into a node.protected void
Element. rangeRemoved(Node originalNode, int offset, int charCount, java.lang.CharSequence removedChars)
protected void
Node. rangeRemoved(Node node, int offsetArgument, int characterCount, java.lang.CharSequence removedChars)
Called to notify parent nodes and other listeners for the node that a range has been removed.void
NodeListener.Adapter. rangeRemoved(Node node, int offset, int characterCount, java.lang.CharSequence removedChars)
Deprecated.void
NodeListener.Listeners. rangeRemoved(Node node, int offset, int characterCount, java.lang.CharSequence removedChars)
default void
NodeListener. rangeRemoved(Node node, int offset, int characterCount, java.lang.CharSequence removedChars)
Called when a text range has been removed from a node.int
Element. remove(Node node)
Node
Node. replaceRange(int offsetArgument, int characterCount, Node range)
Replaces an existing range with a new range.Node
Element. update(int index, Node node)
Method parameters in org.apache.pivot.wtk.text with type arguments of type Node Modifier and Type Method Description void
ElementListener.Adapter. nodesRemoved(Element element, int index, Sequence<Node> nodes)
Deprecated.void
ElementListener.Listeners. nodesRemoved(Element element, int index, Sequence<Node> nodes)
default void
ElementListener. nodesRemoved(Element element, int index, Sequence<Node> nodes)
Called when nodes have been removed from an element.protected void
Node. nodesRemoved(Node node, Sequence<Node> removed, int offsetArgument)
Called to notify parent nodes and other listeners for the node that child nodes have been removed.void
NodeListener.Adapter. nodesRemoved(Node node, Sequence<Node> removed, int offset)
Deprecated.void
NodeListener.Listeners. nodesRemoved(Node node, Sequence<Node> removed, int offset)
default void
NodeListener. nodesRemoved(Node node, Sequence<Node> removed, int offset)
Called when child nodes have been removed from a node.
-