JHotDraw 7.4.1

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

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
 

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

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.