API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. FlowView.FlowStrategy View Source
Author(s)
Since
1.3
Version
Serial
Hierarchy
 Object
      FlowView.FlowStrategy
Implements
Subclasses
Description
publicstatic class FlowView.FlowStrategy
  Strategy for maintaining the physical form of the flow.
See also:   
Constructors
public FlowView.FlowStrategy ()
Methods
Hide/Show inherited methods
pack-private void addDamage (FlowView fv, int offset)
protected void adjustRow (FlowView fv, int rowIndex, int desiredSpan, int x)
  Adjusts the given row if possible to fit within the layout span.
public void changedUpdate (FlowView fv, DocumentEvent e, Rectangle alloc)
  Gives notification from the document that attributes were changed in a location that this view is responsible for.
protected View createView (FlowView fv, int startOffset, int spanLeft, int rowIndex)
  Creates a view that can be used to represent the current piece of the flow.
protected View getLogicalView (FlowView fv)
This method gives flow strategies access to the logical view of the FlowView.
public void insertUpdate (FlowView fv, DocumentEvent e, Rectangle alloc)
  Gives notification that something was inserted into the document in a location that the given flow view is responsible for.
public void layout (FlowView fv)
  Update the flow on the given FlowView.
protected int layoutRow (FlowView fv, int rowIndex, int pos)
  Creates a row of views that will fit within the layout span of the row.
public void removeUpdate (FlowView fv, DocumentEvent e, Rectangle alloc)
  Gives notification that something was removed from the document in a location that the given flow view is responsible for.
pack-private void reparentViews (View pool, int startPos)
pack-private void unsetDamage ()
Fields
Hide/Show inherited fields
pack-private int damageStart
pack-private Vector<View> viewBuffer
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar