Lines Matching refs:fv

339         void addDamage(FlowView fv, int offset) {
340 if (offset >= fv.getStartOffset() && offset < fv.getEndOffset()) {
343 damageStart = fv.getDocument().createPosition(offset);
367 public void insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) {
371 addDamage(fv, e.getOffset());
375 Component host = fv.getContainer();
380 fv.preferenceChanged(null, true, true);
392 public void removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) {
393 addDamage(fv, e.getOffset());
395 Component host = fv.getContainer();
400 fv.preferenceChanged(null, true, true);
408 * @param fv the <code>FlowView</code> containing the changes
414 public void changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) {
415 addDamage(fv, e.getOffset());
417 Component host = fv.getContainer();
422 fv.preferenceChanged(null, true, true);
430 protected View getLogicalView(FlowView fv) {
431 return fv.layoutPool;
440 * @param fv the view to reflow
442 public void layout(FlowView fv) {
443 View pool = getLogicalView(fv);
445 int p1 = fv.getEndOffset();
447 if (fv.majorAllocValid) {
454 while ((rowIndex = fv.getViewIndexAtPosition(offset)) < 0) {
460 p0 = fv.getView(rowIndex).getStartOffset();
463 p0 = fv.getStartOffset();
468 int rowCount = fv.getViewCount();
472 row = fv.createRow();
473 fv.append(row);
475 row = fv.getView(rowIndex);
477 p0 = layoutRow(fv, rowIndex, p0);
483 fv.replace(rowIndex, rowCount - rowIndex, null);
504 protected int layoutRow(FlowView fv, int rowIndex, int pos) {
505 View row = fv.getView(rowIndex);
506 float x = fv.getFlowStart(rowIndex);
507 float spanLeft = fv.getFlowSpan(rowIndex);
508 int end = fv.getEndOffset();
509 TabExpander te = (fv instanceof TabExpander) ? (TabExpander)fv : null;
510 final int flowAxis = fv.getFlowAxis();
520 View v = createView(fv, pos, (int)spanLeft, rowIndex);
586 protected void adjustRow(FlowView fv, int rowIndex, int desiredSpan, int x) {
587 final int flowAxis = fv.getFlowAxis();
588 View r = fv.getView(rowIndex);
624 View lv = getLogicalView(fv);
653 * @param fv the view holding the flow
658 protected View createView(FlowView fv, int startOffset, int spanLeft, int rowIndex) {
660 View lv = getLogicalView(fv);