|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.common.ui.util.LineBreakingReader
public class LineBreakingReader
| Constructor Summary | |
|---|---|
LineBreakingReader(java.io.Reader reader,
org.eclipse.swt.graphics.GC gc,
int maxLineWidth)
Creates a reader that breaks an input text to fit in a given width. |
|
| Method Summary | |
|---|---|
boolean |
isFormattedLine()
|
java.lang.String |
readLine()
Reads the next line. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineBreakingReader(java.io.Reader reader,
org.eclipse.swt.graphics.GC gc,
int maxLineWidth)
reader - Reader of the input textgc - The graphic context that defines the currently used font sizesmaxLineWidth - The max width (pixes) where the text has to fit in| Method Detail |
|---|
public boolean isFormattedLine()
public java.lang.String readLine()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||