Uses of Interface
javax.swing.text.Element
Packages that use Element
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides for events fired by Swing components.
Provides user interface objects built according to the Basic look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.-
Uses of Element in javax.swing
Constructors in javax.swing with parameters of type Element -
Uses of Element in javax.swing.event
Methods in javax.swing.event that return ElementModifier and TypeMethodDescriptionElement[]
DocumentEvent.ElementChange.getChildrenAdded()
Gets the child elements that were added to the given parent element.Element[]
DocumentEvent.ElementChange.getChildrenRemoved()
Gets the child elements that were removed from the given parent element.DocumentEvent.ElementChange.getElement()
Returns the element represented.HyperlinkEvent.getSourceElement()
Returns theElement
that corresponds to the source of the event.Methods in javax.swing.event with parameters of type ElementModifier and TypeMethodDescriptionGets the change information for the given element.Constructors in javax.swing.event with parameters of type ElementModifierConstructorDescriptionHyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL u, String desc, Element sourceElement) Creates a new object representing a hypertext link event.HyperlinkEvent
(Object source, HyperlinkEvent.EventType type, URL u, String desc, Element sourceElement, InputEvent inputEvent) Creates a new object representing a hypertext link event. -
Uses of Element in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type ElementModifier and TypeMethodDescriptionCreates a view (PasswordView) for an element.Creates a view for an element.Creates a view for an element.Creates a view for an element.Creates a view for an element. -
Uses of Element in javax.swing.plaf.synth
Methods in javax.swing.plaf.synth with parameters of type Element -
Uses of Element in javax.swing.text
Classes in javax.swing.text that implement ElementModifier and TypeClassDescriptionclass
Implements the abstract part of an element.class
Implements a composite element that contains other elements.class
Implements an element that directly represents content of some kind.protected class
Default root element for a document... maps out the paragraphs/lines contained.Fields in javax.swing.text declared as ElementModifier and TypeFieldDescriptionprotected Element
DefaultStyledDocument.AttributeUndoableEdit.element
Affected Element.Methods in javax.swing.text that return ElementModifier and TypeMethodDescriptionCreates a copy of this element, with a different parent.protected Element
AbstractDocument.createBranchElement
(Element parent, AttributeSet a) Creates a document branch element, that can contain other elements.protected Element
AbstractDocument.createLeafElement
(Element parent, AttributeSet a, int p0, int p1) Creates a document leaf element.ElementIterator.current()
Fetches the currentElement
.ElementIterator.first()
Fetches the first element.AbstractDocument.getBidiRootElement()
Returns the root element of the bidirectional structure for this document.StyledEditorKit.getCharacterAttributeRun()
Fetches the element representing the current run of character attributes for the caret.DefaultStyledDocument.getCharacterElement
(int pos) Gets a character element based on a position.StyledDocument.getCharacterElement
(int pos) Gets the element that represents the character that is at the given offset within the document.Element[]
AbstractDocument.ElementEdit.getChildrenAdded()
Gets a list of children that were added.Element[]
AbstractDocument.ElementEdit.getChildrenRemoved()
Gets a list of children that were removed.abstract Element
AbstractDocument.getDefaultRootElement()
Returns the root element that views should be based upon unless some other mechanism for assigning views to element structures is provided.DefaultStyledDocument.getDefaultRootElement()
Gets the default root element.Document.getDefaultRootElement()
Returns the root element that views should be based upon, unless some other mechanism for assigning views to element structures is provided.PlainDocument.getDefaultRootElement()
Gets the default root element for the document model.abstract Element
AbstractDocument.AbstractElement.getElement
(int index) Gets a child element.AbstractDocument.BranchElement.getElement
(int index) Gets a child element.AbstractDocument.ElementEdit.getElement()
Returns the underlying element.AbstractDocument.LeafElement.getElement
(int index) Gets a child element.Element.getElement
(int index) Fetches the child element at the given index.View.getElement()
Fetches the structural portion of the subject that this view is mapped to.abstract Element
AbstractDocument.getParagraphElement
(int pos) Get the paragraph element containing the given position.DefaultStyledDocument.getParagraphElement
(int pos) Gets the paragraph element at the offsetpos
.PlainDocument.getParagraphElement
(int pos) Get the paragraph element containing the given position.StyledDocument.getParagraphElement
(int pos) Gets the element that represents the paragraph that encloses the given offset within the document.static final Element
Utilities.getParagraphElement
(JTextComponent c, int offs) Determines the element to use for a paragraph/line.AbstractDocument.AbstractElement.getParentElement()
Gets the parent of the element.Element.getParentElement()
Fetches the parent element.DefaultStyledDocument.ElementBuffer.getRootElement()
Gets the root element.Element[]
AbstractDocument.getRootElements()
Gets all root elements defined.Element[]
Document.getRootElements()
Returns all of the root elements that are defined.ElementIterator.next()
Fetches the nextElement
.AbstractDocument.BranchElement.positionToElement
(int pos) Gets the child element that contains the given model position.ElementIterator.previous()
Fetches the previousElement
.Methods in javax.swing.text with parameters of type ElementModifier and TypeMethodDescriptionCreates a copy of this element, with a different parent.Creates a view from the given structural element of a document.protected Element
AbstractDocument.createBranchElement
(Element parent, AttributeSet a) Creates a document branch element, that can contain other elements.protected void
StyledEditorKit.createInputAttributes
(Element element, MutableAttributeSet set) Copies the key/values inelement
s AttributeSet intoset
.protected Element
AbstractDocument.createLeafElement
(Element parent, AttributeSet a, int p0, int p1) Creates a document leaf element.protected TableView.TableCell
TableView.createTableCell
(Element elem) Deprecated.Table cells can now be any arbitrary View implementation and should be produced by the ViewFactory rather than the table.protected TableView.TableRow
TableView.createTableRow
(Element elem) Creates a new table row.Gets the changes for an element.protected String
AbstractWriter.