001package org.vishia.gral.base; 002 003 004public class GralHtmlBox extends GralWidget 005{ 006 /**Version, history and licence 007 * 008 * <b>Copyright/Copyleft</b>: 009 * For this source the LGPL Lesser General Public License, 010 * published by the Free Software Foundation is valid. 011 * It means: 012 * <ol> 013 * <li> You can use this source without any restriction for any desired purpose. 014 * <li> You can redistribute copies of this source to everybody. 015 * <li> Every user of this source, also the user of redistribute copies 016 * with or without payment, must accept this license for further using. 017 * <li> But the LPGL ist not appropriate for a whole software product, 018 * if this source is only a part of them. It means, the user 019 * must publish this part of source, 020 * but don't need to publish the whole source of the own product. 021 * <li> You can study and modify (improve) this source 022 * for own using or for redistribution, but you have to license the 023 * modified sources likewise under this LGPL Lesser General Public License. 024 * You mustn't delete this Copyright/Copyleft inscription in this source file. 025 * </ol> 026 * If you are indent to use this sources without publishing its usage, you can get 027 * a second license subscribing a special contract with the author. 028 * 029 * @author Hartmut Schorrig = hartmut.schorrig@vishia.de 030 * 031 * 032 */ 033 public final static int version = 0x20120303; 034 035 036 public GralHtmlBox(String name) 037 { super(name, 'h'); 038 } 039 040 public void setUrl(String url){ ((ImplAccess)_wdgImpl).setUrl(url); } 041 042 public void activate(){ ((ImplAccess)_wdgImpl).activate(); } 043 044 045 public abstract static class ImplAccess extends GralWidget.ImplAccess 046 { 047 048 protected ImplAccess(GralHtmlBox gralBox){ 049 super(gralBox); 050 } 051 052 protected abstract void setUrl(String url); 053 054 protected abstract void activate(); 055 056 057 } 058 059 060}