001package org.vishia.gral.base;
002
003
004/**This class should only be used for the implementation of the graphic adapter.
005 * It helps to associate a GralWidget to any implementation widget.
006 * @author hartmut Schorrig
007 *
008 */
009public interface GetGralWidget_ifc {
010
011  /**Version, history and licence
012   * 
013   * <b>Copyright/Copyleft</b>:
014   * For this source the LGPL Lesser General Public License,
015   * published by the Free Software Foundation is valid.
016   * It means:
017   * <ol>
018   * <li> You can use this source without any restriction for any desired purpose.
019   * <li> You can redistribute copies of this source to everybody.
020   * <li> Every user of this source, also the user of redistribute copies
021   *    with or without payment, must accept this license for further using.
022   * <li> But the LPGL ist not appropriate for a whole software product,
023   *    if this source is only a part of them. It means, the user
024   *    must publish this part of source,
025   *    but don't need to publish the whole source of the own product.
026   * <li> You can study and modify (improve) this source
027   *    for own using or for redistribution, but you have to license the
028   *    modified sources likewise under this LGPL Lesser General Public License.
029   *    You mustn't delete this Copyright/Copyleft inscription in this source file.
030   * </ol>
031   * If you are indent to use this sources without publishing its usage, you can get
032   * a second license subscribing a special contract with the author. 
033   * 
034   * @author Hartmut Schorrig = hartmut.schorrig@vishia.de
035   * 
036   * 
037   */
038  public final static int version = 0x20120303;
039
040  
041  /**Returns the GralWigdet from the data of the given implementation graphic component. 
042   * In Any graphic implementation a implementation widget may refer untyped user data.
043   * This data may set to the associated instance of GralWidget usually. 
044   * But sometimes other data should be referred and the GralWidget is existent one time for more
045   * as one implementation widgets. The this interface helps. 
046   * */
047  GralWidget getGralWidget();
048}