Changed all legal headers of source files. svn changeset:56/svn branch:toolkittags/6.7.0.beta1
@@ -1,47 +1,37 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000,2001,2002 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk; | |||
package com.enably.tk; | |||
import com.itmill.tk.service.ApplicationContext; | |||
import com.itmill.tk.terminal.*; | |||
import com.itmill.tk.ui.AbstractComponent; | |||
import com.itmill.tk.ui.Window; | |||
import com.enably.tk.service.ApplicationContext; | |||
import com.enably.tk.terminal.*; | |||
import com.enably.tk.ui.AbstractComponent; | |||
import com.enably.tk.ui.Window; | |||
import java.util.Collection; | |||
import java.util.Collections; | |||
@@ -60,7 +50,7 @@ import java.net.URL; | |||
/** <p>Abstract base class required for all MillStone applications. This | |||
* class provides all the basic services required by the MillStone | |||
* framework. These services allow external discovery and manipulation of | |||
* the user, {@link com.itmill.tk.ui.Window windows} and | |||
* the user, {@link com.enably.tk.ui.Window windows} and | |||
* themes, and starting and stopping the application.</p> | |||
* | |||
* <p>As mentioned, all MillStone applications must inherit this class. | |||
@@ -76,7 +66,7 @@ import java.net.URL; | |||
* correspond to a URL gotten by catenating the window's name to the | |||
* application URL.</p> | |||
* | |||
* <p>See the class <code>com.itmill.tk.demo.HelloWorld</code> for | |||
* <p>See the class <code>com.enably.tk.demo.HelloWorld</code> for | |||
* a simple example of a fully working MillStone Application.</p> | |||
* | |||
* <p><strong>Window access.</strong> <code>Application</code> provides | |||
@@ -93,7 +83,7 @@ import java.net.URL; | |||
* for a preferred theme. If the window does not prefer a specific theme, | |||
* the application containing the window is queried. If neither the | |||
* application prefers a theme, the default theme for the | |||
* {@link com.itmill.tk.terminal.Terminal terminal} is used. The | |||
* {@link com.enably.tk.terminal.Terminal terminal} is used. The | |||
* terminal always defines a default theme.</p> | |||
* | |||
* @author IT Mill Ltd. | |||
@@ -176,7 +166,7 @@ public abstract class Application | |||
/** Adds a new window to the application. | |||
* | |||
* <p>This implicitly invokes the | |||
* {@link com.itmill.tk.ui.Window#setApplication(Application)} | |||
* {@link com.enably.tk.ui.Window#setApplication(Application)} | |||
* method. </p> | |||
* | |||
* @param window the new <code>Window</code> to add | |||
@@ -475,7 +465,7 @@ public abstract class Application | |||
return "APP/" + key + "/" + filename; | |||
} | |||
/* @see com.itmill.tk.terminal.URIHandler#handleURI(URL, String) | |||
/* @see com.enably.tk.terminal.URIHandler#handleURI(URL, String) | |||
*/ | |||
public DownloadStream handleURI( | |||
URL context, | |||
@@ -740,7 +730,7 @@ public abstract class Application | |||
} | |||
/** | |||
* @see com.itmill.tk.terminal.Terminal.ErrorListener#terminalError(com.itmill.tk.terminal.Terminal.ErrorEvent) | |||
* @see com.enably.tk.terminal.Terminal.ErrorListener#terminalError(com.enably.tk.terminal.Terminal.ErrorEvent) | |||
*/ | |||
public void terminalError(Terminal.ErrorEvent event) { | |||
@@ -1,48 +1,37 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.enably.tk.data; | |||
package com.itmill.tk.data; | |||
import com.itmill.tk.terminal.ErrorMessage; | |||
import com.itmill.tk.terminal.PaintException; | |||
import com.itmill.tk.terminal.PaintTarget; | |||
import com.itmill.tk.terminal.SystemError; | |||
import com.enably.tk.terminal.ErrorMessage; | |||
import com.enably.tk.terminal.PaintException; | |||
import com.enably.tk.terminal.PaintTarget; | |||
import com.enably.tk.terminal.SystemError; | |||
/** <p>Defines the interface to commit and discard changes to an object, | |||
* supporting read-through and write-through modes.</p> | |||
@@ -226,7 +215,7 @@ public interface Buffered { | |||
* <code>ERROR</code> level. Also source exception without any causes | |||
* are of level <code>ERROR</code>. | |||
* | |||
* @see com.itmill.tk.terminal.ErrorMessage#getErrorLevel() | |||
* @see com.enably.tk.terminal.ErrorMessage#getErrorLevel() | |||
*/ | |||
public int getErrorLevel() { | |||
@@ -0,0 +1,49 @@ | |||
/* ************************************************************************* | |||
Enably Toolkit | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.enably.tk.data; | |||
/** <p>This interface defines the combination of Validatable and Buffered interfaces. | |||
* The combination of the interfaces defines if the invalid data is committed to | |||
* datasource.</p> | |||
* | |||
* @author IT Mill Ltd. | |||
* @version @VERSION@ | |||
* @since 3.0 | |||
*/ | |||
public interface BufferedValidatable extends Buffered, Validatable { | |||
/** Is the invalid data committed to datasource. | |||
* The default is false. */ | |||
public boolean isInvalidCommitted(); | |||
/** Set if the invalid data should be committed to datasource. | |||
* The default is false. */ | |||
public void setInvalidCommitted(boolean isCommitted); | |||
} |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
Development of Browser User Intarfaces Made Easy | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
********************************************************************** */ | |||
package com.itmill.tk.data; | |||
package com.enably.tk.data; | |||
import java.util.Collection; | |||
@@ -521,7 +512,7 @@ public interface Container { | |||
* <code>false</code> is returned; the children must be first | |||
* explicitly removed with | |||
* {@link #setParent(Object itemId, Object newParentId)}or | |||
* {@link com.itmill.tk.data.Container#removeItem(Object itemId)}. | |||
* {@link com.enably.tk.data.Container#removeItem(Object itemId)}. | |||
* </p> | |||
* | |||
* <p> |
@@ -1,42 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data; | |||
package com.enably.tk.data; | |||
import java.util.Collection; | |||
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data; | |||
package com.enably.tk.data; | |||
/** Property is a simple data object that contains one typed value. This | |||
* interface contains methods to inspect and modify the stored value and its |
@@ -1,42 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data; | |||
package com.enably.tk.data; | |||
import java.util.Collection; | |||
@@ -47,7 +37,7 @@ import java.util.Collection; | |||
* @author IT Mill Ltd. | |||
* @version @VERSION@ | |||
* @since 3.0 | |||
* @see com.itmill.tk.data.Validator | |||
* @see com.enably.tk.data.Validator | |||
*/ | |||
public interface Validatable { | |||
@@ -1,49 +1,39 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.enably.tk.data; | |||
package com.itmill.tk.data; | |||
import com.itmill.tk.terminal.ErrorMessage; | |||
import com.itmill.tk.terminal.PaintException; | |||
import com.itmill.tk.terminal.PaintTarget; | |||
import com.enably.tk.terminal.ErrorMessage; | |||
import com.enably.tk.terminal.PaintException; | |||
import com.enably.tk.terminal.PaintTarget; | |||
/** Object validator interface. Implementors of this class can be added to | |||
* any {@link com.itmill.tk.data.Validatable} object to verify | |||
* any {@link com.enably.tk.data.Validatable} object to verify | |||
* its value. The <code>Validatable#isValid(Object)</code> iterates all | |||
* registered <code>Validator</code>s, calling their {@link #validate(Object)} | |||
* methods. <code>validate(Object)</code> should throw the |
@@ -1,46 +1,6 @@ | |||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | |||
<html> | |||
<head> | |||
<!-- | |||
@(#)package.html 1.60 02/08/02 | |||
************************************************************************* | |||
MillStone - Server User Interface Library for Internet Applications | |||
Copyright (C) 2000,2001,2002 IT Mill Ltd | |||
MillStone is a trademark of IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
********************************************************************** */ | |||
--> | |||
</head> | |||
<body bgcolor="white"> |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import java.beans.Introspector; | |||
import java.beans.BeanInfo; | |||
@@ -44,7 +35,7 @@ import java.lang.reflect.Method; | |||
import java.util.Collection; | |||
import java.util.Iterator; | |||
import com.itmill.tk.data.Property; | |||
import com.enably.tk.data.Property; | |||
/** A wrapper class for adding the Item interface to any Java Bean. | |||
* |
@@ -1,42 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import java.util.Collection; | |||
import java.util.Iterator; | |||
@@ -45,12 +35,12 @@ import java.util.Collections; | |||
import java.util.Hashtable; | |||
import java.util.HashSet; | |||
import com.itmill.tk.data.Container; | |||
import com.itmill.tk.data.Item; | |||
import com.itmill.tk.data.Property; | |||
import com.enably.tk.data.Container; | |||
import com.enably.tk.data.Item; | |||
import com.enably.tk.data.Property; | |||
/** <p>A wrapper class for adding external hierarchy to containers not | |||
* implementing the {@link com.itmill.tk.data.Container.Hierarchical} | |||
* implementing the {@link com.enably.tk.data.Container.Hierarchical} | |||
* interface.</p> | |||
* | |||
* <p>If the wrapped container is changed directly (that is, not through | |||
@@ -278,7 +268,7 @@ public class ContainerHierarchicalWrapper | |||
* <code>areChildrenAllowed</code> is false this method fails and | |||
* <code>false</code> is returned; the children must be first explicitly | |||
* removed with {@link #setParent(Object itemId, Object newParentId)} or | |||
* {@link com.itmill.tk.data.Container#removeItem(Object itemId)}.</p> | |||
* {@link com.enably.tk.data.Container#removeItem(Object itemId)}.</p> | |||
* | |||
* @param itemId ID of the Item in the container whose child | |||
* capability is to be set |
@@ -1,54 +1,44 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import java.util.Collection; | |||
import java.util.Iterator; | |||
import java.util.LinkedList; | |||
import java.util.Hashtable; | |||
import com.itmill.tk.data.Container; | |||
import com.itmill.tk.data.Item; | |||
import com.itmill.tk.data.Property; | |||
import com.enably.tk.data.Container; | |||
import com.enably.tk.data.Item; | |||
import com.enably.tk.data.Property; | |||
/** <p>A wrapper class for adding external ordering to containers not | |||
* implementing the {@link com.itmill.tk.data.Container.Ordered} | |||
* implementing the {@link com.enably.tk.data.Container.Ordered} | |||
* interface.</p> | |||
* | |||
* <p>If the wrapped container is changed directly (that is, not through | |||
@@ -457,7 +447,7 @@ public class ContainerOrderedWrapper | |||
listener); | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container.Ordered#addItemAfter(Object, Object) | |||
* @see com.enably.tk.data.Container.Ordered#addItemAfter(Object, Object) | |||
*/ | |||
public Item addItemAfter(Object previousItemId, Object newItemId) | |||
throws UnsupportedOperationException { | |||
@@ -477,7 +467,7 @@ public class ContainerOrderedWrapper | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container.Ordered#addItemAfter(Object) | |||
* @see com.enably.tk.data.Container.Ordered#addItemAfter(Object) | |||
*/ | |||
public Object addItemAfter(Object previousItemId) | |||
throws UnsupportedOperationException { |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import java.util.ArrayList; | |||
import java.util.Arrays; | |||
@@ -50,11 +41,11 @@ import java.io.FilenameFilter; | |||
import java.io.IOException; | |||
import java.lang.reflect.Method; | |||
import com.itmill.tk.data.Container; | |||
import com.itmill.tk.data.Item; | |||
import com.itmill.tk.data.Property; | |||
import com.itmill.tk.service.FileTypeResolver; | |||
import com.itmill.tk.terminal.Resource; | |||
import com.enably.tk.data.Container; | |||
import com.enably.tk.data.Item; | |||
import com.enably.tk.data.Property; | |||
import com.enably.tk.service.FileTypeResolver; | |||
import com.enably.tk.terminal.Resource; | |||
/** A hierarchical container wrapper for a filesystem. | |||
* | |||
@@ -627,7 +618,7 @@ public class FilesystemContainer implements Container.Hierarchical { | |||
} | |||
/** Filesystem container does not support adding new properties. | |||
* @see com.itmill.tk.data.Item#addItemProperty(Object, Property) | |||
* @see com.enably.tk.data.Item#addItemProperty(Object, Property) | |||
*/ | |||
public boolean addItemProperty(Object id, Property property) | |||
throws UnsupportedOperationException { | |||
@@ -637,7 +628,7 @@ public class FilesystemContainer implements Container.Hierarchical { | |||
} | |||
/** Filesystem container does not support removing properties. | |||
* @see com.itmill.tk.data.Item#removeItemProperty(Object) | |||
* @see com.enably.tk.data.Item#removeItemProperty(Object) | |||
*/ | |||
public boolean removeItemProperty(Object id) | |||
throws UnsupportedOperationException { | |||
@@ -710,7 +701,7 @@ public class FilesystemContainer implements Container.Hierarchical { | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#addContainerProperty(Object, Class, Object) | |||
* @see com.enably.tk.data.Container#addContainerProperty(Object, Class, Object) | |||
*/ | |||
public boolean addContainerProperty( | |||
Object propertyId, | |||
@@ -721,28 +712,28 @@ public class FilesystemContainer implements Container.Hierarchical { | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#addItem() | |||
* @see com.enably.tk.data.Container#addItem() | |||
*/ | |||
public Object addItem() throws UnsupportedOperationException { | |||
throw new UnsupportedOperationException("File system container does not support this operation"); | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#addItem(Object) | |||
* @see com.enably.tk.data.Container#addItem(Object) | |||
*/ | |||
public Item addItem(Object itemId) throws UnsupportedOperationException { | |||
throw new UnsupportedOperationException("File system container does not support this operation"); | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#removeAllItems() | |||
* @see com.enably.tk.data.Container#removeAllItems() | |||
*/ | |||
public boolean removeAllItems() throws UnsupportedOperationException { | |||
throw new UnsupportedOperationException("File system container does not support this operation"); | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#removeItem(Object) | |||
* @see com.enably.tk.data.Container#removeItem(Object) | |||
*/ | |||
public boolean removeItem(Object itemId) | |||
throws UnsupportedOperationException { | |||
@@ -750,7 +741,7 @@ public class FilesystemContainer implements Container.Hierarchical { | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#removeContainerProperty(Object) | |||
* @see com.enably.tk.data.Container#removeContainerProperty(Object) | |||
*/ | |||
public boolean removeContainerProperty(Object propertyId) | |||
throws UnsupportedOperationException { |
@@ -1,42 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import java.util.Collection; | |||
import java.util.LinkedList; | |||
@@ -44,8 +34,8 @@ import java.util.Collections; | |||
import java.util.Hashtable; | |||
import java.util.HashSet; | |||
import com.itmill.tk.data.Container; | |||
import com.itmill.tk.data.Item; | |||
import com.enably.tk.data.Container; | |||
import com.enably.tk.data.Item; | |||
/** A specialized Container whose contents can be accessed like it was a | |||
* tree-like structure. | |||
@@ -126,7 +116,7 @@ public class HierarchicalContainer | |||
* <code>areChildrenAllowed</code> is false this method fails and | |||
* <code>false</code> is returned; the children must be first explicitly | |||
* removed with {@link #setParent(Object itemId, Object newParentId)} or | |||
* {@link com.itmill.tk.data.Container#removeItem(Object itemId)}.</p> | |||
* {@link com.enably.tk.data.Container#removeItem(Object itemId)}.</p> | |||
* | |||
* @param itemId ID of the Item in the container whose child | |||
* capability is to be set | |||
@@ -232,7 +222,7 @@ public class HierarchicalContainer | |||
return true; | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#addItem() | |||
* @see com.enably.tk.data.Container#addItem() | |||
*/ | |||
public Object addItem() { | |||
Object id = super.addItem(); | |||
@@ -243,7 +233,7 @@ public class HierarchicalContainer | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#addItem(Object) | |||
* @see com.enably.tk.data.Container#addItem(Object) | |||
*/ | |||
public Item addItem(Object itemId) { | |||
Item item = super.addItem(itemId); | |||
@@ -253,7 +243,7 @@ public class HierarchicalContainer | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#removeAllItems() | |||
* @see com.enably.tk.data.Container#removeAllItems() | |||
*/ | |||
public boolean removeAllItems() { | |||
boolean success = super.removeAllItems(); | |||
@@ -268,7 +258,7 @@ public class HierarchicalContainer | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container#removeItem(Object) | |||
* @see com.enably.tk.data.Container#removeItem(Object) | |||
*/ | |||
public boolean removeItem(Object itemId) { | |||
boolean success = super.removeItem(itemId); |
@@ -1,59 +1,50 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
Development of Browser User Intarfaces Made Easy | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import java.util.*; | |||
import java.lang.reflect.Constructor; | |||
import com.itmill.tk.data.Container; | |||
import com.itmill.tk.data.Item; | |||
import com.itmill.tk.data.Property; | |||
import com.enably.tk.data.Container; | |||
import com.enably.tk.data.Item; | |||
import com.enably.tk.data.Property; | |||
/** | |||
* Indexed container implementation. | |||
* <p> | |||
* A list implementation of the com.itmill.tk.data.Container interface. A | |||
* A list implementation of the com.enably.tk.data.Container interface. A | |||
* list is a ordered collection wherein the user has a precise control over | |||
* where in the list each new Item is inserted. The user may access the Items by | |||
* their integer index (position in the list) or by their Item ID. | |||
* </p> | |||
* | |||
* @see com.itmill.tk.data.Container | |||
* @see com.enably.tk.data.Container | |||
* | |||
* @author IT Mill Ltd. | |||
* @version | |||
@@ -185,7 +176,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
* ID of the Property to retrieve | |||
* @return Property with the given ID or <code>null</code> | |||
* | |||
* @see com.itmill.tk.data.Container#getContainerProperty(Object, | |||
* @see com.enably.tk.data.Container#getContainerProperty(Object, | |||
* Object) | |||
*/ | |||
public Property getContainerProperty(Object itemId, Object propertyId) { | |||
@@ -459,7 +450,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container.Ordered#addItemAfter(Object, | |||
* @see com.enably.tk.data.Container.Ordered#addItemAfter(Object, | |||
* Object) | |||
*/ | |||
public Item addItemAfter(Object previousItemId, Object newItemId) { | |||
@@ -476,7 +467,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container.Ordered#addItemAfter(Object) | |||
* @see com.enably.tk.data.Container.Ordered#addItemAfter(Object) | |||
*/ | |||
public Object addItemAfter(Object previousItemId) { | |||
@@ -516,7 +507,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container.Indexed#addItemAt(int, Object) | |||
* @see com.enably.tk.data.Container.Indexed#addItemAt(int, Object) | |||
*/ | |||
public Item addItemAt(int index, Object newItemId) { | |||
@@ -535,7 +526,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
} | |||
/** | |||
* @see com.itmill.tk.data.Container.Indexed#addItemAt(int) | |||
* @see com.enably.tk.data.Container.Indexed#addItemAt(int) | |||
*/ | |||
public Object addItemAt(int index) { | |||
@@ -817,7 +808,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
/* Internal Item and Property implementations *************************** */ | |||
/* | |||
* A class implementing the com.itmill.tk.data.Item interface to be | |||
* A class implementing the com.enably.tk.data.Item interface to be | |||
* contained in the list. @author IT Mill Ltd. | |||
* | |||
* @version @VERSION@ | |||
@@ -926,7 +917,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
/** | |||
* Indexed container does not support adding new properties. | |||
* | |||
* @see com.itmill.tk.data.Item#addProperty(Object, Property) | |||
* @see com.enably.tk.data.Item#addProperty(Object, Property) | |||
*/ | |||
public boolean addItemProperty(Object id, Property property) | |||
throws UnsupportedOperationException { | |||
@@ -937,7 +928,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
/** | |||
* Indexed container does not support removing properties. | |||
* | |||
* @see com.itmill.tk.data.Item#removeProperty(Object) | |||
* @see com.enably.tk.data.Item#removeProperty(Object) | |||
*/ | |||
public boolean removeItemProperty(Object id) | |||
throws UnsupportedOperationException { | |||
@@ -948,7 +939,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
} | |||
/* | |||
* A class implementing the com.itmill.tk.data.Property interface to be | |||
* A class implementing the com.enably.tk.data.Property interface to be | |||
* contained in the Items contained in the list. @author IT Mill Ltd. | |||
* | |||
* @version @VERSION@ | |||
@@ -1139,7 +1130,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
* | |||
* @param listener | |||
* the new Listener to be registered | |||
* @see com.itmill.tk.data.Property.ValueChangeNotifier#addListener(ValueChangeListener) | |||
* @see com.enably.tk.data.Property.ValueChangeNotifier#addListener(ValueChangeListener) | |||
*/ | |||
public void addListener(Property.ValueChangeListener listener) { | |||
addSinglePropertyChangeListener(propertyId, itemId, listener); | |||
@@ -1150,7 +1141,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
* | |||
* @param listener | |||
* listener to be removed | |||
* @see com.itmill.tk.data.Property.ValueChangeNotifier#removeListener(ValueChangeListener) | |||
* @see com.enably.tk.data.Property.ValueChangeNotifier#removeListener(ValueChangeListener) | |||
*/ | |||
public void removeListener(Property.ValueChangeListener listener) { | |||
removeSinglePropertyChangeListener(propertyId, itemId, listener); | |||
@@ -1165,7 +1156,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
/* | |||
* (non-Javadoc) | |||
* | |||
* @see com.itmill.tk.data.Container.Sortable#sort(java.lang.Object[], | |||
* @see com.enably.tk.data.Container.Sortable#sort(java.lang.Object[], | |||
* boolean[]) | |||
*/ | |||
public synchronized void sort(Object[] propertyId, boolean[] ascending) { | |||
@@ -1201,7 +1192,7 @@ public class IndexedContainer implements Container, Container.Indexed, | |||
/* | |||
* (non-Javadoc) | |||
* | |||
* @see com.itmill.tk.data.Container.Sortable#getSortableContainerPropertyIds() | |||
* @see com.enably.tk.data.Container.Sortable#getSortableContainerPropertyIds() | |||
*/ | |||
public Collection getSortableContainerPropertyIds() { | |||
@@ -1,48 +1,39 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import java.lang.reflect.InvocationTargetException; | |||
import java.lang.reflect.Method; | |||
import java.lang.reflect.Constructor; | |||
import java.util.LinkedList; | |||
import com.itmill.tk.data.Property; | |||
import com.enably.tk.data.Property; | |||
/** <p>Proxy class for creating Properties from pairs of getter and setter | |||
* methods of a Bean property. An instance of this class can be thought as |
@@ -1,50 +1,41 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import com.itmill.tk.data.Property; | |||
import com.enably.tk.data.Property; | |||
import java.lang.reflect.Constructor; | |||
import java.util.LinkedList; | |||
/** A simple data object containing one typed value. This class is a | |||
* straightforward implementation of the the | |||
* {@link com.itmill.tk.data.Property} interface. | |||
* {@link com.enably.tk.data.Property} interface. | |||
* | |||
* @author IT Mill Ltd. | |||
* @version @VERSION@ |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
Development of Browser User Intarfaces Made Easy | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
********************************************************************** */ | |||
package com.itmill.tk.data.util; | |||
package com.enably.tk.data.util; | |||
import java.util.Collection; | |||
import java.util.Collections; | |||
@@ -44,8 +35,8 @@ import java.util.HashMap; | |||
import java.util.Iterator; | |||
import java.util.LinkedList; | |||
import com.itmill.tk.data.Item; | |||
import com.itmill.tk.data.Property; | |||
import com.enably.tk.data.Item; | |||
import com.enably.tk.data.Property; | |||
/** | |||
* Class for handling a set of identified Properties. The elements contained in |
@@ -0,0 +1,37 @@ | |||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | |||
<html> | |||
<head> | |||
</head> | |||
<body bgcolor="white"> | |||
<p>Provides various utility classes that implement the MillStone data layer | |||
functionality.</p> | |||
<p>The first {@link org.millstone.base.data.Property Property} class, | |||
{@link org.millstone.base.data.util.ObjectProperty ObjectProperty}, provides | |||
a simple class containing a typed data value. The second, | |||
{@link org.millstone.base.data.util.MethodProperty MethodProperty}, provides | |||
a way to bind a field of an object to the Property interface using the | |||
accessor methods for the field.</p> | |||
<p>The next level of the MillStone data layer, the | |||
{@link org.millstone.base.data.Item Item}, is implemented by | |||
{@link org.millstone.base.data.util.BeanItem BeanItem}, though it is only a | |||
simple wrapper to the former to provide the Item interface for any regular | |||
Java Bean.</p> | |||
<p>The third level, the {@link org.millstone.base.data.Container Container}, | |||
has several implementations in the {@link org.millstone.base.data.util} | |||
package.</p> | |||
<!-- <h2>Package Specification</h2> --> | |||
<!-- Package spec here --> | |||
<!-- Put @see and @since tags down here. --> | |||
</body> | |||
</html> |
@@ -1,48 +1,39 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.validator; | |||
package com.enably.tk.data.validator; | |||
import java.util.Collection; | |||
import java.util.HashSet; | |||
import java.util.Iterator; | |||
import java.util.LinkedList; | |||
import com.itmill.tk.data.*; | |||
import com.enably.tk.data.*; | |||
/** Composite validator. | |||
* |
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.validator; | |||
package com.enably.tk.data.validator; | |||
import com.itmill.tk.data.*; | |||
import com.enably.tk.data.*; | |||
/* This validator is used for validating properties that |
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.data.validator; | |||
package com.enably.tk.data.validator; | |||
import com.itmill.tk.data.*; | |||
import com.enably.tk.data.*; | |||
/** |
@@ -0,0 +1,20 @@ | |||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | |||
<html> | |||
<head> | |||
</head> | |||
<body bgcolor="white"> | |||
<!-- Package summary here --> | |||
<p>Provides validators for data contained in data-bound objects..</p> | |||
<!-- <h2>Package Specification</h2> --> | |||
<!-- Package spec here --> | |||
<!-- Put @see and @since tags down here. --> | |||
</body> | |||
</html> |
@@ -1,6 +1,6 @@ | |||
package com.itmill.tk.demo; | |||
package com.enably.tk.demo; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
/** <p>An example application implementing a simple web-based calculator. | |||
* using the MillStone UI library. The application opens up a window and | |||
@@ -11,11 +11,11 @@ import com.itmill.tk.ui.*; | |||
* button was pressed, figures what that button does, and updates the user | |||
* interface accordingly.</p> | |||
* | |||
* @see com.itmill.tk.Application | |||
* @see com.itmill.tk.ui.Button.ClickListener | |||
* @see com.enably.tk.Application | |||
* @see com.enably.tk.ui.Button.ClickListener | |||
*/ | |||
public class Calc | |||
extends com.itmill.tk.Application | |||
extends com.enably.tk.Application | |||
implements Button.ClickListener { | |||
/** The label used as the display */ | |||
@@ -45,7 +45,7 @@ public class Calc | |||
public void init() { | |||
/* | |||
* Create a new {@link com.itmill.tk.ui.GridLayout GridLayout} | |||
* Create a new {@link com.enably.tk.ui.GridLayout GridLayout} | |||
* to hold the UI components needed by the calculator. | |||
*/ | |||
GridLayout layout = new GridLayout(4, 5); | |||
@@ -112,7 +112,3 @@ public class Calc | |||
} | |||
} | |||
} | |||
/* This Millstone sample code is public domain. * | |||
* For more information see www.millstone.org. */ | |||
@@ -1,11 +1,11 @@ | |||
package com.itmill.tk.demo; | |||
package com.enably.tk.demo; | |||
import java.io.*; | |||
import java.util.*; | |||
import java.lang.ref.WeakReference; | |||
import com.itmill.tk.terminal.StreamResource; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.terminal.StreamResource; | |||
import com.enably.tk.ui.*; | |||
/** Chat example application. | |||
* | |||
@@ -20,13 +20,13 @@ import com.itmill.tk.ui.*; | |||
* </ul> | |||
* </p> | |||
* | |||
* @see com.itmill.tk.Application | |||
* @see com.itmill.tk.ui.FrameWindow | |||
* @see com.itmill.tk.terminal.StreamResource | |||
* @see com.enably.tk.Application | |||
* @see com.enably.tk.ui.FrameWindow | |||
* @see com.enably.tk.terminal.StreamResource | |||
*/ | |||
public class Chat | |||
extends com.itmill.tk.Application | |||
extends com.enably.tk.Application | |||
implements StreamResource.StreamSource, Button.ClickListener { | |||
/** Linked list of Chat applications who participate the discussion */ | |||
@@ -294,5 +294,3 @@ public class Chat | |||
} | |||
} | |||
/* This Millstone sample code is public domain. * | |||
* For more information see www.millstone.org. */ |
@@ -1,21 +1,21 @@ | |||
package com.itmill.tk.demo; | |||
package com.enably.tk.demo; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
/** The classic "hello, world!" example for the MillStone framework. The | |||
* class simply implements the abstract | |||
* {@link com.itmill.tk.Application#init() init()} method | |||
* {@link com.enably.tk.Application#init() init()} method | |||
* in which it creates a Window and adds a Label to it. | |||
* | |||
* @author IT Mill Ltd. | |||
* @see com.itmill.tk.Application | |||
* @see com.itmill.tk.ui.Window | |||
* @see com.itmill.tk.ui.Label | |||
* @see com.enably.tk.Application | |||
* @see com.enably.tk.ui.Window | |||
* @see com.enably.tk.ui.Label | |||
*/ | |||
public class HelloWorld extends com.itmill.tk.Application { | |||
public class HelloWorld extends com.enably.tk.Application { | |||
/** The initialization method that is the only requirement for | |||
* inheriting the com.itmill.tk.service.Application class. It will | |||
* inheriting the com.enably.tk.service.Application class. It will | |||
* be automatically called by the framework when a user accesses the | |||
* application. | |||
*/ | |||
@@ -41,6 +41,3 @@ public class HelloWorld extends com.itmill.tk.Application { | |||
*/ | |||
} | |||
} | |||
/* This Millstone sample code is public domain. * | |||
* For more information see www.millstone.org. */ |
@@ -1,16 +1,16 @@ | |||
package com.itmill.tk.demo; | |||
package com.enably.tk.demo; | |||
import com.itmill.tk.Application; | |||
import com.itmill.tk.data.*; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.Application; | |||
import com.enably.tk.data.*; | |||
import com.enably.tk.ui.*; | |||
/** <p>Example application demonstrating simple user login.</p> | |||
* | |||
* @author IT Mill Ltd. | |||
* @see com.itmill.tk.service.Application | |||
* @see com.itmill.tk.ui.Window | |||
* @see com.itmill.tk.ui.TextField | |||
* @see com.itmill.tk.ui.Button | |||
* @see com.enably.tk.service.Application | |||
* @see com.enably.tk.ui.Window | |||
* @see com.enably.tk.ui.TextField | |||
* @see com.enably.tk.ui.Button | |||
*/ | |||
public class Login | |||
extends Application | |||
@@ -134,6 +134,3 @@ public class Login | |||
} | |||
} | |||
} | |||
/* This Millstone sample code is public domain. * | |||
* For more information see www.millstone.org. */ |
@@ -1,45 +1,36 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.terminal.ClassResource; | |||
import com.itmill.tk.terminal.Resource; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.terminal.ClassResource; | |||
import com.enably.tk.terminal.Resource; | |||
import com.enably.tk.ui.*; | |||
public class Feature extends CustomComponent { | |||
@@ -1,48 +1,39 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.util.Iterator; | |||
import java.util.StringTokenizer; | |||
import com.itmill.tk.data.*; | |||
import com.itmill.tk.terminal.ClassResource; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.data.*; | |||
import com.enably.tk.terminal.ClassResource; | |||
import com.enably.tk.ui.*; | |||
public class FeatureBrowser | |||
extends CustomComponent |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
public class FeatureBuffering extends Feature { | |||
protected String getExampleSrc() { | |||
@@ -46,7 +37,7 @@ public class FeatureBuffering extends Feature { | |||
return "Buffering"; | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getDescriptionXHTML() | |||
* @see com.enably.tk.demo.features.Feature#getDescriptionXHTML() | |||
*/ | |||
protected String getDescriptionXHTML() { | |||
return "<p>Millstone data model provides interface for implementing " | |||
@@ -68,7 +59,7 @@ public class FeatureBuffering extends Feature { | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getImage() | |||
* @see com.enably.tk.demo.features.Feature#getImage() | |||
*/ | |||
protected String getImage() { | |||
return "buffering.jpg"; |
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2002 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeatureButton extends Feature { | |||
@@ -75,7 +66,7 @@ public class FeatureButton extends Feature { | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getDescriptionXHTML() | |||
* @see com.enably.tk.demo.features.Feature#getDescriptionXHTML() | |||
*/ | |||
protected String getDescriptionXHTML() { | |||
return "In Millstone, boolean input values are represented by buttons. " |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
public class FeatureContainers extends Feature { | |||
@@ -1,47 +1,38 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.net.MalformedURLException; | |||
import java.net.URL; | |||
import com.itmill.tk.terminal.ExternalResource; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.terminal.ExternalResource; | |||
import com.enably.tk.ui.*; | |||
public class FeatureCustomLayout extends Feature { | |||
@@ -1,47 +1,38 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.util.Locale; | |||
import com.itmill.tk.data.util.IndexedContainer; | |||
import com.itmill.tk.data.util.MethodProperty; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.data.util.IndexedContainer; | |||
import com.enably.tk.data.util.MethodProperty; | |||
import com.enably.tk.ui.*; | |||
public class FeatureDateField extends Feature { | |||
@@ -1,45 +1,36 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.terminal.ClassResource; | |||
import com.itmill.tk.terminal.Sizeable; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.terminal.ClassResource; | |||
import com.enably.tk.terminal.Sizeable; | |||
import com.enably.tk.ui.*; | |||
public class FeatureEmbedded extends Feature { | |||
@@ -1,46 +1,37 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.util.Date; | |||
import com.itmill.tk.data.Property; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.data.Property; | |||
import com.enably.tk.ui.*; | |||
public class FeatureForm | |||
extends Feature |
@@ -1,47 +1,38 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.util.HashMap; | |||
import java.util.List; | |||
import com.itmill.tk.ui.*; | |||
import com.itmill.tk.ui.Button.ClickEvent; | |||
import com.enably.tk.ui.*; | |||
import com.enably.tk.ui.Button.ClickEvent; | |||
public class FeatureFrameWindow | |||
extends Feature |
@@ -1,45 +1,36 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.util.Date; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeatureGridLayout extends Feature { | |||
@@ -82,7 +73,7 @@ public class FeatureGridLayout extends Feature { | |||
+ "gl.addComponent(new Label(\"Label 4 in GridLayout\"));\n"; | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getDescriptionXHTML() | |||
* @see com.enably.tk.demo.features.Feature#getDescriptionXHTML() | |||
*/ | |||
protected String getDescriptionXHTML() { | |||
return "<p>This feature provides a container that lays out components " |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
public class FeatureItems extends Feature { | |||
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeatureLabel extends Feature { | |||
@@ -83,7 +74,7 @@ public class FeatureLabel extends Feature { | |||
return "Label l = new Label(\"Caption\");\n"; | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getDescriptionXHTML() | |||
* @see com.enably.tk.demo.features.Feature#getDescriptionXHTML() | |||
*/ | |||
protected String getDescriptionXHTML() { | |||
return "Labels components are for captions and plain text. " |
@@ -1,44 +1,35 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.terminal.ExternalResource; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.terminal.ExternalResource; | |||
import com.enably.tk.ui.*; | |||
public class FeatureLink extends Feature { | |||
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeatureOrderedLayout extends Feature { | |||
@@ -85,7 +76,7 @@ public class FeatureOrderedLayout extends Feature { | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getDescriptionXHTML() | |||
* @see com.enably.tk.demo.features.Feature#getDescriptionXHTML() | |||
*/ | |||
protected String getDescriptionXHTML() { | |||
return "This feature provides a container for laying out components either " |
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeaturePanel extends Feature { | |||
@@ -1,51 +1,42 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.net.URL; | |||
import java.util.Iterator; | |||
import java.util.Map; | |||
import com.itmill.tk.terminal.DownloadStream; | |||
import com.itmill.tk.terminal.ExternalResource; | |||
import com.itmill.tk.terminal.ParameterHandler; | |||
import com.itmill.tk.terminal.URIHandler; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.terminal.DownloadStream; | |||
import com.enably.tk.terminal.ExternalResource; | |||
import com.enably.tk.terminal.ParameterHandler; | |||
import com.enably.tk.terminal.URIHandler; | |||
import com.enably.tk.ui.*; | |||
public class FeatureParameters | |||
extends Feature | |||
@@ -120,7 +111,7 @@ public class FeatureParameters | |||
} | |||
/** Add URI and parametes handlers to window. | |||
* @see com.itmill.tk.ui.Component#attach() | |||
* @see com.enably.tk.ui.Component#attach() | |||
*/ | |||
public void attach() { | |||
super.attach(); | |||
@@ -129,7 +120,7 @@ public class FeatureParameters | |||
} | |||
/** Remove all handlers from window | |||
* @see com.itmill.tk.ui.Component#detach() | |||
* @see com.enably.tk.ui.Component#detach() | |||
*/ | |||
public void detach() { | |||
super.detach(); | |||
@@ -138,7 +129,7 @@ public class FeatureParameters | |||
} | |||
/** Update URI | |||
* @see com.itmill.tk.terminal.URIHandler#handleURI(URL, String) | |||
* @see com.enably.tk.terminal.URIHandler#handleURI(URL, String) | |||
*/ | |||
public DownloadStream handleURI(URL context, String relativeUri) { | |||
this.context.setValue(context.toString()); | |||
@@ -147,7 +138,7 @@ public class FeatureParameters | |||
} | |||
/** Update parameters table | |||
* @see com.itmill.tk.terminal.ParameterHandler#handleParameters(Map) | |||
* @see com.enably.tk.terminal.ParameterHandler#handleParameters(Map) | |||
*/ | |||
public void handleParameters(Map parameters) { | |||
params.removeAllItems(); |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
public class FeatureProperties extends Feature { | |||
@@ -70,7 +61,7 @@ public class FeatureProperties extends Feature { | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getImage() | |||
* @see com.enably.tk.demo.features.Feature#getImage() | |||
*/ | |||
protected String getImage() { | |||
return "properties.jpg"; |
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeatureSelect extends Feature { | |||
@@ -80,7 +71,7 @@ public class FeatureSelect extends Feature { | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getDescriptionXHTML() | |||
* @see com.enably.tk.demo.features.Feature#getDescriptionXHTML() | |||
*/ | |||
protected String getDescriptionXHTML() { | |||
return "The select component combines two different modes of item selection. " |
@@ -1,47 +1,38 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.net.MalformedURLException; | |||
import java.net.URL; | |||
import com.itmill.tk.terminal.ExternalResource; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.terminal.ExternalResource; | |||
import com.enably.tk.ui.*; | |||
public class FeatureServerEvents extends Feature { | |||
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeatureTabSheet extends Feature { | |||
@@ -1,44 +1,35 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.event.Action; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.event.Action; | |||
import com.enably.tk.ui.*; | |||
public class FeatureTable extends Feature implements Action.Handler { | |||
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeatureTextField extends Feature { | |||
@@ -79,7 +70,7 @@ public class FeatureTextField extends Feature { | |||
+ "tf.setValue(\"Contents\");"; | |||
} | |||
/** | |||
* @see com.itmill.tk.demo.features.Feature#getDescriptionXHTML() | |||
* @see com.enably.tk.demo.features.Feature#getDescriptionXHTML() | |||
*/ | |||
protected String getDescriptionXHTML() { | |||
return "<p>Millstone combines the logic of both the single line text-entry field and the multi-line " |
@@ -1,46 +1,37 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.util.Iterator; | |||
import com.itmill.tk.event.Action; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.event.Action; | |||
import com.enably.tk.ui.*; | |||
public class FeatureTree extends Feature implements Action.Handler { | |||
@@ -1,55 +1,46 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.io.ByteArrayInputStream; | |||
import java.io.ByteArrayOutputStream; | |||
import java.io.InputStream; | |||
import java.io.OutputStream; | |||
import com.itmill.tk.terminal.StreamResource; | |||
import com.itmill.tk.ui.Component; | |||
import com.itmill.tk.ui.Label; | |||
import com.itmill.tk.ui.Link; | |||
import com.itmill.tk.ui.OrderedLayout; | |||
import com.itmill.tk.ui.Panel; | |||
import com.itmill.tk.ui.Upload; | |||
import com.itmill.tk.ui.Upload.FinishedEvent; | |||
import com.enably.tk.terminal.StreamResource; | |||
import com.enably.tk.ui.Component; | |||
import com.enably.tk.ui.Label; | |||
import com.enably.tk.ui.Link; | |||
import com.enably.tk.ui.OrderedLayout; | |||
import com.enably.tk.ui.Panel; | |||
import com.enably.tk.ui.Upload; | |||
import com.enably.tk.ui.Upload.FinishedEvent; | |||
public class FeatureUpload | |||
extends Feature | |||
@@ -159,7 +150,7 @@ public class FeatureUpload | |||
} | |||
/** | |||
* @see com.itmill.tk.ui.Upload.Receiver#receiveUpload(String, String) | |||
* @see com.enably.tk.ui.Upload.Receiver#receiveUpload(String, String) | |||
*/ | |||
public OutputStream receiveUpload(String filename, String MIMEType) { | |||
fileName = filename; |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
public class FeatureValidators extends Feature { | |||
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.ui.*; | |||
public class FeatureWindow extends Feature { | |||
Button addButton = new Button("Add to application", this, "addWin"); |
@@ -0,0 +1,41 @@ | |||
/* ************************************************************************* | |||
Enably Toolkit | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.enably.tk.demo.features; | |||
import com.enably.tk.ui.*; | |||
public class FeaturesApplication | |||
extends com.enably.tk.Application { | |||
public void init() { | |||
Window main = new Window("Millstone Features Tour"); | |||
setMainWindow(main); | |||
main.addComponent(new FeatureBrowser()); | |||
} | |||
} |
@@ -1,42 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000,2001,2002 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.demo.features; | |||
package com.enably.tk.demo.features; | |||
import java.beans.BeanInfo; | |||
import java.beans.IntrospectionException; | |||
@@ -47,10 +37,10 @@ import java.util.HashSet; | |||
import java.util.Iterator; | |||
import java.util.LinkedList; | |||
import com.itmill.tk.data.*; | |||
import com.itmill.tk.data.util.*; | |||
import com.itmill.tk.terminal.*; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.data.*; | |||
import com.enably.tk.data.util.*; | |||
import com.enably.tk.terminal.*; | |||
import com.enably.tk.ui.*; | |||
public class PropertyPanel | |||
extends Panel |
@@ -0,0 +1,45 @@ | |||
/* ************************************************************************* | |||
Enably Toolkit | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.enably.tk.demo.features; | |||
public class UIComponents extends Feature { | |||
protected String getDescriptionXHTML() { | |||
return ""; | |||
} | |||
protected String getImage() { | |||
return "ui-components.gif"; | |||
} | |||
protected String getTitle() { | |||
return ""; | |||
} | |||
} |
@@ -1,12 +1,12 @@ | |||
package com.itmill.tk.demo.gogame; | |||
package com.enably.tk.demo.gogame; | |||
import java.util.Map; | |||
import java.util.NoSuchElementException; | |||
import java.util.StringTokenizer; | |||
import com.itmill.tk.terminal.PaintException; | |||
import com.itmill.tk.terminal.PaintTarget; | |||
import com.itmill.tk.ui.AbstractComponent; | |||
import com.enably.tk.terminal.PaintException; | |||
import com.enably.tk.terminal.PaintTarget; | |||
import com.enably.tk.ui.AbstractComponent; | |||
public class Board extends AbstractComponent implements Game.Listener { | |||
@@ -105,6 +105,3 @@ public class Board extends AbstractComponent implements Game.Listener { | |||
requestRepaint(); | |||
} | |||
} | |||
/* This Millstone sample code is public domain. * | |||
* For more information see www.millstone.org. */ |
@@ -1,4 +1,4 @@ | |||
package com.itmill.tk.demo.gogame; | |||
package com.enably.tk.demo.gogame; | |||
import java.util.Iterator; | |||
import java.util.LinkedList; | |||
@@ -221,6 +221,3 @@ public class Game { | |||
return captured[BLACK]; | |||
} | |||
} | |||
/* This Millstone sample code is public domain. * | |||
* For more information see www.millstone.org. */ |
@@ -1,16 +1,16 @@ | |||
package com.itmill.tk.demo.gogame; | |||
package com.enably.tk.demo.gogame; | |||
import com.itmill.tk.Application; | |||
import com.itmill.tk.data.Item; | |||
import com.itmill.tk.data.Property; | |||
import com.itmill.tk.data.util.IndexedContainer; | |||
import com.itmill.tk.event.*; | |||
import com.itmill.tk.ui.*; | |||
import com.enably.tk.Application; | |||
import com.enably.tk.data.Item; | |||
import com.enably.tk.data.Property; | |||
import com.enably.tk.data.util.IndexedContainer; | |||
import com.enably.tk.event.*; | |||
import com.enably.tk.ui.*; | |||
/** The classic game 'Go' as an example for the Millstone framework. | |||
* | |||
* @author IT Mill Ltd. | |||
* @see com.itmill.tk.Application | |||
* @see com.enably.tk.Application | |||
*/ | |||
public class Go | |||
extends Application | |||
@@ -48,7 +48,7 @@ public class Go | |||
private Board board = null; | |||
/** The initialization method that is the only requirement for | |||
* inheriting the com.itmill.tk.service.Application class. It will | |||
* inheriting the com.enably.tk.service.Application class. It will | |||
* be automatically called by the framework when a user accesses the | |||
* application. | |||
* We'll initialize our components here. | |||
@@ -118,7 +118,7 @@ public class Go | |||
/** Implementing the Action.Handler interface - this function returns | |||
* the available actions. | |||
* @see com.itmill.tk.event.Action.Handler | |||
* @see com.enably.tk.event.Action.Handler | |||
*/ | |||
public Action[] getActions(Object target, Object source) { | |||
Property p = players.getContainerProperty(target, "Current game"); | |||
@@ -135,7 +135,7 @@ public class Go | |||
/** Implementing the Action.Handler interface - this function handles | |||
* the specified action. | |||
* @see com.itmill.tk.event.Action.Handler | |||
* @see com.enably.tk.event.Action.Handler | |||
*/ | |||
public void handleAction(Action action, Object sender, Object target) { | |||
if (action == challengeAction) { | |||
@@ -154,7 +154,7 @@ public class Go | |||
/** Implementing the Property.ValueChangeListener interface - this function | |||
* is called when a value change event occurs. | |||
* @see com.itmill.tk.data.Property.ValueChangeListener | |||
* @see com.enably.tk.data.Property.ValueChangeListener | |||
*/ | |||
public void valueChange(Property.ValueChangeEvent event) { | |||
if (board != null) | |||
@@ -166,6 +166,3 @@ public class Go | |||
} | |||
} | |||
} | |||
/* This Millstone sample code is public domain. * | |||
* For more information see www.millstone.org. */ |
@@ -0,0 +1,33 @@ | |||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | |||
<html> | |||
<head> | |||
</head> | |||
<body bgcolor="white"> | |||
<!-- Package summary here --> | |||
<p>Provides several fully functional MillStone example applications. These | |||
highlight certain aspects of the MillStone framework and how it can be | |||
exploited to produce simple, elegant yet powerful user interface driven | |||
applications.</p> | |||
<p><ul> | |||
<li><strong>HelloWorld</strong> is the classic example which only prints the | |||
text "Hello, World!" on the screen. | |||
<li><strong>LoginExample</strong> is almost as simple as HelloWorld. It | |||
demonstrates how to use the optional login procedure available to MillStone | |||
applications. | |||
<li><strong>Calc</strong> implements a calculator application which | |||
demonstrates how to build a bit more complicated user interface and how the | |||
application can interact with the usern through that interface. | |||
</u></p> | |||
<!-- <h2>Package Specification</h2> --> | |||
<!-- Package spec here --> | |||
<!-- Put @see and @since tags down here. --> | |||
</body> | |||
</html> |
@@ -1,20 +1,21 @@ | |||
package com.itmill.tk.demo.table; | |||
import com.itmill.tk.Application; | |||
import com.itmill.tk.event.Action; | |||
import com.itmill.tk.terminal.ExternalResource; | |||
import com.itmill.tk.ui.Button; | |||
import com.itmill.tk.ui.DateField; | |||
import com.itmill.tk.ui.GridLayout; | |||
import com.itmill.tk.ui.Label; | |||
import com.itmill.tk.ui.Link; | |||
import com.itmill.tk.ui.Panel; | |||
import com.itmill.tk.ui.Select; | |||
import com.itmill.tk.ui.TabSheet; | |||
import com.itmill.tk.ui.Table; | |||
import com.itmill.tk.ui.TextField; | |||
import com.itmill.tk.ui.Tree; | |||
import com.itmill.tk.ui.Window; | |||
package com.enably.tk.demo.table; | |||
import com.enably.tk.Application; | |||
import com.enably.tk.event.Action; | |||
import com.enably.tk.terminal.ExternalResource; | |||
import com.enably.tk.ui.Button; | |||
import com.enably.tk.ui.DateField; | |||
import com.enably.tk.ui.GridLayout; | |||
import com.enably.tk.ui.Label; | |||
import com.enably.tk.ui.Link; | |||
import com.enably.tk.ui.Panel; | |||
import com.enably.tk.ui.Select; | |||
import com.enably.tk.ui.TabSheet; | |||
import com.enably.tk.ui.Table; | |||
import com.enably.tk.ui.TextField; | |||
import com.enably.tk.ui.Tree; | |||
import com.enably.tk.ui.Window; | |||
public class TableDemoApplication extends Application implements Action.Handler { |
@@ -1,43 +1,34 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.event; | |||
package com.enably.tk.event; | |||
import com.itmill.tk.terminal.*; | |||
import com.enably.tk.terminal.*; | |||
/** Implements the MillStone action framework. This class contains | |||
* subinterfaces for action handling and listing, and for action handler |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.event; | |||
package com.enably.tk.event; | |||
import java.util.EventObject; | |||
import java.util.LinkedList; | |||
@@ -44,7 +35,7 @@ import java.lang.reflect.Method; | |||
/** Event router class implementing the MillStone inheritable event | |||
* listening model. For more information on the event model see the | |||
* {@link com.itmill.tk.event package documentation}. | |||
* {@link com.enably.tk.event package documentation}. | |||
* | |||
* @author IT Mill Ltd. | |||
* @version @VERSION@ |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.event; | |||
package com.enably.tk.event; | |||
import java.util.EventListener; | |||
import java.util.EventObject; |
@@ -1,41 +1,32 @@ | |||
/* ************************************************************************* | |||
Millstone(TM) | |||
Open Sourced User Interface Library for | |||
Internet Development with Java | |||
Enably Toolkit | |||
Millstone is a registered trademark of IT Mill Ltd | |||
Copyright (C) 2000-2005 IT Mill Ltd | |||
Development of Browser User Intarfaces Made Easy | |||
Copyright (C) 2000-2006 IT Mill Ltd | |||
************************************************************************* | |||
This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | |||
license version 2.1 as published by the Free Software Foundation. | |||
This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
This product is distributed under commercial license that can be found | |||
from the product package on license/license.txt. Use of this product might | |||
require purchasing a commercial license from IT Mill Ltd. For guidelines | |||
on usage, see license/licensing-guidelines.html | |||
************************************************************************* | |||
For more information, contact: | |||
IT Mill Ltd phone: +358 2 4802 7180 | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@itmill.com | |||
Finland company www: www.itmill.com | |||
Ruukinkatu 2-4 fax: +358 2 4802 7181 | |||
20540, Turku email: info@enably.com | |||
Finland company www: www.enably.com | |||
Primary source for MillStone information and releases: www.millstone.org | |||
Primary source for information and releases: www.enably.com | |||
********************************************************************** */ | |||
package com.itmill.tk.event; | |||
package com.enably.tk.event; | |||
import java.lang.reflect.Method; | |||
@@ -44,7 +35,7 @@ import java.lang.reflect.Method; | |||
* | |||
* <p>For more information on the MillStone inheritable event mechanism | |||
* see the | |||
* {@link com.itmill.tk.event com.itmill.tk.event package documentation}.</p> | |||
* {@link com.enably.tk.event com.enably.tk.event package documentation}.</p> | |||
* | |||
* @author IT Mill Ltd. | |||
* @version @VERSION@ | |||
@@ -59,7 +50,7 @@ public interface MethodEventSource { | |||
* | |||
* <p>For more information on the MillStone inheritable event mechanism | |||
* see the | |||
* {@link com.itmill.tk.event com.itmill.tk.event package documentation}.</p> | |||
* {@link com.enably.tk.event com.enably.tk.event package documentation}.</p> | |||
* | |||
* @param eventType type of the listened event. Events of this type or | |||
* its subclasses activate the listener. | |||
@@ -82,7 +73,7 @@ public interface MethodEventSource { | |||
* | |||
* <p>For more information on the MillStone inheritable event mechanism | |||
* see the | |||
* {@link com.itmill.tk.event com.itmill.tk.event package documentation}.</p> | |||
* {@link com.enably.tk.event com.enably.tk.event package documentation}.</p> | |||
* | |||
* @param eventType type of the listened event. Events of this type or | |||
* its subclasses activate the listener. | |||
@@ -101,7 +92,7 @@ public interface MethodEventSource { | |||
* | |||
* <p>For more information on the MillStone inheritable event mechanism | |||
* see the | |||
* {@link com.itmill.tk.event com.itmill.tk.event package documentation}.</p> | |||
* {@link com.enably.tk.event com.enably.tk.event package documentation}.</p> | |||
* | |||
* @param eventType exact event type the <code>object</code> listens to | |||
* @param target target object that has registered to listen to events | |||
@@ -115,7 +106,7 @@ public interface MethodEventSource { | |||
* | |||
* <p>For more information on the MillStone inheritable event mechanism | |||
* see the | |||
* {@link com.itmill.tk.event com.itmill.tk.event package documentation}.</p> | |||
* {@link com.enably.tk.event com.enably.tk.event package documentation}.</p> | |||
* | |||
* @param eventType exact event type the <code>object</code> listens to | |||
* @param target target object that has registered to listen to events | |||
@@ -136,7 +127,7 @@ public interface MethodEventSource { | |||
* | |||
* <p>For more information on the MillStone inheritable event mechanism | |||
* see the | |||
* {@link com.itmill.tk.event com.itmill.tk.event package documentation}.</p> | |||
* {@link com.enably.tk.event com.enably.tk.event package documentation}.</p> | |||
* | |||
* @param eventType exact event type the <code>object</code> listens to | |||
* @param target target object that has registered to listen to events |