Uses of Class
org.apache.pivot.wtk.text.Element
-
Packages that use Element Package Description org.apache.pivot.wtk.text Contains classes representing a text object model. -
-
Uses of Element in org.apache.pivot.wtk.text
Subclasses of Element 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
Document
Node representing the root of an element hierarchy.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
TextSpan
Element representing an inline range of styled characters.Methods in org.apache.pivot.wtk.text that return Element Modifier and Type Method Description abstract Element
Element. duplicate(boolean recursive)
Element
Node. getParent()
Returns the parent element of this node.Element
Element. getRange(int offset, int charCount)
Methods in org.apache.pivot.wtk.text with parameters of type Element Modifier and Type Method Description void
ElementListener.Adapter. backgroundColorChanged(Element element, java.awt.Color previousBackgroundColor)
Deprecated.default void
ElementListener. backgroundColorChanged(Element element, java.awt.Color previousBackgroundColor)
Called when the background color has changed.void
ElementListener.Listeners. backgroundColorChanged(Element element, java.awt.Color previousBackgroundColor)
void
ElementListener.Adapter. fontChanged(Element element, java.awt.Font previousFont)
Deprecated.default void
ElementListener. fontChanged(Element element, java.awt.Font previousFont)
Called when the font has changed.void
ElementListener.Listeners. fontChanged(Element element, java.awt.Font previousFont)
void
ElementListener.Adapter. foregroundColorChanged(Element element, java.awt.Color previousForegroundColor)
Deprecated.default void
ElementListener. foregroundColorChanged(Element element, java.awt.Color previousForegroundColor)
Called when the foreground color has changed.void
ElementListener.Listeners. foregroundColorChanged(Element element, java.awt.Color previousForegroundColor)
void
ElementListener.Adapter. nodeInserted(Element element, int index)
Deprecated.void
ElementListener.Listeners. nodeInserted(Element element, int index)
default void
ElementListener. nodeInserted(Element element, int index)
Called when a node has been inserted into an element.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.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.protected void
Document. setParent(Element parent)
protected void
Node. setParent(Element parent)
void
ElementListener.Adapter. strikethroughChanged(Element element)
Deprecated.void
ElementListener.Listeners. strikethroughChanged(Element element)
default void
ElementListener. strikethroughChanged(Element element)
Called when strikethrough style has changed.void
ElementListener.Adapter. underlineChanged(Element element)
Deprecated.void
ElementListener.Listeners. underlineChanged(Element element)
default void
ElementListener. underlineChanged(Element element)
Called when underline style has changed.Constructors in org.apache.pivot.wtk.text with parameters of type Element Constructor Description Element(Element element, boolean recursive)
-