Uses of Interface
javax.swing.text.TabExpander
Packages that use TabExpander
Package
Description
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors.-
Uses of TabExpander in javax.swing.text
Classes in javax.swing.text that implement TabExpanderModifier and TypeClassDescriptionclassExtends the multi-line plain text view to be suitable for a single-line editor view.classView of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.classImplements a View suitable for use in JPasswordField UI implementations.classImplements View interface for a simple multi-line text view that has text in one font and color.classView of plain text (text with only one font and color) that does line-wrapping.Methods in javax.swing.text that return TabExpanderModifier and TypeMethodDescriptionGlyphView.getTabExpander()Fetch the TabExpander to use if tabs are present in this view.Methods in javax.swing.text with parameters of type TabExpanderModifier and TypeMethodDescriptionstatic final floatUtilities.drawTabbedText(Segment s, float x, float y, Graphics2D g, TabExpander e, int startOffset) Draws the given text, expanding any tabs that are contained using the given tab expansion technique.static final intUtilities.drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) Deprecated.static final intUtilities.getBreakLocation(Segment s, FontMetrics metrics, float x0, float x, TabExpander e, int startOffset) Determine where to break the given text to fit within the given span.static final intUtilities.getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) Deprecated.abstract floatGlyphView.GlyphPainter.getSpan(GlyphView v, int p0, int p1, TabExpander e, float x) Determine the span the glyphs given a start location (for tab expansion).floatGlyphView.getTabbedSpan(float x, TabExpander e) Determines the desired span when using the given tab expansion implementation.floatTabableView.getTabbedSpan(float x, TabExpander e) Determines the desired span when using the given tab expansion implementation.static final intUtilities.getTabbedTextOffset(Segment s, FontMetrics metrics, float x0, float x, TabExpander e, int startOffset, boolean round) Determines the relative offset into the given text that best represents the given span in the view coordinate system.static final intUtilities.getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) Deprecated.static final intUtilities.getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset, boolean round) Deprecated.static final floatUtilities.getTabbedTextWidth(Segment s, FontMetrics metrics, float x, TabExpander e, int startOffset) Determines the width of the given segment of text taking tabs into consideration.static final intUtilities.getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset) Deprecated. -
Uses of TabExpander in javax.swing.text.html
Classes in javax.swing.text.html that implement TabExpanderModifier and TypeClassDescriptionclassDisplays the paragraph and uses CSS attributes for its configuration.
Utilities.drawTabbedText(Segment, float, float, Graphics2D, TabExpander, int)