Class com.sun.java.swing.text.html.InlineView
java.lang.Object
|
+--com.sun.java.swing.text.View
|
+--com.sun.java.swing.text.LabelView
|
+--com.sun.java.swing.text.html.InlineView
- public class InlineView
- extends LabelView
Displays the inline element styles
based upon css attributes.
Constructor Summary
|
InlineView(Element elem)
Constructs a new view wrapped on an element. |
Methods inherited from class com.sun.java.swing.text.LabelView |
breakView
, changedUpdate
, createFragment
, getAlignment
, getBreakWeight
, getFont
, getFontMetrics
, getPartialSpan
, getPreferredSpan
, getTabbedSpan
, modelToView
, paint
, setUnderline
, viewToModel
|
Methods inherited from class com.sun.java.swing.text.View |
getChildAllocation
, getContainer
, getDocument
, getElement
, getEndOffset
, getMaximumSpan
, getMinimumSpan
, getNextVisualPositionFrom
, getParent
, getResizeWeight
, getStartOffset
, getView
, getViewCount
, getViewFactory
, insertUpdate
, modelToView
, preferenceChanged
, removeUpdate
, setParent
, setSize
, viewToModel
|
Methods inherited from class java.lang.Object |
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
|
InlineView
public InlineView(Element elem)
- Constructs a new view wrapped on an element.
- Parameters:
elem
- the element
getAttributes
public AttributeSet getAttributes()
- Fetches the attributes to use when rendering. This is
implemented to multiplex the attributes specified in the
model with a StyleSheet.
- Overrides:
- getAttributes in class View
setPropertiesFromAttributes
protected void setPropertiesFromAttributes()
- Set the cached properties from the attributes.
- Overrides:
- setPropertiesFromAttributes in class LabelView
getStyleSheet
protected StyleSheet getStyleSheet()
Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.