|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvObjectInteractor
ilog.views.IlvReshapeSelection
ilog.views.objectinteractor.IlvTextEditor
ilog.views.graphic.IlvText.Editor
public static class IlvText.Editor
This is the text editor of IlvText.
| Constructor Summary | |
|---|---|
IlvText.Editor()
Creates a new instance of the text editor. |
|
| Method Summary | |
|---|---|
protected void |
copySelection(IlvTextInterface text,
int startIndex,
int endIndex)
Copies the region from the input text object to the clipboard. |
protected void |
deleteSelection(IlvTextInterface text,
int startIndex,
int endIndex)
Delete the region from the input text object. |
protected void |
replaceSelection(IlvTextInterface text,
int startIndex,
int endIndex,
AttributedString s)
Replace the region from the input text object. |
protected void |
replaceSelection(IlvTextInterface text,
int startIndex,
int endIndex,
String s)
Replace the region from the input text object. |
| Methods inherited from class ilog.views.objectinteractor.IlvTextEditor |
|---|
lostOwnership, processEvent |
| Methods inherited from class ilog.views.IlvReshapeSelection |
|---|
drawGhost, drawGhost, getBoundingBox, getCursor, handleButtonDown, handleButtonDragged, handleButtonUp, handleExpose, isOpaqueMode, onEnter, onExit, reshapeObject, setOpaqueMode |
| Methods inherited from class ilog.views.IlvObjectInteractor |
|---|
Get, Put |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvText.Editor()
| Method Detail |
|---|
protected void deleteSelection(IlvTextInterface text,
int startIndex,
int endIndex)
label.substring(startIndex, endIndex)
is removed from the label of the text object.
deleteSelection in class IlvTextEditortext - The text objectstartIndex - The index of the first character to be removed.endIndex - The index of the first character that is not anymore
removed.
protected void replaceSelection(IlvTextInterface text,
int startIndex,
int endIndex,
String s)
label.substring(startIndex, endIndex)
is replaced from the label of the text object.
replaceSelection in class IlvTextEditortext - The text objectstartIndex - The index of the first character to be replaced.endIndex - The index of the first character that is not anymore
replaced.s - The replacement string.
protected void replaceSelection(IlvTextInterface text,
int startIndex,
int endIndex,
AttributedString s)
label.substring(startIndex, endIndex)
is replaced from the label of the text object.
replaceSelection in class IlvTextEditortext - The text objectstartIndex - The index of the first character to be replaced.endIndex - The index of the first character that is not anymore
replaced.s - The replacement string as attributed text.
protected void copySelection(IlvTextInterface text,
int startIndex,
int endIndex)
label.substring(startIndex, endIndex)
is copied from the label of the text object to the clipboard.
copySelection in class IlvTextEditortext - The text objectstartIndex - The index of the first character to be removed.endIndex - The index of the first character that is not anymore
removed.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||