net.sourceforge.fixagora.basis.client.view.document
Class AbstractNumberDocument

java.lang.Object
  extended by javax.swing.text.AbstractDocument
      extended by javax.swing.text.PlainDocument
          extended by net.sourceforge.fixagora.basis.client.view.document.AbstractNumberDocument
All Implemented Interfaces:
java.io.Serializable, javax.swing.text.Document
Direct Known Subclasses:
FractionalTextFieldDocument, NumberTextFieldDocument

public abstract class AbstractNumberDocument
extends javax.swing.text.PlainDocument

The Class AbstractNumberDocument.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.text.AbstractDocument
javax.swing.text.AbstractDocument.AbstractElement, javax.swing.text.AbstractDocument.AttributeContext, javax.swing.text.AbstractDocument.BranchElement, javax.swing.text.AbstractDocument.Content, javax.swing.text.AbstractDocument.DefaultDocumentEvent, javax.swing.text.AbstractDocument.ElementEdit, javax.swing.text.AbstractDocument.LeafElement
 
Field Summary
 
Fields inherited from class javax.swing.text.PlainDocument
lineLimitAttribute, tabSizeAttribute
 
Fields inherited from class javax.swing.text.AbstractDocument
BidiElementName, ContentElementName, ElementNameAttribute, ParagraphElementName, SectionElementName
 
Fields inherited from interface javax.swing.text.Document
StreamDescriptionProperty, TitleProperty
 
Constructor Summary
AbstractNumberDocument()
           
 
Method Summary
abstract  void removeListener()
          Removes the listener.
abstract  void setDecimalPlaces(int decimalPlaces)
          Sets the decimal places.
abstract  void setLeadingZeros(int leadingZeros)
          Sets the leading zeros.
abstract  void setMinValue(java.lang.Double minValue)
          Sets the min value.
abstract  void setThousandsSeparator(boolean thousandsSeparator)
          Sets the thousands separator.
abstract  void setTickSize(double tickSize)
          Sets the tick size.
 
Methods inherited from class javax.swing.text.PlainDocument
getDefaultRootElement, getParagraphElement, insertString
 
Methods inherited from class javax.swing.text.AbstractDocument
addDocumentListener, addUndoableEditListener, createPosition, dump, getAsynchronousLoadPriority, getBidiRootElement, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, putProperty, readLock, readUnlock, remove, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNumberDocument

public AbstractNumberDocument()
Method Detail

setDecimalPlaces

public abstract void setDecimalPlaces(int decimalPlaces)
Sets the decimal places.

Parameters:
decimalPlaces - the new decimal places

setMinValue

public abstract void setMinValue(java.lang.Double minValue)
Sets the min value.

Parameters:
minValue - the new min value

setThousandsSeparator

public abstract void setThousandsSeparator(boolean thousandsSeparator)
Sets the thousands separator.

Parameters:
thousandsSeparator - the new thousands separator

setTickSize

public abstract void setTickSize(double tickSize)
Sets the tick size.

Parameters:
tickSize - the new tick size

setLeadingZeros

public abstract void setLeadingZeros(int leadingZeros)
Sets the leading zeros.

Parameters:
leadingZeros - the new leading zeros

removeListener

public abstract void removeListener()
Removes the listener.