Generated by
JDiff

Class javax.swing.text.View

Documentation changed from old to new.

Changed Constructors
View(Element) Documentation changed from old to new.
Creates a new View object.
 

Removed Methods
int getViewIndex(int, Bias) Returns the child view index representing the given position in the model.
 

Added Methods
String getToolTipText(float, float, Shape) Returns the tooltip text at the specified location.
int getViewIndex(float, float, Shape) Returns the child view index representing the given position in the view.
int getViewIndex(int, Bias) Returns the child view index representing the given position in the model.
 

Changed Methods
void append(View) Documentation changed from old to new.
Appends a single child view.
View breakView(int, int, float, float) Documentation changed from old to new.
Tries to break this view on the given axis.
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.
View createFragment(int, int) Documentation changed from old to new.
Creates a view that represents a portion of the element.
void forwardUpdate(ElementChange, DocumentEvent, Shape, ViewFactory) Documentation changed from old to new.
Forwards the given DocumentEvent to the child views that need to be notified of the change to the model.
void forwardUpdateToView(View, DocumentEvent, Shape, ViewFactory) Documentation changed from old to new.
Forwards the DocumentEvent to the give child view.
float getAlignment(int) Documentation changed from old to new.
Determines the desired alignment for this view along an axis.
AttributeSet getAttributes() Documentation changed from old to new.
Fetches the attributes to use when rendering.
int getBreakWeight(int, float, float) Documentation changed from old to new.
Determines how attractive a break opportunity in this view is.
Shape getChildAllocation(int, Shape) Documentation changed from old to new.
Fetches the allocation for the given child view.
Container getContainer() Documentation changed from old to new.
Fetches the container hosting the view.
Document getDocument() Documentation changed from old to new.
Fetches the model associated with the view.
int getEndOffset() Documentation changed from old to new.
Fetches the portion of the model for which this view is responsible.
Graphics getGraphics() Documentation changed from old to new.
Fetch a Graphics for rendering.
float getMaximumSpan(int) Documentation changed from old to new.
Determines the maximum span for this view along an axis.
float getMinimumSpan(int) Documentation changed from old to new.
Determines the minimum span for this view along an axis.
int getNextVisualPositionFrom(int, Bias, Shape, int, Bias[]) Documentation changed from old to new.
Provides a way to determine the next visually represented model location at which one might place a caret.
View getParent() Documentation changed from old to new.
Returns the parent of the view.
float getPreferredSpan(int) Documentation changed from old to new.
Determines the preferred span for this view along an axis.
int getResizeWeight(int) Documentation changed from old to new.
Determines the resizability of the view along the given axis.
int getStartOffset() Documentation changed from old to new.
Fetches the portion of the model for which this view is responsible.
View getView(int) Documentation changed from old to new.
Gets the nth child view.
ViewFactory getViewFactory() Documentation changed from old to new.
Fetches the ViewFactory implementation that is feeding the view hierarchy.
void insert(int, View) Documentation changed from old to new.
Inserts a single child view.
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.
boolean isVisible() Documentation changed from old to new.
Returns a boolean that indicates whether the view is visible or not.
void remove(int) Documentation changed from old to new.
Removes one of the children at the given position.
void removeAll() Documentation changed from old to new.
Removes all of the children.
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.
void replace(int, int, View[]) Documentation changed from old to new.
Replaces child views.
void setParent(View) Documentation changed from old to new.
Establishes the parent view for this view.
void setSize(float, float) Documentation changed from old to new.
Sets the size of the view.
boolean updateChildren(ElementChange, DocumentEvent, ViewFactory) Documentation changed from old to new.
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) Documentation changed from old to new.
Updates the layout in response to receiving notification of change from the model.
Shape modelToView(int, Shape, Bias) Documentation changed from old to new.
Provides a mapping for a given character from the document model coordinate space to the view coordinate space.
Shape modelToView(int, Bias, int, Bias, Shape) Documentation changed from old to new.
Provides a mapping for a given region from the document model coordinate space to the view coordinate space.
Shape modelToView(int, Shape) Documentation changed from old to new.
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
int viewToModel(float, float, Shape, Bias[]) Documentation changed from old to new.
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
int viewToModel(float, float, Shape) Documentation changed from old to new.
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
 

Changed Fields
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 its children by breaking them.