org.netbeans.modules.java.sourceui/1 1.6.1 1

org.netbeans.api.java.source.ui
Class DialogBinding

java.lang.Object
  extended by org.netbeans.api.java.source.ui.DialogBinding

public final class DialogBinding
extends Object

Since:
1.1

Method Summary
static JavaSource bindComponentToFile(FileObject fileObject, int offset, int length, JTextComponent component)
          Bind given component and given file together.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bindComponentToFile

public static JavaSource bindComponentToFile(FileObject fileObject,
                                             int offset,
                                             int length,
                                             JTextComponent component)
                                      throws IllegalArgumentException
Bind given component and given file together.

Parameters:
fileObject - to bind
offset - position at which content of the component will be virtually placed
length - how many characters replace from the original file
component - component to bind
Returns:
JavaSource or null
Throws:
{@link - IllegalArgumentException} if fileObject is null
IllegalArgumentException
Since:
1.1

org.netbeans.modules.java.sourceui/1 1.6.1 1

Built on November 10 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.