|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkawigi.editor.ObedientViewFactory
public class ObedientViewFactory
Obedient because it returns what I tell it to. Also sounds better than "HackedViewFactory".
| Field Summary | |
|---|---|
protected java.lang.Class |
viewClass
Class from which Views are made in this ViewFactory. |
| Constructor Summary | |
|---|---|
ObedientViewFactory()
Creates an ObedientViewFactory with no default View implementation. |
|
ObedientViewFactory(java.lang.Class v)
Creates an ObedientViewFactory using v as the View implementation class. |
|
| Method Summary | |
|---|---|
javax.swing.text.View |
create(javax.swing.text.Element elem)
Creates a View instance of the class designated to this ViewFactory. |
void |
setViewClass(java.lang.Class v)
Sets the class of the View implementation to be used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Class viewClass
| Constructor Detail |
|---|
public ObedientViewFactory()
public ObedientViewFactory(java.lang.Class v)
| Method Detail |
|---|
public void setViewClass(java.lang.Class v)
public javax.swing.text.View create(javax.swing.text.Element elem)
create in interface javax.swing.text.ViewFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||