javax.swing.text.html
public class InlineView extends LabelView
Constructor Summary | |
---|---|
InlineView(Element element)
Creates a new InlineView that renders the specified element.
|
Method Summary | |
---|---|
View | breakView(int axis, int offset, float pos, float len) |
void | changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
Receives notification that attributes have changed in the document in
a location that this view is responsible for. |
AttributeSet | getAttributes()
Returns the attributes that are used for rendering. |
int | getBreakWeight(int axis, float pos, float len) |
float | getMinimumSpan(int axis)
Returns the minimum span for the specified axis. |
protected StyleSheet | getStyleSheet()
Returns the stylesheet used by this view. |
void | insertUpdate(DocumentEvent e, Shape a, ViewFactory f)
Receives notification that something was inserted into the document in
a location that this view is responsible for.
|
void | removeUpdate(DocumentEvent e, Shape a, ViewFactory f)
Receives notification that something was removed from the document in
a location that this view is responsible for.
|
protected void | setPropertiesFromAttributes()
Loads the character style properties from the stylesheet. |
InlineView
that renders the specified element.
Parameters: element the element for this view
Parameters: e the document event a the current allocation of this view f the view factory for creating new views
Since: 1.5
Returns: the attributes that are used for rendering
HTMLDocument
that is rendered by this view.
Returns: the stylesheet used by this view
Parameters: e the document event a the current allocation of this view f the view factory for creating new views
Since: 1.5
Parameters: e the document event a the current allocation of this view f the view factory for creating new views
Since: 1.5