public final class DialogBinding extends Object
| Constructor and Description |
|---|
DialogBinding() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bindComponentToDocument(Document document,
int line,
int column,
int length,
JTextComponent component)
Bind given component and given document together.
|
static void |
bindComponentToDocument(Document document,
int offset,
int length,
JTextComponent component)
Bind given component and given document together.
|
static void |
bindComponentToFile(FileObject fileObject,
int line,
int column,
int length,
JTextComponent component)
Bind given component and given file together.
|
static void |
bindComponentToFile(FileObject fileObject,
int offset,
int length,
JTextComponent component)
Bind given component and given file together.
|
public static void bindComponentToFile(FileObject fileObject, int offset, int length, JTextComponent component)
fileObject - to bindoffset - position at which content of the component will be virtually placedlength - how many characters replace from the original filecomponent - component to bindpublic static void bindComponentToDocument(Document document, int offset, int length, JTextComponent component)
document - to bindoffset - position at which content of the component will be virtually placedlength - how many characters replace from the original documentcomponent - component to bindpublic static void bindComponentToFile(FileObject fileObject, int line, int column, int length, JTextComponent component)
fileObject - to bindline - an index (zero based) of the line where to place the component's contentcolumn - position (number of characters) at the line where to place the contentlength - how many characters replace from the original filecomponent - component to bindpublic static void bindComponentToDocument(Document document, int line, int column, int length, JTextComponent component)
document - to bindline - an index (zero based) of the line where to place the component's contentcolumn - position (number of characters) at the line where to place the contentlength - how many characters replace from the original documentcomponent - component to bindBuilt on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.