static float |
Utilities.drawTabbedText(Segment s,
float x,
float y,
Graphics2D g,
TabExpander e,
int startOffset) |
Draws the given text, expanding any tabs that are contained
using the given tab expansion technique.
|
static int |
Utilities.drawTabbedText(Segment s,
int x,
int y,
Graphics g,
TabExpander e,
int startOffset) |
Deprecated.
|
static int |
Utilities.getBreakLocation(Segment s,
FontMetrics metrics,
float x0,
float x,
TabExpander e,
int startOffset) |
Determine where to break the given text to fit
within the given span.
|
static int |
Utilities.getBreakLocation(Segment s,
FontMetrics metrics,
int x0,
int x,
TabExpander e,
int startOffset) |
Deprecated.
|
void |
AbstractDocument.Content.getChars(int where,
int len,
Segment txt) |
Gets a sequence of characters and copies them into a Segment.
|
void |
GapContent.getChars(int where,
int len,
Segment chars) |
Retrieves a portion of the content.
|
void |
StringContent.getChars(int where,
int len,
Segment chars) |
Retrieves a portion of the content.
|
static int |
Utilities.getTabbedTextOffset(Segment s,
FontMetrics metrics,
float x0,
float x,
TabExpander e,
int startOffset,
boolean round) |
Determines the relative offset into the given text that
best represents the given span in the view coordinate
system.
|
static int |
Utilities.getTabbedTextOffset(Segment s,
FontMetrics metrics,
int x0,
int x,
TabExpander e,
int startOffset) |
Deprecated.
|
static int |
Utilities.getTabbedTextOffset(Segment s,
FontMetrics metrics,
int x0,
int x,
TabExpander e,
int startOffset,
boolean round) |
Deprecated.
|
static float |
Utilities.getTabbedTextWidth(Segment s,
FontMetrics metrics,
float x,
TabExpander e,
int startOffset) |
Determines the width of the given segment of text taking tabs
into consideration.
|
static int |
Utilities.getTabbedTextWidth(Segment s,
FontMetrics metrics,
int x,
TabExpander e,
int startOffset) |
Deprecated.
|
void |
AbstractDocument.getText(int offset,
int length,
Segment txt) |
Fetches the text contained within the given portion
of the document.
|
void |
Document.getText(int offset,
int length,
Segment txt) |
Fetches the text contained within the given portion
of the document.
|