|
Elexis API documentationVersion 2.1.6 as of January 22 2012 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRichTextDisplay
A Control to display formatted text with links and cross references
| Method Summary | |
|---|---|
void |
addMenuListener(IMenuListener listener)
Add a listener to the context menu of the control. |
GenericRange |
getCaretRange()
find the position of the caret and the selected Range (if any) |
SimpleStructuredDocument |
getContents()
Retrieve the Contents of the View |
int |
getTextLocationAt(int x,
int y)
Find the caret position matching a given coordinate in the control |
void |
removeMenuListener(IMenuListener listener)
remove a Menu listener |
void |
setCaretRange(GenericRange gr)
|
void |
updateDisplay()
|
| Method Detail |
|---|
SimpleStructuredDocument getContents()
GenericRange getCaretRange()
void setCaretRange(GenericRange gr)
int getTextLocationAt(int x,
int y)
x - number of pixels from the left upper corner to the righty - number of pixels from the left upper corner down
void addMenuListener(IMenuListener listener)
listener - void removeMenuListener(IMenuListener listener)
listener -
void updateDisplay()
throws ElexisException
ElexisException
|
Elexis API documentationVersion 2.1.6 as of January 22 2012 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||