|
|||||||||
| 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.Alignment55 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.Alignment55 attribute. - ALIGN_LEFT - Static variable in class javax.swing.text.StyleConstants
- A value representing left alignment for the
StyleConstants.ParagraphConstants.Alignment55 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.Alignment55 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
AbstractDocumentwith the specified AbstractDocument.Content model. - AbstractDocument(AbstractDocument.Content, AbstractDocument.AttributeContext) - Constructor for class javax.swing.text.AbstractDocument
- Creates a new
AbstractDocumentwith 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
AbstractElementwith a specified parentElementandAttributeSet. - AbstractDocument.AttributeContext - interface javax.swing.text.AbstractDocument.AttributeContext.
- Defines a set of methods for managing text attributes for one or more
Documents. - AbstractDocument.BranchElement - class javax.swing.text.AbstractDocument.BranchElement.
- An implementation of Element to represent composite
Elements that contain otherElements. - AbstractDocument.BranchElement(Element, AttributeSet) - Constructor for class javax.swing.text.AbstractDocument.BranchElement
- Creates a new
BranchElementwith 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
Documentis 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.ElementChangeto be added toDefaultDocumentEvents. - 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.Alignment55 . - 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
AsyncBoxViewthat 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
ChildStateobject 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
oldplus the new attribute specified bynameandvalue. - addAttribute(Object, Object) - Method in interface javax.swing.text.MutableAttributeSet
- Adds an attribute with the given
nameandvalueto the set. - addAttribute(Object, Object) - Method in class javax.swing.text.SimpleAttributeSet
- Adds an attribute with the given
nameandvalueto 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
oldplus the new attributes inattributes. - addAttributes(AttributeSet) - Method in interface javax.swing.text.MutableAttributeSet
- Adds all the attributes from
attributesto this set. - addAttributes(AttributeSet) - Method in class javax.swing.text.SimpleAttributeSet
- Adds all the attributes from
attributesto 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
CaretListenerobject 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
Caretchanges. - addChangeListener(ChangeListener) - Method in class javax.swing.text.DefaultCaret
- Registers a javax.swing.event.ChangeListener that is notified whenever that state
of this
Caretchanges. - addChangeListener(ChangeListener) - Method in interface javax.swing.text.Style
- Adds a
ChangeListenerobject 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
DocumentListenerobject 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
InputListenerobject 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
Positions that are in the range specified byoffsetand 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
trueinvalid 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
Actioncontaining 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.Background55 . - 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
Documenthas 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
Elements. - BidiLevel - Static variable in class javax.swing.text.StyleConstants
- An alias for
StyleConstants.CharacterConstants.BidiLevel55 . - 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.Bold55 . - 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
BoxViewfor the givenElementand 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
Actionthat 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
BoxViewalong 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
Actionthat creates a beep in the speaker. - beginAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Actionthat moves the caret to the beginning of theDocument. - beginLineAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Actionthat moves the caret to the beginning of the current line. - beginParagraphAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Actionthat moves the caret to the beginning of the current paragraph. - beginWordAction - Static variable in class javax.swing.text.DefaultEditorKit
- The name of the
Actionthat 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
EditorBufferthat is used to manage toElementhierarchy. - 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.FilterBypassinstance which is provided to the aNavigationFilterto 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.ComponentAttribute55 . - 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
ComponentViewfor 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
Views. - CompositeView(Element) - Constructor for class javax.swing.text.CompositeView
- Creates a new
CompositeViewfor the givenElement. - ContentElementName - Static variable in class javax.swing.text.AbstractDocument
- Standard name for content
Elements. - 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
BoxViewalong 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
BoxViewalong 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
BoxViewalong 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
ChangeEventthat 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
FlowViewthat some attributes have changed in the document at a location that theFlowViewis 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
Elementto 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
GlyphPaineris 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
Elementas anEnumerationof 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
nullsinceLeafElements 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
cloneewith 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
commitsOnValidEditis 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
trueif this element contains the specified attribute. - containsAttribute(Object, Object) - Method in interface javax.swing.text.AttributeSet
- Returns
trueif thisAttributeSetcontains an attribute with the specifiednameandvalue,falseotherwise. - 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
trueif this element contains all of the specified attributes. - containsAttributes(AttributeSet) - Method in interface javax.swing.text.AttributeSet
- Returns
trueof thisAttributeSetcontains all of the specifiedattributes. - containsAttributes(AttributeSet) - Method in class javax.swing.text.SimpleAttributeSet
- Returns
trueof thisAttributeSetcontains 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
Actionthat 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
DefaultStyledDocumentwith 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
parentandattributes. - createCaret() - Method in class javax.swing.text.DefaultEditorKit
- Creates the
Caretfor 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
ChildStateobject for the specified view. - createComponent() - Method in class javax.swing.text.ComponentView
- Creates the
Componentthat thisViewis rendering. - createDefaultDocument() - Method in class javax.swing.text.DefaultEditorKit
- Creates the default Document that this
EditorKitsupports. - 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
p0and 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
elementtoset. - 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
parentandattributes. - 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
Viewimplementation. - 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
Elementat 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
Actionthat 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.
DateFormatteris 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
DateFormatterusing the specifiedDateFormat