|
Generated by JDiff |
||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS |
The superclass changed from javax.swing.text.View
to javax.swing.text.GlyphView
.
Added interface javax.swing.text.TabableView
.
Documentation changed from old to new.
Removed Methods | |
Shape modelToView(int, |
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it. |
int viewToModel(float, |
Provides a mapping from the view coordinate space to the logical coordinate space of the model. |
Added Methods | |
Color getBackground() |
Fetch the background color to use to render the glyphs. |
Color getForeground() |
Fetch the foreground color to use to render the glyphs. |
boolean isStrikeThrough() |
Determine if the glyphs should have a strikethrough line. |
boolean isSubscript() |
Determine if the glyphs should be rendered as superscript. |
boolean isSuperscript() |
Determine if the glyphs should be rendered as subscript. |
boolean isUnderline() |
Determine if the glyphs should be underlined. |
Changed Methods | ||
View breakView(int, |
Method was locally defined, but is now inherited from GlyphView. | Breaks this view on the given axis at the given length. |
View createFragment(int, |
Method was locally defined, but is now inherited from GlyphView. | Creates a view that represents a portion of the element. |
float getAlignment(int ) |
Method was locally defined, but is now inherited from GlyphView. | Determines the desired alignment for this view along an axis. |
int getBreakWeight(int, |
Documentation changed from old to new. Method was locally defined, but is now inherited from GlyphView. |
Determines how attractive a break opportunity in this view is. |
Font getFont() |
Documentation changed from old to new. Change of visibility from protected to public. |
Fetch the font that the glyphs should be based upon. |
FontMetrics getFontMetrics() |
Documentation changed from old to new. Now deprecated. |
FontMetrics are not used for glyph rendering when running in the Java2 SDK. |
int getNextVisualPositionFrom(int, |
Method was locally defined, but is now inherited from GlyphView. | Provides a way to determine the next visually represented model location that one might place a caret. |
float getPreferredSpan(int ) |
Method was locally defined, but is now inherited from GlyphView. | Determines the preferred span for this view along an axis. |
void insertUpdate(DocumentEvent, |
Documentation changed from old to new. Method was locally defined, but is now inherited from GlyphView. |
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void paint(Graphics, |
Method was locally defined, but is now inherited from GlyphView. | Renders a portion of a text style run. |
void removeUpdate(DocumentEvent, |
Documentation changed from old to new. Method was locally defined, but is now inherited from GlyphView. |
Gives notification that something was removed from the document in a location that this view is responsible for. |
String toString() |
Documentation changed from old to new. Method was locally defined, but is now inherited from Object. |
Returns a string representation of the object. |
|
|||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES |