001package org.vishia.gral.ifc;
002
003import java.util.Map;
004
005import org.vishia.gral.base.GralGridProperties;
006import org.vishia.gral.base.GralPanelContent;
007
008
009/**This interface can be implemented by any user classes which are associated to 
010 * a {@link org.vishia.gral.base.GralTextBox} or a {@link org.vishia.gral.base.GralTextField} calling 
011 * @author Hartmut Schorrig
012 *
013 */
014public interface GralTextFieldUser_ifc {
015  
016  
017  /**Version, history and license:
018   * <ul>
019   * <li>2012-04-15 Hartmut created: A text box may have some special key features. 
020   * </ul>
021   * 
022   * <b>Copyright/Copyleft</b>:
023   * For this source the LGPL Lesser General Public License,
024   * published by the Free Software Foundation is valid.
025   * It means:
026   * <ol>
027   * <li> You can use this source without any restriction for any desired purpose.
028   * <li> You can redistribute copies of this source to everybody.
029   * <li> Every user of this source, also the user of redistribute copies
030   *    with or without payment, must accept this license for further using.
031   * <li> But the LPGL ist not appropriate for a whole software product,
032   *    if this source is only a part of them. It means, the user
033   *    must publish this part of source,
034   *    but don't need to publish the whole source of the own product.
035   * <li> You can study and modify (improve) this source
036   *    for own using or for redistribution, but you have to license the
037   *    modified sources likewise under this LGPL Lesser General Public License.
038   *    You mustn't delete this Copyright/Copyleft inscription in this source file.
039   * </ol>
040   * If you are intent to use this sources without publishing its usage, you can get
041   * a second license subscribing a special contract with the author. 
042   * 
043   * @author Hartmut Schorrig = hartmut.schorrig@vishia.de
044   * 
045   * 
046   */
047  public final static int version = 20120415;
048
049
050  boolean userKey(int keyCode, String content, int cursorPos, int selectStart, int selectEnd);
051  
052}