javax.swing.text
Class FieldViewjava.lang.Object | +--javax.swing.text.View | +--javax.swing.text.PlainView | +--javax.swing.text.FieldView
- All Implemented Interfaces:
- SwingConstants, TabExpander
- Direct Known Subclasses:
- PasswordView
- public class FieldView
- extends PlainView
Extends the multi-line plain text view to be suitable for a single-line editor view. If the view is allocated extra space, the field must adjust for it. If the hosting component is a JTextField, this view will manage the ranges of the associated BoundedRangeModel and will adjust the horizontal allocation to match the current visibility settings of the JTextField.
- See Also:
- View
Field Summary
Fields inherited from class javax.swing.text.PlainView metrics
Fields inherited from class javax.swing.text.View BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
Fields inherited from interface javax.swing.SwingConstants BOTTOM,