Java Platform 1.2
Beta 4

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.


Fields inherited from class com.sun.java.swing.text.View
BadBreakWeight , ExcellentBreakWeight , ForcedBreakWeight , GoodBreakWeight , X_AXIS , Y_AXIS
 
Constructor Summary
InlineView(Element elem)
          Constructs a new view wrapped on an element.
 
Method Summary
 AttributeSet getAttributes()
          Fetches the attributes to use when rendering.
protected  StyleSheet getStyleSheet()
           
protected  void setPropertiesFromAttributes()
          Set the cached properties from the attributes.
 
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
 

Constructor Detail

InlineView

public InlineView(Element elem)
Constructs a new view wrapped on an element.
Parameters:
elem - the element
Method Detail

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()

Java Platform 1.2
Beta 4

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.