|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is used with the text render class (LwAdvTextRender) to paint selected text. The interface defines following properties that are necessary to paint selected text:
To get selected text getSelectedText method should be used.
| Method Summary | |
java.awt.Point |
getEndSelection()
Returns the last selection row and column |
java.awt.Color |
getSelectColor()
Returns a color that is used to render selected text background. |
java.lang.String |
getSelectedText()
Returns the selected text. |
java.awt.Point |
getStartSelection()
Returns the start selection row and column |
| Method Detail |
public java.awt.Point getStartSelection()
x field is selection row and y field is selection
column.public java.awt.Point getEndSelection()
x field is selection row and y field is selection
column.public java.lang.String getSelectedText()
null if there is not selected
text.public java.awt.Color getSelectColor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||