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

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

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

Deprecated. Use DialogBinding instead.

@Deprecated
public final class DialogBinding
extends Object

Since:
1.1

Method Summary
static JavaSource bindComponentToFile(FileObject fileObject, int offset, int length, JTextComponent component)
          Deprecated. Use DialogBinding instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bindComponentToFile

@Deprecated
public static JavaSource bindComponentToFile(FileObject fileObject,
                                                        int offset,
                                                        int length,
                                                        JTextComponent component)
                                      throws IllegalArgumentException
Deprecated. Use DialogBinding instead.

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:
IllegalArgumentException - if fileObject is null
Since:
1.1

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

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.