FixedLengthDocument

org.nlogo.swing.FixedLengthDocument
class FixedLengthDocument(maxLength: Int) extends PlainDocument

enforces a given maximum length; also enforces all caps (that could easily be made optional)

Attributes

Source
FixedLengthDocument.scala
Graph
Supertypes
class PlainDocument
class AbstractDocument
trait Serializable
trait Document
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
AbstractDocument
Supertypes
class Object
trait Matchable
class Any
class BranchElement(x$1: Element, x$2: AttributeSet)

Attributes

Inherited from:
AbstractDocument
Supertypes
trait TreeNode
trait Serializable
trait MutableAttributeSet
trait AttributeSet
trait Element
class Object
trait Matchable
class Any
Show all
object BranchElement

Attributes

Inherited from:
AbstractDocument
Supertypes
class Object
trait Matchable
class Any
class DefaultDocumentEvent(x$1: Int, x$2: Int, x$3: EventType)

Attributes

Inherited from:
AbstractDocument
Supertypes
trait DocumentEvent
class CompoundEdit
class AbstractUndoableEdit
trait Serializable
trait UndoableEdit
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
AbstractDocument
Supertypes
class Object
trait Matchable
class Any
class LeafElement(x$1: Element, x$2: AttributeSet, x$3: Int, x$4: Int)

Attributes

Inherited from:
AbstractDocument
Supertypes
trait TreeNode
trait Serializable
trait MutableAttributeSet
trait AttributeSet
trait Element
class Object
trait Matchable
class Any
Show all
object LeafElement

Attributes

Inherited from:
AbstractDocument
Supertypes
class Object
trait Matchable
class Any

Inherited and Abstract classlikes

abstract class AbstractElement(x$1: Element, x$2: AttributeSet)

Attributes

Inherited from:
AbstractDocument
Supertypes
trait TreeNode
trait Serializable
trait MutableAttributeSet
trait AttributeSet
trait Element
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

override def insertString(offset: Int, str: String, a: AttributeSet): Unit

Attributes

Definition Classes
PlainDocument -> AbstractDocument -> Document
Source
FixedLengthDocument.scala
override def replace(offset: Int, length: Int, str: String, a: AttributeSet): Unit

Attributes

Definition Classes
AbstractDocument
Source
FixedLengthDocument.scala

Inherited methods

def addDocumentListener(x$0: DocumentListener): Unit

Attributes

Inherited from:
AbstractDocument
def addUndoableEditListener(x$0: UndoableEditListener): Unit

Attributes

Inherited from:
AbstractDocument
def createPosition(x$0: Int): Position

Attributes

Inherited from:
AbstractDocument
def dump(x$0: PrintStream): Unit

Attributes

Inherited from:
AbstractDocument

Attributes

Inherited from:
AbstractDocument
def getBidiRootElement(): Element

Attributes

Inherited from:
AbstractDocument
def getDefaultRootElement(): Element

Attributes

Inherited from:
PlainDocument
def getDocumentFilter(): DocumentFilter

Attributes

Inherited from:
AbstractDocument
def getDocumentListeners(): Array[DocumentListener]

Attributes

Inherited from:
AbstractDocument
def getDocumentProperties(): Dictionary[<FromJavaObject>, <FromJavaObject>]

Attributes

Inherited from:
AbstractDocument
final def getEndPosition(): Position

Attributes

Inherited from:
AbstractDocument
def getLength(): Int

Attributes

Inherited from:
AbstractDocument
def getListeners[T <: EventListener](x$0: Class[T]): Array[T]

Attributes

Inherited from:
AbstractDocument
def getParagraphElement(x$0: Int): Element

Attributes

Inherited from:
PlainDocument
final def getProperty(x$0: <FromJavaObject>): <FromJavaObject>

Attributes

Inherited from:
AbstractDocument
def getRootElements(): Array[Element]

Attributes

Inherited from:
AbstractDocument
final def getStartPosition(): Position

Attributes

Inherited from:
AbstractDocument
def getText(x$0: Int, x$1: Int, x$2: Segment): Unit

Attributes

Inherited from:
AbstractDocument
def getText(x$0: Int, x$1: Int): String

Attributes

Inherited from:
AbstractDocument
def getUndoableEditListeners(): Array[UndoableEditListener]

Attributes

Inherited from:
AbstractDocument
final def putProperty(x$0: <FromJavaObject>, x$1: <FromJavaObject>): Unit

Attributes

Inherited from:
AbstractDocument
final def readLock(): Unit

Attributes

Inherited from:
AbstractDocument
final def readUnlock(): Unit

Attributes

Inherited from:
AbstractDocument
def remove(x$0: Int, x$1: Int): Unit

Attributes

Inherited from:
AbstractDocument
def removeDocumentListener(x$0: DocumentListener): Unit

Attributes

Inherited from:
AbstractDocument
def removeUndoableEditListener(x$0: UndoableEditListener): Unit

Attributes

Inherited from:
AbstractDocument
def render(x$0: Runnable): Unit

Attributes

Inherited from:
AbstractDocument

Attributes

Inherited from:
AbstractDocument
def setDocumentFilter(x$0: DocumentFilter): Unit

Attributes

Inherited from:
AbstractDocument
def setDocumentProperties(x$0: Dictionary[<FromJavaObject>, <FromJavaObject>]): Unit

Attributes

Inherited from:
AbstractDocument