|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.utils.swing.XStyledViewFactory
public class XStyledViewFactory
An extended styled view factory which creates views for paragraphs allowing full justification of text.
| Constructor Summary | |
|---|---|
XStyledViewFactory(javax.swing.text.ViewFactory parentFactory)
Set the parent view factory. |
|
| Method Summary | |
|---|---|
javax.swing.text.View |
create(javax.swing.text.Element elem)
Create a view for a text element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XStyledViewFactory(javax.swing.text.ViewFactory parentFactory)
parentFactory - The parent factory.
The parent factory is used to create views for all text elements other than paragraph elements.
| Method Detail |
|---|
public javax.swing.text.View create(javax.swing.text.Element elem)
create in interface javax.swing.text.ViewFactoryelem - The text element for which a view is desired.
JustifiableTextParagraphView is used to create a view
for a paragraph. JustifiableTextParagraphView knows how to
fully justify lines of text.
The parent factory is used to create views for all other
text element types.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||