home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 January / PCO0198.ISO / browser / net_linx / jae40.jar / sun / beans / editors / StringEditor.class (.txt) < prev   
Encoding:
Java Class File  |  1997-11-03  |  698 b   |  14 lines

  1. package sun.beans.editors;
  2.  
  3. import java.beans.PropertyEditorSupport;
  4.  
  5. public class StringEditor extends PropertyEditorSupport {
  6.    public String getJavaInitializationString() {
  7.       return "\"" + ((PropertyEditorSupport)this).getValue() + "\"";
  8.    }
  9.  
  10.    public void setAsText(String var1) {
  11.       ((PropertyEditorSupport)this).setValue(var1);
  12.    }
  13. }
  14.