FileDocCategorySizeDatePackage
BRView.javaAPI DocJava SE 5 API869Fri Aug 26 14:58:18 BST 2005javax.swing.text.html

BRView

public class BRView extends InlineView
Processes the <BR> tag. In other words, forces a line break.
author
Sunita Mani
version
1.11 03/05/04

Fields Summary
Constructors Summary
public BRView(Element elem)
Creates a new view that represents a <BR> element.

param
elem the element to create a view for

	super(elem);
    
Methods Summary
public intgetBreakWeight(int axis, float pos, float len)
Forces a line break.

return
View.ForcedBreakWeight

	if (axis == X_AXIS) {
	    return ForcedBreakWeight;
	} else {
	    return super.getBreakWeight(axis, pos, len);
	}