Class AsyncBoxView.ChildLocator

java.lang.Object
javax.swing.text.AsyncBoxView.ChildLocator
Enclosing class:
AsyncBoxView

public class AsyncBoxView.ChildLocator extends Object
A class to manage the effective position of the child views in a localized area while changes are being made around the localized area. The AsyncBoxView may be continuously changing, but the visible area needs to remain fairly stable until the layout thread decides to publish an update to the parent.
Since:
1.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Rectangle
    A shape to use for the child allocation to avoid creating a lot of garbage.
    protected Rectangle
    The last seen allocation (for repainting when changes are flushed upward).
    The location of the last offset calculation that is valid.
  • Constructor Summary

    Constructors
    Constructor
    Description