home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 39 / IOPROG_39.ISO / SOFT / sdkjava40.exe / data1.cab / fg_Samples / Samples / afc11 / JNotepad / src / ITextFeature.java < prev    next >
Encoding:
Java Source  |  2000-05-04  |  908 b   |  30 lines

  1. //
  2. // (C) Copyright 1995 - 1999 Microsoft Corporation.  All rights reserved.
  3. //
  4.  
  5. /**
  6.  *    The ITextFeature interface is used with features which attach themselves
  7.  *    to and modify ITextOperationTargetExt objects (primarily edit controls). 
  8.  *    This interface extends IFeature and only adds an initialization method
  9.  *    which takes a ITextOperationTargetExt object. 
  10.  *
  11.  *    @see    IFeature
  12.  *    @see    ITextOperationTargetExt 
  13.  *
  14.  *    @version    1.0, 7/21/97
  15.  */
  16.  
  17. public interface ITextFeature extends IFeature
  18. {
  19.     /**
  20.      *    Initialization method for the feature. Initializes the feature with
  21.      *    the object it is going to monitor and modify. This is called every
  22.      *    time the feature is attached to an object, which can be several
  23.      *    times during an app's run.
  24.      *
  25.      *    @param    tObject    The object which the feature will attach itself to.
  26.      */
  27.     public void init(ITextOperationTargetExt tObject);
  28. }
  29.  
  30.