org.jhotdraw.samples.teddy.text
Class NumberedViewFactory

java.lang.Object
  extended by org.jhotdraw.samples.teddy.text.NumberedViewFactory
All Implemented Interfaces:
javax.swing.text.ViewFactory

public class NumberedViewFactory
extends java.lang.Object
implements javax.swing.text.ViewFactory

NumberedViewFactory.

Version:
$Id: NumberedViewFactory.java 604 2010-01-09 12:00:29Z rawcoder $
Author:
Werner Randelshofer

Field Summary
private  boolean isLineNumbersVisible
           
 
Constructor Summary
NumberedViewFactory()
           
 
Method Summary
 javax.swing.text.View create(javax.swing.text.Element elem)
           
 boolean isLineNumbersVisible()
           
 void setLineNumbersVisible(boolean newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isLineNumbersVisible

private boolean isLineNumbersVisible
Constructor Detail

NumberedViewFactory

public NumberedViewFactory()
Method Detail

setLineNumbersVisible

public void setLineNumbersVisible(boolean newValue)

isLineNumbersVisible

public boolean isLineNumbersVisible()

create

public javax.swing.text.View create(javax.swing.text.Element elem)
Specified by:
create in interface javax.swing.text.ViewFactory