Generated by
JDiff

Class javax.swing.text.View

Documentation changed from old to new.

Added Methods
void append(View) Appends a single child view.
void forwardUpdate(ElementChange, DocumentEvent, Shape, ViewFactory) Forward the given DocumentEvent to the child views that need to be notified of the change to the model.
void forwardUpdateToView(View, DocumentEvent, Shape, ViewFactory) Forward the DocumentEvent to the give child view.
Graphics getGraphics() Fetch a Graphics for rendering.
int getViewIndex(int, Bias) Returns the child view index representing the given position in the model.
void insert(int, View) Inserts a single child view.
void remove(int) Removes one of the children at the given position.
void removeAll() Removes all of the children.
void replace(int, int, View[]) Replace child views.
boolean updateChildren(ElementChange, DocumentEvent, ViewFactory) Updates the child views in response to receiving notification that the model changed and there is change record for the element this view is responsible for.
void updateLayout(ElementChange, DocumentEvent, Shape) Update the layout in response to receiving notification of change from the model.
 

Changed Methods
void changedUpdate(DocumentEvent, Shape, ViewFactory) Documentation changed from old to new.
Gives notification from the document that attributes were changed in a location that this view is responsible for.
int getBreakWeight(int, float, float) Documentation changed from old to new.
Determines how attractive a break opportunity in this view is.
void insertUpdate(DocumentEvent, Shape, ViewFactory) Documentation changed from old to new.
Gives notification that something was inserted into the document in a location that this view is responsible for.
void removeUpdate(DocumentEvent, Shape, ViewFactory) Documentation changed from old to new.
Gives notification that something was removed from the document in a location that this view is responsible for.
 

Changed Fields
int BadBreakWeight Documentation changed from old to new.
The weight to indicate a view is a bad break opportunity for the purpose of formatting.
int ExcellentBreakWeight Documentation changed from old to new.
The weight to indicate a view supports breaking and this represents a very attractive place to break.
int ForcedBreakWeight Documentation changed from old to new.
The weight to indicate a view supports breaking and must be broken to be represented properly when placed in a view that formats it's children by breaking them.
int GoodBreakWeight Documentation changed from old to new.
The weight to indicate a view supports breaking but better opportunities probably exist.