|
|||||||||
Home >> All >> javax >> swing >> [ text overview ] | PREV NEXT |
A
- ALIGN_BAR - Static variable in class javax.swing.text.TabStop
- ALIGN_CENTER - Static variable in class javax.swing.text.StyleConstants
- A value representing center alignment for the
StyleConstants.ParagraphConstants.Alignment
55 attribute. - ALIGN_CENTER - Static variable in class javax.swing.text.TabStop
- ALIGN_DECIMAL - Static variable in class javax.swing.text.TabStop
- ALIGN_JUSTIFIED - Static variable in class javax.swing.text.StyleConstants
- A value representing ful justification for the
StyleConstants.ParagraphConstants.Alignment
55 attribute. - ALIGN_LEFT - Static variable in class javax.swing.text.StyleConstants
- A value representing left alignment for the
StyleConstants.ParagraphConstants.Alignment
55 attribute. - ALIGN_LEFT - Static variable in class javax.swing.text.TabStop
- ALIGN_RIGHT - Static variable in class javax.swing.text.StyleConstants
- A value representing right alignment for the
StyleConstants.ParagraphConstants.Alignment
55 attribute. - ALIGN_RIGHT - Static variable in class javax.swing.text.TabStop
- ALPHANUM_CHAR - Static variable in class javax.swing.text.MaskFormatter
- ALWAYS_UPDATE - Static variable in class javax.swing.text.DefaultCaret
- Indicates the Caret position should always be updated after Document changes even if the updates are not performed on the Event Dispatching thread.
- ANYTHING_CHAR - Static variable in class javax.swing.text.MaskFormatter
- AbstractDocument - class javax.swing.text.AbstractDocument.
- An abstract base implementation for the Document interface.
- AbstractDocument(AbstractDocument.Content) - Constructor for class javax.swing.text.AbstractDocument
- Creates a new
AbstractDocument
with the specified AbstractDocument.Content model. - AbstractDocument(AbstractDocument.Content, AbstractDocument.AttributeContext) - Constructor for class javax.swing.text.AbstractDocument
- Creates a new
AbstractDocument
with the specified AbstractDocument.Content model and AbstractDocument.AttributeContext. - AbstractDocument.AbstractElement - class javax.swing.text.AbstractDocument.AbstractElement.
- An abstract base implementation of the Element interface.
- AbstractDocument.AbstractElement(Element, AttributeSet) - Constructor for class javax.swing.text.AbstractDocument.AbstractElement
- Creates a new instance of
AbstractElement
with a specified parentElement
andAttributeSet
. - AbstractDocument.AttributeContext - interface javax.swing.text.AbstractDocument.AttributeContext.
- Defines a set of methods for managing text attributes for one or more
Document
s. - AbstractDocument.BranchElement - class javax.swing.text.AbstractDocument.BranchElement.
- An implementation of Element to represent composite
Element
s that contain otherElement
s. - AbstractDocument.BranchElement(Element, AttributeSet) - Constructor for class javax.swing.text.AbstractDocument.BranchElement
- Creates a new
BranchElement
with the specified parent and attributes. - AbstractDocument.Bypass - class javax.swing.text.AbstractDocument.Bypass.
- A class whose methods delegate to the insert, remove and replace methods of this document which do not check for an installed DocumentFilter.
- AbstractDocument.Bypass() - Constructor for class javax.swing.text.AbstractDocument.Bypass
- AbstractDocument.Content - interface javax.swing.text.AbstractDocument.Content.
- A sequence of data that can be edited.
- AbstractDocument.DefaultDocumentEvent - class javax.swing.text.AbstractDocument.DefaultDocumentEvent.
- Stores the changes when a
Document
is beeing modified. - AbstractDocument.DefaultDocumentEvent(int, int, DocumentEvent.EventType) - Constructor for class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Creates a new
DefaultDocumentEvent
. - AbstractDocument.ElementEdit - class javax.swing.text.AbstractDocument.ElementEdit.
- An implementation of
DocumentEvent.ElementChange
to be added toDefaultDocumentEvent
s. - AbstractDocument.ElementEdit(Element, int, Element[], Element[]) - Constructor for class javax.swing.text.AbstractDocument.ElementEdit
- Creates a new
ElementEdit
. - AbstractDocument.LeafElement - class javax.swing.text.AbstractDocument.LeafElement.
- An implementation of Element that represents a leaf in the document structure.
- AbstractDocument.LeafElement(Element, AttributeSet, int, int) - Constructor for class javax.swing.text.AbstractDocument.LeafElement
- Creates a new
LeafElement
. - AbstractWriter - class javax.swing.text.AbstractWriter.
- This is an abstract base class for writing Document instances to a Writer.
- AbstractWriter(Writer, Document) - Constructor for class javax.swing.text.AbstractWriter
- Create a new AbstractWriter with the indicated Writer and Document.
- AbstractWriter(Writer, Document, int, int) - Constructor for class javax.swing.text.AbstractWriter
- Create a new AbstractWriter with the indicated Writer and Document.
- AbstractWriter(Writer, Element) - Constructor for class javax.swing.text.AbstractWriter
- Create a new AbstractWriter with the indicated Writer and Element.
- AbstractWriter(Writer, Element, int, int) - Constructor for class javax.swing.text.AbstractWriter
- Create a new AbstractWriter with the indicated Writer and Element.
- Alignment - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.Alignment
55 . - Alignment - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the alignment paragraph attribute.
- AsyncBoxView - class javax.swing.text.AsyncBoxView.
- A View implementation that lays out its child views in a box, either vertically or horizontally.
- AsyncBoxView(Element, int) - Constructor for class javax.swing.text.AsyncBoxView
- Creates a new
AsyncBoxView
that represents the specified element and layouts its children along the specified axis. - AsyncBoxView.ChildLocator - class javax.swing.text.AsyncBoxView.ChildLocator.
- Manages the effective position of child views.
- AsyncBoxView.ChildLocator() - Constructor for class javax.swing.text.AsyncBoxView.ChildLocator
- Creates a new ChildLocator.
- AsyncBoxView.ChildState - class javax.swing.text.AsyncBoxView.ChildState.
- Represents the layout state of a child view.
- AsyncBoxView.ChildState(View) - Constructor for class javax.swing.text.AsyncBoxView.ChildState
- Creates a new
ChildState
object for the specified child view. - AsyncBoxView.FlushTask - class javax.swing.text.AsyncBoxView.FlushTask.
- Flushes the requirements changes upwards asynchronously.
- AsyncBoxView.FlushTask() - Constructor for class javax.swing.text.AsyncBoxView.FlushTask
- AttributeSet - interface javax.swing.text.AttributeSet.
- A set of attributes.
- AttributeSet.CharacterAttribute - interface javax.swing.text.AttributeSet.CharacterAttribute.
- Used as keys to identify character-run attributes.
- AttributeSet.ColorAttribute - interface javax.swing.text.AttributeSet.ColorAttribute.
- Used as keys to identify color attributes.
- AttributeSet.FontAttribute - interface javax.swing.text.AttributeSet.FontAttribute.
- Used as keys to identify font attributes.
- AttributeSet.ParagraphAttribute - interface javax.swing.text.AttributeSet.ParagraphAttribute.
- Used as keys to identify paragraph level attributes.
- a - Variable in class javax.swing.text.StyledEditorKit.AlignmentAction
- The aligment to set.
- actionName - Variable in class javax.swing.text.JTextComponent.KeyBinding
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultCaret.BlinkTimerListener
- Receives notification when the blink timer fires and updates the visible state of the caret.
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.BackwardAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.BeepAction
- Performs the
Action
. - actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.BeginLineAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.CopyAction
- Performs the
Action
. - actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.CutAction
- Performs the
Action
. - actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction
- Performs the
Action
. - actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.DeleteNextCharAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.DeletePrevCharAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.DownAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.EndLineAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.ForwardAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.InsertBreakAction
- Performs the
Action
. - actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.InsertContentAction
- Performs the
Action
. - actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.InsertTabAction
- Performs the
Action
. - actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.NextWordAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.PasteAction
- Performs the
Action
. - actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.PreviousWordAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectAllAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionBackwardAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionBeginAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionBeginLineAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionDownAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionEndAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionEndLineAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionForwardAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionNextWordAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionPreviousWordAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.SelectionUpAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.DefaultEditorKit.UpAction
- actionPerformed(ActionEvent) - Method in class javax.swing.text.StyledEditorKit.AlignmentAction
- Performs the action.
- actionPerformed(ActionEvent) - Method in class javax.swing.text.StyledEditorKit.BoldAction
- Performs the action.
- actionPerformed(ActionEvent) - Method in class javax.swing.text.StyledEditorKit.FontFamilyAction
- Performs the action.
- actionPerformed(ActionEvent) - Method in class javax.swing.text.StyledEditorKit.FontSizeAction
- Performs the action.
- actionPerformed(ActionEvent) - Method in class javax.swing.text.StyledEditorKit.ForegroundAction
- Performs the action.
- actionPerformed(ActionEvent) - Method in class javax.swing.text.StyledEditorKit.ItalicAction
- Performs the action.
- actionPerformed(ActionEvent) - Method in class javax.swing.text.StyledEditorKit.UnderlineAction
- Performs the action.
- addActionForKeyStroke(KeyStroke, Action) - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- addActionForKeyStroke(KeyStroke, Action) - Method in interface javax.swing.text.Keymap
- addAddedElement(Element) - Method in class javax.swing.text.DefaultStyledDocument.Edit
- Adds one Element to the vector of added Elements.
- addAddedElements(Element[]) - Method in class javax.swing.text.DefaultStyledDocument.Edit
- Adds each Element in the given array to the vector of added Elements.
- addAttribute(Object, Object) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Adds an attribute to this element.
- addAttribute(AttributeSet, Object, Object) - Method in interface javax.swing.text.AbstractDocument.AttributeContext
- Returns an AttributeSet that contains the attributes
of
old
plus the new attribute specified byname
andvalue
. - addAttribute(Object, Object) - Method in interface javax.swing.text.MutableAttributeSet
- Adds an attribute with the given
name
andvalue
to the set. - addAttribute(Object, Object) - Method in class javax.swing.text.SimpleAttributeSet
- Adds an attribute with the given
name
andvalue
to the set. - addAttribute(Object, Object) - Method in class javax.swing.text.StyleContext.NamedStyle
- addAttribute(AttributeSet, Object, Object) - Method in class javax.swing.text.StyleContext
- addAttributes(AttributeSet) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Adds a set of attributes to this element.
- addAttributes(AttributeSet, AttributeSet) - Method in interface javax.swing.text.AbstractDocument.AttributeContext
- Returns an AttributeSet that contains the attributes
of
old
plus the new attributes inattributes
. - addAttributes(AttributeSet) - Method in interface javax.swing.text.MutableAttributeSet
- Adds all the attributes from
attributes
to this set. - addAttributes(AttributeSet) - Method in class javax.swing.text.SimpleAttributeSet
- Adds all the attributes from
attributes
to this set. - addAttributes(AttributeSet) - Method in class javax.swing.text.StyleContext.NamedStyle
- addAttributes(AttributeSet, AttributeSet) - Method in class javax.swing.text.StyleContext
- addCaretListener(CaretListener) - Method in class javax.swing.text.JTextComponent
- Adds a
CaretListener
object to this text component. - addChangeListener(ChangeListener) - Method in interface javax.swing.text.Caret
- Registers a javax.swing.event.ChangeListener that is notified whenever that state
of this
Caret
changes. - addChangeListener(ChangeListener) - Method in class javax.swing.text.DefaultCaret
- Registers a javax.swing.event.ChangeListener that is notified whenever that state
of this
Caret
changes. - addChangeListener(ChangeListener) - Method in interface javax.swing.text.Style
- Adds a
ChangeListener
object to the style. - addChangeListener(ChangeListener) - Method in class javax.swing.text.StyleContext.NamedStyle
- addChangeListener(ChangeListener) - Method in class javax.swing.text.StyleContext
- addDocumentListener(DocumentListener) - Method in class javax.swing.text.AbstractDocument
- Adds a
DocumentListener
object to this document. - addDocumentListener(DocumentListener) - Method in interface javax.swing.text.Document
- Adds a javax.swing.event.DocumentListener to this document.
- addEdit(UndoableEdit) - Method in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Adds an UndoableEdit to this
DocumentEvent
. - addHighlight(int, int, Highlighter.HighlightPainter) - Method in class javax.swing.text.DefaultHighlighter
- addHighlight(int, int, Highlighter.HighlightPainter) - Method in interface javax.swing.text.Highlighter
- addInputMethodListener(InputMethodListener) - Method in class javax.swing.text.JTextComponent
- Adds an
InputListener
object to this text component. - addKeymap(String, Keymap) - Static method in class javax.swing.text.JTextComponent
- Create a new Keymap with a specific name and parent, and add the new Keymap to the global keymap table.
- addRemovedElement(Element) - Method in class javax.swing.text.DefaultStyledDocument.Edit
- Adds one Element to the vector of removed Elements.
- addRemovedElements(Element[]) - Method in class javax.swing.text.DefaultStyledDocument.Edit
- Adds each Element in the given array to the vector of removed Elements
- addStyle(String, Style) - Method in class javax.swing.text.DefaultStyledDocument
- Adds a style into the style hierarchy.
- addStyle(String, Style) - Method in class javax.swing.text.StyleContext
- addStyle(String, Style) - Method in interface javax.swing.text.StyledDocument
- addStyle
- addTask(Runnable) - Method in class javax.swing.text.LayoutQueue
- Add a layout task to the queue.
- addUndoableEditListener(UndoableEditListener) - Method in class javax.swing.text.AbstractDocument
- Adds an javax.swing.event.UndoableEditListener to this
Document
. - addUndoableEditListener(UndoableEditListener) - Method in interface javax.swing.text.Document
- Adds an javax.swing.event.UndoableEditListener to this document.
- added - Variable in class javax.swing.text.AbstractDocument.ElementEdit
- The added elements.
- added - Variable in class javax.swing.text.DefaultStyledDocument.Edit
- The added elements.
- adjustAllocation(Shape) - Method in class javax.swing.text.FieldView
- Vertically centers the single line of text within the bounds of the input shape.
- adjustPositionsInRange(int, int, int) - Method in class javax.swing.text.GapContent
- Adjusts the mark of all
Position
s that are in the range specified byoffset
and length within the buffer array byincrement
- adjustRow(FlowView, int, int, int) - Method in class javax.swing.text.FlowView.FlowStrategy
- Tries to adjust the specified row to fit within the desired span.
- adjustRow(ParagraphView.Row, int, int) - Method in class javax.swing.text.ParagraphView
- adjustVisibility(Rectangle) - Method in class javax.swing.text.DefaultCaret
- Adjusts the text component so that the caret is visible.
- align - Variable in class javax.swing.text.TabStop
- allKeys() - Method in class javax.swing.text.JTextComponent.KeymapActionMap
- allKeys() - Method in class javax.swing.text.JTextComponent.KeymapWrapper
- allocateArray(int) - Method in class javax.swing.text.GapContent
- Allocates an array of the specified length that can then be used as buffer.
- allowsInvalid - Variable in class javax.swing.text.DefaultFormatter
- If
true
invalid edits are allowed for a limited time. - appear() - Method in class javax.swing.text.DefaultCaret
- Show the caret (may be hidden due blinking) and adjust the timer not to hide it (possibly immediately).
- append(View) - Method in class javax.swing.text.View
- array - Variable in class javax.swing.text.Segment
- Storage for the characters (may contain additional characters).
- attributes - Variable in class javax.swing.text.AbstractDocument.AbstractElement
- The attributes of this Element.
- attributes - Variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- The attributes for the tag.
- attributes - Variable in class javax.swing.text.StyleContext.NamedStyle
- attrs - Variable in class javax.swing.text.StyleContext.SmallAttributeSet
- augmentList(Action[], Action[]) - Static method in class javax.swing.text.TextAction
- Creates a new array of
Action
containing both given arrays.
B
- BAD_LOCATION - Static variable in class javax.swing.text.AbstractDocument
- Standard error message to indicate a bad location.
- BUFFER_SIZE_DEFAULT - Static variable in class javax.swing.text.DefaultStyledDocument
- The default size to use for new content buffers.
- BUF_LENGTH - Static variable in class javax.swing.text.Utilities
- The length of the char buffer that holds the characters to be drawn.
- Background - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Background
55 . - Background - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- An alias for
ColorConstants#Background
. - Background - Static variable in class javax.swing.text.StyleConstants.ColorConstants
- A key for the background color attribute.
- Backward - Static variable in class javax.swing.text.Position.Bias
- BadBreakWeight - Static variable in class javax.swing.text.View
- BadLocationException - exception javax.swing.text.BadLocationException.
- Indicates that an invalid location within a
Document
has been accessed. - BadLocationException(String, int) - Constructor for class javax.swing.text.BadLocationException
- Constructs a
BadLocationException
- BidiElementName - Static variable in class javax.swing.text.AbstractDocument
- Standard name for unidirectional
Element
s. - BidiLevel - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.BidiLevel
55 . - BidiLevel - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- A key for the bidi level character attribute.
- Bold - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Bold
55 . - Bold - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- An alias for
FontConstants#Bold
. - Bold - Static variable in class javax.swing.text.StyleConstants.FontConstants
- A key for the bold font attribute.
- BoxView - class javax.swing.text.BoxView.
- An implementation of CompositeView that arranges its children in a box along one axis.
- BoxView(Element, int) - Constructor for class javax.swing.text.BoxView
- Creates a new
BoxView
for the givenElement
and axis. - background - Variable in class javax.swing.text.LabelView
- The background color.
- backwardAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one character backwards. - baselineLayout(int, int, int[], int[]) - Method in class javax.swing.text.BoxView
- Calculates the layout of the children of this
BoxView
along the specified axis. - baselineRequirements(int, SizeRequirements) - Method in class javax.swing.text.BoxView
- This method is obsolete and no longer in use.
- beepAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that creates a beep in the speaker. - beginAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of theDocument
. - beginLineAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the current line. - beginParagraphAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the current paragraph. - beginWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the current word. - blinkListener - Variable in class javax.swing.text.DefaultCaret
- blinkRate - Variable in class javax.swing.text.DefaultCaret
- The blink rate of this
Caret
. - blinkTimer - Variable in class javax.swing.text.DefaultCaret
- bottomInset - Variable in class javax.swing.text.AsyncBoxView
- The bottom inset.
- breakView(int, int, float, float) - Method in class javax.swing.text.GlyphView
- Tries to break the view near the specified view span
len
. - breakView(int, float, Shape) - Method in class javax.swing.text.ParagraphView
- breakView(int, int, float, float) - Method in class javax.swing.text.View
- buffer - Variable in class javax.swing.text.DefaultStyledDocument
- The
EditorBuffer
that is used to manage toElement
hierarchy. - buffer - Variable in class javax.swing.text.GapContent
- The text buffer.
- bypass - Variable in class javax.swing.text.AbstractDocument
- An instance of a DocumentFilter.FilterBypass which allows calling the insert, remove and replace method without checking for an installed document filter.
- bypass - Variable in class javax.swing.text.DefaultCaret
- A
NavigationFilter.FilterBypass
instance which is provided to the aNavigationFilter
to unconditionally set or move the caret.
C
- Caret - interface javax.swing.text.Caret.
- Defines the method to be implemented by a caret that can be used in Swing text components.
- ChangedCharSetException - exception javax.swing.text.ChangedCharSetException.
- The exception is thrown when the document charset is changed.
- ChangedCharSetException(String, boolean) - Constructor for class javax.swing.text.ChangedCharSetException
- Constructs a new char set exception with two additional parameters, defining the circumstances under that the exception was raised.
- CharacterIterator - interface javax.swing.text.CharacterIterator.
- ComponentAttribute - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- A key for the component character attribute.
- ComponentAttribute - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.ComponentAttribute
55 . - ComponentElementName - Static variable in class javax.swing.text.StyleConstants
- ComponentView - class javax.swing.text.ComponentView.
- A View implementation that is able to render arbitrary java.awt.Components.
- ComponentView(Element) - Constructor for class javax.swing.text.ComponentView
- Creates a new instance of
ComponentView
for the specifiedElement
. - ComposedTextAttribute - Static variable in class javax.swing.text.StyleConstants
- CompositeView - class javax.swing.text.CompositeView.
- An abstract base implementation of View that manages child
View
s. - CompositeView(Element) - Constructor for class javax.swing.text.CompositeView
- Creates a new
CompositeView
for the givenElement
. - ContentElementName - Static variable in class javax.swing.text.AbstractDocument
- Standard name for content
Element
s. - ContentType - Static variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- This indicates a content element.
- cachedSpan - Variable in class javax.swing.text.FieldView
- Caches the preferred span of the X axis.
- calculateBreakPosition(int, int) - Method in class javax.swing.text.WrappedPlainView
- Calculates the break position for the text between model positions p0 and p1.
- calculateHorizontalSpan() - Method in class javax.swing.text.FieldView
- Calculates and sets the horizontal span and stores the value in cachedSpan.
- calculateMajorAxisRequirements(int, SizeRequirements) - Method in class javax.swing.text.BoxView
- Calculates the size requirements of this
BoxView
along its major axis, that is the axis specified in the constructor. - calculateMinorAxisRequirements(int, SizeRequirements) - Method in class javax.swing.text.BoxView
- Calculates the size requirements of this
BoxView
along its minor axis, that is the axis opposite to the axis specified in the constructor. - calculateMinorAxisRequirements(int, SizeRequirements) - Method in class javax.swing.text.FlowView
- Calculates the size requirements of this
BoxView
along its minor axis, that is the axis opposite to the axis specified in the constructor. - calculateMinorAxisRequirements(int, SizeRequirements) - Method in class javax.swing.text.TableView
- Calculates the requirements of this view for the minor (== horizontal) axis.
- canImport(JComponent, DataFlavor[]) - Method in class javax.swing.text.JTextComponent.DefaultTransferHandler
- canWrapLines - Variable in class javax.swing.text.AbstractWriter
- caret - Variable in class javax.swing.text.JTextComponent
- caretColor - Variable in class javax.swing.text.JTextComponent
- caretTracker - Variable in class javax.swing.text.StyledEditorKit
- The CaretTracker that keeps track of the current input attributes, and the current character run Element.
- caretUpdate(CaretEvent) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Handles caret updates (fire appropriate property change event, which are AccessibleContext.ACCESSIBLE_CARET_PROPERTY and AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY).
- caretUpdate(CaretEvent) - Method in class javax.swing.text.StyledEditorKit.CaretTracker
- Notifies an update of the caret position.
- change(int, int, AbstractDocument.DefaultDocumentEvent) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Modifies the element structure so that the specified interval starts and ends at an element boundary.
- changeEvent - Variable in class javax.swing.text.DefaultCaret
- The
ChangeEvent
that is fired byDefaultCaret.fireStateChanged()
55 . - changeEvent - Variable in class javax.swing.text.StyleContext.NamedStyle
- changeHighlight(Object, int, int) - Method in class javax.swing.text.DefaultHighlighter
- changeHighlight(Object, int, int) - Method in interface javax.swing.text.Highlighter
- changeUpdate() - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Performs the actual work for
DefaultStyledDocument.ElementBuffer.change(int, int, javax.swing.text.AbstractDocument.DefaultDocumentEvent)
55 . - changedUpdate(DocumentEvent) - Method in class javax.swing.text.DefaultCaret.DocumentHandler
- Receives notification that some text attributes have changed.
- changedUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.FieldView
- changedUpdate(FlowView, DocumentEvent, Rectangle) - Method in class javax.swing.text.FlowView.FlowStrategy
- Receives notification from a
FlowView
that some attributes have changed in the document at a location that theFlowView
is responsible for. - changedUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.FlowView
- Receice notification that some attributes changed in the region that this view is responsible for.
- changedUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.GlyphView
- Receives notification that some text attributes have changed within the text fragment that this view is responsible for.
- changedUpdate(DocumentEvent) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Changed update.
- changedUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.LabelView
- Receives notification when text attributes change in the chunk of text that this view is responsible for.
- changedUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.ParagraphView
- Receives notification when some attributes of the displayed element changes.
- changedUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.PlainView
- This method is called when attributes were changed in the Document in a location that this view is responsible for.
- changedUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.View
- Receive notification about a change update to the text model.
- changedUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.WrappedPlainView
- Called when the portion of the Document that this View is responsible for changes.
- changes - Variable in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Maps
Element
to their change records. - changing - Variable in class javax.swing.text.AsyncBoxView
- The currently changing child state.
- checkContainer() - Method in class javax.swing.text.FieldView
- Checks whether the given container is a JTextField.
- checkLocation(int, int) - Method in class javax.swing.text.StringContent
- A utility method that checks the validity of the specified character range.
- checkPainter() - Method in class javax.swing.text.GlyphView
- Checks if a
GlyphPainer
is installed. - checkPositions(int, int) - Method in class javax.swing.text.DefaultHighlighter
- checkValidInput() - Method in class javax.swing.text.DefaultFormatter.FormatterDocumentFilter
- Checks if the value in the input field is valid.
- childAlloc - Variable in class javax.swing.text.AsyncBoxView.ChildLocator
- A Rectangle used for child allocation calculation to avoid creation of lots of garbage Rectangle objects.
- childAllocation(int, Rectangle) - Method in class javax.swing.text.BoxView
- Computes the allocation for a child
View
. - childAllocation(int, Rectangle) - Method in class javax.swing.text.CompositeView
- Computes the allocation for a child
View
. - childChanged(AsyncBoxView.ChildState) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Receives notification that a child has changed.
- childReqs - Variable in class javax.swing.text.BoxView
- The SizeRequirements of the child views along the X_AXIS and Y_AXIS.
- childSizeValid - Variable in class javax.swing.text.AsyncBoxView.ChildState
- Indicates if the current child size is valid.
- childStates - Variable in class javax.swing.text.AsyncBoxView
- The children and their layout statistics.
- childView - Variable in class javax.swing.text.AsyncBoxView.ChildState
- The child view for this state record.
- children() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the child nodes of this
Element
as anEnumeration
of javax.swing.tree.TreeNodes. - children - Variable in class javax.swing.text.AbstractDocument.BranchElement
- The child elements of this BranchElement.
- children() - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns the children of this
BranchElement
. - children() - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns
null
sinceLeafElement
s cannot have children. - children - Variable in class javax.swing.text.CompositeView
- The child views of this
CompositeView
. - clearHighlight() - Method in class javax.swing.text.DefaultCaret
- clearPositionReferences() - Method in class javax.swing.text.GapContent
- Clears all GC'ed references in the positions array.
- clone() - Method in interface javax.swing.text.CharacterIterator
- clone() - Method in class javax.swing.text.DefaultFormatter
- Creates and returns a clone of this DefaultFormatter.
- clone(Element, Element) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Creates and returns a deep clone of the specified
clonee
with the specified parent as new parent. - clone() - Method in class javax.swing.text.EditorKit
- clone() - Method in class javax.swing.text.ElementIterator
- Returns a new ElementIterator which is a clone of this ElementIterator.
- clone() - Method in class javax.swing.text.GlyphView
- Creates and returns a shallow clone of this GlyphView.
- clone() - Method in class javax.swing.text.PlainEditorKit
- clone() - Method in class javax.swing.text.Segment
- Clones the segment (note that the underlying character array is not cloned, just the reference to it).
- clone() - Method in class javax.swing.text.SimpleAttributeSet
- Returns a clone of the attribute set.
- clone() - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- clone() - Method in class javax.swing.text.StyledEditorKit
- Creates an exact copy of this
StyledEditorKit
. - color - Variable in class javax.swing.text.DefaultHighlighter.DefaultHighlightPainter
- column - Variable in class javax.swing.text.TableView.TableCell
- Deprecated. The column number of this cell.
- columnOffsets - Variable in class javax.swing.text.TableView
- The offsets of the columns of this table.
- columnRequirements - Variable in class javax.swing.text.TableView
- The size requirements of the columns.
- columnSpans - Variable in class javax.swing.text.TableView
- The spans of the columns of this table.
- commitIfAllowed() - Method in class javax.swing.text.DefaultFormatter.FormatterDocumentFilter
- Commits the value to the JTextTextField if the property
commitsOnValidEdit
is set totrue
. - commitsOnValidEdit - Variable in class javax.swing.text.DefaultFormatter
- Indicates if the value should be committed after every valid modification of the Document.
- comp - Variable in class javax.swing.text.ComponentView
- The component that is displayed by this view.
- compare(Object, Object) - Method in class javax.swing.text.GapContent.WeakPositionComparator
- Compares two objects of type WeakReference.
- compareTo(Object) - Method in class javax.swing.text.GapContent.GapContentPosition
- Comparable interface implementation.
- componentWithSelection - Static variable in class javax.swing.text.DefaultCaret
- A text component in the current VM which currently has a
text selection or
null
. - compressionThreshold - Static variable in class javax.swing.text.StyleContext
- contains(Vector, Element) - Method in class javax.swing.text.DefaultStyledDocument.Edit
- Checks if e is already in the vector.
- containsAttribute(Object, Object) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns
true
if this element contains the specified attribute. - containsAttribute(Object, Object) - Method in interface javax.swing.text.AttributeSet
- Returns
true
if thisAttributeSet
contains an attribute with the specifiedname
andvalue
,false
otherwise. - containsAttribute(Object, Object) - Method in class javax.swing.text.SimpleAttributeSet
- Returns true if the given name and value represent an attribute found either in this AttributeSet or in its resolve parent hierarchy.
- containsAttribute(Object, Object) - Method in class javax.swing.text.StyleContext.NamedStyle
- containsAttribute(Object, Object) - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- containsAttributeLocally(Object, Object) - Method in class javax.swing.text.SimpleAttributeSet
- Returns true if the given name and value are found in this AttributeSet.
- containsAttributes(AttributeSet) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns
true
if this element contains all of the specified attributes. - containsAttributes(AttributeSet) - Method in interface javax.swing.text.AttributeSet
- Returns
true
of thisAttributeSet
contains all of the specifiedattributes
. - containsAttributes(AttributeSet) - Method in class javax.swing.text.SimpleAttributeSet
- Returns
true
of thisAttributeSet
contains all of the specifiedattributes
. - containsAttributes(AttributeSet) - Method in class javax.swing.text.StyleContext.NamedStyle
- containsAttributes(AttributeSet) - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- content - Variable in class javax.swing.text.AbstractDocument
- The actual content model of this
Document
. - content - Variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- The actual content.
- content - Variable in class javax.swing.text.StringContent
- context - Variable in class javax.swing.text.AbstractDocument
- The AttributeContext for this
Document
. - convertValue(String, boolean) - Method in class javax.swing.text.MaskFormatter
- This method takes in a String and runs it through the mask to make sure that it is valid.
- copy - Variable in class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
- A copy of the old attributes.
- copy() - Method in class javax.swing.text.JTextComponent
- copyAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that copies the selected content into the system clipboard. - copyAttributes() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns a copy of the attributes of this element.
- copyAttributes() - Method in interface javax.swing.text.AttributeSet
- Creates and returns a copy of this
AttributeSet
. - copyAttributes() - Method in class javax.swing.text.SimpleAttributeSet
- Creates and returns a copy of this
AttributeSet
. - copyAttributes() - Method in class javax.swing.text.StyleContext.NamedStyle
- copyAttributes() - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- count - Variable in class javax.swing.text.AbstractDocument.AbstractElement
- The number of characters that this Element spans.
- count - Variable in class javax.swing.text.Segment
- The number of characters in the segment.
- count - Variable in class javax.swing.text.StringContent
- create(DefaultStyledDocument.ElementSpec[]) - Method in class javax.swing.text.DefaultStyledDocument
- Initializes the
DefaultStyledDocument
with the specified data. - create(Element) - Method in class javax.swing.text.StyledEditorKit.StyledViewFactory
- Creates a View for the specified
Element
. - create(Element) - Method in interface javax.swing.text.ViewFactory
- Creates a view for a given element.
- create(Element) - Method in class javax.swing.text.WrappedPlainView.WrappedLineCreator
- createBranchElement(Element, AttributeSet) - Method in class javax.swing.text.AbstractDocument
- Creates and returns a branch element with the specified
parent
andattributes
. - createCaret() - Method in class javax.swing.text.DefaultEditorKit
- Creates the
Caret
for thisEditorKit
. - createCaret() - Method in class javax.swing.text.EditorKit
- createCaret() - Method in class javax.swing.text.PlainEditorKit
- createChildState(View) - Method in class javax.swing.text.AsyncBoxView
- Creates a
ChildState
object for the specified view. - createComponent() - Method in class javax.swing.text.ComponentView
- Creates the
Component
that thisView
is rendering. - createDefaultDocument() - Method in class javax.swing.text.DefaultEditorKit
- Creates the default Document that this
EditorKit
supports. - createDefaultDocument() - Method in class javax.swing.text.EditorKit
- createDefaultDocument() - Method in class javax.swing.text.PlainEditorKit
- createDefaultDocument() - Method in class javax.swing.text.StyledEditorKit
- Creates the default Document supported by this
EditorKit
. - createDefaultLocation(Shape, Position.Bias) - Method in class javax.swing.text.CompositeView
- A helper method for
CompositeView.modelToView(int, Position.Bias, int, Position.Bias, Shape)
55 . - createDefaultRoot() - Method in class javax.swing.text.DefaultStyledDocument
- Create the default root element for this kind of
Document
. - createDefaultRoot() - Method in class javax.swing.text.PlainDocument
- createFracture(DefaultStyledDocument.ElementSpec[]) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- This method fractures the child at offset.
- createFragment(int, int) - Method in class javax.swing.text.GlyphView
- Creates a fragment view of this view that starts at
p0
and ends atp1
. - createFragment(int, int) - Method in class javax.swing.text.View
- createInputAttributes(Element, MutableAttributeSet) - Method in class javax.swing.text.StyledEditorKit
- Copies the text attributes from
element
toset
. - createLargeAttributeSet(AttributeSet) - Method in class javax.swing.text.StyleContext
- createLeafElement(Element, AttributeSet, int, int) - Method in class javax.swing.text.AbstractDocument
- Creates and returns a leaf element with the specified
parent
andattributes
. - createPosition(int) - Method in interface javax.swing.text.AbstractDocument.Content
- Creates a Position that keeps track of the location at
offset
. - createPosition(int) - Method in class javax.swing.text.AbstractDocument
- Creates a Position that keeps track of the location at the
specified
offset
. - createPosition(int) - Method in interface javax.swing.text.Document
- Creates a mark in the character content at the specified offset.
- createPosition(int) - Method in class javax.swing.text.GapContent
- Creates and returns a mark at the specified position.
- createPosition(int) - Method in class javax.swing.text.StringContent
- Creates a position reference for the character at the given offset.
- createRow() - Method in class javax.swing.text.FlowView
- Creates a new view that represents a row within a flow.
- createRow() - Method in class javax.swing.text.ParagraphView
- Creates a new view that represents a row within a flow.
- createSmallAttributeSet(AttributeSet) - Method in class javax.swing.text.StyleContext
- createTableCell(Element) - Method in class javax.swing.text.TableView
- Deprecated. Table cells are now rendered by an arbitrary
View
implementation. - createTableRow(Element) - Method in class javax.swing.text.TableView
- Creates a view for a table row.
- createView(FlowView, int, int, int) - Method in class javax.swing.text.FlowView.FlowStrategy
- Creates physical views that form the rows of the flow view.
- current() - Method in interface javax.swing.text.CharacterIterator
- current() - Method in class javax.swing.text.ElementIterator
- Returns the current element.
- current - Variable in class javax.swing.text.Segment
- The current index.
- current() - Method in class javax.swing.text.Segment
- Returns the character at the current index.
- currentDepth - Variable in class javax.swing.text.ElementIterator
- currentElement - Variable in class javax.swing.text.ElementIterator
- currentRun - Variable in class javax.swing.text.StyledEditorKit
- Stores the
Element
at the current caret position. - currentWriter - Variable in class javax.swing.text.AbstractDocument
- Stores the current writer thread.
- cut(int, int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Cut the text between two points to the system clipboard.
- cut() - Method in class javax.swing.text.JTextComponent
- cutAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that copies the selected content into the system clipboard and removes the selection.
D
- DEFAULT_BUFSIZE - Static variable in class javax.swing.text.GapContent
- This is the default buffer size and the amount of bytes that a buffer is extended if it is full.
- DEFAULT_KEYMAP - Static variable in class javax.swing.text.JTextComponent
- DEFAULT_STYLE - Static variable in class javax.swing.text.StyleContext
- The name of the default style.
- DateFormatter - class javax.swing.text.DateFormatter.
DateFormatter
is an InternationalFormatter that implements value to string and string to value conversion via an instance of java.text.DateFormat.- DateFormatter() - Constructor for class javax.swing.text.DateFormatter
- Creates a new instance using the default java.text.DateFormat object
returned by DateFormat.getDateInstance()>
DateFormat.getDateInstance()
55 . - DateFormatter(DateFormat) - Constructor for class javax.swing.text.DateFormatter
- Creates a new instance of
DateFormatter
using the specifiedDateFormat
- DefaultCaret - class javax.swing.text.DefaultCaret.
- The default implementation of the Caret interface.
- DefaultCaret() - Constructor for class javax.swing.text.DefaultCaret
- Creates a new
DefaultCaret
instance. - DefaultCaret.BlinkTimerListener - class javax.swing.text.DefaultCaret.BlinkTimerListener.
- Controls the blinking of the caret.
- DefaultCaret.BlinkTimerListener() - Constructor for class javax.swing.text.DefaultCaret.BlinkTimerListener
- DefaultCaret.Bypass - class javax.swing.text.DefaultCaret.Bypass.
- An implementation of NavigationFilter.FilterBypass which delegates
to the corresponding methods of the
DefaultCaret
. - DefaultCaret.Bypass() - Constructor for class javax.swing.text.DefaultCaret.Bypass
- DefaultCaret.DocumentHandler - class javax.swing.text.DefaultCaret.DocumentHandler.
- Listens for changes in the text component's document and updates the caret accordingly.
- DefaultCaret.DocumentHandler() - Constructor for class javax.swing.text.DefaultCaret.DocumentHandler
- DefaultCaret.PropertyChangeHandler - class javax.swing.text.DefaultCaret.PropertyChangeHandler.
- Listens for property changes on the text document.
- DefaultCaret.PropertyChangeHandler() - Constructor for class javax.swing.text.DefaultCaret.PropertyChangeHandler
- DefaultEditorKit - class javax.swing.text.DefaultEditorKit.
- The default implementation of EditorKit.
- DefaultEditorKit() - Constructor for class javax.swing.text.DefaultEditorKit
- Creates a new
DefaultEditorKit
. - DefaultEditorKit.BackwardAction - class javax.swing.text.DefaultEditorKit.BackwardAction.
- DefaultEditorKit.BackwardAction() - Constructor for class javax.swing.text.DefaultEditorKit.BackwardAction
- DefaultEditorKit.BeepAction - class javax.swing.text.DefaultEditorKit.BeepAction.
- Creates a beep on the PC speaker.
- DefaultEditorKit.BeepAction() - Constructor for class javax.swing.text.DefaultEditorKit.BeepAction
- Creates a new
BeepAction
. - DefaultEditorKit.BeginLineAction - class javax.swing.text.DefaultEditorKit.BeginLineAction.
- DefaultEditorKit.BeginLineAction() - Constructor for class javax.swing.text.DefaultEditorKit.BeginLineAction
- DefaultEditorKit.CopyAction - class javax.swing.text.DefaultEditorKit.CopyAction.
- Copies the selected content into the system clipboard.
- DefaultEditorKit.CopyAction() - Constructor for class javax.swing.text.DefaultEditorKit.CopyAction
- Create a new
CopyAction
. - DefaultEditorKit.CutAction - class javax.swing.text.DefaultEditorKit.CutAction.
- Copies the selected content into the system clipboard and deletes the selection.
- DefaultEditorKit.CutAction() - Constructor for class javax.swing.text.DefaultEditorKit.CutAction
- Create a new
CutAction
. - DefaultEditorKit.DefaultKeyTypedAction - class javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction.
- This action is executed as default action when a KEY_TYPED event is received and no keymap entry exists for that.
- DefaultEditorKit.DefaultKeyTypedAction() - Constructor for class javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction
- Creates a new
DefaultKeyTypedAction
. - DefaultEditorKit.DeleteNextCharAction - class javax.swing.text.DefaultEditorKit.DeleteNextCharAction.
- DefaultEditorKit.DeleteNextCharAction() - Constructor for class javax.swing.text.DefaultEditorKit.DeleteNextCharAction
- DefaultEditorKit.DeletePrevCharAction - class javax.swing.text.DefaultEditorKit.DeletePrevCharAction.
- DefaultEditorKit.DeletePrevCharAction() - Constructor for class javax.swing.text.DefaultEditorKit.DeletePrevCharAction
- DefaultEditorKit.DownAction - class javax.swing.text.DefaultEditorKit.DownAction.
- DefaultEditorKit.DownAction() - Constructor for class javax.swing.text.DefaultEditorKit.DownAction
- DefaultEditorKit.EndLineAction - class javax.swing.text.DefaultEditorKit.EndLineAction.
- DefaultEditorKit.EndLineAction() - Constructor for class javax.swing.text.DefaultEditorKit.EndLineAction
- DefaultEditorKit.ForwardAction - class javax.swing.text.DefaultEditorKit.ForwardAction.
- DefaultEditorKit.ForwardAction() - Constructor for class javax.swing.text.DefaultEditorKit.ForwardAction
- DefaultEditorKit.InsertBreakAction - class javax.swing.text.DefaultEditorKit.InsertBreakAction.
- This action inserts a newline character into the document of the text component.
- DefaultEditorKit.InsertBreakAction() - Constructor for class javax.swing.text.DefaultEditorKit.InsertBreakAction
- Creates a new
InsertBreakAction
. - DefaultEditorKit.InsertContentAction - class javax.swing.text.DefaultEditorKit.InsertContentAction.
- Places content into the associated editor.
- DefaultEditorKit.InsertContentAction() - Constructor for class javax.swing.text.DefaultEditorKit.InsertContentAction
- Creates a new
InsertContentAction
. - DefaultEditorKit.InsertTabAction - class javax.swing.text.DefaultEditorKit.InsertTabAction.
- Inserts a TAB character into the text editor.
- DefaultEditorKit.InsertTabAction() - Constructor for class javax.swing.text.DefaultEditorKit.InsertTabAction
- Creates a new
TabAction
. - DefaultEditorKit.NextWordAction - class javax.swing.text.DefaultEditorKit.NextWordAction.
- DefaultEditorKit.NextWordAction() - Constructor for class javax.swing.text.DefaultEditorKit.NextWordAction
- DefaultEditorKit.PasteAction - class javax.swing.text.DefaultEditorKit.PasteAction.
- Copies content from the system clipboard into the editor.
- DefaultEditorKit.PasteAction() - Constructor for class javax.swing.text.DefaultEditorKit.PasteAction
- Create a new
PasteAction
. - DefaultEditorKit.PreviousWordAction - class javax.swing.text.DefaultEditorKit.PreviousWordAction.
- DefaultEditorKit.PreviousWordAction() - Constructor for class javax.swing.text.DefaultEditorKit.PreviousWordAction
- DefaultEditorKit.SelectAllAction - class javax.swing.text.DefaultEditorKit.SelectAllAction.
- DefaultEditorKit.SelectAllAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectAllAction
- DefaultEditorKit.SelectionBackwardAction - class javax.swing.text.DefaultEditorKit.SelectionBackwardAction.
- DefaultEditorKit.SelectionBackwardAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionBackwardAction
- DefaultEditorKit.SelectionBeginAction - class javax.swing.text.DefaultEditorKit.SelectionBeginAction.
- DefaultEditorKit.SelectionBeginAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionBeginAction
- DefaultEditorKit.SelectionBeginLineAction - class javax.swing.text.DefaultEditorKit.SelectionBeginLineAction.
- DefaultEditorKit.SelectionBeginLineAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionBeginLineAction
- DefaultEditorKit.SelectionDownAction - class javax.swing.text.DefaultEditorKit.SelectionDownAction.
- DefaultEditorKit.SelectionDownAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionDownAction
- DefaultEditorKit.SelectionEndAction - class javax.swing.text.DefaultEditorKit.SelectionEndAction.
- DefaultEditorKit.SelectionEndAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionEndAction
- DefaultEditorKit.SelectionEndLineAction - class javax.swing.text.DefaultEditorKit.SelectionEndLineAction.
- DefaultEditorKit.SelectionEndLineAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionEndLineAction
- DefaultEditorKit.SelectionForwardAction - class javax.swing.text.DefaultEditorKit.SelectionForwardAction.
- DefaultEditorKit.SelectionForwardAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionForwardAction
- DefaultEditorKit.SelectionNextWordAction - class javax.swing.text.DefaultEditorKit.SelectionNextWordAction.
- DefaultEditorKit.SelectionNextWordAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionNextWordAction
- DefaultEditorKit.SelectionPreviousWordAction - class javax.swing.text.DefaultEditorKit.SelectionPreviousWordAction.
- DefaultEditorKit.SelectionPreviousWordAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionPreviousWordAction
- DefaultEditorKit.SelectionUpAction - class javax.swing.text.DefaultEditorKit.SelectionUpAction.
- DefaultEditorKit.SelectionUpAction() - Constructor for class javax.swing.text.DefaultEditorKit.SelectionUpAction
- DefaultEditorKit.UpAction - class javax.swing.text.DefaultEditorKit.UpAction.
- DefaultEditorKit.UpAction() - Constructor for class javax.swing.text.DefaultEditorKit.UpAction
- DefaultFormatter - class javax.swing.text.DefaultFormatter.
- The
DefaultFormatter
is a concrete formatter for use in javax.swing.JFormattedTextFields. - DefaultFormatter() - Constructor for class javax.swing.text.DefaultFormatter
- Creates a new instance of
DefaultFormatter
. - DefaultFormatter.FormatterDocumentFilter - class javax.swing.text.DefaultFormatter.FormatterDocumentFilter.
- A DocumentFilter that intercepts modification of the
JFormattedTextField's Document and commits the value depending
on the value of the
commitsOnValidEdit
property. - DefaultFormatter.FormatterDocumentFilter() - Constructor for class javax.swing.text.DefaultFormatter.FormatterDocumentFilter
- DefaultFormatterFactory - class javax.swing.text.DefaultFormatterFactory.
- This class is Swing's only concrete implementation of JFormattedTextField.AbstractFormatterFactory.
- DefaultFormatterFactory() - Constructor for class javax.swing.text.DefaultFormatterFactory
- Creates a DefaultFormatterFactory with no formatters
- DefaultFormatterFactory(JFormattedTextField.AbstractFormatter) - Constructor for class javax.swing.text.DefaultFormatterFactory
- Creates a new DefaultFormatterFactory with the specified formatters.
- DefaultFormatterFactory(JFormattedTextField.AbstractFormatter, JFormattedTextField.AbstractFormatter) - Constructor for class javax.swing.text.DefaultFormatterFactory
- Creates a new DefaultFormatterFactory with the specified formatters.
- DefaultFormatterFactory(JFormattedTextField.AbstractFormatter, JFormattedTextField.AbstractFormatter, JFormattedTextField.AbstractFormatter) - Constructor for class javax.swing.text.DefaultFormatterFactory
- Creates a new DefaultFormatterFactory with the specified formatters.
- DefaultFormatterFactory(JFormattedTextField.AbstractFormatter, JFormattedTextField.AbstractFormatter, JFormattedTextField.AbstractFormatter, JFormattedTextField.AbstractFormatter) - Constructor for class javax.swing.text.DefaultFormatterFactory
- Creates a new DefaultFormatterFactory with the specified formatters.
- DefaultHighlighter - class javax.swing.text.DefaultHighlighter.
- DefaultHighlighter() - Constructor for class javax.swing.text.DefaultHighlighter
- DefaultHighlighter.DefaultHighlightPainter - class javax.swing.text.DefaultHighlighter.DefaultHighlightPainter.
- DefaultHighlighter.DefaultHighlightPainter(Color) - Constructor for class javax.swing.text.DefaultHighlighter.DefaultHighlightPainter
- DefaultHighlighter.HighlightEntry - class javax.swing.text.DefaultHighlighter.HighlightEntry.
- DefaultHighlighter.HighlightEntry(int, int, Highlighter.HighlightPainter) - Constructor for class javax.swing.text.DefaultHighlighter.HighlightEntry
- DefaultPainter - Static variable in class javax.swing.text.DefaultHighlighter
- DefaultStyledDocument - class javax.swing.text.DefaultStyledDocument.
- The default implementation of StyledDocument.
- DefaultStyledDocument() - Constructor for class javax.swing.text.DefaultStyledDocument
- Creates a new
DefaultStyledDocument
. - DefaultStyledDocument(StyleContext) - Constructor for class javax.swing.text.DefaultStyledDocument
- Creates a new
DefaultStyledDocument
that uses the specified StyleContext. - DefaultStyledDocument(AbstractDocument.Content, StyleContext) - Constructor for class javax.swing.text.DefaultStyledDocument
- Creates a new
DefaultStyledDocument
that uses the specified StyleContext andContent
buffer. - DefaultStyledDocument.AttributeUndoableEdit - class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit.
- An javax.swing.undo.UndoableEdit that can undo attribute changes to an element.
- DefaultStyledDocument.AttributeUndoableEdit(Element, AttributeSet, boolean) - Constructor for class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
- Creates a new
AttributeUndoableEdit
. - DefaultStyledDocument.Edit - class javax.swing.text.DefaultStyledDocument.Edit.
- Instance of all editing information for an object in the Vector.
- DefaultStyledDocument.Edit(Element, int, Element[], Element[]) - Constructor for class javax.swing.text.DefaultStyledDocument.Edit
- Creates a new Edit object with the given parameters
- DefaultStyledDocument.ElementBuffer - class javax.swing.text.DefaultStyledDocument.ElementBuffer.
- Performs all structural changes to the
Element
hierarchy.- DefaultStyledDocument.ElementBuffer(Element) - Constructor for class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Creates a new
ElementBuffer
for the specifiedroot
element.- DefaultStyledDocument.ElementSpec - class javax.swing.text.DefaultStyledDocument.ElementSpec.
- Carries specification information for new Elements that should be created in
ElementBuffer
.- DefaultStyledDocument.ElementSpec(AttributeSet, short) - Constructor for class javax.swing.text.DefaultStyledDocument.ElementSpec
- Creates a new
ElementSpec
with no content, length or offset.- DefaultStyledDocument.ElementSpec(AttributeSet, short, int) - Constructor for class javax.swing.text.DefaultStyledDocument.ElementSpec
- Creates a new
ElementSpec
that specifies the length but not the offset of an element.- DefaultStyledDocument.ElementSpec(AttributeSet, short, char[], int, int) - Constructor for class javax.swing.text.DefaultStyledDocument.ElementSpec
- Creates a new
ElementSpec
with document content.- DefaultStyledDocument.SectionElement - class javax.swing.text.DefaultStyledDocument.SectionElement.
- An element type for sections.
- DefaultStyledDocument.SectionElement() - Constructor for class javax.swing.text.DefaultStyledDocument.SectionElement
- Creates a new SectionElement.
- DefaultStyledDocument.StyleChangeListener - class javax.swing.text.DefaultStyledDocument.StyleChangeListener.
- Receives notification when any of the document's style changes and calls
DefaultStyledDocument.styleChanged(Style)
55 .- DefaultStyledDocument.StyleChangeListener() - Constructor for class javax.swing.text.DefaultStyledDocument.StyleChangeListener
- DefaultTextUI - class javax.swing.text.DefaultTextUI.
- Deprecated. as of 1.5 use javax.swing.plaf.basic.BasicTextUI instead
- DefaultTextUI() - Constructor for class javax.swing.text.DefaultTextUI
- Deprecated. use javax.swing.plaf.basic.BasicTextUI instead
- Document - interface javax.swing.text.Document.
- A Document is the model that backs up all text components in Swing.
- DocumentFilter - class javax.swing.text.DocumentFilter.
- DocumentFilter() - Constructor for class javax.swing.text.DocumentFilter
- DocumentFilter.FilterBypass - class javax.swing.text.DocumentFilter.FilterBypass.
- DocumentFilter.FilterBypass() - Constructor for class javax.swing.text.DocumentFilter.FilterBypass
- damage(Rectangle) - Method in class javax.swing.text.DefaultCaret
- Updates the carets rectangle properties to the specified rectangle and repaints the caret.
- damageLineRange(int, int, Shape, Component) - Method in class javax.swing.text.PlainView
- Repaint the given line range.
- decrIndent() - Method in class javax.swing.text.AbstractWriter
- Decrement the indent level.
- defaultAction - Variable in class javax.swing.text.JTextComponent.DefaultKeymap
- defaultActions - Static variable in class javax.swing.text.DefaultEditorKit
- The
Action
s that are supported by theDefaultEditorKit
.- defaultFormatter - Variable in class javax.swing.text.DefaultFormatterFactory
- The default formatter.
- defaultKeyTypedAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that is performed by default if a key is typed and there is no keymap entry.- defaultQueue - Static variable in class javax.swing.text.LayoutQueue
- defaultStyle - Variable in class javax.swing.text.StyleContext
- The default style for this style context.
- defaultStyleContext - Static variable in class javax.swing.text.StyleContext
- defaultTransferHandler - Static variable in class javax.swing.text.JTextComponent
- deinstall(JTextComponent) - Method in interface javax.swing.text.Caret
- Deinstalls this
Caret
from the specified text component.- deinstall(JTextComponent) - Method in class javax.swing.text.DefaultCaret
- Deinstalls this
Caret
from the specifiedJTextComponent
.- deinstall(JTextComponent) - Method in class javax.swing.text.DefaultHighlighter
- deinstall(JEditorPane) - Method in class javax.swing.text.EditorKit
- Called when the kit is being removed from the JEditorPane.
- deinstall(JTextComponent) - Method in interface javax.swing.text.Highlighter
- deinstall(JEditorPane) - Method in class javax.swing.text.PlainEditorKit
- deinstall(JEditorPane) - Method in class javax.swing.text.StyledEditorKit
- Deinstalls this
EditorKit
from the specified javax.swing.JEditorPane.- delete(int, int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Delete the text between two points.
- deleteNextCharAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that deletes the character that follows the current caret position.- deletePrevCharAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that deletes the character that precedes the current caret position.- depth() - Method in class javax.swing.text.ElementIterator
- Returns the depth to which we have descended in the tree.
- determineMaxLineLength() - Method in class javax.swing.text.PlainView
- Returns the length of the longest line, used for getting the span
- determineNumLines() - Method in class javax.swing.text.WrappedPlainView.WrappedLine
- Calculates the number of logical lines that the Element needs to be displayed and updates the variable numLines accordingly.
- direction - Variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- The direction of the tag.
- disabledColor - Variable in class javax.swing.text.PlainView
- The color that is used to draw disabled text fields.
- disabledColor - Variable in class javax.swing.text.WrappedPlainView
- The color for disabled components
- disabledTextColor - Variable in class javax.swing.text.JTextComponent
- displayFormatter - Variable in class javax.swing.text.DefaultFormatterFactory
- The formatter to use when the JFormattedTextField doesn't havefocus and either the value isn't null or the value is null but no
nullFormatter
has been specified.- doAccessibleAction(int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Perform the specified action.
- doTransferAction(String, Action) - Method in class javax.swing.text.JTextComponent
- doc - Variable in class javax.swing.text.JTextComponent
- document - Variable in class javax.swing.text.AbstractWriter
- documentCV - Variable in class javax.swing.text.AbstractDocument
- A condition variable that readers and writers wait on.
- documentEvent - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- The ElementChange that describes the latest changes.
- documentFilter - Variable in class javax.swing.text.AbstractDocument
- The currently installed
DocumentFilter
.- documentListener - Variable in class javax.swing.text.DefaultCaret
- Our document listener.
- dot - Variable in class javax.swing.text.DefaultCaret
- The current dot position.
- dot - Variable in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- The caret's offset.
- downAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one line down.- dragEnabled - Variable in class javax.swing.text.JTextComponent
- drawEchoCharacter(Graphics, int, int, char) - Method in class javax.swing.text.PasswordView
- Draws one echo character at a given position.
- drawLine(int, Graphics, int, int) - Method in class javax.swing.text.PlainView
- Draws a line of text.
- drawLine(int, int, Graphics, int, int) - Method in class javax.swing.text.WrappedPlainView
- Draws a line of text, suppressing white space at the end and expanding tabs.
- drawSelectedText(Graphics, int, int, int, int) - Method in class javax.swing.text.PasswordView
- Draws selected text at a given position.
- drawSelectedText(Graphics, int, int, int, int) - Method in class javax.swing.text.PlainView
- drawSelectedText(Graphics, int, int, int, int) - Method in class javax.swing.text.WrappedPlainView
- Renders the range of text as selected text.
- drawTabbedText(Segment, int, int, Graphics, TabExpander, int) - Static method in class javax.swing.text.Utilities
- Draws the given text segment.
- drawUnselectedText(Graphics, int, int, int, int) - Method in class javax.swing.text.PasswordView
- Draws unselected text at a given position.
- drawUnselectedText(Graphics, int, int, int, int) - Method in class javax.swing.text.PlainView
- Draws a chunk of unselected text.
- drawUnselectedText(Graphics, int, int, int, int) - Method in class javax.swing.text.WrappedPlainView
- Renders the range of text as normal unhighlighted text.
- drawsLayeredHighlights - Variable in class javax.swing.text.DefaultHighlighter
- dump(PrintStream, int) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Prints diagnostic output to the specified stream.
- dump(PrintStream) - Method in class javax.swing.text.AbstractDocument
- Dumps diagnostic information to the specified
PrintStream
.- dump() - Method in class javax.swing.text.GapContent
- Outputs debugging info to System.err.
- dump() - Method in class javax.swing.text.View
- Dumps the complete View hierarchy.
- dump(int) - Method in class javax.swing.text.View
- Dumps the view hierarchy below this View with the specified indentation level.
- dumpPositions() - Method in class javax.swing.text.GapContent
E
- EMPTY - Static variable in class javax.swing.text.SimpleAttributeSet
- An empty attribute set.
- ESCAPE_CHAR - Static variable in class javax.swing.text.MaskFormatter
- EditorKit - class javax.swing.text.EditorKit.
- EditorKit() - Constructor for class javax.swing.text.EditorKit
- Element - interface javax.swing.text.Element.
- ElementIterator - class javax.swing.text.ElementIterator.
- This class can be used to iterate over the Element tree of a Document or an Element.
- ElementIterator(Document) - Constructor for class javax.swing.text.ElementIterator
- Create a new ElementIterator to iterate over the given document.
- ElementIterator(Element) - Constructor for class javax.swing.text.ElementIterator
- Create a new ElementIterator to iterate over the given document.
- ElementNameAttribute - Static variable in class javax.swing.text.AbstractDocument
- Attribute key for storing the element name.
- EndOfLineStringProperty - Static variable in class javax.swing.text.DefaultEditorKit
- When a document is read and an CRLF is encountered, then we add a property with this name and a value of "\r\n".
- EndTagType - Static variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- This indicates an end tag.
- ExcellentBreakWeight - Static variable in class javax.swing.text.View
- e - Variable in class javax.swing.text.DefaultStyledDocument.Edit
- The element to edit .
- editFormatter - Variable in class javax.swing.text.DefaultFormatterFactory
- The formatter to use when the JFormattedTextField has focus and either the
value isn't null or the value is null but no
nullFormatter
has been specified. - editable - Variable in class javax.swing.text.JTextComponent
- edits - Variable in class javax.swing.text.DefaultStyledDocument
- Vector that contains all the edits.
- elem - Variable in class javax.swing.text.AbstractDocument.ElementEdit
- The changed element.
- element - Variable in class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
- The element that has changed.
- elementStack - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- The current position in the element tree.
- element_parent - Variable in class javax.swing.text.AbstractDocument.AbstractElement
- The parent element.
- elt - Variable in class javax.swing.text.View
- endAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the end of theDocument
. - endDelta - Variable in class javax.swing.text.AbstractDocument.LeafElement
- This gets possible added to the endOffset when a endOffset outside the document range is requested.
- endLineAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the end of the current line. - endOffset - Variable in class javax.swing.text.AbstractDocument.BranchElement
- The cached endOffset value.
- endOffset - Variable in class javax.swing.text.AbstractWriter
- endOffset - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Holds the end offset for structural changes.
- endOffset - Variable in class javax.swing.text.GlyphView
- The end offset within the document for this view.
- endParagraphAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the end of the current paragraph. - endPos - Variable in class javax.swing.text.AbstractDocument.LeafElement
- Manages the end offset of this element.
- endWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the end of the current word. - equals(Object) - Method in class javax.swing.text.SimpleAttributeSet
- Checks this set for equality with an arbitrary object.
- equals(Object) - Method in class javax.swing.text.StyleContext.SimpleFontSpec
- equals(Object) - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- equals(Object) - Method in class javax.swing.text.TabStop
- estimatedMajorSpan - Variable in class javax.swing.text.AsyncBoxView
- Indicates if the major span should be treated as beeing estimated or not.
- exportToClipboard(JComponent, Clipboard, int) - Method in class javax.swing.text.JTextComponent.DefaultTransferHandler
F
- FOCUS_ACCELERATOR_KEY - Static variable in class javax.swing.text.JTextComponent
- Family - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- An alias for
FontConstants#Family
. - Family - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Family
55 . - Family - Static variable in class javax.swing.text.StyleConstants.FontConstants
- A key for the family font attribute.
- FieldView - class javax.swing.text.FieldView.
- FieldView(Element) - Constructor for class javax.swing.text.FieldView
- FirstLineIndent - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.FirstLineIndent
55 . - FirstLineIndent - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the first line indentation paragraph attribute.
- FlowView - class javax.swing.text.FlowView.
- A
View
that can flows it's children into it's layout space. - FlowView(Element, int) - Constructor for class javax.swing.text.FlowView
- Creates a new
FlowView
for the givenElement
andaxis
. - FlowView.FlowStrategy - class javax.swing.text.FlowView.FlowStrategy.
- A strategy for translating the logical views of a
FlowView
into the real views. - FlowView.FlowStrategy() - Constructor for class javax.swing.text.FlowView.FlowStrategy
- Creates a new instance of
FlowStragegy
. - FlowView.LogicalView - class javax.swing.text.FlowView.LogicalView.
- This special subclass of
View
is used to represent the logical representation of this view. - FlowView.LogicalView(Element, int) - Constructor for class javax.swing.text.FlowView.LogicalView
- Creates a new LogicalView instance.
- FontFamily - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Family
55 . - FontSize - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Size
55 . - ForcedBreakWeight - Static variable in class javax.swing.text.View
- Foreground - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- An alias for
ColorConstants#Foreground
. - Foreground - Static variable in class javax.swing.text.StyleConstants.ColorConstants
- A key for the foreground color attribute.
- Foreground - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Foreground
55 . - Forward - Static variable in class javax.swing.text.Position.Bias
- family - Variable in class javax.swing.text.StyleContext.SimpleFontSpec
- family - Variable in class javax.swing.text.StyledEditorKit.FontFamilyAction
- The font family to set.
- fg - Variable in class javax.swing.text.StyledEditorKit.ForegroundAction
- The foreground color to set.
- findOffsetToCharactersInString(char[], int) - Method in class javax.swing.text.ParagraphView
- Finds the next offset in the document that has one of the characters
specified in
string
. - fireCaretUpdate(CaretEvent) - Method in class javax.swing.text.JTextComponent
- Notifies all registered
CaretListener
objects that the caret was updated. - fireChangedUpdate(DocumentEvent) - Method in class javax.swing.text.AbstractDocument
- Notifies all registered listeners when the document model changes.
- fireInsertUpdate(DocumentEvent) - Method in class javax.swing.text.AbstractDocument
- Notifies all registered listeners when content is inserted in the document model.
- fireRemoveUpdate(DocumentEvent) - Method in class javax.swing.text.AbstractDocument
- Notifies all registered listeners when content is removed from the document model.
- fireStateChanged() - Method in class javax.swing.text.DefaultCaret
- Notifies all registered javax.swing.event.ChangeListeners that the state
of this
Caret
has changed. - fireStateChanged() - Method in class javax.swing.text.StyleContext.NamedStyle
- fireUndoableEditUpdate(UndoableEditEvent) - Method in class javax.swing.text.AbstractDocument
- Notifies all registered listeners when an
UndoableEdit
has been performed on thisDocument
. - first() - Method in interface javax.swing.text.CharacterIterator
- first() - Method in class javax.swing.text.ElementIterator
- Returns the first element in the tree.
- first() - Method in class javax.swing.text.Segment
- Sets the current index to the first character in the segment and returns that character.
- firstLineIndent - Variable in class javax.swing.text.ParagraphView
- The indentation of the first line of the paragraph.
- flipEastAndWestAtEnds(int, Position.Bias) - Method in class javax.swing.text.BoxView
- flipEastAndWestAtEnds(int, Position.Bias) - Method in class javax.swing.text.CompositeView
- Determines if the next view in horinzontal direction is located to
the east or west of the view at position
pos
. - flushRequirementChanges() - Method in class javax.swing.text.AsyncBoxView
- Flushes the requirements changes upwards to the parent view.
- flushTask - Variable in class javax.swing.text.AsyncBoxView
- This tasked is placed on the layout queue to flush updates up to the parent view.
- focusAccelerator - Variable in class javax.swing.text.JTextComponent
- focusGained(FocusEvent) - Method in class javax.swing.text.DefaultCaret
- Sets the caret to
visible
if the text component is editable. - focusLost(FocusEvent) - Method in class javax.swing.text.DefaultCaret
- Sets the caret to
invisible
. - font - Variable in class javax.swing.text.LabelView
- The background color.
- font - Variable in class javax.swing.text.PlainView
- foreground - Variable in class javax.swing.text.LabelView
- The foreground color.
- format - Variable in class javax.swing.text.InternationalFormatter
- The format that handles value to string conversion.
- forwardAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one character forward. - forwardUpdate(DocumentEvent.ElementChange, DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.BoxView
- forwardUpdate(DocumentEvent.ElementChange, DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.TableView
- forwardUpdate(DocumentEvent.ElementChange, DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.View
- Forwards the DocumentEvent to child views that need to get notified of the change to the model.
- forwardUpdateToView(View, DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.View
- Forwards an update event to the given child view.
- fracNotCreated - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- True if a fracture was not created during a insertFracture call.
G
- GapContent - class javax.swing.text.GapContent.
- This implementation of AbstractDocument.Content uses a gapped buffer.
- GapContent() - Constructor for class javax.swing.text.GapContent
- Creates a new GapContent object.
- GapContent(int) - Constructor for class javax.swing.text.GapContent
- Creates a new GapContent object with a specified initial size.
- GapContent.GapContentPosition - class javax.swing.text.GapContent.GapContentPosition.
- A Position implementation for
GapContent
. - GapContent.GapContentPosition(int) - Constructor for class javax.swing.text.GapContent.GapContentPosition
- Creates a new GapContentPosition object.
- GapContent.InsertUndo - class javax.swing.text.GapContent.InsertUndo.
- GapContent.InsertUndo(int, int) - Constructor for class javax.swing.text.GapContent.InsertUndo
- GapContent.UndoRemove - class javax.swing.text.GapContent.UndoRemove.
- GapContent.UndoRemove(int, String) - Constructor for class javax.swing.text.GapContent.UndoRemove
- GapContent.WeakPositionComparator - class javax.swing.text.GapContent.WeakPositionComparator.
- Compares WeakReference objects in a List by comparing the referenced objects instead.
- GapContent.WeakPositionComparator() - Constructor for class javax.swing.text.GapContent.WeakPositionComparator
- GlyphView - class javax.swing.text.GlyphView.
- Renders a run of styled text.
- GlyphView(Element) - Constructor for class javax.swing.text.GlyphView
- Creates a new
GlyphView
for the givenElement
. - GlyphView.DefaultGlyphPainter - class javax.swing.text.GlyphView.DefaultGlyphPainter.
- The default
GlyphPainter
used inGlyphView
. - GlyphView.DefaultGlyphPainter() - Constructor for class javax.swing.text.GlyphView.DefaultGlyphPainter
- GlyphView.GlyphPainter - class javax.swing.text.GlyphView.GlyphPainter.
- An abstract base implementation for a glyph painter for
GlyphView
. - GlyphView.GlyphPainter() - Constructor for class javax.swing.text.GlyphView.GlyphPainter
- Creates a new
GlyphPainer
. - GoodBreakWeight - Static variable in class javax.swing.text.View
- gapEnd - Variable in class javax.swing.text.GapContent
- The index of the character after the last character of the gap.
- gapStart - Variable in class javax.swing.text.GapContent
- The index of the first character of the gap.
- get(Object) - Method in class javax.swing.text.JTextComponent.KeymapActionMap
- get(KeyStroke) - Method in class javax.swing.text.JTextComponent.KeymapWrapper
- getAccessibleActionCount() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Get the number possible actions for this object, with the zeroth representing the default action.
- getAccessibleActionDescription(int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Get a description for the specified action.
- getAccessibleContext() - Method in class javax.swing.text.JTextComponent
- Get the
AccessibleContext
of this object. - getAccessibleEditableText() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the AccessibleEditableText interface for this text component.
- getAccessibleRole() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the accessible role of this component.
- getAccessibleStateSet() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the accessible state set of this component.
- getAccessibleText() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Get the AccessibleText associated with this object.
- getAction(KeyStroke) - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- Looks up a KeyStroke either in the current map or the parent Keymap; does not return the default action if lookup fails.
- getAction(KeyStroke) - Method in interface javax.swing.text.Keymap
- getActions() - Method in class javax.swing.text.DefaultEditorKit
- Returns the
Action
s supported by thisEditorKit
. - getActions() - Method in class javax.swing.text.EditorKit
- getActions() - Method in class javax.swing.text.InternationalFormatter
- Returns the Actions that are supported by this Formatter.
- getActions() - Method in class javax.swing.text.JTextComponent
- Returns the set of available Actions this component's associated editor can run.
- getActions() - Method in class javax.swing.text.PlainEditorKit
- getActions() - Method in class javax.swing.text.StyledEditorKit
- Returns the
Action
s supported by this EditorKit. - getAddedElements() - Method in class javax.swing.text.DefaultStyledDocument.Edit
- Return an array containing the Elements that have been added to the paragraph associated with this Edit.
- getAfterIndex(int, int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the section of text after the index, or null if the index or part is invalid.
- getAlignment(int) - Method in class javax.swing.text.BoxView
- Returns the alignment for this box view for the specified axis.
- getAlignment(int) - Method in class javax.swing.text.ComponentView
- Returns the alignment of this
View
along the specified axis. - getAlignment(int) - Method in class javax.swing.text.GlyphView
- Returns the alignment of this view along the specified axis.
- getAlignment(int) - Method in class javax.swing.text.ParagraphView.Row
- getAlignment(int) - Method in class javax.swing.text.ParagraphView
- Returns the alignment for this paragraph view for the specified axis.
- getAlignment(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the alignment specified in the given attributes, or
StyleConstants.ALIGN_LEFT
55 if no alignment is specified. - getAlignment() - Method in class javax.swing.text.TabStop
- getAlignment(int) - Method in class javax.swing.text.View
- Returns the alignment of this view along the baseline of the parent view.
- getAllowsChildren() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns
true
if thisAbstractElement
allows children. - getAllowsChildren() - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns
true
sinceBranchElements
allow child elements. - getAllowsChildren() - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns
false
sinceLeafElement
s cannot have children. - getAllowsInvalid() - Method in class javax.swing.text.DefaultFormatter
- Returns whether or not invalid edits are allowed or not.
- getArray() - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Returns the actual content of the element.
- getArray() - Method in class javax.swing.text.GapContent
- Returns the allocated buffer array.
- getArrayLength() - Method in class javax.swing.text.GapContent
- Returns the length of the allocated buffer array.
- getAscent(GlyphView) - Method in class javax.swing.text.GlyphView.DefaultGlyphPainter
- Returns the ascent of the text run that is rendered by this
GlyphPainter
. - getAscent(GlyphView) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Returns the ascent of the font that is used by this glyph painter.
- getAsynchronousLoadPriority() - Method in class javax.swing.text.AbstractDocument
- Returns the asynchronous loading priority.
- getAtIndex(int, int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the section of text at the index, or null if the index or part is invalid.
- getAttribute(Object) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the attribute value with the specified key.
- getAttribute(Object) - Method in interface javax.swing.text.AttributeSet
- Returns the attribute with the specified
key
ornull
if no such attribute is defined in thisAttributeSet
and its resolving parents. - getAttribute(Object) - Method in class javax.swing.text.SimpleAttributeSet
- Returns the value of the specified attribute, or
null
if there is no attribute with that name. - getAttribute(Object) - Method in class javax.swing.text.StyleContext.NamedStyle
- getAttribute(Object) - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- getAttributeContext() - Method in class javax.swing.text.AbstractDocument
- Returns the AbstractDocument.AttributeContext used in this
Document
. - getAttributeCount() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the number of defined attributes in this element.
- getAttributeCount() - Method in interface javax.swing.text.AttributeSet
- Returns the number of attributes that are stored locally in this
AttributeSet
. - getAttributeCount() - Method in class javax.swing.text.SimpleAttributeSet
- Returns the number of attributes stored in this set, plus 1 if a parent has been specified (the reference to the parent is stored as a special attribute).
- getAttributeCount() - Method in class javax.swing.text.StyleContext.NamedStyle
- getAttributeCount() - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- getAttributeNames() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the names of the attributes of this element.
- getAttributeNames() - Method in interface javax.swing.text.AttributeSet
- Returns the names of the attributes that are stored in this
AttributeSet
. - getAttributeNames() - Method in class javax.swing.text.SimpleAttributeSet
- Returns an enumeration of the attribute names.
- getAttributeNames() - Method in class javax.swing.text.StyleContext.NamedStyle
- getAttributeNames() - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- getAttributes() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the attributes of this element.
- getAttributes() - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Returns the attributes of the element.
- getAttributes() - Method in interface javax.swing.text.Element
- getAttributes() - Method in class javax.swing.text.View
- getAxis() - Method in class javax.swing.text.BoxView
- Returns the axis along which this
BoxView
is laid out. - getBackground(AttributeSet) - Method in class javax.swing.text.DefaultStyledDocument
- Extracts a background color from a set of attributes.
- getBackground() - Method in class javax.swing.text.GlyphView
- Returns the background color which should be used to paint the text.
- getBackground() - Method in class javax.swing.text.LabelView
- Returns the background color for the glyphs.
- getBackground(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the background color specified in the given attributes, or
Color.BLACK>
Color.BLACK
55 if no background color is specified. - getBackground(AttributeSet) - Method in class javax.swing.text.StyleContext
- getBackground(AttributeSet) - Method in interface javax.swing.text.StyledDocument
- getBackground
- getBeforeIndex(int, int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the section of text before the index, or null if the index or part is invalid.
- getBeginIndex() - Method in interface javax.swing.text.CharacterIterator
- getBeginIndex() - Method in class javax.swing.text.Segment
- Returns the index of the first character in the segment.
- getBidiLevel(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the bidi level specified in the given attributes, or
0
if no bidi level is specified. - getBidiRootElement() - Method in class javax.swing.text.AbstractDocument
- Returns the root element for bidirectional content.
- getBlinkRate() - Method in interface javax.swing.text.Caret
- Returns the blink rate of this
Caret
in milliseconds. - getBlinkRate() - Method in class javax.swing.text.DefaultCaret
- Returns the blink rate of this
Caret
in milliseconds. - getBottomInset() - Method in class javax.swing.text.AsyncBoxView
- Returns the bottom inset.
- getBottomInset() - Method in class javax.swing.text.CompositeView
- Returns the bottom inset of this
CompositeView
. - getBoundActions() - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- getBoundActions() - Method in interface javax.swing.text.Keymap
- getBoundKeyStrokes() - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- getBoundKeyStrokes() - Method in interface javax.swing.text.Keymap
- getBoundedPosition(GlyphView, int, float, float) - Method in class javax.swing.text.GlyphView.DefaultGlyphPainter
- Determines the model offset, so that the text between
p0
and this offset fits within the span starting atx
with the length oflen
. - getBoundedPosition(GlyphView, int, float, float) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Determines the model offset, so that the text between
p0
and this offset fits within the span starting atx
with the length oflen
. - getBreakLocation(Segment, FontMetrics, int, int, TabExpander, int) - Static method in class javax.swing.text.Utilities
- Determine where to break the text in the given Segment, attempting to find a word boundary.
- getBreakWeight(int, float, float) - Method in class javax.swing.text.GlyphView
- Determines how well the specified view location is suitable for inserting a line break.
- getBreakWeight(int, float) - Method in class javax.swing.text.ParagraphView
- getBreakWeight(int, float, float) - Method in class javax.swing.text.View
- getBypass() - Method in class javax.swing.text.AbstractDocument
- Returns the DocumentFilter.FilterBypass instance for this document and create it if it does not exist yet.
- getBypass() - Method in class javax.swing.text.DefaultCaret
- Returns the caret's
NavigationFilter.FilterBypass
instance and creates it if it does not yet exist. - getCanWrapLines() - Method in class javax.swing.text.AbstractWriter
- Return true if lines printed via write() will wrap, false otherwise.
- getCaret() - Method in class javax.swing.text.DefaultCaret.Bypass
- getCaret() - Method in class javax.swing.text.JTextComponent
- The
Caret
object used in this text component. - getCaret() - Method in class javax.swing.text.NavigationFilter.FilterBypass
- getCaretColor() - Method in class javax.swing.text.JTextComponent
- getCaretListeners() - Method in class javax.swing.text.JTextComponent
- Returns all added
CaretListener
objects. - getCaretPosition() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the zero-based offset of the caret.
- getCaretPosition() - Method in class javax.swing.text.JTextComponent
- Retrisves the current caret position.
- getChange(Element) - Method in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Returns the changes for an element.
- getChangeListeners() - Method in class javax.swing.text.DefaultCaret
- Returns all registered javax.swing.event.ChangeListeners of this
Caret
. - getChangeListeners() - Method in class javax.swing.text.StyleContext.NamedStyle
- getChangeListeners() - Method in class javax.swing.text.StyleContext
- getCharCount() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Return the number of characters.
- getCharSetSpec() - Method in class javax.swing.text.ChangedCharSetException
- Get the value of the first parameter, previously passed to the constructor.
- getCharacterAttribute(int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the attributes of a character at an index, or null if the index is out of bounds.
- getCharacterAttributeRun() - Method in class javax.swing.text.StyledEditorKit
- Returns the Element that represents the character run at the current caret position.
- getCharacterBounds(int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Determines the bounding box of the indexed character.
- getCharacterElement(int) - Method in class javax.swing.text.DefaultStyledDocument
- Returns the
Element
that corresponds to the character at the specified position. - getCharacterElement(int) - Method in interface javax.swing.text.StyledDocument
- getCharacterElement
- getChars(int, int, Segment) - Method in interface javax.swing.text.AbstractDocument.Content
- Fetches a piece of content and stores it in
txt
. - getChars(int, int, Segment) - Method in class javax.swing.text.GapContent
- Fetches a piece of content and stores it in a Segment object.
- getChars(int, int, Segment) - Method in class javax.swing.text.StringContent
- Updates
txt
to contain a direct reference to the underlying character array. - getChildAllocation(int, Shape) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Returns the current allocation for a child view.
- getChildAllocation(int) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Returns the current allocation of the child view with the specified index.
- getChildAllocation(int, Shape) - Method in class javax.swing.text.AsyncBoxView
- Returns the child allocation for the child view with the specified
index
. - getChildAllocation(int, Shape) - Method in class javax.swing.text.BoxView
- Returns the child allocation for the child view with the specified
index
. - getChildAllocation(int, Shape) - Method in class javax.swing.text.CompositeView
- Returns the allocation for the specified child
View
. - getChildAllocation(int, Shape) - Method in class javax.swing.text.View
- getChildAt(int) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the child of this
AbstractElement
atindex
. - getChildCount() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the number of children of this
AbstractElement
. - getChildState(int) - Method in class javax.swing.text.AsyncBoxView
- Returns the
ChildState
object associated with the child view at the specifiedindex
. - getChildView() - Method in class javax.swing.text.AsyncBoxView.ChildState
- Returns the child view for which this
ChildState
represents the layout state. - getChildrenAdded() - Method in class javax.swing.text.AbstractDocument.ElementEdit
- Returns the added elements.
- getChildrenRemoved() - Method in class javax.swing.text.AbstractDocument.ElementEdit
- Returns the removed elements.
- getClosestPositionTo(int, Position.Bias, Shape, int, Position.Bias[], int, int) - Method in class javax.swing.text.ParagraphView
- getColor() - Method in class javax.swing.text.DefaultHighlighter.DefaultHighlightPainter
- getColumnCount() - Method in class javax.swing.text.TableView.TableCell
- Deprecated. Table cells are now rendered by an arbitrary
View
implementation. - getCommitsOnValidEdit() - Method in class javax.swing.text.DefaultFormatter
- Returns
true
if the value should be committed after each valid modification of the input field,false
if it should never be committed by this formatter. - getComponent() - Method in class javax.swing.text.ComponentView
- Returns the
Component
that is rendered by thisComponentView
. - getComponent() - Method in class javax.swing.text.DefaultCaret
- Returns the
JTextComponent
on which thisCaret
is installed. - getComponent(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the component specified in the given attributes, or
null
if no component is specified. - getCompressionThreshold() - Method in class javax.swing.text.StyleContext
- getContainer() - Method in class javax.swing.text.View
- getContent() - Method in class javax.swing.text.AbstractDocument
- Returns the AbstractDocument.Content model for this
Document
- getContentType() - Method in class javax.swing.text.DefaultEditorKit
- Returns the content type that this
EditorKit
supports. - getContentType() - Method in class javax.swing.text.EditorKit
- getContentType() - Method in class javax.swing.text.PlainEditorKit
- getCurrentLineLength() - Method in class javax.swing.text.AbstractWriter
- Return the current line length.
- getCurrentWriter() - Method in class javax.swing.text.AbstractDocument
- Returns the thread that currently modifies this
Document
if there is one, otherwisenull
. - getDefaultAction() - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- getDefaultAction() - Method in interface javax.swing.text.Keymap
- getDefaultFormatter() - Method in class javax.swing.text.DefaultFormatterFactory
- Returns the formatted to be used if no other appropriate non-null formatter can be found.
- getDefaultQueue() - Static method in class javax.swing.text.LayoutQueue
- Return the default layout queue.
- getDefaultRootElement() - Method in class javax.swing.text.AbstractDocument
- Returns the default root Element of this
Document
. - getDefaultRootElement() - Method in class javax.swing.text.DefaultStyledDocument
- Returns the default root element.
- getDefaultRootElement() - Method in interface javax.swing.text.Document
- Returns the default root element.
- getDefaultRootElement() - Method in class javax.swing.text.PlainDocument
- getDefaultStyleContext() - Static method in class javax.swing.text.StyleContext
- getDescent(GlyphView) - Method in class javax.swing.text.GlyphView.DefaultGlyphPainter
- Returns the descent of the text run that is rendered by this
GlyphPainter
. - getDescent(GlyphView) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Returns the descent of the font that is used by this glyph painter.
- getDirection() - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Returns the direction of the element.
- getDisabledTextColor() - Method in class javax.swing.text.JTextComponent
- getDisplayFormatter() - Method in class javax.swing.text.DefaultFormatterFactory
- Gets the
displayFormatter
. - getDocument() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the Document to which this element belongs.
- getDocument() - Method in class javax.swing.text.AbstractDocument.Bypass
- getDocument() - Method in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Returns the document that has been modified.
- getDocument() - Method in class javax.swing.text.AbstractWriter
- Return this writer's Document.
- getDocument() - Method in class javax.swing.text.DocumentFilter.FilterBypass
- getDocument() - Method in interface javax.swing.text.Element
- getDocument() - Method in class javax.swing.text.JTextComponent
- getDocument() - Method in class javax.swing.text.View
- getDocumentFilter() - Method in class javax.swing.text.AbstractDocument
- Returns the currently installed DocumentFilter for this
Document
. - getDocumentFilter() - Method in class javax.swing.text.DefaultFormatter
- Returns the DocumentFilter that is used to restrict input.
- getDocumentListeners() - Method in class javax.swing.text.AbstractDocument
- Returns all registered
DocumentListener
s. - getDocumentProperties() - Method in class javax.swing.text.AbstractDocument
- Returns the properties of this
Document
. - getDot() - Method in interface javax.swing.text.Caret
- Returns the current position of this
Caret
within theDocument
. - getDot() - Method in class javax.swing.text.DefaultCaret
- Returns the current position of this
Caret
within theDocument
. - getDragEnabled() - Method in class javax.swing.text.JTextComponent
- getDrawsLayeredHighlights() - Method in class javax.swing.text.DefaultHighlighter
- getEchoChar() - Method in class javax.swing.text.PasswordView
- getEditForParagraphAndIndex(AbstractDocument.BranchElement, int) - Method in class javax.swing.text.DefaultStyledDocument
- This method looks through the Vector of Edits to see if there is already an Edit object associated with the given paragraph.
- getEditFormatter() - Method in class javax.swing.text.DefaultFormatterFactory
- Gets the
editFormatter
. - getEditor(ActionEvent) - Method in class javax.swing.text.StyledEditorKit.StyledTextAction
- Returns the
JEditorPane
component from which theActionEvent
originated. - getElement(int) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the child element at the specified
index
. - getElement(int) - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns the child element at the specified
index
. - getElement() - Method in class javax.swing.text.AbstractDocument.ElementEdit
- Returns the changed element.
- getElement(int) - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns
null
sinceLeafElement
s cannot have children. - getElement(int) - Method in interface javax.swing.text.Element
- getElement() - Method in class javax.swing.text.View
- getElementCount() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the number of child elements of this element.
- getElementCount() - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns the number of child elements of this element.
- getElementCount() - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns
0
sinceLeafElement
s cannot have children. - getElementCount() - Method in interface javax.swing.text.Element
- getElementIndex(int) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the index of the child element that spans the specified offset in the document model.
- getElementIndex(int) - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns the index of the child element that spans the specified offset in the document model.
- getElementIndex(int) - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns
-1
sinceLeafElement
s cannot have children. - getElementIndex(int) - Method in interface javax.swing.text.Element
- getElementIterator() - Method in class javax.swing.text.AbstractWriter
- Return the ElementIterator for this writer.
- getEmptySet() - Method in interface javax.swing.text.AbstractDocument.AttributeContext
- Returns an empty AttributeSet.
- getEmptySet() - Method in class javax.swing.text.StyleContext
- getEndIndex() - Method in interface javax.swing.text.CharacterIterator
- getEndIndex() - Method in class javax.swing.text.Segment
- Returns the end index for the segment (one position beyond the last character in the segment - note that this can be outside the range of the underlying character array).
- getEndOffset() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the offset inside the document model that is after the last character of this element.
- getEndOffset() - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns the offset inside the document model that is after the last character of this element.
- getEndOffset() - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns the end offset of this
Element
inside the document. - getEndOffset() - Method in class javax.swing.text.AbstractWriter
- Return the index of the Document at which output ends.
- getEndOffset() - Method in class javax.swing.text.DefaultHighlighter.HighlightEntry
- getEndOffset() - Method in interface javax.swing.text.Element
- getEndOffset() - Method in class javax.swing.text.GlyphView
- Returns the end offset in the document model of the portion of text that this view is responsible for.
- getEndOffset() - Method in interface javax.swing.text.Highlighter.Highlight
- getEndOffset() - Method in class javax.swing.text.View
- getEndPosition() - Method in class javax.swing.text.AbstractDocument
- Returns a Position which will always mark the end of the
Document
. - getEndPosition() - Method in interface javax.swing.text.Document
- Returns the position that marks the end of the document.
- getEstimatedMajorSpan() - Method in class javax.swing.text.AsyncBoxView
- Determines whether the major span should be treated as estimated or as beeing accurate.
- getFields(int) - Method in class javax.swing.text.InternationalFormatter
- Returns the
Format.Field
constants that are associated with the specified position in the text. - getFirstLineIndent(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the indentation specified in the given attributes, or
0.0f
if no indentation is specified. - getFlowAxis() - Method in class javax.swing.text.FlowView
- Returns the axis along which the view should be flowed.
- getFlowSpan(int) - Method in class javax.swing.text.FlowView
- Returns the span of the flow for the specified child view.
- getFlowStart(int) - Method in class javax.swing.text.FlowView
- Returns the location along the flow axis where the flow span starts given a child view index.
- getFocusAccelerator() - Method in class javax.swing.text.JTextComponent
- getFocusedComponent() - Method in class javax.swing.text.TextAction
- Returns the current focused
JTextComponent
object. - getFont(AttributeSet) - Method in class javax.swing.text.DefaultStyledDocument
- Extracts a font from a set of attributes.
- getFont() - Method in class javax.swing.text.GlyphView
- Returns the font for the text run for which this
GlyphView
is responsible. - getFont() - Method in class javax.swing.text.LabelView
- Returns the font for the glyphs.
- getFont(AttributeSet) - Method in class javax.swing.text.StyleContext
- getFont(String, int, int) - Method in class javax.swing.text.StyleContext
- getFont(AttributeSet) - Method in interface javax.swing.text.StyledDocument
- getFont
- getFontFamily(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the font family specified in the given attributes, or
Monospaced
if no font family is specified. - getFontMetrics() - Method in class javax.swing.text.FieldView
- getFontMetrics() - Method in class javax.swing.text.LabelView
- Deprecated. this is not used anymore
- getFontMetrics(Font) - Method in class javax.swing.text.StyleContext
- getFontSize(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the font size specified in the given attributes, or
12
if no font size is specified. - getForeground(AttributeSet) - Method in class javax.swing.text.DefaultStyledDocument
- Extracts a foreground color from a set of attributes.
- getForeground() - Method in class javax.swing.text.GlyphView
- Returns the foreground color which should be used to paint the text.
- getForeground() - Method in class javax.swing.text.LabelView
- Returns the foreground color for the glyphs.
- getForeground(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the foreground color specified in the given attributes, or
Color.BLACK>
Color.BLACK
55 if no foreground color is specified. - getForeground(AttributeSet) - Method in class javax.swing.text.StyleContext
- getForeground(AttributeSet) - Method in interface javax.swing.text.StyledDocument
- getForeground
- getFormat() - Method in class javax.swing.text.InternationalFormatter
- Returns the currently used Format object that is used to format the JFormattedField.
- getFormatter(JFormattedTextField) - Method in class javax.swing.text.DefaultFormatterFactory
- Returns the appropriate formatter based on the state of
tf
. - getGapEnd() - Method in class javax.swing.text.GapContent
- Returns the end index of the gap within the buffer array.
- getGapStart() - Method in class javax.swing.text.GapContent
- Returns the start index of the gap within the buffer array.
- getGlyphPainter() - Method in class javax.swing.text.GlyphView
- Returns the
GlyphPainter
that is used by thisGlyphView
. - getGraphics() - Method in class javax.swing.text.View
- getGridColumn() - Method in class javax.swing.text.TableView.TableCell
- Deprecated. Table cells are now rendered by an arbitrary
View
implementation. - getGridRow() - Method in class javax.swing.text.TableView.TableCell
- Deprecated. Table cells are now rendered by an arbitrary
View
implementation. - getHeight() - Method in class javax.swing.text.BoxView
- Return the current height of the box.
- getHeight(GlyphView) - Method in class javax.swing.text.GlyphView.DefaultGlyphPainter
- Returns the full height of the rendered text.
- getHeight(GlyphView) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Returns the full height of the rendered text.
- getHighlighter() - Method in class javax.swing.text.JTextComponent
- getHighlights() - Method in class javax.swing.text.DefaultHighlighter
- getHighlights() - Method in interface javax.swing.text.Highlighter
- getIcon(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the icon specified in the given attributes, or
null
if no icon is specified. - getIndentLevel() - Method in class javax.swing.text.AbstractWriter
- Return the current indent level.
- getIndentSpace() - Method in class javax.swing.text.AbstractWriter
- Return the number of spaces per indent level.
- getIndex(TreeNode) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the index of a given child
TreeNode
or-1
ifnode
is not a child of thisAbstractElement
. - getIndex() - Method in class javax.swing.text.AbstractDocument.ElementEdit
- Returns the index of the change.
- getIndex() - Method in interface javax.swing.text.CharacterIterator
- getIndex() - Method in class javax.swing.text.Segment
- Returns the index of the current character in the segment.
- getIndexAtPoint(Point) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Given a point in the coordinate system of this object, return the 0-based index of the character at that point, or -1 if there is none.
- getInputAttributes() - Method in class javax.swing.text.StyledEditorKit
- Returns the current input attributes.
- getInputMethodListeners() - Method in class javax.swing.text.JTextComponent
- Returns all added
InputMethodListener
objects. - getInsetSpan(int) - Method in class javax.swing.text.AsyncBoxView
- Returns the span along an axis that is taken up by the insets.
- getInsideAllocation(Shape) - Method in class javax.swing.text.CompositeView
- Returns the allocation that is given to this
CompositeView
minus thisCompositeView
's insets. - getInvalidCharacters() - Method in class javax.swing.text.MaskFormatter
- Returns a String containing the characters that are not valid for input for this MaskFormatter.
- getKeyStrokesForAction(Action) - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- getKeyStrokesForAction(Action) - Method in interface javax.swing.text.Keymap
- getKeymap(String) - Static method in class javax.swing.text.JTextComponent
- Get a Keymap from the global keymap table, by name.
- getKeymap() - Method in class javax.swing.text.JTextComponent
- Get the current Keymap of this component.
- getLayoutQueue() - Method in class javax.swing.text.AsyncBoxView
- Returns the
LayoutQueue
used for layouting the box view. - getLayoutView(int) - Method in class javax.swing.text.ParagraphView
- Returns the i-th view from the logical views, before breaking into rows.
- getLayoutViewCount() - Method in class javax.swing.text.ParagraphView
- Returns the number of logical child views.
- getLeader() - Method in class javax.swing.text.TabStop
- getLeftIndent(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the left indentation specified in the given attributes, or
0.0f
if no left indentation is specified. - getLeftInset() - Method in class javax.swing.text.AsyncBoxView
- Returns the left inset.
- getLeftInset() - Method in class javax.swing.text.CompositeView
- Returns the left inset of this
CompositeView
. - getLength() - Method in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Returns the length of the modification.
- getLength() - Method in class javax.swing.text.AbstractDocument
- Returns the length of this
Document
's content. - getLength() - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Returns the length of the content.
- getLength() - Method in interface javax.swing.text.Document
- Returns the length of the document content.
- getLineBuffer() - Method in class javax.swing.text.PlainView
- Provides a Segment object, that can be used to fetch text from the document.
- getLineBuffer() - Method in class javax.swing.text.WrappedPlainView
- Provides access to the Segment used for retrievals from the Document.
- getLineLength() - Method in class javax.swing.text.AbstractWriter
- Return the maximum line length.
- getLineSeparator() - Method in class javax.swing.text.AbstractWriter
- Return the current line separator.
- getLineSpacing(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the line spacing specified in the given attributes, or
0.0f
if no line spacing is specified. - getListeners(Class) - Method in class javax.swing.text.AbstractDocument
- Returns all registered listeners of a given listener type.
- getListeners(Class) - Method in class javax.swing.text.DefaultCaret
- Returns all registered event listeners of the specified type.
- getListeners(Class) - Method in class javax.swing.text.StyleContext.NamedStyle
- getLogicalStyle(int) - Method in class javax.swing.text.DefaultStyledDocument
- Returns the logical
Style
for the specified position. - getLogicalStyle(int) - Method in interface javax.swing.text.StyledDocument
- getLogicalStyle
- getLogicalView(FlowView) - Method in class javax.swing.text.FlowView.FlowStrategy
- Returns the logical view of the managed
FlowView
. - getMagicCaretPosition() - Method in interface javax.swing.text.Caret
- Returns the current visual position of this
Caret
. - getMagicCaretPosition() - Method in class javax.swing.text.DefaultCaret
- Returns the current visual position of this
Caret
. - getMajorAxis() - Method in class javax.swing.text.AsyncBoxView
- Returns the major layout axis.
- getMajorOffset() - Method in class javax.swing.text.AsyncBoxView.ChildState
- Returns the offset of the child view along the major layout axis.
- getMajorSpan() - Method in class javax.swing.text.AsyncBoxView.ChildState
- Returns the span of the child view along the major layout axis.
- getMargin() - Method in class javax.swing.text.JTextComponent
- getMark() - Method in interface javax.swing.text.Caret
- Returns the current position of the
mark
. - getMark() - Method in class javax.swing.text.DefaultCaret
- Returns the current position of the
mark
. - getMask() - Method in class javax.swing.text.MaskFormatter
- Returns the mask used in this MaskFormatter.
- getMaximum() - Method in class javax.swing.text.InternationalFormatter
- Returns the maximal value that is allowed by this Formatter.
- getMaximumSpan(int) - Method in class javax.swing.text.AsyncBoxView
- Returns the maximum span of this view along the specified axis.
- getMaximumSpan(int) - Method in class javax.swing.text.BoxView
- Returns the maximum span of this view along the specified axis.
- getMaximumSpan(int) - Method in class javax.swing.text.ComponentView
- Returns the maximum span of this
View
along the specified axis. - getMaximumSpan(int) - Method in class javax.swing.text.View
- Returns the maximum span along the specified axis.
- getMaximumSpan(int) - Method in class javax.swing.text.WrappedPlainView
- Determines the maximum span along the given axis.
- getMinimum() - Method in class javax.swing.text.InternationalFormatter
- Returns the minimal value that is allowed by this Formatter.
- getMinimumSpan(int) - Method in class javax.swing.text.AsyncBoxView
- Returns the minimum span along the specified axis.
- getMinimumSpan(int) - Method in class javax.swing.text.BoxView
- Returns the minimum span of this view along the specified axis.
- getMinimumSpan(int) - Method in class javax.swing.text.ComponentView
- getMinimumSpan(int) - Method in class javax.swing.text.View
- Returns the minimum span along the specified axis.
- getMinimumSpan(int) - Method in class javax.swing.text.WrappedPlainView
- Determines the minimum span along the given axis.
- getMinorAxis() - Method in class javax.swing.text.AsyncBoxView
- Returns the minor layout axis, that is the axis orthogonal to the major layout axis.
- getMinorOffset() - Method in class javax.swing.text.AsyncBoxView.ChildState
- Returns the offset of the child view along the minor layout axis.
- getMinorSpan() - Method in class javax.swing.text.AsyncBoxView.ChildState
- Returns the span of the child view along the minor layout axis.
- getName() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the name of this element.
- getName() - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns the name of this element.
- getName() - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns the name of this
Element
. - getName() - Method in class javax.swing.text.DefaultStyledDocument.SectionElement
- Returns the name of the element.
- getName() - Method in interface javax.swing.text.Element
- getName() - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- getName() - Method in interface javax.swing.text.Keymap
- getName() - Method in interface javax.swing.text.Style
- Returns the name of the style.
- getName() - Method in class javax.swing.text.StyleContext.NamedStyle
- getNavigationFilter() - Method in class javax.swing.text.JTextComponent
- getNextEastWestVisualPositionFrom(int, Position.Bias, Shape, int, Position.Bias[]) - Method in class javax.swing.text.CompositeView
- Returns the next model location that is visible in east or west direction.
- getNextNorthSouthVisualPositionFrom(int, Position.Bias, Shape, int, Position.Bias[]) - Method in class javax.swing.text.CompositeView
- Returns the next model location that is visible in north or south direction.
- getNextVisualPositionFrom(int, Position.Bias, Shape, int, Position.Bias[]) - Method in class javax.swing.text.CompositeView
- Returns the next model location that is visible in eiter north / south direction or east / west direction.
- getNextVisualPositionFrom(GlyphView, int, Position.Bias, Shape, int, Position.Bias[]) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Returns the model location that should be used to place a caret when moving the caret through the document.
- getNextVisualPositionFrom(int, Position.Bias, Shape, int, Position.Bias[]) - Method in class javax.swing.text.GlyphView
- Returns the model location that should be used to place a caret when moving the caret through the document.
- getNextVisualPositionFrom(JTextComponent, int, Position.Bias, int, Position.Bias[]) - Method in class javax.swing.text.NavigationFilter
- Returns the next visual position in the specified direction at which one would place a caret.
- getNextVisualPositionFrom(int, Position.Bias, Shape, int, Position.Bias[]) - Method in class javax.swing.text.View
- Returns the document position that is (visually) nearest to the given
document position
pos
in the given directiond
. - getNextWord(JTextComponent, int) - Static method in class javax.swing.text.Utilities
- Finds the start of the next word for the given offset.
- getNullFormatter() - Method in class javax.swing.text.DefaultFormatterFactory
- Gets the formatter to use if the value of the JFormattedTextField is null.
- getOffset() - Method in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Returns the start offset of the modification.
- getOffset(int, int) - Method in class javax.swing.text.BoxView
- Returns the offset for the child view with the given index for the specified axis.
- getOffset() - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Returns the offset of the content.
- getOffset() - Method in class javax.swing.text.GapContent.GapContentPosition
- Returns the current offset of this Position within the content.
- getOffset() - Method in interface javax.swing.text.Position
- getOffset() - Method in class javax.swing.text.StringContent.StickyPosition
- Should be >=0.
- getOverwriteMode() - Method in class javax.swing.text.DefaultFormatter
- Returns the value of the
overwriteMode
property. - getPadCharAt(int) - Method in class javax.swing.text.MaskFormatter
- Returns the character with which to pad the value at the given index position.
- getPainter() - Method in class javax.swing.text.DefaultHighlighter.HighlightEntry
- getPainter(GlyphView, int, int) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Returns a painter that can be used to render the specified glyph view.
- getPainter() - Method in interface javax.swing.text.Highlighter.Highlight
- getParagraphElement(int) - Method in class javax.swing.text.AbstractDocument
- Returns the paragraph Element that holds the specified position.
- getParagraphElement(int) - Method in class javax.swing.text.DefaultStyledDocument
- Returns the paragraph element for the specified position.
- getParagraphElement(int) - Method in class javax.swing.text.PlainDocument
- getParagraphElement(int) - Method in interface javax.swing.text.StyledDocument
- getParagraphElement
- getParagraphElement(JTextComponent, int) - Static method in class javax.swing.text.Utilities
- Returns the paragraph element in the text component
c
at the specified locationoffset
. - getParent() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the parent
TreeNode
of thisAbstractElement
ornull
if this element has no parent. - getParent() - Method in class javax.swing.text.View
- getParentElement() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the parent element of this element.
- getParentElement() - Method in interface javax.swing.text.Element
- getPartialSize(int, int) - Method in class javax.swing.text.ParagraphView
- Returns the size that is used by this view (or it's child views) between
startOffset
andendOffset
. - getPartialSpan(int, int) - Method in class javax.swing.text.GlyphView
- Returns the span of a portion of the view.
- getPartialSpan(int, int) - Method in interface javax.swing.text.TabableView
- getPlaceholder() - Method in class javax.swing.text.MaskFormatter
- Returns the place holder String that is used in place of missing characters when the value doesn't completely fill in the spaces in the mask.
- getPlaceholderCharacter() - Method in class javax.swing.text.MaskFormatter
- Returns the character used in place of missing characters when the value doesn't completely fill the mask.
- getPosition() - Method in class javax.swing.text.TabStop
- getPositionAbove(JTextComponent, int, int) - Static method in class javax.swing.text.Utilities
- Returns the document position that is closest above to the specified x
coordinate in the row containing
offset
. - getPositionBelow(JTextComponent, int, int) - Static method in class javax.swing.text.Utilities
- Returns the document position that is closest below to the specified x
coordinate in the row containing
offset
. - getPositionsInRange(Vector, int, int) - Method in class javax.swing.text.GapContent
- Returns all
Position
s that are in the range specified byoffset
and length within the buffer array. - getPositionsInRange(Vector, int, int) - Method in class javax.swing.text.StringContent
- getPreferredScrollableViewportSize() - Method in class javax.swing.text.JTextComponent
- getPreferredSpan(int) - Method in class javax.swing.text.AsyncBoxView
- Returns the preferred span of this view along the specified layout axis.
- getPreferredSpan(int) - Method in class javax.swing.text.BoxView
- Returns the preferred span of the content managed by this
View
along the specifiedaxis
. - getPreferredSpan(int) - Method in class javax.swing.text.ComponentView
- getPreferredSpan(int) - Method in class javax.swing.text.FieldView
- getPreferredSpan(int) - Method in class javax.swing.text.GlyphView
- Returns the preferred span of the content managed by this
View
along the specifiedaxis
. - getPreferredSpan(int) - Method in class javax.swing.text.IconView
- Returns the preferred span of the content managed by this
View
along the specifiedaxis
. - getPreferredSpan(int) - Method in class javax.swing.text.PasswordView
- Determines the preferred span for this view along an axis.
- getPreferredSpan(int) - Method in class javax.swing.text.PlainView
- getPreferredSpan(int) - Method in class javax.swing.text.View
- Returns the preferred span along the specified axis.
- getPreferredSpan(int) - Method in class javax.swing.text.WrappedPlainView.WrappedLine
- Determines the preferred span for this view along the given axis.
- getPreferredSpan(int) - Method in class javax.swing.text.WrappedPlainView
- Determines the preferred span along the given axis.
- getPreviousWord(JTextComponent, int) - Static method in class javax.swing.text.Utilities
- Finds the start of the previous word for the given offset.
- getProperty(Object) - Method in class javax.swing.text.AbstractDocument
- Returns a property from this
Document
's property list. - getProperty(Object) - Method in interface javax.swing.text.Document
- Returns a document property with the specified key.
- getRemovedElements() - Method in class javax.swing.text.DefaultStyledDocument.Edit
- Return an array containing the Elements that have been removed from the paragraph associated with this Edit.
- getResizeWeight(int) - Method in class javax.swing.text.BoxView
- Returns the resize weight of this view.
- getResizeWeight(int) - Method in class javax.swing.text.FieldView
- getResizeWeight(int) - Method in class javax.swing.text.TableView.TableRow
- Determines the resizeability of this view along the specified axis.
- getResizeWeight(int) - Method in class javax.swing.text.View
- Returns the resize weight of this view.
- getResolveParent() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the resolve parent of this element.
- getResolveParent() - Method in interface javax.swing.text.AttributeSet
- Returns the resolving parent of this
AttributeSet
. - getResolveParent() - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- getResolveParent() - Method in interface javax.swing.text.Keymap
- getResolveParent() - Method in class javax.swing.text.SimpleAttributeSet
- Returns the resolving parent.
- getResolveParent() - Method in class javax.swing.text.StyleContext.NamedStyle
- getResolveParent() - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- getRightIndent(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the right indentation specified in the given attributes, or
0.0f
if no right indentation is specified. - getRightInset() - Method in class javax.swing.text.AsyncBoxView
- Returns the right inset.
- getRightInset() - Method in class javax.swing.text.CompositeView
- Returns the right inset of this
CompositeView
. - getRootElement() - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Returns the root element of this
ElementBuffer
. - getRootElements() - Method in class javax.swing.text.AbstractDocument
- Returns all root elements of this
Document
. - getRootElements() - Method in interface javax.swing.text.Document
- Returns the root elements of the document content.
- getRowCount() - Method in class javax.swing.text.TableView.TableCell
- Deprecated. Table cells are now rendered by an arbitrary
View
implementation. - getRowEnd(JTextComponent, int) - Static method in class javax.swing.text.Utilities
- Get the model position of the end of the row that contains the specified model position.
- getRowStart(JTextComponent, int) - Static method in class javax.swing.text.Utilities
- Get the model position of the start of the row that contains the specified model position.
- getScrollableBlockIncrement(Rectangle, int, int) - Method in class javax.swing.text.JTextComponent
- getScrollableTracksViewportHeight() - Method in class javax.swing.text.JTextComponent
- getScrollableTracksViewportWidth() - Method in class javax.swing.text.JTextComponent
- getScrollableUnitIncrement(Rectangle, int, int) - Method in class javax.swing.text.JTextComponent
- getSelectedText() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the portion of the text that is selected.
- getSelectedText() - Method in class javax.swing.text.JTextComponent
- Retrieves the currently selected text in this text document.
- getSelectedTextColor() - Method in class javax.swing.text.JTextComponent
- getSelectionColor() - Method in class javax.swing.text.JTextComponent
- getSelectionEnd() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the end offset within the selected text.
- getSelectionEnd() - Method in class javax.swing.text.JTextComponent
- Returns the end postion of the currently selected text.
- getSelectionPainter() - Method in class javax.swing.text.DefaultCaret
- Returns the Highlighter.HighlightPainter that should be used to paint the selection.
- getSelectionStart() - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Returns the start offset within the selected text.
- getSelectionStart() - Method in class javax.swing.text.JTextComponent
- Returns the start postion of the currently selected text.
- getSourceActions() - Method in class javax.swing.text.JTextComponent.DefaultTransferHandler
- getSpaceAbove(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the 'space above' specified in the given attributes, or
0.0f
if no 'space above' is specified. - getSpaceBelow(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the 'space below' specified in the given attributes, or
0.0f
if no 'space below' is specified. - getSpan(int, int) - Method in class javax.swing.text.BoxView
- Returns the span for the child view with the given index for the specified axis.
- getSpan(GlyphView, int, int, TabExpander, float) - Method in class javax.swing.text.GlyphView.DefaultGlyphPainter
- Determine the span of the glyphs from location
p0
to locationp1
. - getSpan(GlyphView, int, int, TabExpander, float) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Determine the span of the glyphs from location
p0
to locationp1
. - getStartOffset() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns the start offset if this element inside the document model.
- getStartOffset() - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns the start offset of this element inside the document model.
- getStartOffset() - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns the start offset of this
Element
inside the document. - getStartOffset() - Method in class javax.swing.text.AbstractWriter
- Return the index of the Document at which output starts.
- getStartOffset() - Method in class javax.swing.text.DefaultHighlighter.HighlightEntry
- getStartOffset() - Method in interface javax.swing.text.Element
- getStartOffset() - Method in class javax.swing.text.GlyphView
- Returns the start offset in the document model of the portion of text that this view is responsible for.
- getStartOffset() - Method in interface javax.swing.text.Highlighter.Highlight
- getStartOffset() - Method in class javax.swing.text.View
- getStartPosition() - Method in class javax.swing.text.AbstractDocument
- Returns a Position which will always mark the beginning of the
Document
. - getStartPosition() - Method in interface javax.swing.text.Document
- Returns the position that marks the beginning of the document content.
- getStaticAttribute(Object) - Static method in class javax.swing.text.StyleContext
- getStaticAttributeKey(Object) - Static method in class javax.swing.text.StyleContext
- getString(int, int) - Method in interface javax.swing.text.AbstractDocument.Content
- Returns a piece of content.
- getString(int, int) - Method in class javax.swing.text.GapContent
- Returns a piece of content as String.
- getString(int, int) - Method in class javax.swing.text.StringContent
- Returns a new
String
containing the characters in the specified range. - getStyle(String) - Method in class javax.swing.text.DefaultStyledDocument
- Looks up and returns a named
Style
. - getStyle(String) - Method in class javax.swing.text.StyleContext
- Get the style from the style table.
- getStyle(String) - Method in interface javax.swing.text.StyledDocument
- getStyle
- getStyleNames() - Method in class javax.swing.text.DefaultStyledDocument
- Returns an enumeration of all style names.
- getStyleNames() - Method in class javax.swing.text.StyleContext
- Get the names of the style.
- getStyledDocument(JEditorPane) - Method in class javax.swing.text.StyledEditorKit.StyledTextAction
- Returns the StyledDocument that is used by
editor
. - getStyledEditorKit(JEditorPane) - Method in class javax.swing.text.StyledEditorKit.StyledTextAction
- Returns the StyledEditorKit that is used by
editor
. - getTab(int) - Method in class javax.swing.text.TabSet
- getTabAfter(float) - Method in class javax.swing.text.TabSet
- getTabBase() - Method in class javax.swing.text.ParagraphView
- Returns the location where the tabs are calculated from.
- getTabCount() - Method in class javax.swing.text.TabSet
- getTabExpander() - Method in class javax.swing.text.GlyphView
- Return the TabExpander to use.
- getTabIndex(TabStop) - Method in class javax.swing.text.TabSet
- getTabIndexAfter(float) - Method in class javax.swing.text.TabSet
- getTabSet() - Method in class javax.swing.text.ParagraphView
- Returns the TabSet used by this ParagraphView.
- getTabSet(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the tab set specified in the given attributes, or
null
if no tab set is specified. - getTabSize() - Method in class javax.swing.text.PlainView
- Returns the tab size of a tab.
- getTabSize() - Method in class javax.swing.text.WrappedPlainView
- Returns the tab size for the Document based on PlainDocument.tabSizeAttribute, defaulting to 8 if this property is not defined
- getTabbedSpan(float, TabExpander) - Method in class javax.swing.text.GlyphView
- Returns the preferred span of this view for tab expansion.
- getTabbedSpan(float, TabExpander) - Method in interface javax.swing.text.TabableView
- getTabbedTextOffset(Segment, FontMetrics, int, int, TabExpander, int, boolean) - Static method in class javax.swing.text.Utilities
- Provides a facility to map screen coordinates into a model location.
- getTabbedTextOffset(Segment, FontMetrics, int, int, TabExpander, int) - Static method in class javax.swing.text.Utilities
- Provides a facility to map screen coordinates into a model location.
- getTabbedTextWidth(Segment, FontMetrics, int, TabExpander, int) - Static method in class javax.swing.text.Utilities
- Determines the width, that the given text
s
would take if it was printed with the given java.awt.FontMetrics on the specified screen position. - getText(int, int) - Method in class javax.swing.text.AbstractDocument
- Returns a piece of this
Document
's content. - getText(int, int, Segment) - Method in class javax.swing.text.AbstractDocument
- Fetches a piece of this
Document
's content and stores it in the given Segment. - getText(Element) - Method in class javax.swing.text.AbstractWriter
- Return the text of the Document that is associated with the given Element.
- getText(int, int) - Method in interface javax.swing.text.Document
- Returns the textual content starting at
offset
with a length oflength
. - getText(int, int, Segment) - Method in interface javax.swing.text.Document
- Fetch the textual content starting at
offset
with a length oflength
and store it intxt
. - getText(int, int) - Method in class javax.swing.text.GlyphView
- Returns the text segment that this view is responsible for.
- getText() - Method in class javax.swing.text.JTextComponent
- Retrieves the current text in this text document.
- getText(int, int) - Method in class javax.swing.text.JTextComponent
- Retrieves a part of the current text in this document.
- getTextComponent(ActionEvent) - Method in class javax.swing.text.TextAction
- Returns the
JTextComponent
object associated with the givenActionEvent
. - getTextRange(int, int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Return the text between two points.
- getToolTipText(MouseEvent) - Method in class javax.swing.text.JTextComponent
- Returns the tooltip text for this text component for the given mouse event.
- getToolTipText(float, float, Shape) - Method in class javax.swing.text.View
- getTopInset() - Method in class javax.swing.text.AsyncBoxView
- Returns the top inset.
- getTopInset() - Method in class javax.swing.text.CompositeView
- Returns the top inset of this
CompositeView
. - getType() - Method in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Returns the type of the modification.
- getType() - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Returns the type of the element.
- getUI() - Method in class javax.swing.text.JTextComponent
- This method returns the label's UI delegate.
- getUIClassID() - Method in class javax.swing.text.JTextComponent
- Returns a string that specifies the name of the Look and Feel class that renders this component.
- getUndoableEditListeners() - Method in class javax.swing.text.AbstractDocument
- Returns all registered javax.swing.event.UndoableEditListeners.
- getUpdatePolicy() - Method in class javax.swing.text.DefaultCaret
- Gets the caret update policy.
- getValidCharacters() - Method in class javax.swing.text.MaskFormatter
- Returns a String containing the characters that are valid for input for this MaskFormatter.
- getValueClass() - Method in class javax.swing.text.DefaultFormatter
- Returns the class that is used for values.
- getValueContainsLiteralCharacters() - Method in class javax.swing.text.MaskFormatter
- Returns true if stringToValue should return the literal characters in the mask.
- getView(int) - Method in class javax.swing.text.AsyncBoxView
- Returns the view at the specified
index
. - getView(int) - Method in class javax.swing.text.CompositeView
- Returns the child view at index
n
. - getView(int) - Method in class javax.swing.text.View
- getViewAtPoint(int, int, Rectangle) - Method in class javax.swing.text.BoxView
- Returns the child
View
at the specified location. - getViewAtPoint(int, int, Rectangle) - Method in class javax.swing.text.CompositeView
- Returns the child
View
at the specified location. - getViewAtPosition(int, Rectangle) - Method in class javax.swing.text.CompositeView
- Returns the child
View
that contains the given model position. - getViewAtPosition(int, Rectangle) - Method in class javax.swing.text.TableView.TableRow
- Returns the child view that represents the specified position in the model.
- getViewAtPosition(int, Rectangle) - Method in class javax.swing.text.TableView
- Returns the child view that represents the specified position in the model.
- getViewCount() - Method in class javax.swing.text.AsyncBoxView
- Returns the number of child views.
- getViewCount() - Method in class javax.swing.text.CompositeView
- Returns the number of child views.
- getViewCount() - Method in class javax.swing.text.View
- getViewFactory() - Method in class javax.swing.text.DefaultEditorKit
- Returns a ViewFactory that is able to create Views for
the
Element
s that are used in thisEditorKit
's model. - getViewFactory() - Method in class javax.swing.text.EditorKit
- getViewFactory() - Method in class javax.swing.text.PlainEditorKit
- getViewFactory() - Method in class javax.swing.text.StyledEditorKit
- Returns a ViewFactory that is able to create Views
for Elements that are supported by this
EditorKit
, namely the following types ofElement
s:AbstractDocument.ContentElementName
55AbstractDocument.ParagraphElementName
55AbstractDocument.SectionElementName
55StyleConstants.ComponentElementName
55StyleConstants.IconElementName
55 - getViewFactory() - Method in class javax.swing.text.View
- getViewIndex(int, Position.Bias) - Method in class javax.swing.text.AsyncBoxView
- Returns the view index of the child view that represents the specified model position.
- getViewIndex(int, Position.Bias) - Method in class javax.swing.text.CompositeView
- Returns the index of the child view that represents the specified model location.
- getViewIndex(float, float, Shape) - Method in class javax.swing.text.View
- getViewIndex(int, Position.Bias) - Method in class javax.swing.text.View
- getViewIndexAtPoint(float, float, Shape) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Returns the view index of the view that occupies the specified area, or
-1
if there is no such child view. - getViewIndexAtPosition(int, Position.Bias) - Method in class javax.swing.text.AsyncBoxView
- Returns the child view index of the view that represents the specified position in the document model.
- getViewIndexAtPosition(int) - Method in class javax.swing.text.CompositeView
- Returns the index of the child
View
for the given model position. - getViewIndexAtPosition(int) - Method in class javax.swing.text.FlowView
- Returns the index of the child
View
for the given model position. - getViewIndexAtVisualOffset(float) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Returns the index of the view at the specified offset along the major layout axis.
- getWidth() - Method in class javax.swing.text.BoxView
- Return the current width of the box.
- getWordEnd(JTextComponent, int) - Static method in class javax.swing.text.Utilities
- Finds the end of a word for the given location.
- getWordStart(JTextComponent, int) - Static method in class javax.swing.text.Utilities
- Finds the start of a word for the given location.
- getWriter() - Method in class javax.swing.text.AbstractWriter
- Return the Writer to which we are writing.
- glyphPainter - Variable in class javax.swing.text.GlyphView
- The GlyphPainer used for painting the glyphs.
H
- HEX_CHAR - Static variable in class javax.swing.text.MaskFormatter
- Highlighter - interface javax.swing.text.Highlighter.
- Highlighter.Highlight - interface javax.swing.text.Highlighter.Highlight.
- Highlighter.HighlightPainter - interface javax.swing.text.Highlighter.HighlightPainter.
- handleHighlight() - Method in class javax.swing.text.DefaultCaret
- handleInsertAfterNewline(Vector, int, int, Element, Element, AttributeSet) - Method in class javax.swing.text.DefaultStyledDocument
- A helper method to set up the ElementSpec buffer for the special case of an insertion occurring immediately after a newline.
- hashCode() - Method in class javax.swing.text.SimpleAttributeSet
- Returns a hash code for this instance.
- hashCode() - Method in class javax.swing.text.StyleContext.SimpleFontSpec
- hashCode() - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- hashCode() - Method in class javax.swing.text.TabStop
- height - Variable in class javax.swing.text.View
- hexString - Static variable in class javax.swing.text.MaskFormatter
- A String used for easy access to valid HEX characters
- highlightEntry - Variable in class javax.swing.text.DefaultCaret
- The current highlight entry.
- highlighter - Variable in class javax.swing.text.JTextComponent
- highlights - Variable in class javax.swing.text.DefaultHighlighter
- horizontalVisibility - Variable in class javax.swing.text.FieldView
I
- IconAttribute - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- A key for the icon character attribute.
- IconAttribute - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.IconAttribute
55 . - IconElementName - Static variable in class javax.swing.text.StyleConstants
- IconView - class javax.swing.text.IconView.
- A View that can render an icon.
- IconView(Element) - Constructor for class javax.swing.text.IconView
- Creates a new
IconView
for the givenElement
. - InternationalFormatter - class javax.swing.text.InternationalFormatter.
- This extends DefaultFormatter so that the value to string conversion is done via a java.text.Format object.
- InternationalFormatter() - Constructor for class javax.swing.text.InternationalFormatter
- Creates a new InternationalFormatter with no Format specified.
- InternationalFormatter(Format) - Constructor for class javax.swing.text.InternationalFormatter
- Creates a new InternationalFormatter that uses the specified Format object for value to string conversion.
- Italic - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- A key for the italic character attribute.
- Italic - Static variable in class javax.swing.text.StyleConstants.FontConstants
- A key for the italic font attribute.
- Italic - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Italic
55 . - ignoreNextEvent - Variable in class javax.swing.text.DefaultCaret.BlinkTimerListener
- Forces the next event to be ignored.
- importData(JComponent, Transferable) - Method in class javax.swing.text.JTextComponent.DefaultTransferHandler
- inRange(Element) - Method in class javax.swing.text.AbstractWriter
- Return true if the Element's range overlaps our desired output range; false otherwise.
- incrIndent() - Method in class javax.swing.text.AbstractWriter
- Increment the indent level.
- indent() - Method in class javax.swing.text.AbstractWriter
- Indent this line by emitting spaces, according to the current indent level and the current number of spaces per indent.
- indentLevel - Variable in class javax.swing.text.AbstractWriter
- indentSpace - Variable in class javax.swing.text.AbstractWriter
- indented - Variable in class javax.swing.text.AbstractWriter
- index - Variable in class javax.swing.text.AbstractDocument.ElementEdit
- The index of the change.
- index - Variable in class javax.swing.text.DefaultStyledDocument.Edit
- The index of the change.
- initBlinkTimer() - Method in class javax.swing.text.DefaultCaret
- Initializes the blink timer.
- inputAttributes - Variable in class javax.swing.text.StyledEditorKit
- The current input attributes.
- insert(int, int, DefaultStyledDocument.ElementSpec[], AbstractDocument.DefaultDocumentEvent) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Inserts new
Element
in the document at the specified position. - insert(int, DefaultStyledDocument.ElementSpec[]) - Method in class javax.swing.text.DefaultStyledDocument
- Inserts a bulk of structured content at once.
- insert(int, View) - Method in class javax.swing.text.View
- insertBreakAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that inserts a line break. - insertContentAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that inserts some content. - insertContentTag(DefaultStyledDocument.ElementSpec) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Inserts a content element into the document structure.
- insertFirstContentTag(DefaultStyledDocument.ElementSpec[]) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Inserts the first tag into the document.
- insertFracture(DefaultStyledDocument.ElementSpec) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Inserts a fracture into the document structure.
- insertParagraph(AbstractDocument.BranchElement, int) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Inserts a new paragraph.
- insertString(int, String, AttributeSet) - Method in class javax.swing.text.AbstractDocument.Bypass
- insertString(int, String) - Method in interface javax.swing.text.AbstractDocument.Content
- Inserts a string into the content model.
- insertString(int, String, AttributeSet) - Method in class javax.swing.text.AbstractDocument
- Inserts a String into this
Document
at the specified position and assigning the specified attributes to it. - insertString(DocumentFilter.FilterBypass, int, String, AttributeSet) - Method in class javax.swing.text.DefaultFormatter.FormatterDocumentFilter
- Invoked when text is inserted into a text component.
- insertString(int, String, AttributeSet) - Method in interface javax.swing.text.Document
- Inserts a piece of text with an AttributeSet at the specified
offset
. - insertString(int, String, AttributeSet) - Method in class javax.swing.text.DocumentFilter.FilterBypass
- insertString(DocumentFilter.FilterBypass, int, String, AttributeSet) - Method in class javax.swing.text.DocumentFilter
- insertString(int, String) - Method in class javax.swing.text.GapContent
- Inserts a string at the specified position.
- insertString(int, String, AttributeSet) - Method in class javax.swing.text.PlainDocument
- Inserts a string into the document.
- insertString(int, String) - Method in class javax.swing.text.StringContent
- Inserts
str
at the given position and returns an javax.swing.undo.UndoableEdit that enables undo/redo support. - insertStringImpl(int, String, AttributeSet) - Method in class javax.swing.text.AbstractDocument
- insertTabAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that inserts a TAB. - insertTextAtIndex(int, String) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Inserts the given string at the specified location.
- insertUpdate(AbstractDocument.DefaultDocumentEvent, AttributeSet) - Method in class javax.swing.text.AbstractDocument
- Called to indicate that text has been inserted into this
Document
. - insertUpdate(DocumentEvent) - Method in class javax.swing.text.DefaultCaret.DocumentHandler
- Receives notification that some text has been inserted from the text component.
- insertUpdate(DefaultStyledDocument.ElementSpec[]) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Inserts new content
- insertUpdate(AbstractDocument.DefaultDocumentEvent, AttributeSet) - Method in class javax.swing.text.DefaultStyledDocument
- Called in response to content insert actions.
- insertUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.FieldView
- insertUpdate(FlowView, DocumentEvent, Rectangle) - Method in class javax.swing.text.FlowView.FlowStrategy
- Receives notification from a
FlowView
that some content has been inserted into the document at a location that theFlowView
is responsible for. - insertUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.FlowView
- Receice notification that some content has been inserted in the region that this view is responsible for.
- insertUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.GlyphView
- Receives notification that some text has been inserted within the text fragment that this view is responsible for.
- insertUpdate(DocumentEvent) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Insert update.
- insertUpdate(AbstractDocument.DefaultDocumentEvent, AttributeSet) - Method in class javax.swing.text.PlainDocument
- insertUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.PlainView
- This method is called when something is inserted into the Document that this View is displaying.
- insertUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.View
- Receive notification about an insert update to the text model.
- insertUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.WrappedPlainView.WrappedLine
- This method is called when something is inserted into the Document that this View is displaying.
- insertUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.WrappedPlainView
- Called when something was inserted.
- insets - Variable in class javax.swing.text.CompositeView
- The insets of this
CompositeView
. - insideAllocation - Variable in class javax.swing.text.CompositeView
- The allocation of this
View
minus its insets. - install(JTextComponent) - Method in interface javax.swing.text.Caret
- Installs this
Caret
on the specified text component. - install(JTextComponent) - Method in class javax.swing.text.DefaultCaret
- Installs this
Caret
on the specifiedJTextComponent
. - install(JFormattedTextField) - Method in class javax.swing.text.DefaultFormatter
- Installs the formatter on the specified javax.swing.JFormattedTextField.
- install(JTextComponent) - Method in class javax.swing.text.DefaultHighlighter
- install(JEditorPane) - Method in class javax.swing.text.EditorKit
- install(JTextComponent) - Method in interface javax.swing.text.Highlighter
- install(JFormattedTextField) - Method in class javax.swing.text.InternationalFormatter
- Installs the formatter on the specified javax.swing.JFormattedTextField.
- install(JFormattedTextField) - Method in class javax.swing.text.MaskFormatter
- Installs this MaskFormatter on the JFormattedTextField.
- install(JEditorPane) - Method in class javax.swing.text.PlainEditorKit
- install(JEditorPane) - Method in class javax.swing.text.StyledEditorKit
- Installs this
EditorKit
on the specified javax.swing.JEditorPane. - invalidChars - Variable in class javax.swing.text.MaskFormatter
- A String made up of the characters that are not valid for input for this MaskFormatter.
- isAfter(int, int, Rectangle) - Method in class javax.swing.text.BoxView
- Returns
true
if the specified point lies after the givenRectangle
,false
otherwise. - isAfter(int, int, Rectangle) - Method in class javax.swing.text.CompositeView
- Returns
true
if the specified point lies after the givenRectangle
,false
otherwise. - isAllocationValid() - Method in class javax.swing.text.BoxView
- Returns
true
if the cached allocations for the children are still valid,false
otherwise. - isBefore(int, int, Rectangle) - Method in class javax.swing.text.BoxView
- Returns
true
if the specified point lies before the givenRectangle
,false
otherwise. - isBefore(int, int, Rectangle) - Method in class javax.swing.text.CompositeView
- Returns
true
if the specified point lies before the givenRectangle
,false
otherwise. - isBold(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the value of the bold flag in the given attributes, or
false
if no bold flag is specified. - isCharValid(char) - Method in class javax.swing.text.MaskFormatter
- Convenience method used by many other methods to check if a character is valid according to the mask, the validChars, and the invalidChars.
- isDefined(Object) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns
true
if an attribute with the specified name is defined in this element,false
otherwise. - isDefined(Object) - Method in interface javax.swing.text.AttributeSet
- Returns
true
if an attribute with the specified name is defined locally in thisAttributeSet
, without resolving through the resolving parents. - isDefined(Object) - Method in class javax.swing.text.SimpleAttributeSet
- Returns
true
if the given attribute is defined in this set, andfalse
otherwise. - isDefined(Object) - Method in class javax.swing.text.StyleContext.NamedStyle
- isDefined(Object) - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- isEditable() - Method in class javax.swing.text.JTextComponent
- Checks whether this text component it editable.
- isEmpty() - Method in class javax.swing.text.SimpleAttributeSet
- Returns
true
if the set contains no attributes, andfalse
otherwise. - isEqual(AttributeSet) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns
true
if the specifiedAttributeSet
is equal to this element'sAttributeSet
,false
otherwise. - isEqual(AttributeSet) - Method in interface javax.swing.text.AttributeSet
- Returns
true
if all of the attributes inattr
are equal to the attributes in thisAttributeSet
,false
otherwise. - isEqual(AttributeSet) - Method in class javax.swing.text.SimpleAttributeSet
- Returns true if the given set has the same number of attributes
as this set and
containsAttributes(attr)
returnstrue
. - isEqual(AttributeSet) - Method in class javax.swing.text.StyleContext.NamedStyle
- isEqual(AttributeSet) - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- isItalic(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the value of the italic flag in the given attributes, or
false
if no italic flag is specified. - isLayoutValid() - Method in class javax.swing.text.AsyncBoxView.ChildState
- Returns
true
if the current layout information is valid,false
otherwise. - isLayoutValid(int) - Method in class javax.swing.text.BoxView
- Returns
true
if the layout along the specifiedaxis
is valid,false
otherwise. - isLeaf() - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Returns
true
if thisAbstractElement
is a leaf element,false
otherwise. - isLeaf() - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns
false
sinceBranchElement
are no leafes. - isLeaf() - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns
true
. - isLeaf() - Method in interface javax.swing.text.Element
- isLineEmpty() - Method in class javax.swing.text.AbstractWriter
- Return true if the line is empty, false otherwise.
- isLocallyDefined(KeyStroke) - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- isLocallyDefined(KeyStroke) - Method in interface javax.swing.text.Keymap
- isPartialReturn() - Method in class javax.swing.text.Segment
- Returns the partial return flag.
- isReplacing - Variable in class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
- If the new attributes replaced the old attributes or if they only were added to them.
- isSelectionVisible() - Method in interface javax.swing.text.Caret
- Returns
true
if the selection is currently visible,false
otherwise. - isSelectionVisible() - Method in class javax.swing.text.DefaultCaret
- Returns
true
if the selection is currently visible,false
otherwise. - isStrikeThrough() - Method in class javax.swing.text.GlyphView
- Determines whether the text should be rendered strike-through or not.
- isStrikeThrough() - Method in class javax.swing.text.LabelView
- Returns
true
if the glyphs are rendered strike-through,false
otherwise. - isStrikeThrough(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the value of the strike-through flag in the given attributes, or
false
if no strike-through flag is specified. - isSubscript() - Method in class javax.swing.text.GlyphView
- Determines whether the text should be rendered as subscript or not.
- isSubscript() - Method in class javax.swing.text.LabelView
- Returns
true
if the glyphs are rendered as subscript,false
otherwise. - isSubscript(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the value of the subscript flag in the given attributes, or
false
if no subscript flag is specified. - isSuperscript() - Method in class javax.swing.text.GlyphView
- Determines whether the text should be rendered as superscript or not.
- isSuperscript() - Method in class javax.swing.text.LabelView
- Returns
true
if the glyphs are rendered as superscript,false
otherwise. - isSuperscript(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the value of the superscript flag in the given attributes, or
false
if no superscript flag is specified. - isUnderline() - Method in class javax.swing.text.GlyphView
- Determines whether the text should be rendered as underlined or not.
- isUnderline() - Method in class javax.swing.text.LabelView
- Returns
true
if the glyphs are rendered underlined,false
otherwise. - isUnderline(AttributeSet) - Static method in class javax.swing.text.StyleConstants
- Returns the value of the underline flag in the given attributes, or
false
if no underline flag is specified. - isVisible() - Method in interface javax.swing.text.Caret
- Returns
true
if thisCaret
is currently visible, andfalse
if it is not. - isVisible() - Method in class javax.swing.text.DefaultCaret
- Returns
true
if thisCaret
is currently visible, andfalse
if it is not. - isVisible() - Method in class javax.swing.text.View
- iter - Variable in class javax.swing.text.AbstractWriter
J
- JTextComponent - class javax.swing.text.JTextComponent.
- JTextComponent() - Constructor for class javax.swing.text.JTextComponent
- Creates a new
JTextComponent
instance. - JTextComponent.AccessibleJTextComponent - class javax.swing.text.JTextComponent.AccessibleJTextComponent.
- This class implements accessibility support for the JTextComponent class.
- JTextComponent.AccessibleJTextComponent() - Constructor for class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Constructs an AccessibleJTextComponent.
- JTextComponent.DefaultKeymap - class javax.swing.text.JTextComponent.DefaultKeymap.
- JTextComponent.DefaultKeymap(String) - Constructor for class javax.swing.text.JTextComponent.DefaultKeymap
- JTextComponent.DefaultTransferHandler - class javax.swing.text.JTextComponent.DefaultTransferHandler.
- JTextComponent.DefaultTransferHandler() - Constructor for class javax.swing.text.JTextComponent.DefaultTransferHandler
- JTextComponent.KeyBinding - class javax.swing.text.JTextComponent.KeyBinding.
- JTextComponent.KeyBinding(KeyStroke, String) - Constructor for class javax.swing.text.JTextComponent.KeyBinding
- Creates a new
KeyBinding
instance. - JTextComponent.KeymapActionMap - class javax.swing.text.JTextComponent.KeymapActionMap.
- JTextComponent.KeymapActionMap(Keymap) - Constructor for class javax.swing.text.JTextComponent.KeymapActionMap
- JTextComponent.KeymapWrapper - class javax.swing.text.JTextComponent.KeymapWrapper.
- According to this report, a pair of private classes wraps a Keymap in the new javax.swing.InputMap / javax.swing.ActionMap interfaces, such that old Keymap-using code can make use of the new framework.
- JTextComponent.KeymapWrapper(Keymap) - Constructor for class javax.swing.text.JTextComponent.KeymapWrapper
- JoinFractureDirection - Static variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- This indicates that the data associated with this spec should be joined to the fractured element.
- JoinNextDirection - Static variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- This indicates that the data associated with this spec should be joined with what follows it.
- JoinPreviousDirection - Static variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- This indicates that the data associated with this spec should be joined with what precedes it.
- javax.swing.text - package javax.swing.text
- justification - Variable in class javax.swing.text.ParagraphView
- The justification of the paragraph.
K
- Keymap - interface javax.swing.text.Keymap.
- key - Variable in class javax.swing.text.JTextComponent.KeyBinding
- keyEqualsCharSet() - Method in class javax.swing.text.ChangedCharSetException
- Get the value of the second parameter, previously passed to the constructor.
- keymap - Variable in class javax.swing.text.JTextComponent
- keymaps - Static variable in class javax.swing.text.JTextComponent
- keyname - Variable in class javax.swing.text.StyleConstants
- keys() - Method in class javax.swing.text.JTextComponent.KeymapActionMap
- keys() - Method in class javax.swing.text.JTextComponent.KeymapWrapper
L
- LEAD_DOTS - Static variable in class javax.swing.text.TabStop
- LEAD_EQUALS - Static variable in class javax.swing.text.TabStop
- LEAD_HYPHENS - Static variable in class javax.swing.text.TabStop
- LEAD_NONE - Static variable in class javax.swing.text.TabStop
- LEAD_THICKLINE - Static variable in class javax.swing.text.TabStop
- LEAD_UNDERLINE - Static variable in class javax.swing.text.TabStop
- LETTER_CHAR - Static variable in class javax.swing.text.MaskFormatter
- LOWERCASE_CHAR - Static variable in class javax.swing.text.MaskFormatter
- LabelView - class javax.swing.text.LabelView.
- A GlyphView that caches the textattributes for most effective rendering.
- LabelView(Element) - Constructor for class javax.swing.text.LabelView
- Creates a new
GlyphView
for the givenElement
. - LayeredHighlighter - class javax.swing.text.LayeredHighlighter.
- LayeredHighlighter() - Constructor for class javax.swing.text.LayeredHighlighter
- LayeredHighlighter.LayerPainter - class javax.swing.text.LayeredHighlighter.LayerPainter.
- LayeredHighlighter.LayerPainter() - Constructor for class javax.swing.text.LayeredHighlighter.LayerPainter
- LayoutQueue - class javax.swing.text.LayoutQueue.
- This is a queue which holds java.lang.Runnable objects.
- LayoutQueue() - Constructor for class javax.swing.text.LayoutQueue
- Create a new layout queue.
- LeftIndent - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.LeftIndent
55 . - LeftIndent - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the left indentation paragraph attribute.
- LineSpacing - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.LineSpacing
55 . - LineSpacing - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the line spacing paragraph attribute.
- last() - Method in interface javax.swing.text.CharacterIterator
- last() - Method in class javax.swing.text.Segment
- Sets the current index to point to the last character in the segment and returns that character.
- lastAlloc - Variable in class javax.swing.text.AsyncBoxView.ChildLocator
- The last allocation.
- lastFractured - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Holds the element that was last fractured.
- lastValidOffset - Variable in class javax.swing.text.AsyncBoxView.ChildLocator
- The last valid location.
- layout(int, int) - Method in class javax.swing.text.BoxView
- Lays out the children of this
BoxView
with the specified bounds. - layout(FlowView) - Method in class javax.swing.text.FlowView.FlowStrategy
- Performs the layout for the whole view.
- layout(int, int) - Method in class javax.swing.text.FlowView
- Performs the layout of this view.
- layoutChanged(int) - Method in class javax.swing.text.BoxView
- Marks the layout along the specified axis as invalid.
- layoutColumns(int, int[], int[], SizeRequirements[]) - Method in class javax.swing.text.TableView
- Lays out the columns to fit within the specified target span.
- layoutDirty - Variable in class javax.swing.text.FlowView
- Indicates if the flow should be rebuild during the next layout.
- layoutMajorAxis(int, int, int[], int[]) - Method in class javax.swing.text.BoxView
- Performs the layout along the major axis of a
BoxView
. - layoutMajorAxis(int, int, int[], int[]) - Method in class javax.swing.text.TableView.TableRow
- Lays out the box's child views along the major axis.
- layoutMinorAxis(int, int, int[], int[]) - Method in class javax.swing.text.BoxView
- Performs the layout along the minor axis of a
BoxView
. - layoutMinorAxis(int, int, int[], int[]) - Method in class javax.swing.text.TableView.TableRow
- Lays out the box's child views along the minor axis (the orthogonal axis to the major axis).
- layoutMinorAxis(int, int, int[], int[]) - Method in class javax.swing.text.TableView
- Lays out the child views along the minor axis of the table (that is the horizontal axis).
- layoutPool - Variable in class javax.swing.text.FlowView
- Represents the logical child elements of this view, encapsulated within
one parent view (an instance of a package private
LogicalView
class). - layoutRow(FlowView, int, int) - Method in class javax.swing.text.FlowView.FlowStrategy
- Lays out one row of the flow view.
- layoutSpan - Variable in class javax.swing.text.FlowView
- The span of the
FlowView
that should be flowed. - layoutValid - Variable in class javax.swing.text.BoxView
- Indicates if the layout is valid along X_AXIS or Y_AXIS.
- leader - Variable in class javax.swing.text.TabStop
- leftInset - Variable in class javax.swing.text.AsyncBoxView
- The left inset.
- length() - Method in interface javax.swing.text.AbstractDocument.Content
- Returns the length of the content.
- length - Variable in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- The length of the change.
- length - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Holds the length of structural changes.
- length - Variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- The length of the content.
- length - Variable in class javax.swing.text.GapContent.InsertUndo
- length() - Method in class javax.swing.text.GapContent
- Returns the length of the content.
- length - Variable in class javax.swing.text.StringContent.InsertUndo
- length() - Method in class javax.swing.text.StringContent
- Returns the length of the string content, including the '\n' character at the end.
- lineBuffer - Variable in class javax.swing.text.PlainView
- The instance returned by
PlainView.getLineBuffer()
55 . - lineBuffer - Variable in class javax.swing.text.WrappedPlainView
- The instance returned by
WrappedPlainView.getLineBuffer()
55 . - lineHeight - Variable in class javax.swing.text.WrappedPlainView
- The height of the line (used while painting)
- lineLength - Variable in class javax.swing.text.AbstractWriter
- lineLimitAttribute - Static variable in class javax.swing.text.PlainDocument
- lineSeparator - Variable in class javax.swing.text.AbstractWriter
- lineSeparatorChars - Variable in class javax.swing.text.AbstractWriter
- lineSpacing - Variable in class javax.swing.text.ParagraphView
- The line spacing of this paragraph.
- lineToRect(Shape, int) - Method in class javax.swing.text.PlainView
- list - Variable in class javax.swing.text.LayoutQueue
- listenerList - Variable in class javax.swing.text.AbstractDocument
- Manages event listeners for this
Document
. - listenerList - Variable in class javax.swing.text.DefaultCaret
- Stores all registered event listeners.
- listenerList - Variable in class javax.swing.text.StyleContext.NamedStyle
- listenerList - Variable in class javax.swing.text.StyleContext
- loadChildren(ViewFactory) - Method in class javax.swing.text.AsyncBoxView
- Loads the child views of this view.
- loadChildren(ViewFactory) - Method in class javax.swing.text.CompositeView
- Loads the child views of this
CompositeView
. - loadChildren(ViewFactory) - Method in class javax.swing.text.FlowView
- Loads the children of this view.
- loadChildren(ViewFactory) - Method in class javax.swing.text.ParagraphView.Row
- loadChildren(ViewFactory) - Method in class javax.swing.text.WrappedPlainView
- Loads the children to initiate the view.
- loadKeymap(Keymap, JTextComponent.KeyBinding[], Action[]) - Static method in class javax.swing.text.JTextComponent
- Resolves a set of bindings against a set of actions and inserts the results into a Keymap.
- locator - Variable in class javax.swing.text.AsyncBoxView
- The child locator for this view.
- longestLine - Variable in class javax.swing.text.PlainView
- The longest line in the Document
M
- MaskFormatter - class javax.swing.text.MaskFormatter.
- MaskFormatter() - Constructor for class javax.swing.text.MaskFormatter
- MaskFormatter(String) - Constructor for class javax.swing.text.MaskFormatter
- Creates a MaskFormatter with the specified mask.
- ModelAttribute - Static variable in class javax.swing.text.StyleConstants
- MutableAttributeSet - interface javax.swing.text.MutableAttributeSet.
- An AttributeSet that supports modification of the stored attributes.
- m_charSetKey - Variable in class javax.swing.text.ChangedCharSetException
- The char set key.
- m_charSetSpec - Variable in class javax.swing.text.ChangedCharSetException
- The char set specification.
- magicCaretPosition - Variable in class javax.swing.text.DefaultCaret
- The current visual caret position.
- majorAxis - Variable in class javax.swing.text.AsyncBoxView
- The major layout axis.
- majorChanged - Variable in class javax.swing.text.AsyncBoxView
- Indicates that the major axis requirements have changed.
- majorOffset - Variable in class javax.swing.text.AsyncBoxView.ChildState
- The current offset of the child view along the major axis.
- majorRequirementChange(AsyncBoxView.ChildState, float) - Method in class javax.swing.text.AsyncBoxView
- Receives notification from the child states that the requirements along the major axis have changed.
- majorSpan - Variable in class javax.swing.text.AsyncBoxView.ChildState
- The current span of the child view along the major axis.
- majorSpan - Variable in class javax.swing.text.AsyncBoxView
- The current span along the major layout axis.
- majorValid - Variable in class javax.swing.text.AsyncBoxView.ChildState
- Indicates if the major axis requirements of this child view are valid or not.
- map - Variable in class javax.swing.text.JTextComponent.DefaultKeymap
- map - Variable in class javax.swing.text.JTextComponent.KeymapActionMap
- map - Variable in class javax.swing.text.JTextComponent.KeymapWrapper
- margin - Variable in class javax.swing.text.JTextComponent
- mark - Variable in class javax.swing.text.DefaultCaret
- The current mark position.
- mark - Variable in class javax.swing.text.GapContent.GapContentPosition
- The index within the buffer array.
- mask - Variable in class javax.swing.text.MaskFormatter
- The mask for this MaskFormatter
- maskLength - Variable in class javax.swing.text.MaskFormatter
- An int to hold the length of the mask, accounting for escaped characters
- maxLineLength - Variable in class javax.swing.text.AbstractWriter
- maxLineLength - Variable in class javax.swing.text.PlainView
- The length of the longest line in the Document
- maximum - Variable in class javax.swing.text.AsyncBoxView.ChildState
- The child views maximumSpan.
- maximum - Variable in class javax.swing.text.InternationalFormatter
- The maximal permissable value.
- metrics - Variable in class javax.swing.text.PlainView
- metrics - Variable in class javax.swing.text.WrappedPlainView
- Stores the font metrics.
- minReq - Variable in class javax.swing.text.AsyncBoxView
- Represents the minimum requirements.
- minimum - Variable in class javax.swing.text.AsyncBoxView.ChildState
- The child views minimumSpan.
- minimum - Variable in class javax.swing.text.InternationalFormatter
- The minimal permissable value.
- minorChanged - Variable in class javax.swing.text.AsyncBoxView
- Indicates that the minor axis requirements have changed.
- minorOffset - Variable in class javax.swing.text.AsyncBoxView.ChildState
- The current offset of the child view along the major axis.
- minorRequirementChange(AsyncBoxView.ChildState) - Method in class javax.swing.text.AsyncBoxView
- Receives notification from the child states that the requirements along the minor axis have changed.
- minorSpan - Variable in class javax.swing.text.AsyncBoxView.ChildState
- The current span of the child view along the minor axis.
- minorSpan - Variable in class javax.swing.text.AsyncBoxView
- The current span along the minor layout axis.
- minorValid - Variable in class javax.swing.text.AsyncBoxView.ChildState
- Indicates if the minor axis requirements of this child view are valid or not.
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.AsyncBoxView
- Maps a model location to view coordinates.
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.BoxView
- Maps the document model position
pos
to a Shape in the view coordinate space. - modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.ComponentView
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.CompositeView
- Maps a position in the document into the coordinate space of the View.
- modelToView(int, Position.Bias, int, Position.Bias, Shape) - Method in class javax.swing.text.CompositeView
- Maps a region in the document into the coordinate space of the View.
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.FieldView
- modelToView(GlyphView, int, Position.Bias, Shape) - Method in class javax.swing.text.GlyphView.DefaultGlyphPainter
- Maps a position in the document into the coordinate space of the View.
- modelToView(GlyphView, int, Position.Bias, Shape) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Maps a position in the document into the coordinate space of the View.
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.GlyphView
- Maps a position in the document into the coordinate space of the View.
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.IconView
- Maps a position in the document into the coordinate space of the View.
- modelToView(int) - Method in class javax.swing.text.JTextComponent
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.PasswordView
- Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.PlainView
- modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.View
- Maps a position in the document into the coordinate space of the View.
- modelToView(int, Position.Bias, int, Position.Bias, Shape) - Method in class javax.swing.text.View
- Maps a region in the document into the coordinate space of the View.
- modelToView(int, Shape) - Method in class javax.swing.text.View
- Deprecated. Use
View.modelToView(int, Shape, Position.Bias)
55 instead. - modelToView(int, Shape, Position.Bias) - Method in class javax.swing.text.WrappedPlainView.WrappedLine
- Provides a mapping from model space to view space.
- modified - Variable in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Indicates if this event has been modified or not.
- mouseClicked(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- When the click is received from Button 1 then the following actions are performed here: If we receive a double click, the caret position (dot) is set to the position associated to the mouse click and the word at this location is selected.
- mouseDragged(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- Moves the caret position when the mouse is dragged over the text component, modifying the selection accordingly.
- mouseEntered(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- Indicates that the mouse has entered the text component.
- mouseExited(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- Indicates that the mouse has exited the text component.
- mouseMoved(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- Indicates a mouse movement over the text component.
- mousePressed(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- If the button 1 is pressed, the caret position is updated to the position of the mouse click and the text component requests the input focus if it is enabled.
- mouseReleased(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- Indicates that a mouse button has been released on the text component.
- moveCaret(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- Moves the caret to the position specified in the
MouseEvent
. - moveCaretPosition(int) - Method in class javax.swing.text.JTextComponent
- Moves the caret to a given position.
- moveDot(int) - Method in interface javax.swing.text.Caret
- Moves the
dot
location without touching themark
. - moveDot(int, Position.Bias) - Method in class javax.swing.text.DefaultCaret.Bypass
- moveDot(int) - Method in class javax.swing.text.DefaultCaret
- Moves the
dot
location without touching themark
. - moveDot(int, Position.Bias) - Method in class javax.swing.text.NavigationFilter.FilterBypass
- moveDot(NavigationFilter.FilterBypass, int, Position.Bias) - Method in class javax.swing.text.NavigationFilter
- moveDotImpl(int) - Method in class javax.swing.text.DefaultCaret
- myAxis - Variable in class javax.swing.text.BoxView
- The axis along which this
BoxView
is laid out.
N
- NEVER_UPDATE - Static variable in class javax.swing.text.DefaultCaret
- Indicates the Caret position should not be changed unless the Document length becomes less than the Caret position, in which case the Caret is moved to the end of the Document.
- NEWLINE - Static variable in class javax.swing.text.AbstractWriter
- The default line separator character.
- NUM_CHAR - Static variable in class javax.swing.text.MaskFormatter
- NameAttribute - Static variable in interface javax.swing.text.AttributeSet
- Key of the attribute that is used to describe the name of an
AttributeSet
. - NameAttribute - Static variable in class javax.swing.text.StyleConstants
- NavigationFilter - class javax.swing.text.NavigationFilter.
- NavigationFilter() - Constructor for class javax.swing.text.NavigationFilter
- NavigationFilter.FilterBypass - class javax.swing.text.NavigationFilter.FilterBypass.
- NavigationFilter.FilterBypass() - Constructor for class javax.swing.text.NavigationFilter.FilterBypass
- NumberFormatter - class javax.swing.text.NumberFormatter.
NumberFormatter
is an InternationalFormatter that implements value to string and string to value conversion via an instance of java.text.NumberFormat.- NumberFormatter() - Constructor for class javax.swing.text.NumberFormatter
- Creates a NumberFormatter with the default NumberFormat from NumberFormat.getNumberInstance().
- NumberFormatter(NumberFormat) - Constructor for class javax.swing.text.NumberFormatter
- Creates a NumberFormatter with the specified NumberFormat.
- name - Variable in class javax.swing.text.JTextComponent.DefaultKeymap
- name - Variable in class javax.swing.text.Position.Bias
- name - Variable in class javax.swing.text.StyleContext.NamedStyle
- navigationFilter - Variable in class javax.swing.text.JTextComponent
- newAttributes - Variable in class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
- The new attributes.
- next() - Method in interface javax.swing.text.CharacterIterator
- next() - Method in class javax.swing.text.ElementIterator
- Advance the iterator and return the next element of the tree, performing an "in-order" traversal.
- next() - Method in class javax.swing.text.Segment
- Sets the current index to point to the next character in the segment and returns that character.
- nextTabStop(float, int) - Method in class javax.swing.text.ParagraphView
- nextTabStop(float, int) - Method in class javax.swing.text.PlainView
- Returns the next tab stop position after a given reference position.
- nextTabStop(float, int) - Method in interface javax.swing.text.TabExpander
- nextTabStop(float, int) - Method in class javax.swing.text.WrappedPlainView
- Returns the next tab stop position after a given reference position.
- nextWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the next word. - nullFormatter - Variable in class javax.swing.text.DefaultFormatterFactory
- The formatter to use when the value of the JFormattedTextField is null.
- numLines - Variable in class javax.swing.text.WrappedPlainView.WrappedLine
- Used to cache the number of lines for this View
- numReaders - Variable in class javax.swing.text.AbstractDocument
- The number of readers.
- numWritersWaiting - Variable in class javax.swing.text.AbstractDocument
- Tells if there are one or more writers waiting.
O
- Orientation - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.Orientation
55 . - Orientation - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the orientation paragraph attribute.
- OriginateDirection - Static variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- This indicates that the data associated with this spec should be used to create a new element.
- offset - Variable in class javax.swing.text.AbstractDocument.AbstractElement
- The starting offset of this Element.
- offset - Variable in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- The starting offset of the change.
- offset - Variable in class javax.swing.text.BadLocationException
- The invalid location.
- offset - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Holds the offset for structural changes.
- offset - Variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- The offset of the content.
- offset - Variable in class javax.swing.text.Segment
- The offset of the first character in the segment.
- offset - Variable in class javax.swing.text.StringContent.StickyPosition
- offsetRequested() - Method in class javax.swing.text.BadLocationException
- Returns the offset into the document that was not legal.
- offsets - Variable in class javax.swing.text.BoxView
- The offsets of the children along the X_AXIS and Y_AXIS.
- oneCharBuffer - Variable in class javax.swing.text.PasswordView
- Buffer for putting the echo char into it and then using it to draw it into the view.
- output(char[], int, int) - Method in class javax.swing.text.AbstractWriter
- This method calls Writer.write on the indicated data, and updates the current line length.
- overwriteMode - Variable in class javax.swing.text.DefaultFormatter
- If
true
newly inserted characters overwrite existing values, otherwise insertion is done the normal way.
P
- ParagraphElementName - Static variable in class javax.swing.text.AbstractDocument
- Standard name for paragraph
Element
s. - ParagraphView - class javax.swing.text.ParagraphView.
- A FlowView that flows it's children horizontally and boxes the rows vertically.
- ParagraphView(Element) - Constructor for class javax.swing.text.ParagraphView
- Creates a new
ParagraphView
for the givenElement
. - ParagraphView.Row - class javax.swing.text.ParagraphView.Row.
- A specialized horizontal
BoxView
that represents exactly one row in aParagraphView
. - ParagraphView.Row(Element) - Constructor for class javax.swing.text.ParagraphView.Row
- Creates a new instance of
Row
. - PasswordView - class javax.swing.text.PasswordView.
- PasswordView(Element) - Constructor for class javax.swing.text.PasswordView
- PlainDocument - class javax.swing.text.PlainDocument.
- A simple document class which maps lines to Elements.
- PlainDocument() - Constructor for class javax.swing.text.PlainDocument
- PlainDocument(AbstractDocument.Content) - Constructor for class javax.swing.text.PlainDocument
- PlainEditorKit - class javax.swing.text.PlainEditorKit.
- PlainEditorKit() - Constructor for class javax.swing.text.PlainEditorKit
- PlainEditorKit(PlainEditorKit) - Constructor for class javax.swing.text.PlainEditorKit
- PlainView - class javax.swing.text.PlainView.
- PlainView(Element) - Constructor for class javax.swing.text.PlainView
- Position - interface javax.swing.text.Position.
- Position.Bias - class javax.swing.text.Position.Bias.
- Position.Bias(String) - Constructor for class javax.swing.text.Position.Bias
- p0 - Variable in class javax.swing.text.DefaultHighlighter.HighlightEntry
- p1 - Variable in class javax.swing.text.DefaultHighlighter.HighlightEntry
- pad(String, int) - Method in class javax.swing.text.MaskFormatter
- Pads the value with literals, the placeholder String and/or placeholder character as appropriate.
- pageDownAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one page down. - pageUpAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one page up. - paint(Graphics, Shape) - Method in class javax.swing.text.AsyncBoxView
- Paints the view.
- paint(Graphics, Shape) - Method in class javax.swing.text.BoxView
- Renders the
Element
that is associated with thisView
. - paint(Graphics) - Method in interface javax.swing.text.Caret
- Paints this
Caret
to the specifiedGraphics
context. - paint(Graphics, Shape) - Method in class javax.swing.text.ComponentView
- The real painting behavour is performed by normal component painting, triggered by the text component that hosts this view.
- paint(Graphics) - Method in class javax.swing.text.DefaultCaret
- Paints this
Caret
using the specifiedGraphics
context. - paint(Graphics, int, int, Shape, JTextComponent) - Method in class javax.swing.text.DefaultHighlighter.DefaultHighlightPainter
- paint(Graphics) - Method in class javax.swing.text.DefaultHighlighter
- paint(Graphics, Shape) - Method in class javax.swing.text.FieldView
- paint(GlyphView, Graphics, Shape, int, int) - Method in class javax.swing.text.GlyphView.DefaultGlyphPainter
- Paints the glyphs.
- paint(GlyphView, Graphics, Shape, int, int) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Paints the glyphs.
- paint(Graphics, Shape) - Method in class javax.swing.text.GlyphView
- Renders the
Element
that is associated with thisView
. - paint(Graphics, int, int, Shape, JTextComponent) - Method in interface javax.swing.text.Highlighter.HighlightPainter
- paint(Graphics) - Method in interface javax.swing.text.Highlighter
- paint(Graphics, Shape) - Method in class javax.swing.text.IconView
- Renders the
Element
that is associated with thisView
. - paint(Graphics, Shape) - Method in class javax.swing.text.PlainView
- paint(Graphics, Shape) - Method in class javax.swing.text.View
- paint(Graphics, Shape) - Method in class javax.swing.text.WrappedPlainView.WrappedLine
- Renders this (possibly wrapped) line using the given Graphics object and on the given rendering surface.
- paint(Graphics, Shape) - Method in class javax.swing.text.WrappedPlainView
- Renders the
Element
that is associated with thisView
. - paintChild(Graphics, Rectangle, int) - Method in class javax.swing.text.BoxView
- Paints the child
View
at the specifiedindex
. - paintChildren(Graphics) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Paints all child views.
- paintHighlight(Graphics, Rectangle) - Method in class javax.swing.text.DefaultHighlighter.DefaultHighlightPainter
- paintLayer(Graphics, int, int, Shape, JTextComponent, View) - Method in class javax.swing.text.DefaultHighlighter.DefaultHighlightPainter
- paintLayer(Graphics, int, int, Shape, JTextComponent, View) - Method in class javax.swing.text.LayeredHighlighter.LayerPainter
- paintLayeredHighlights(Graphics, int, int, Shape, JTextComponent, View) - Method in class javax.swing.text.DefaultHighlighter
- paintLayeredHighlights(Graphics, int, int, Shape, JTextComponent, View) - Method in class javax.swing.text.LayeredHighlighter
- painter - Variable in class javax.swing.text.DefaultHighlighter.HighlightEntry
- paramString() - Method in class javax.swing.text.JTextComponent
- Returns a string representation of this JTextComponent.
- parent - Variable in class javax.swing.text.JTextComponent.DefaultKeymap
- parent - Variable in class javax.swing.text.View
- partialReturn - Variable in class javax.swing.text.Segment
- paste(int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Paste the text from the system clipboard at the given index.
- paste() - Method in class javax.swing.text.JTextComponent
- pasteAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that copies content from the system clipboard into the document. - placeHolder - Variable in class javax.swing.text.MaskFormatter
- A String used in place of missing chracters if the value does not completely fill in the spaces in the mask.
- placeHolderChar - Variable in class javax.swing.text.MaskFormatter
- A character used in place of missing characters if the value does not completely fill in the spaces in the mask.
- policy - Variable in class javax.swing.text.DefaultCaret
- Keeps track of the current update policy
- pos - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Holds the position of the change.
- pos - Variable in class javax.swing.text.TabStop
- positionCaret(MouseEvent) - Method in class javax.swing.text.DefaultCaret
- Repositions the caret to the position specified in the
MouseEvent
. - positionToElement(int) - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns the
Element
at the specifiedDocument
offset. - positions - Variable in class javax.swing.text.GapContent
- The positions generated by this GapContent.
- positions - Variable in class javax.swing.text.StringContent
- postRemoveUpdate(AbstractDocument.DefaultDocumentEvent) - Method in class javax.swing.text.AbstractDocument
- Called after some content has been removed from this
Document
. - prefReq - Variable in class javax.swing.text.AsyncBoxView
- Represents the minimum requirements.
- preferenceChanged(boolean, boolean) - Method in class javax.swing.text.AsyncBoxView.ChildState
- Mark the preferences changed for that child.
- preferenceChanged(View, boolean, boolean) - Method in class javax.swing.text.AsyncBoxView
- Receives notification that one of the child views has changed its layout preferences along one or both axis.
- preferenceChanged(View, boolean, boolean) - Method in class javax.swing.text.BoxView
- Called by a child View when its preferred span has changed.
- preferenceChanged(View, boolean, boolean) - Method in class javax.swing.text.View
- preferred - Variable in class javax.swing.text.AsyncBoxView.ChildState
- The child views preferredSpan.
- previous() - Method in interface javax.swing.text.CharacterIterator
- previous() - Method in class javax.swing.text.ElementIterator
- Returns the previous item.
- previous() - Method in class javax.swing.text.Segment
- Sets the current index to point to the previous character in the segment and returns that character.
- previousItem - Variable in class javax.swing.text.ElementIterator
- previousWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the previous word. - properties - Variable in class javax.swing.text.AbstractDocument
- The documents properties.
- propertyChange(PropertyChangeEvent) - Method in class javax.swing.text.DefaultCaret.PropertyChangeHandler
- Receives notification when a property has changed on the text component.
- propertyChangeListener - Variable in class javax.swing.text.DefaultCaret
- Our property listener.
- putProperty(Object, Object) - Method in class javax.swing.text.AbstractDocument
- Stores a property in this
Document
's property list. - putProperty(Object, Object) - Method in interface javax.swing.text.Document
- Sets a document property.
R
- ResolveAttribute - Static variable in interface javax.swing.text.AttributeSet
- Key of the attribute that is used to identify the resolving parent of
an
AttributeSet
. - ResolveAttribute - Static variable in class javax.swing.text.StyleConstants
- RightIndent - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the right indentation paragraph attribute.
- RightIndent - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.RightIndent
55 . - read(InputStream, Document, int) - Method in class javax.swing.text.DefaultEditorKit
- Reads a document of the supported content type from an java.io.InputStream into the actual Document object.
- read(Reader, Document, int) - Method in class javax.swing.text.DefaultEditorKit
- Reads a document of the supported content type from a java.io.Reader into the actual Document object.
- read(InputStream, Document, int) - Method in class javax.swing.text.EditorKit
- read(Reader, Document, int) - Method in class javax.swing.text.EditorKit
- read(Reader, Object) - Method in class javax.swing.text.JTextComponent
- Read and set the content this component.
- read(InputStream, Document, int) - Method in class javax.swing.text.PlainEditorKit
- read(Reader, Document, int) - Method in class javax.swing.text.PlainEditorKit
- readAttributeSet(ObjectInputStream, MutableAttributeSet) - Static method in class javax.swing.text.StyleContext
- readAttributes(ObjectInputStream, MutableAttributeSet) - Method in class javax.swing.text.StyleContext
- readLock() - Method in class javax.swing.text.AbstractDocument
- Blocks until a read lock can be obtained.
- readOnlyAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that sets the editor in read only mode. - readUnlock() - Method in class javax.swing.text.AbstractDocument
- Releases the read lock.
- reclaim(AttributeSet) - Method in interface javax.swing.text.AbstractDocument.AttributeContext
- Called to indicate that the attributes in
attributes
are no longer used. - reclaim(AttributeSet) - Method in class javax.swing.text.StyleContext
- recreateAfterFracture(Element[], AbstractDocument.BranchElement, int, int) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Recreates all the elements from the parent to the element on the top of the stack, starting from startFrom with the starting offset of startOffset.
- recreateLeaves(int, AbstractDocument.BranchElement, boolean) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Recreates a specified part of a the tree after a new leaf has been inserted.
- redo() - Method in class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
- Redos an attribute change.
- redo() - Method in class javax.swing.text.GapContent.InsertUndo
- redo() - Method in class javax.swing.text.GapContent.UndoRemove
- redo() - Method in class javax.swing.text.StringContent.InsertUndo
- redo() - Method in class javax.swing.text.StringContent.RemoveUndo
- redoContent - Variable in class javax.swing.text.StringContent.InsertUndo
- registerStaticAttributeKey(Object) - Static method in class javax.swing.text.StyleContext
- Registers an attribute key as a well-known keys.
- reindex() - Method in class javax.swing.text.PlainDocument
- remove(int, int) - Method in class javax.swing.text.AbstractDocument.Bypass
- remove(int, int) - Method in interface javax.swing.text.AbstractDocument.Content
- Removes a piece of content from the content model.
- remove(int, int) - Method in class javax.swing.text.AbstractDocument
- Removes a piece of content from this
Document
. - remove(DocumentFilter.FilterBypass, int, int) - Method in class javax.swing.text.DefaultFormatter.FormatterDocumentFilter
- Invoked when text is removed from a text component.
- remove(int, int, AbstractDocument.DefaultDocumentEvent) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Removes the content.
- remove(int, int) - Method in interface javax.swing.text.Document
- Removes a piece of content.
- remove(int, int) - Method in class javax.swing.text.DocumentFilter.FilterBypass
- remove(DocumentFilter.FilterBypass, int, int) - Method in class javax.swing.text.DocumentFilter
- remove(int, int) - Method in class javax.swing.text.GapContent
- Removes a piece of content at th specified position.
- remove(int, int) - Method in class javax.swing.text.StringContent
- Removes the specified range of characters and returns an javax.swing.undo.UndoableEdit that enables undo/redo support.
- remove(int) - Method in class javax.swing.text.View
- removeAll() - Method in class javax.swing.text.View
- removeAllHighlights() - Method in class javax.swing.text.DefaultHighlighter
- removeAllHighlights() - Method in interface javax.swing.text.Highlighter
- removeAttribute(Object) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Removes an attribute from this element.
- removeAttribute(AttributeSet, Object) - Method in interface javax.swing.text.AbstractDocument.AttributeContext
- Returns a AttributeSet that has the attribute with the specified
name
removed fromold
. - removeAttribute(Object) - Method in interface javax.swing.text.MutableAttributeSet
- Removes the attribute with the specified
name
, if this attribute is defined. - removeAttribute(Object) - Method in class javax.swing.text.SimpleAttributeSet
- Removes the attribute with the specified
name
, if this attribute is defined. - removeAttribute(Object) - Method in class javax.swing.text.StyleContext.NamedStyle
- removeAttribute(AttributeSet, Object) - Method in class javax.swing.text.StyleContext
- removeAttributes(AttributeSet) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Removes a set of attributes from this element.
- removeAttributes(Enumeration) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Removes a set of attribute from this element.
- removeAttributes(AttributeSet, AttributeSet) - Method in interface javax.swing.text.AbstractDocument.AttributeContext
- Removes all attributes in
attributes
fromold
and returns the resultingAttributeSet
. - removeAttributes(AttributeSet, Enumeration) - Method in interface javax.swing.text.AbstractDocument.AttributeContext
- Removes all attributes specified by
names
fromold
and returns the resultingAttributeSet
. - removeAttributes(Enumeration) - Method in interface javax.swing.text.MutableAttributeSet
- Removes the attributes listed in
names
. - removeAttributes(AttributeSet) - Method in interface javax.swing.text.MutableAttributeSet
- Removes attributes from this set if they are found in the given set.
- removeAttributes(AttributeSet) - Method in class javax.swing.text.SimpleAttributeSet
- Removes attributes from this set if they are found in the given set.
- removeAttributes(Enumeration) - Method in class javax.swing.text.SimpleAttributeSet
- Removes the attributes listed in
names
. - removeAttributes(AttributeSet) - Method in class javax.swing.text.StyleContext.NamedStyle
- removeAttributes(Enumeration) - Method in class javax.swing.text.StyleContext.NamedStyle
- removeAttributes(AttributeSet, AttributeSet) - Method in class javax.swing.text.StyleContext
- removeAttributes(AttributeSet, Enumeration) - Method in class javax.swing.text.StyleContext
- removeBindings() - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- removeBindings() - Method in interface javax.swing.text.Keymap
- removeCaretListener(CaretListener) - Method in class javax.swing.text.JTextComponent
- Removed a
CaretListener
object from this text component. - removeChangeListener(ChangeListener) - Method in interface javax.swing.text.Caret
- Removes a javax.swing.event.ChangeListener from the list of registered listeners.
- removeChangeListener(ChangeListener) - Method in class javax.swing.text.DefaultCaret
- Removes a javax.swing.event.ChangeListener from the list of registered listeners.
- removeChangeListener(ChangeListener) - Method in interface javax.swing.text.Style
- Removes a
ChangeListener
from to the style. - removeChangeListener(ChangeListener) - Method in class javax.swing.text.StyleContext.NamedStyle
- removeChangeListener(ChangeListener) - Method in class javax.swing.text.StyleContext
- removeDocumentListener(DocumentListener) - Method in class javax.swing.text.AbstractDocument
- Removes a
DocumentListener
object from this document. - removeDocumentListener(DocumentListener) - Method in interface javax.swing.text.Document
- Removes a DocumentListener from this Document.
- removeHighlight(Object) - Method in class javax.swing.text.DefaultHighlighter
- removeHighlight(Object) - Method in interface javax.swing.text.Highlighter
- removeImpl(int, int) - Method in class javax.swing.text.AbstractDocument
- removeInputMethodListener(InputMethodListener) - Method in class javax.swing.text.JTextComponent
- Removes an
InputListener
object from this text component. - removeKeyStrokeBinding(KeyStroke) - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- removeKeyStrokeBinding(KeyStroke) - Method in interface javax.swing.text.Keymap
- removeKeymap(String) - Static method in class javax.swing.text.JTextComponent
- Remove a Keymap from the global Keymap table, by name.
- removeStyle(String) - Method in class javax.swing.text.DefaultStyledDocument
- Removes a named
Style
from the style hierarchy. - removeStyle(String) - Method in class javax.swing.text.StyleContext
- removeStyle(String) - Method in interface javax.swing.text.StyledDocument
- removeStyle
- removeUndoableEditListener(UndoableEditListener) - Method in class javax.swing.text.AbstractDocument
- Removes an javax.swing.event.UndoableEditListener from this
Document
. - removeUndoableEditListener(UndoableEditListener) - Method in interface javax.swing.text.Document
- Removes an UndoableEditListener from this Document.
- removeUpdate(AbstractDocument.DefaultDocumentEvent) - Method in class javax.swing.text.AbstractDocument
- Called before some content gets removed from this
Document
. - removeUpdate(DocumentEvent) - Method in class javax.swing.text.DefaultCaret.DocumentHandler
- Receives notification that some text has been removed into the text component.
- removeUpdate() - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Updates the element structure of the document in response to removal of content.
- removeUpdate(AbstractDocument.DefaultDocumentEvent) - Method in class javax.swing.text.DefaultStyledDocument
- Updates the document structure in response to text removal.
- removeUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.FieldView
- removeUpdate(FlowView, DocumentEvent, Rectangle) - Method in class javax.swing.text.FlowView.FlowStrategy
- Receives notification from a
FlowView
that some content has been removed from the document at a location that theFlowView
is responsible for. - removeUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.FlowView
- Receice notification that some content has been removed from the region that this view is responsible for.
- removeUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.GlyphView
- Receives notification that some text has been removed within the text fragment that this view is responsible for.
- removeUpdate(DocumentEvent) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Remove update.
- removeUpdate(AbstractDocument.DefaultDocumentEvent) - Method in class javax.swing.text.PlainDocument
- removeUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.PlainView
- This method is called when something is removed from the Document that this View is displaying.
- removeUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.View
- Receive notification about a remove update to the text model.
- removeUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.WrappedPlainView.WrappedLine
- This method is called when something is removed from the Document that this View is displaying.
- removeUpdate(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.WrappedPlainView
- Called when something is removed.
- removed - Variable in class javax.swing.text.AbstractDocument.ElementEdit
- The removed elements.
- removed - Variable in class javax.swing.text.DefaultStyledDocument.Edit
- The removed elements.
- render(Runnable) - Method in class javax.swing.text.AbstractDocument
- Called to render this
Document
visually. - render(Runnable) - Method in interface javax.swing.text.Document
- This allows the Document to be rendered safely.
- repaint() - Method in class javax.swing.text.DefaultCaret
- Causes the
Caret
to repaint itself. - replace(int, int, Element[]) - Method in class javax.swing.text.AbstractDocument.BranchElement
- Replaces a set of child elements with a new set of child elemens.
- replace(int, int, String, AttributeSet) - Method in class javax.swing.text.AbstractDocument.Bypass
- replace(int, int, String, AttributeSet) - Method in class javax.swing.text.AbstractDocument
- Replaces a piece of content in this
Document
with another piece of content. - replace(int, int, View[]) - Method in class javax.swing.text.AsyncBoxView
- Replaces child views with new child views.
- replace(int, int, View[]) - Method in class javax.swing.text.BoxView
- Replaces child views by some other child views.
- replace(int, int, View[]) - Method in class javax.swing.text.CompositeView
- Replaces child views by some other child views.
- replace(DocumentFilter.FilterBypass, int, int, String, AttributeSet) - Method in class javax.swing.text.DefaultFormatter.FormatterDocumentFilter
- Invoked when text is replaced in a text component.
- replace(int, int, String, AttributeSet) - Method in class javax.swing.text.DocumentFilter.FilterBypass
- replace(DocumentFilter.FilterBypass, int, int, String, AttributeSet) - Method in class javax.swing.text.DocumentFilter
- replace(int, int, Object, int) - Method in class javax.swing.text.GapContent
- Replaces a portion of the storage with the specified items.
- replace(int, int, View[]) - Method in class javax.swing.text.TableView.TableRow
- Replaces some child views with a new set of child views.
- replace(int, int, View[]) - Method in class javax.swing.text.TableView
- Replaces a number of child views with a set of new child views.
- replace(int, int, View[]) - Method in class javax.swing.text.View
- Replaces a couple of child views with new child views.
- replaceImpl(int, int, String, AttributeSet) - Method in class javax.swing.text.AbstractDocument
- replaceSelection(String) - Method in class javax.swing.text.JTextComponent
- replaceText(int, int, String) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Replace the text between two points with the given string.
- requirements - Variable in class javax.swing.text.BoxView
- The size requirements along the X_AXIS and Y_AXIS.
- resetMarksAtZero() - Method in class javax.swing.text.GapContent
- Resets all
Position
that have an offset of0
, to also have an array index of0
. - rightInset - Variable in class javax.swing.text.AsyncBoxView
- The right inset.
- root - Variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- The root element of the hierarchy.
- root - Variable in class javax.swing.text.ElementIterator
- rootElement - Variable in class javax.swing.text.PlainDocument
- row - Variable in class javax.swing.text.TableView.TableCell
- Deprecated. The row number of this cell.
- run() - Method in class javax.swing.text.AsyncBoxView.ChildState
- Performs the layout update for the child view managed by this
ChildState
. - run() - Method in class javax.swing.text.AsyncBoxView.FlushTask
- Starts the flush task.
S
- SectionElementName - Static variable in class javax.swing.text.AbstractDocument
- Standard name for section
Element
s. - Segment - class javax.swing.text.Segment.
- A text fragment represented by a sequence of characters stored in an array.
- Segment() - Constructor for class javax.swing.text.Segment
- Creates a new
Segment
. - Segment(char[], int, int) - Constructor for class javax.swing.text.Segment
- Creates a new
Segment
. - SimpleAttributeSet - class javax.swing.text.SimpleAttributeSet.
- A set of attributes.
- SimpleAttributeSet() - Constructor for class javax.swing.text.SimpleAttributeSet
- Creates a new attribute set that is initially empty.
- SimpleAttributeSet(AttributeSet) - Constructor for class javax.swing.text.SimpleAttributeSet
- Creates a new
SimpleAttributeSet
with the same attributes and resolve parent as the specified set. - Size - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- An alias for
FontConstants#Size
. - Size - Static variable in class javax.swing.text.StyleConstants.FontConstants
- A key for the size font attribute.
- Size - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Size
55 . - SpaceAbove - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the 'space above' paragraph attribute.
- SpaceAbove - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.SpaceAbove
55 . - SpaceBelow - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the 'space below' paragraph attribute.
- SpaceBelow - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.SpaceBelow
55 . - StartTagType - Static variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- This indicates a start tag.
- StreamDescriptionProperty - Static variable in interface javax.swing.text.Document
- The key for the property that describes the source of a document.
- StrikeThrough - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- A key for the strike through character attribute.
- StrikeThrough - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.StrikeThrough
55 . - StringContent - class javax.swing.text.StringContent.
- An implementation of the
AbstractDocument.Content
interface useful for small documents or debugging. - StringContent() - Constructor for class javax.swing.text.StringContent
- Creates a new instance containing the string "\n".
- StringContent(int) - Constructor for class javax.swing.text.StringContent
- Creates a new instance containing the string "\n".
- StringContent.InsertUndo - class javax.swing.text.StringContent.InsertUndo.
- StringContent.InsertUndo(int, int) - Constructor for class javax.swing.text.StringContent.InsertUndo
- StringContent.RemoveUndo - class javax.swing.text.StringContent.RemoveUndo.
- StringContent.RemoveUndo(int, String) - Constructor for class javax.swing.text.StringContent.RemoveUndo
- StringContent.StickyPosition - class javax.swing.text.StringContent.StickyPosition.
- StringContent.StickyPosition(int) - Constructor for class javax.swing.text.StringContent.StickyPosition
- Style - interface javax.swing.text.Style.
- StyleConstants - class javax.swing.text.StyleConstants.
- Represents standard attribute keys.
- StyleConstants(String) - Constructor for class javax.swing.text.StyleConstants
- StyleConstants.CharacterConstants - class javax.swing.text.StyleConstants.CharacterConstants.
- A set of keys for attributes that apply to characters.
- StyleConstants.CharacterConstants(String) - Constructor for class javax.swing.text.StyleConstants.CharacterConstants
- Private constructor prevents new instances being created.
- StyleConstants.ColorConstants - class javax.swing.text.StyleConstants.ColorConstants.
- A set of keys for attributes that relate to colors.
- StyleConstants.ColorConstants(String) - Constructor for class javax.swing.text.StyleConstants.ColorConstants
- Private constructor prevents new instances being created.
- StyleConstants.FontConstants - class javax.swing.text.StyleConstants.FontConstants.
- A set of keys for attributes that apply to fonts.
- StyleConstants.FontConstants(String) - Constructor for class javax.swing.text.StyleConstants.FontConstants
- Private constructor prevents new instances being created.
- StyleConstants.ParagraphConstants - class javax.swing.text.StyleConstants.ParagraphConstants.
- A set of keys for attributes that apply to paragraphs.
- StyleConstants.ParagraphConstants(String) - Constructor for class javax.swing.text.StyleConstants.ParagraphConstants
- Private constructor prevents new instances being created.
- StyleContext - class javax.swing.text.StyleContext.
- StyleContext() - Constructor for class javax.swing.text.StyleContext
- Creates a new instance of the style context.
- StyleContext.NamedStyle - class javax.swing.text.StyleContext.NamedStyle.
- StyleContext.NamedStyle() - Constructor for class javax.swing.text.StyleContext.NamedStyle
- StyleContext.NamedStyle(Style) - Constructor for class javax.swing.text.StyleContext.NamedStyle
- StyleContext.NamedStyle(String, Style) - Constructor for class javax.swing.text.StyleContext.NamedStyle
- StyleContext.SimpleFontSpec - class javax.swing.text.StyleContext.SimpleFontSpec.
- StyleContext.SimpleFontSpec(String, int, int) - Constructor for class javax.swing.text.StyleContext.SimpleFontSpec
- StyleContext.SmallAttributeSet - class javax.swing.text.StyleContext.SmallAttributeSet.
- StyleContext.SmallAttributeSet(AttributeSet) - Constructor for class javax.swing.text.StyleContext.SmallAttributeSet
- StyleContext.SmallAttributeSet(Object[]) - Constructor for class javax.swing.text.StyleContext.SmallAttributeSet
- StyledDocument - interface javax.swing.text.StyledDocument.
- StyledDocument
- StyledEditorKit - class javax.swing.text.StyledEditorKit.
- An EditorKit that supports editing styled text.
- StyledEditorKit() - Constructor for class javax.swing.text.StyledEditorKit
- Creates a new instance of
StyledEditorKit
. - StyledEditorKit.AlignmentAction - class javax.swing.text.StyledEditorKit.AlignmentAction.
- Sets the alignment attribute on the selected text.
- StyledEditorKit.AlignmentAction(String, int) - Constructor for class javax.swing.text.StyledEditorKit.AlignmentAction
- Creates a new instance of
AlignmentAction
to set the alignment toa
. - StyledEditorKit.BoldAction - class javax.swing.text.StyledEditorKit.BoldAction.
- Toggles the bold attribute for the selected text.
- StyledEditorKit.BoldAction() - Constructor for class javax.swing.text.StyledEditorKit.BoldAction
- Creates an instance of
BoldAction
. - StyledEditorKit.CaretTracker - class javax.swing.text.StyledEditorKit.CaretTracker.
- Keeps track of the caret position and updates the currentRun
Element
and theinputAttributes
. - StyledEditorKit.CaretTracker() - Constructor for class javax.swing.text.StyledEditorKit.CaretTracker
- StyledEditorKit.FontFamilyAction - class javax.swing.text.StyledEditorKit.FontFamilyAction.
- Sets the font family attribute on the selected text.
- StyledEditorKit.FontFamilyAction(String, String) - Constructor for class javax.swing.text.StyledEditorKit.FontFamilyAction
- Creates a new instance of
FontFamilyAction
to set the font family tofamily
. - StyledEditorKit.FontSizeAction - class javax.swing.text.StyledEditorKit.FontSizeAction.
- Sets the font size attribute on the selected text.
- StyledEditorKit.FontSizeAction(String, int) - Constructor for class javax.swing.text.StyledEditorKit.FontSizeAction
- Creates a new instance of
FontSizeAction
to set the font size tosize
. - StyledEditorKit.ForegroundAction - class javax.swing.text.StyledEditorKit.ForegroundAction.
- Sets the foreground color attribute on the selected text.
- StyledEditorKit.ForegroundAction(String, Color) - Constructor for class javax.swing.text.StyledEditorKit.ForegroundAction
- Creates a new instance of
ForegroundAction
to set the foreground color tofg
. - StyledEditorKit.ItalicAction - class javax.swing.text.StyledEditorKit.ItalicAction.
- Toggles the italic attribute for the selected text.
- StyledEditorKit.ItalicAction() - Constructor for class javax.swing.text.StyledEditorKit.ItalicAction
- Creates an instance of
ItalicAction
. - StyledEditorKit.StyledTextAction - class javax.swing.text.StyledEditorKit.StyledTextAction.
- The abstract superclass of all styled TextActions.
- StyledEditorKit.StyledTextAction(String) - Constructor for class javax.swing.text.StyledEditorKit.StyledTextAction
- Creates a new instance of
StyledTextAction
. - StyledEditorKit.StyledViewFactory - class javax.swing.text.StyledEditorKit.StyledViewFactory.
- A ViewFactory that is able to create Views for
the
Element
s that are supported byStyledEditorKit
, namely the following types of Elements:AbstractDocument.ContentElementName
55AbstractDocument.ParagraphElementName
55AbstractDocument.SectionElementName
55StyleConstants.ComponentElementName
55StyleConstants.IconElementName
55 - StyledEditorKit.StyledViewFactory() - Constructor for class javax.swing.text.StyledEditorKit.StyledViewFactory
- StyledEditorKit.UnderlineAction - class javax.swing.text.StyledEditorKit.UnderlineAction.
- Toggles the underline attribute for the selected text.
- StyledEditorKit.UnderlineAction() - Constructor for class javax.swing.text.StyledEditorKit.UnderlineAction
- Creates an instance of
UnderlineAction
. - Subscript - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- A key for the subscript character attribute.
- Subscript - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Subscript
55 . - Superscript - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- A key for the superscript character attribute.
- Superscript - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Superscript
55 . - select(int, int) - Method in class javax.swing.text.JTextComponent
- Selects a part of the content of the text component.
- selectAll() - Method in class javax.swing.text.JTextComponent
- Selects the whole content of the text component.
- selectAllAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that selects the whole document. - selectLineAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that selects the line around the caret. - selectParagraphAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that selects the paragraph around the caret. - selectText(int, int) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Select the text between two points.
- selectWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that selects the word around the caret. - selectedColor - Variable in class javax.swing.text.PlainView
- selectedColor - Variable in class javax.swing.text.WrappedPlainView
- The color for selected text
- selectedTextColor - Variable in class javax.swing.text.JTextComponent
- selectionBackwardAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one character backwards, possibly extending the current selection. - selectionBeginAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the document, possibly extending the current selection. - selectionBeginLineAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the current line, possibly extending the current selection. - selectionBeginParagraphAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the current paragraph, possibly extending the current selection. - selectionBeginWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the current word, possibly extending the current selection. - selectionColor - Variable in class javax.swing.text.JTextComponent
- selectionDownAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one line down, possibly extending the current selection. - selectionEnd - Variable in class javax.swing.text.PlainView
- While painting this is the textcomponent's current end index of the selection.
- selectionEnd - Variable in class javax.swing.text.WrappedPlainView
- The end of the selected text
- selectionEndAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the end of the document, possibly extending the current selection. - selectionEndLineAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the end of the current line, possibly extending the current selection. - selectionEndParagraphAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the end of the current paragraph, possibly extending the current selection. - selectionEndWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the end of the current word, possibly extending the current selection. - selectionForwardAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one character forwards, possibly extending the current selection. - selectionNextWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the next word, possibly extending the current selection. - selectionPreviousWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret to the beginning of the previous word, possibly extending the current selection. - selectionStart - Variable in class javax.swing.text.PlainView
- While painting this is the textcomponent's current start index of the selection.
- selectionStart - Variable in class javax.swing.text.WrappedPlainView
- The start of the selected text
- selectionUpAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one line up, possibly extending the current selection. - selectionVisible - Variable in class javax.swing.text.DefaultCaret
- Indicates if the selection should be visible or not.
- serialVersionUID - Static variable in class javax.swing.text.AbstractDocument.AbstractElement
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.AbstractDocument.BranchElement
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.AbstractDocument.ElementEdit
- The serial version UID of ElementEdit.
- serialVersionUID - Static variable in class javax.swing.text.AbstractDocument.LeafElement
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.AbstractDocument
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.BadLocationException
- The serial version UID for BadLocationException.
- serialVersionUID - Static variable in class javax.swing.text.ChangedCharSetException
- Use serialVersionUID for interoperability.
- serialVersionUID - Static variable in class javax.swing.text.DateFormatter
- The serialVersoinUID.
- serialVersionUID - Static variable in class javax.swing.text.DefaultCaret
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.DefaultEditorKit
- The serial version of DefaultEditorKit.
- serialVersionUID - Static variable in class javax.swing.text.DefaultFormatter
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.DefaultStyledDocument
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.EditorKit
- serialVersionUID - Static variable in class javax.swing.text.GapContent
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.InternationalFormatter
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- serialVersionUID - Static variable in class javax.swing.text.JTextComponent
- serialVersionUID - Static variable in class javax.swing.text.PlainDocument
- serialVersionUID - Static variable in class javax.swing.text.SimpleAttributeSet
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.StringContent
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.StyleContext.NamedStyle
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.StyleContext
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.StyledEditorKit
- The serialVersionUID.
- serialVersionUID - Static variable in class javax.swing.text.TabSet
- The serialization UID (compatible with JDK1.5).
- serialVersionUID - Static variable in class javax.swing.text.TabStop
- The serialization UID (compatible with JDK1.5).
- setAlignment(MutableAttributeSet, int) - Static method in class javax.swing.text.StyleConstants
- Adds an alignment attribute to the specified set.
- setAllocation(Shape) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Sets the current allocation for this view.
- setAllowsInvalid(boolean) - Method in class javax.swing.text.DefaultFormatter
- Sets the value of the
allowsInvalid
property. - setAsynchronousLoadPriority(int) - Method in class javax.swing.text.AbstractDocument
- Sets the asynchronous loading priority for this
Document
. - setAttributes(int, int, AttributeSet) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Set the attributes of text between two points.
- setAxis(int) - Method in class javax.swing.text.BoxView
- Sets the axis along which this
BoxView
is laid out. - setBackground(Color) - Method in class javax.swing.text.LabelView
- Sets the background color for the glyphs.
- setBackground(MutableAttributeSet, Color) - Static method in class javax.swing.text.StyleConstants
- Adds a background attribute to the specified set.
- setBidiLevel(MutableAttributeSet, int) - Static method in class javax.swing.text.StyleConstants
- Adds a bidi-level attribute to the specified set.
- setBlinkRate(int) - Method in interface javax.swing.text.Caret
- Sets the blink rate of this
Caret
in milliseconds. - setBlinkRate(int) - Method in class javax.swing.text.DefaultCaret
- Sets the blink rate of this
Caret
in milliseconds. - setBold(MutableAttributeSet, boolean) - Static method in class javax.swing.text.StyleConstants
- Adds a bold attribute to the specified set.
- setBottomInset(float) - Method in class javax.swing.text.AsyncBoxView
- Sets the bottom inset.
- setCanWrapLines(boolean) - Method in class javax.swing.text.AbstractWriter
- Set the flag indicating whether lines will wrap.
- setCaret(Caret) - Method in class javax.swing.text.JTextComponent
- Sets a new
Caret
for this text component. - setCaretColor(Color) - Method in class javax.swing.text.JTextComponent
- setCaretPosition(int) - Method in class javax.swing.text.JTextComponent
- Sets the caret to a new position.
- setCharacterAttributes(int, int, AttributeSet, boolean) - Method in class javax.swing.text.DefaultStyledDocument
- Sets text attributes for the fragment specified by
offset
andlength
. - setCharacterAttributes(int, int, AttributeSet, boolean) - Method in interface javax.swing.text.StyledDocument
- setCharacterAttributes
- setCharacterAttributes(JEditorPane, AttributeSet, boolean) - Method in class javax.swing.text.StyledEditorKit.StyledTextAction
- Sets the specified character attributes on the currently selected
text of
editor
. - setCommitsOnValidEdit(boolean) - Method in class javax.swing.text.DefaultFormatter
- Sets the value of the
commitsOnValidEdit
property. - setComponent(MutableAttributeSet, Component) - Static method in class javax.swing.text.StyleConstants
- Adds a component attribute to the specified set.
- setCurrentLineLength(int) - Method in class javax.swing.text.AbstractWriter
- Set the current line length.
- setDefaultAction(Action) - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- setDefaultAction(Action) - Method in interface javax.swing.text.Keymap
- setDefaultFormatter(JFormattedTextField.AbstractFormatter) - Method in class javax.swing.text.DefaultFormatterFactory
- Sets the formatted to be used if no other appropriate non-null formatter can be found.
- setDefaultQueue(LayoutQueue) - Static method in class javax.swing.text.LayoutQueue
- Set the default layout queue.
- setDirection(short) - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Sets the direction of the element.
- setDisabledTextColor(Color) - Method in class javax.swing.text.JTextComponent
- setDisplayFormatter(JFormattedTextField.AbstractFormatter) - Method in class javax.swing.text.DefaultFormatterFactory
- Sets the
displayFormatter
. - setDocument(Document) - Method in class javax.swing.text.JTextComponent
- setDocumentFilter(DocumentFilter) - Method in class javax.swing.text.AbstractDocument
- Sets the DocumentFilter for this
Document
. - setDocumentProperties(Dictionary) - Method in class javax.swing.text.AbstractDocument
- Sets the properties of this
Document
. - setDot(int) - Method in interface javax.swing.text.Caret
- Sets the current position of this
Caret
within theDocument
. - setDot(int, Position.Bias) - Method in class javax.swing.text.DefaultCaret.Bypass
- setDot(int) - Method in class javax.swing.text.DefaultCaret
- Sets the current position of this
Caret
within theDocument
. - setDot(int, Position.Bias) - Method in class javax.swing.text.NavigationFilter.FilterBypass
- setDot(NavigationFilter.FilterBypass, int, Position.Bias) - Method in class javax.swing.text.NavigationFilter
- setDotImpl(int) - Method in class javax.swing.text.DefaultCaret
- setDragEnabled(boolean) - Method in class javax.swing.text.JTextComponent
- setDrawsLayeredHighlights(boolean) - Method in class javax.swing.text.DefaultHighlighter
- setEditFormatter(JFormattedTextField.AbstractFormatter) - Method in class javax.swing.text.DefaultFormatterFactory
- Sets the
editFormatter
. - setEditable(boolean) - Method in class javax.swing.text.JTextComponent
- Enables/disabled this text component's editability.
- setEstimatedMajorSpan(boolean) - Method in class javax.swing.text.AsyncBoxView
- Sets the
estimatedMajorSpan
property that determines if the major span should be treated as beeing estimated. - setFirstLineIndent(float) - Method in class javax.swing.text.ParagraphView
- Sets the indentation of the first line of the paragraph.
- setFirstLineIndent(MutableAttributeSet, float) - Static method in class javax.swing.text.StyleConstants
- Adds a first line indentation attribute to the specified set.
- setFocusAccelerator(char) - Method in class javax.swing.text.JTextComponent
- setFontFamily(MutableAttributeSet, String) - Static method in class javax.swing.text.StyleConstants
- Adds a font family attribute to the specified set.
- setFontSize(MutableAttributeSet, int) - Static method in class javax.swing.text.StyleConstants
- Adds a font size attribute to the specified set.
- setForeground(MutableAttributeSet, Color) - Static method in class javax.swing.text.StyleConstants
- Adds a foreground color attribute to the specified set.
- setFormat(DateFormat) - Method in class javax.swing.text.DateFormatter
- Sets the format that is used by this
DateFormatter
. - setFormat(Format) - Method in class javax.swing.text.InternationalFormatter
- Sets the Format object that is used to convert values to strings.
- setFormat(Format) - Method in class javax.swing.text.NumberFormatter
- Sets the NumberFormat that this NumberFormatter will use to determine legal values for editing and displaying.
- setGlyphPainter(GlyphView.GlyphPainter) - Method in class javax.swing.text.GlyphView
- Sets the GlyphView.GlyphPainter to be used for this
GlyphView
. - setGridLocation(int, int) - Method in class javax.swing.text.TableView.TableCell
- Deprecated. Table cells are now rendered by an arbitrary
View
implementation. - setHighlighter(Highlighter) - Method in class javax.swing.text.JTextComponent
- setIcon(MutableAttributeSet, Icon) - Static method in class javax.swing.text.StyleConstants
- Adds an icon attribute to the specified set.
- setIndentSpace(int) - Method in class javax.swing.text.AbstractWriter
- Set the number of spaces per indent level.
- setIndex(int) - Method in interface javax.swing.text.CharacterIterator
- setIndex(int) - Method in class javax.swing.text.Segment
- Sets the current index and returns the character at that position (or
CharacterIterator.DONE>
CharacterIterator.DONE
55 if the index is equal toSegment.getEndIndex()
55 . - setInsets(short, short, short, short) - Method in class javax.swing.text.CompositeView
- Sets the insets of this
CompositeView
. - setInvalidCharacters(String) - Method in class javax.swing.text.MaskFormatter
- Sets characters that are not valid for input.
- setItalic(MutableAttributeSet, boolean) - Static method in class javax.swing.text.StyleConstants
- Adds an italic attribute to the specified set.
- setJustification(int) - Method in class javax.swing.text.ParagraphView
- Sets the justification of the paragraph.
- setKeymap(Keymap) - Method in class javax.swing.text.JTextComponent
- Set the current Keymap of this component, installing appropriate
JTextComponent.KeymapWrapper and JTextComponent.KeymapActionMap objects in the
javax.swing.InputMap and javax.swing.ActionMap parent chains, respectively,
and fire a property change event with name
"keymap"
. - setLeftIndent(MutableAttributeSet, float) - Static method in class javax.swing.text.StyleConstants
- Adds a left indentation attribute to the specified set.
- setLeftInset(float) - Method in class javax.swing.text.AsyncBoxView
- Sets the left inset.
- setLineLength(int) - Method in class javax.swing.text.AbstractWriter
- Set the maximum line length.
- setLineSeparator(String) - Method in class javax.swing.text.AbstractWriter
- Set the current line separator.
- setLineSpacing(float) - Method in class javax.swing.text.ParagraphView
- Sets the line spacing for this paragraph.
- setLineSpacing(MutableAttributeSet, float) - Static method in class javax.swing.text.StyleConstants
- Adds a line spacing attribute to the specified set.
- setLogicalStyle(int, Style) - Method in class javax.swing.text.DefaultStyledDocument
- Sets the logical style for the paragraph at the specified position.
- setLogicalStyle(int, Style) - Method in interface javax.swing.text.StyledDocument
- setLogicalStyle
- setMagicCaretPosition(Point) - Method in interface javax.swing.text.Caret
- Sets the current visual position of this
Caret
. - setMagicCaretPosition(Point) - Method in class javax.swing.text.DefaultCaret
- Sets the current visual position of this
Caret
. - setMajorOffset(float) - Method in class javax.swing.text.AsyncBoxView.ChildState
- Sets the offset of the child view along the major layout axis.
- setMargin(Insets) - Method in class javax.swing.text.JTextComponent
- setMask(String) - Method in class javax.swing.text.MaskFormatter
- Sets the mask for this MaskFormatter.
- setMaximum(Comparable) - Method in class javax.swing.text.InternationalFormatter
- Sets the maximum value that is allowed by this Formatter.
- setMinimum(Comparable) - Method in class javax.swing.text.InternationalFormatter
- Sets the minimum value that is allowed by this Formatter.
- setName(String) - Method in class javax.swing.text.StyleContext.NamedStyle
- setNavigationFilter(NavigationFilter) - Method in class javax.swing.text.JTextComponent
- setNullFormatter(JFormattedTextField.AbstractFormatter) - Method in class javax.swing.text.DefaultFormatterFactory
- Sets the
nullFormatter
. - setOffset(int) - Method in class javax.swing.text.StringContent.StickyPosition
- setOverwriteMode(boolean) - Method in class javax.swing.text.DefaultFormatter
- Sets the value of the
overwriteMode
property. - setParagraphAttributes(int, int, AttributeSet, boolean) - Method in class javax.swing.text.DefaultStyledDocument
- Sets text attributes for the paragraph at the specified fragment.
- setParagraphAttributes(int, int, AttributeSet, boolean) - Method in interface javax.swing.text.StyledDocument
- setParagraphAttributes
- setParagraphAttributes(JEditorPane, AttributeSet, boolean) - Method in class javax.swing.text.StyledEditorKit.StyledTextAction
- Sets the specified character attributes on the paragraph that
contains the currently selected
text of
editor
. - setParagraphInsets(AttributeSet) - Method in class javax.swing.text.CompositeView
- Sets the insets defined by attributes in
attributes
. - setParent(View) - Method in class javax.swing.text.AsyncBoxView
- Sets the parent for this view.
- setParent(View) - Method in class javax.swing.text.ComponentView
- This sets up the component when the view is added to its parent, or cleans up the view when it is removed from its parent.
- setParent(View) - Method in class javax.swing.text.CompositeView
- Sets the parent of this
View
. - setParent(View) - Method in class javax.swing.text.View
- Sets the parent for this view.
- setParentImpl(View) - Method in class javax.swing.text.ComponentView
- The implementation of
ComponentView.setParent(javax.swing.text.View)
55 . - setPartialReturn(boolean) - Method in class javax.swing.text.Segment
- Sets the partial return flag.
- setPlaceholder(String) - Method in class javax.swing.text.MaskFormatter
- Sets the string to use if the value does not completely fill in the mask.
- setPlaceholderCharacter(char) - Method in class javax.swing.text.MaskFormatter
- Sets the char to use if the value does not completely fill in the mask.
- setPositionsInRange(int, int, int) - Method in class javax.swing.text.GapContent
- Sets the mark of all
Position
s that are in the range specified byoffset
and length within the buffer array tovalue
- setPropertiesFromAttributes() - Method in class javax.swing.text.LabelView
- Loads the properties of this label view from the element's text attributes.
- setPropertiesFromAttributes() - Method in class javax.swing.text.ParagraphView
- Fetches the cached properties from the element's attributes.
- setResolveParent(AttributeSet) - Method in class javax.swing.text.AbstractDocument.AbstractElement
- Sets the parent attribute set against which the element can resolve attributes that are not defined in itself.
- setResolveParent(Keymap) - Method in class javax.swing.text.JTextComponent.DefaultKeymap
- setResolveParent(Keymap) - Method in interface javax.swing.text.Keymap
- setResolveParent(AttributeSet) - Method in interface javax.swing.text.MutableAttributeSet
- Sets the reolving parent for this set.
- setResolveParent(AttributeSet) - Method in class javax.swing.text.SimpleAttributeSet
- Sets the reolving parent for this set.
- setResolveParent(AttributeSet) - Method in class javax.swing.text.StyleContext.NamedStyle
- setRightIndent(MutableAttributeSet, float) - Static method in class javax.swing.text.StyleConstants
- Adds a right indentation attribute to the specified set.
- setRightInset(float) - Method in class javax.swing.text.AsyncBoxView
- Sets the right inset.
- setSelectedTextColor(Color) - Method in class javax.swing.text.JTextComponent
- setSelectionColor(Color) - Method in class javax.swing.text.JTextComponent
- setSelectionEnd(int) - Method in class javax.swing.text.JTextComponent
- Selects the text from the selection start postion to the given position.
- setSelectionStart(int) - Method in class javax.swing.text.JTextComponent
- Selects the text from the given postion to the selection end position.
- setSelectionVisible(boolean) - Method in interface javax.swing.text.Caret
- Sets the visiblity state of the selection.
- setSelectionVisible(boolean) - Method in class javax.swing.text.DefaultCaret
- Sets the visiblity state of the selection.
- setSize(float, float) - Method in class javax.swing.text.AsyncBoxView
- Sets the size of this view.
- setSize(float, float) - Method in class javax.swing.text.BoxView
- Sets the size of the view.
- setSize(float, float) - Method in class javax.swing.text.View
- setSize(float, float) - Method in class javax.swing.text.WrappedPlainView
- Sets the size of the View.
- setSpaceAbove(MutableAttributeSet, float) - Static method in class javax.swing.text.StyleConstants
- Adds a 'space above' attribute to the specified set.
- setSpaceBelow(MutableAttributeSet, float) - Static method in class javax.swing.text.StyleConstants
- Adds a 'space below' attribute to the specified set.
- setStrikeThrough(boolean) - Method in class javax.swing.text.LabelView
- Sets the strike-through flag.
- setStrikeThrough(MutableAttributeSet, boolean) - Static method in class javax.swing.text.StyleConstants
- Adds a strike-through attribue to the specified set.
- setSubscript(boolean) - Method in class javax.swing.text.LabelView
- Sets the subscript flag.
- setSubscript(MutableAttributeSet, boolean) - Static method in class javax.swing.text.StyleConstants
- Adds a subscript attribute to the specified set.
- setSuperscript(boolean) - Method in class javax.swing.text.LabelView
- Sets the superscript flag.
- setSuperscript(MutableAttributeSet, boolean) - Static method in class javax.swing.text.StyleConstants
- Adds a superscript attribute to the specified set.
- setTabSet(MutableAttributeSet, TabSet) - Static method in class javax.swing.text.StyleConstants
- Adds a TabSet attribute to the specified set.
- setText(String) - Method in class javax.swing.text.JTextComponent
- setTextContents(String) - Method in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- Set the text contents to the given string.
- setTopInset(float) - Method in class javax.swing.text.AsyncBoxView
- Sets the top inset.
- setType(short) - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Sets the type of the element.
- setUI(TextUI) - Method in class javax.swing.text.JTextComponent
- This method sets the label's UI delegate.
- setUnderline(boolean) - Method in class javax.swing.text.LabelView
- Sets the underline flag.
- setUnderline(MutableAttributeSet, boolean) - Static method in class javax.swing.text.StyleConstants
- Adds an underline attribute to the specified set.
- setUpdatePolicy(int) - Method in class javax.swing.text.DefaultCaret
- Sets the Caret update policy.
- setValidCharacters(String) - Method in class javax.swing.text.MaskFormatter
- Sets characters that are valid for input.
- setValueClass(Class) - Method in class javax.swing.text.DefaultFormatter
- Sets the class that is used for values.
- setValueContainsLiteralCharacters(boolean) - Method in class javax.swing.text.MaskFormatter
- Determines whether stringToValue will return literal characters or not.
- setVisible(boolean) - Method in interface javax.swing.text.Caret
- Sets the visibility state of the caret.
- setVisible(boolean) - Method in class javax.swing.text.DefaultCaret
- Sets the visibility state of the caret.
- sharedAttributeSets - Static variable in class javax.swing.text.StyleContext
- sharedFonts - Static variable in class javax.swing.text.StyleContext
- sharedStrategy - Static variable in class javax.swing.text.FlowView
- The shared instance of FlowStrategy.
- shiftEnd(int) - Method in class javax.swing.text.GapContent
- Enlarges the gap.
- shiftGap(int) - Method in class javax.swing.text.GapContent
- Shifts the gap to the specified position.
- shiftGapEndUp(int) - Method in class javax.swing.text.GapContent
- Shifts the gap end upwards.
- shiftGapStartDown(int) - Method in class javax.swing.text.GapContent
- Shifts the gap start downwards.
- size() - Method in class javax.swing.text.JTextComponent.KeymapActionMap
- size() - Method in class javax.swing.text.JTextComponent.KeymapWrapper
- size - Variable in class javax.swing.text.StyleContext.SimpleFontSpec
- size - Variable in class javax.swing.text.StyledEditorKit.FontSizeAction
- The font size to set.
- span - Variable in class javax.swing.text.BoxView
- The current span along X_AXIS or Y_AXIS.
- spans - Variable in class javax.swing.text.BoxView
- The spans along the X_AXIS and Y_AXIS.
- split(Element, int, int, int) - Method in class javax.swing.text.DefaultStyledDocument.ElementBuffer
- Splits an element if
offset
is not already at its boundary. - start - Variable in class javax.swing.text.StringContent.InsertUndo
- start - Variable in class javax.swing.text.StringContent.RemoveUndo
- startDelta - Variable in class javax.swing.text.AbstractDocument.LeafElement
- This gets possible added to the startOffset when a startOffset outside the document range is requested.
- startOffset - Variable in class javax.swing.text.AbstractDocument.BranchElement
- The cached startOffset value.
- startOffset - Variable in class javax.swing.text.AbstractWriter
- startOffset - Variable in class javax.swing.text.GlyphView
- The start offset within the document for this view.
- startPos - Variable in class javax.swing.text.AbstractDocument.LeafElement
- Manages the start offset of this element.
- state - Variable in class javax.swing.text.ElementIterator
- stateChanged(ChangeEvent) - Method in class javax.swing.text.DefaultStyledDocument.StyleChangeListener
- Receives notification when any of the document's style changes and calls
DefaultStyledDocument.styleChanged(Style)
55 . - staticAttributeKeys - Static variable in class javax.swing.text.StyleContext
- These attribute keys are handled specially in serialization.
- strategy - Variable in class javax.swing.text.FlowView
- The
FlowStrategy
to use for translating between the logical and physical view. - strikeThrough - Variable in class javax.swing.text.LabelView
- The strikethrough flag.
- stringToValue(String) - Method in class javax.swing.text.DefaultFormatter
- Converts a String (from the JFormattedTextField input) to a value.
- stringToValue(String) - Method in class javax.swing.text.InternationalFormatter
- Converts a String (from the JFormattedTextField input) to a value.
- stringToValue(String) - Method in class javax.swing.text.MaskFormatter
- Parses the text using the mask, valid characters, and invalid characters to determine the appropriate Object to return.
- stripLiterals(String) - Method in class javax.swing.text.MaskFormatter
- Strips the literal characters from the given String.
- style - Variable in class javax.swing.text.StyleContext.SimpleFontSpec
- styleChangeListener - Variable in class javax.swing.text.DefaultStyledDocument
- Listens for changes on this document's styles and notifies styleChanged().
- styleChanged(Style) - Method in class javax.swing.text.DefaultStyledDocument
- Called when any of this document's styles changes.
- styleTable - Variable in class javax.swing.text.StyleContext
- subscript - Variable in class javax.swing.text.LabelView
- The subscript flag.
- superscript - Variable in class javax.swing.text.LabelView
- The superscript flag.
T
- TabExpander - interface javax.swing.text.TabExpander.
- TabSet - Static variable in class javax.swing.text.StyleConstants.ParagraphConstants
- A key for the tabset paragraph attribute.
- TabSet - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.ParagraphConstants.TabSet
55 . - TabSet - class javax.swing.text.TabSet.
- TabSet(TabStop[]) - Constructor for class javax.swing.text.TabSet
- TabStop - class javax.swing.text.TabStop.
- TabStop(float) - Constructor for class javax.swing.text.TabStop
- TabStop(float, int, int) - Constructor for class javax.swing.text.TabStop
- TabableView - interface javax.swing.text.TabableView.
- TableView - class javax.swing.text.TableView.
- A View implementation for rendering tables inside styled text.
- TableView(Element) - Constructor for class javax.swing.text.TableView
- Creates a new instance of
TableView
. - TableView.TableCell - class javax.swing.text.TableView.TableCell.
- Deprecated. Table cells are now rendered by an arbitrary
View
implementation. - TableView.TableCell(Element) - Constructor for class javax.swing.text.TableView.TableCell
- Deprecated. Table cells are now rendered by an arbitrary
View
implementation. - TableView.TableRow - class javax.swing.text.TableView.TableRow.
- A view implementation that renders a row of a
TableView
. - TableView.TableRow(Element) - Constructor for class javax.swing.text.TableView.TableRow
- Creates a new instance of
TableRow
. - TextAction - class javax.swing.text.TextAction.
- TextAction
- TextAction(String) - Constructor for class javax.swing.text.TextAction
- Constructor TextAction
- TitleProperty - Static variable in interface javax.swing.text.Document
- The key for the property that is the title of a document.
- tab - Variable in class javax.swing.text.SimpleAttributeSet
- Storage for the attributes.
- tabSet - Variable in class javax.swing.text.ParagraphView
- The TabSet of this paragraph.
- tabSize - Variable in class javax.swing.text.PlainDocument
- tabSizeAttribute - Static variable in class javax.swing.text.PlainDocument
- tabs - Variable in class javax.swing.text.TabSet
- text(Element) - Method in class javax.swing.text.AbstractWriter
- Output the text of the indicated Element, properly clipping it to the range of the Document specified when the AbstractWriter was created.
- text - Variable in class javax.swing.text.GapContent.InsertUndo
- text - Variable in class javax.swing.text.GapContent.UndoRemove
- textComp - Variable in class javax.swing.text.JTextComponent.AccessibleJTextComponent
- The current JTextComponent.
- textComponent - Variable in class javax.swing.text.DefaultCaret
- The text component in which this caret is installed.
- textComponent - Variable in class javax.swing.text.DefaultHighlighter
- toString() - Method in class javax.swing.text.AbstractDocument.BranchElement
- Returns a string representation of this element.
- toString() - Method in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- Returns a String description of the change event.
- toString() - Method in class javax.swing.text.AbstractDocument.LeafElement
- Returns a string representation of this
Element
. - toString() - Method in class javax.swing.text.DefaultStyledDocument.ElementSpec
- Returns a String representation of this
ElementSpec
describing the type, direction and length of thisElementSpec
. - toString() - Method in class javax.swing.text.Position.Bias
- toString() - Method in class javax.swing.text.Segment
- Returns a
String
containing the same characters as thisSegment
. - toString() - Method in class javax.swing.text.SimpleAttributeSet
- Returns a string representation of this instance, typically used for debugging purposes.
- toString() - Method in class javax.swing.text.StyleConstants
- Returns a string representation of the attribute key.
- toString() - Method in class javax.swing.text.StyleContext.NamedStyle
- toString() - Method in class javax.swing.text.StyleContext.SmallAttributeSet
- toString() - Method in class javax.swing.text.TabSet
- toString() - Method in class javax.swing.text.TabStop
- topInset - Variable in class javax.swing.text.AsyncBoxView
- The top inset.
- tree_children - Variable in class javax.swing.text.AbstractDocument.AbstractElement
- The children of this element.
- tree_parent - Variable in class javax.swing.text.AbstractDocument.AbstractElement
- The parent in the TreeNode interface.
- type - Variable in class javax.swing.text.AbstractDocument.DefaultDocumentEvent
- The type of change.
- type - Variable in class javax.swing.text.DefaultStyledDocument.ElementSpec
- The type of the tag.
U
- UPDATE_WHEN_ON_EDT - Static variable in class javax.swing.text.DefaultCaret
- Indicates the Caret position should be updated only if Document changes are made on the Event Dispatcher thread.
- UPPERCASE_CHAR - Static variable in class javax.swing.text.MaskFormatter
- Underline - Static variable in class javax.swing.text.StyleConstants.CharacterConstants
- A key for the underline character attribute.
- Underline - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.Underline
55 . - Utilities - class javax.swing.text.Utilities.
- A set of utilities to deal with text.
- Utilities() - Constructor for class javax.swing.text.Utilities
- Creates a new
Utilities
object. - underline - Variable in class javax.swing.text.LabelView
- The underline flag.
- undo() - Method in class javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
- Undos the attribute change.
- undo() - Method in class javax.swing.text.GapContent.InsertUndo
- undo() - Method in class javax.swing.text.GapContent.UndoRemove
- undo() - Method in class javax.swing.text.StringContent.InsertUndo
- undo() - Method in class javax.swing.text.StringContent.RemoveUndo
- undoString - Variable in class javax.swing.text.StringContent.RemoveUndo
- unselectedColor - Variable in class javax.swing.text.PlainView
- unselectedColor - Variable in class javax.swing.text.WrappedPlainView
- The color for unselected text
- upAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that moves the caret one line up. - update() - Method in class javax.swing.text.AsyncBoxView.ChildState
- Performs the actual update after the run methods has made its checks and locked the document.
- updateChildOffsets(float) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Updates all the child view offsets up to the specified targetOffset.
- updateChildOffsetsToIndex(int) - Method in class javax.swing.text.AsyncBoxView.ChildLocator
- Updates the offsets of the child views up to the specified index.
- updateChildRequirements(int) - Method in class javax.swing.text.BoxView
- Updates the child requirements along the specified axis.
- updateChildren(DocumentEvent.ElementChange, DocumentEvent, ViewFactory) - Method in class javax.swing.text.View
- Updates the list of children that is returned by
View.getView(int)
55 andView.getViewCount()
55 . - updateColumnRequirements() - Method in class javax.swing.text.TableView
- Updates the column requirements.
- updateDamage(DocumentEvent, Shape, ViewFactory) - Method in class javax.swing.text.PlainView
- Since insertUpdate and removeUpdate each deal with children Elements being both added and removed, they both have to perform the same checks.
- updateDamage(Rectangle) - Method in class javax.swing.text.WrappedPlainView.WrappedLine
- This method is called from insertUpdate and removeUpdate.
- updateLayout(DocumentEvent.ElementChange, DocumentEvent, Shape) - Method in class javax.swing.text.AsyncBoxView
- Updates the layout for this view.
- updateLayout(DocumentEvent.ElementChange, DocumentEvent, Shape) - Method in class javax.swing.text.View
- Updates the layout.
- updateMetrics() - Method in class javax.swing.text.PlainView
- updateMetrics() - Method in class javax.swing.text.WrappedPlainView
- updateRequirements(int) - Method in class javax.swing.text.BoxView
- Updates the view's cached requirements along the specified axis if necessary.
- updateTimerStatus() - Method in class javax.swing.text.DefaultCaret
- Install (if not present) and start the timer, if the caret must blink.
- updateUI() - Method in class javax.swing.text.JTextComponent
- This method resets the label's UI delegate to the default UI for the current look and feel.
- updateUndoPositions(Vector, int, int) - Method in class javax.swing.text.GapContent
- updateUndoPositions(Vector) - Method in class javax.swing.text.StringContent
- updateVisibility() - Method in class javax.swing.text.FieldView
V
- View - class javax.swing.text.View.
- View(Element) - Constructor for class javax.swing.text.View
- Creates a new
View
instance. - ViewFactory - interface javax.swing.text.ViewFactory.
- validChars - Variable in class javax.swing.text.MaskFormatter
- A String made up of the characters that are valid for input for this MaskFormatter.
- valueClass - Variable in class javax.swing.text.DefaultFormatter
- The class that is used for values.
- valueContainsLiteralCharacters - Variable in class javax.swing.text.MaskFormatter
- Whether or not stringToValue should return literal characters in the mask.
- valueToString(Object) - Method in class javax.swing.text.DefaultFormatter
- Converts a value object into a String.
- valueToString(Object) - Method in class javax.swing.text.InternationalFormatter
- Converts a value object into a String.
- valueToString(Object) - Method in class javax.swing.text.MaskFormatter
- Returns a String representation of the Object value based on the mask.
- viewFactory - Variable in class javax.swing.text.StyledEditorKit
- The ViewFactory for StyledEditorKits.
- viewFactory - Variable in class javax.swing.text.WrappedPlainView
- A ViewFactory that creates WrappedLines
- viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.AsyncBoxView
- Maps view coordinates to a model location.
- viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.BoxView
- viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.ComponentView
- Maps coordinates from the
View
's space into a position in the document model. - viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.CompositeView
- Maps coordinates from the
View
's space into a position in the document model. - viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.FieldView
- viewToModel(GlyphView, float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.GlyphView.DefaultGlyphPainter
- Maps a visual position into a document location.
- viewToModel(GlyphView, float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.GlyphView.GlyphPainter
- Maps a visual position into a document location.
- viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.GlyphView
- Maps coordinates from the
View
's space into a position in the document model. - viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.IconView
- Maps coordinates from the
View
's space into a position in the document model. - viewToModel(Point) - Method in class javax.swing.text.JTextComponent
- viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.PasswordView
- Provides a mapping from the view coordinate space to the logical coordinate space of the model.
- viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.PlainView
- Maps coordinates from the
View
's space into a position in the document model. - viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.View
- Maps coordinates from the
View
's space into a position in the document model. - viewToModel(float, float, Shape) - Method in class javax.swing.text.View
- Deprecated. Use
View.viewToModel(float, float, Shape, Position.Bias[])
55 instead. - viewToModel(float, float, Shape, Position.Bias[]) - Method in class javax.swing.text.WrappedPlainView.WrappedLine
- Provides a mapping from view space to model space.
- visible - Variable in class javax.swing.text.DefaultCaret
- Indicates if this
Caret
is currently visible or not.
W
- WrappedPlainView - class javax.swing.text.WrappedPlainView.
- WrappedPlainView(Element) - Constructor for class javax.swing.text.WrappedPlainView
- WrappedPlainView(Element, boolean) - Constructor for class javax.swing.text.WrappedPlainView
- WrappedPlainView.WrappedLine - class javax.swing.text.WrappedPlainView.WrappedLine.
- WrappedPlainView.WrappedLine(Element) - Constructor for class javax.swing.text.WrappedPlainView.WrappedLine
- WrappedPlainView.WrappedLineCreator - class javax.swing.text.WrappedPlainView.WrappedLineCreator.
- WrappedPlainView.WrappedLineCreator() - Constructor for class javax.swing.text.WrappedPlainView.WrappedLineCreator
- waitForWork() - Method in class javax.swing.text.LayoutQueue
- Called by a worker thread to retrieve the next layout task.
- where - Variable in class javax.swing.text.GapContent.InsertUndo
- where - Variable in class javax.swing.text.GapContent.UndoRemove
- width - Variable in class javax.swing.text.View
- wordWrap - Variable in class javax.swing.text.WrappedPlainView
- Whether or not to wrap on word boundaries
- writableAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Action
that sets the editor in read-write mode. - write() - Method in class javax.swing.text.AbstractWriter
- This method must be overridden by a concrete subclass.
- write(char) - Method in class javax.swing.text.AbstractWriter
- Write a single character.
- write(String) - Method in class javax.swing.text.AbstractWriter
- Write a String.
- write(char[], int, int) - Method in class javax.swing.text.AbstractWriter
- Write a character array to the output Writer, properly handling newlines and, if needed, wrapping lines as they are output.
- write(OutputStream, Document, int, int) - Method in class javax.swing.text.DefaultEditorKit
- Writes the
Document
(or a fragment of theDocument
) to an java.io.OutputStream in the supported content type format. - write(Writer, Document, int, int) - Method in class javax.swing.text.DefaultEditorKit
- Writes the
Document
(or a fragment of theDocument
) to a java.io.Writer in the supported content type format. - write(OutputStream, Document, int, int) - Method in class javax.swing.text.EditorKit
- write(Writer, Document, int, int) - Method in class javax.swing.text.EditorKit
- write(Writer) - Method in class javax.swing.text.JTextComponent
- Write the content of this component to the given stream.
- write(OutputStream, Document, int, int) - Method in class javax.swing.text.PlainEditorKit
- write(Writer, Document, int, int) - Method in class javax.swing.text.PlainEditorKit
- writeAttributeSet(ObjectOutputStream, AttributeSet) - Static method in class javax.swing.text.StyleContext
- writeAttributes(AttributeSet) - Method in class javax.swing.text.AbstractWriter
- Print the given AttributeSet as a sequence of assignment-like strings, e.g.
- writeAttributes(ObjectOutputStream, AttributeSet) - Method in class javax.swing.text.StyleContext
- writeLineSeparator() - Method in class javax.swing.text.AbstractWriter
- Write a line separator using the output method, and then reset the current line length.
- writeLock() - Method in class javax.swing.text.AbstractDocument
- Blocks until a write lock can be obtained.
- writeUnlock() - Method in class javax.swing.text.AbstractDocument
- Releases the write lock.
- writer - Variable in class javax.swing.text.AbstractWriter
X
Y
A B C D E F G H I J K L M N O P R S T U V W X Y
|
|||||||||
Home >> All >> javax >> swing >> [ text overview ] | PREV NEXT |