Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.text
Class TextListener

java.lang.Object
  extended by ch.elexis.text.TextListener

public class TextListener
extends java.lang.Object

The TextListener handles user input in the IRichTextDisplay.

Author:
gerry

Constructor Summary
TextListener(IRichTextDisplay rt)
          Instantiates a new text listener.
 
Method Summary
 void createMarkup(char type, int pos, int len)
          Creates the markup.
 void setUser()
          Sets the user.
 void textChanged(TextEvent event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextListener

public TextListener(IRichTextDisplay rt)
Instantiates a new text listener.

Parameters:
rt - the rt
Method Detail

setUser

public void setUser()
Sets the user.


textChanged

public void textChanged(TextEvent event)

createMarkup

public void createMarkup(char type,
                         int pos,
                         int len)
                  throws ElexisException
Creates the markup.

Parameters:
type - the type
pos - the pos
len - the len
Throws:
ElexisException - the elexis exception

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis