|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.text.View | +--javax.swing.text.LabelView | +--javax.swing.text.html.InlineView
Displays the inline element styles based upon css attributes.
Fields inherited from class javax.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()
|
boolean |
isVisible()
Returns false if the contents of the view are merely a "\n". |
protected void |
setPropertiesFromAttributes()
Set the cached properties from the attributes. |
Methods inherited from class javax.swing.text.LabelView |
breakView,
changedUpdate,
createFragment,
getAlignment,
getBreakWeight,
getFont,
getFontMetrics,
getNextVisualPositionFrom,
getPartialSpan,
getPreferredSpan,
getTabbedSpan,
insertUpdate,
modelToView,
paint,
setStrikeThrough,
setSubscript,
setSuperscript,
setUnderline,
viewToModel |
Methods inherited from class javax.swing.text.View |
getChildAllocation,
getContainer,
getDocument,
getElement,
getEndOffset,
getMaximumSpan,
getMinimumSpan,
getParent,
getResizeWeight,
getStartOffset,
getView,
getViewCount,
getViewFactory,
modelToView,
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 |
public InlineView(Element elem)
elem
- the elementMethod Detail |
public AttributeSet getAttributes()
protected void setPropertiesFromAttributes()
protected StyleSheet getStyleSheet()
public boolean isVisible()
|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |