Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
javax.swing.text.TabExpander

Packages that use TabExpander
javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.

Uses of TabExpander in javax.swing.text

Classes in javax.swing.text that implement TabExpander
`class` | `FieldView` Extends the multi-line plain text view to be suitable for a single-line editor view.
`class` | `ParagraphView` View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.
`class` | `PasswordView` Implements a View suitable for use in JPasswordField UI implementations.
`class` | `PlainView` Implements View interface for a simple multi-line text view that has text in one font and color.
`class` | `WrappedPlainView` View of plain text (text with only one font and color) that does line-wrapping.

Methods in javax.swing.text with parameters of type TabExpander
`float` | `TabableView.getTabbedSpan(float x, TabExpander e)` Determines the desired span when using the given tab expansion implementation.
`float` | `LabelView.getTabbedSpan(float x, TabExpander e)` Determines the desired span when using the given tab expansion implementation.
`static int` | `Utilities.drawTabbedText(Segment s, int x, int y, java.awt.Graphics g, TabExpander e, int startOffset)` Draws the given text, expanding any tabs that are contained using the given tab expansion technique.
`static int` | `Utilities.getTabbedTextWidth(Segment s, java.awt.FontMetrics metrics, int x, TabExpander e, int startOffset)` Determines the width of the given segment of text taking tabs into consideration.
`static int` | `Utilities.getTabbedTextOffset(Segment s, java.awt.FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)` Determines the relative offset into the given text that best represents the given span in the view coordinate system.
`static int` | `Utilities.getTabbedTextOffset(Segment s, java.awt.FontMetrics metrics, int x0, int x, TabExpander e, int startOffset, boolean round)`
`static int` | `Utilities.getBreakLocation(Segment s, java.awt.FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)` Determine where to break the given text to fit within the the given span.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.