public class ATERenderingView.DisplayDelegateOperation extends ATERenderingView.DisplayOperation
| Constructor and Description |
|---|
ATERenderingView.DisplayDelegateOperation() |
| Modifier and Type | Method and Description |
|---|---|
int |
renderTextPortion(Graphics g,
int x,
int y,
int start,
int end,
int max,
Document doc,
AttributeSet attribute)
Renders a portion of text at the specified location (x,y) and characters
range (start, end) using the specified attribute (attribute).
|
public ATERenderingView.DisplayDelegateOperation()
public int renderTextPortion(Graphics g, int x, int y, int start, int end, int max, Document doc, AttributeSet attribute) throws BadLocationException
ATERenderingView.TextOperationrenderTextPortion in interface ATERenderingView.TextOperationrenderTextPortion in class ATERenderingView.DisplayOperationg - The graphic contextx - The x-coordinate where to start drawing the texty - The y-coordinate where to start drawing the textstart - The starting index of the characterend - The ending index of the charactermax - The maximum length of the textdoc - The document to displayattribute - The attributes to useBadLocationException - If the location is incorrect, this exception is thrownCopyright © 2013. All rights reserved.