Browse Source

Moved everything to enably naming to make package homogenous.

Changed all legal headers of source files.

svn changeset:56/svn branch:toolkit
tags/6.7.0.beta1
Joonas Lehtinen 17 years ago
parent
commit
c22e7bf89e
100 changed files with 1130 additions and 1434 deletions
  1. 23
    33
      src/com/enably/tk/Application.java
  2. 18
    29
      src/com/enably/tk/data/Buffered.java
  3. 49
    0
      src/com/enably/tk/data/BufferedValidatable.java
  4. 22
    31
      src/com/enably/tk/data/Container.java
  5. 13
    23
      src/com/enably/tk/data/Item.java
  6. 13
    22
      src/com/enably/tk/data/Property.java
  7. 14
    24
      src/com/enably/tk/data/Validatable.java
  8. 17
    27
      src/com/enably/tk/data/Validator.java
  9. 0
    0
      src/com/enably/tk/data/doc-files/Container_full.gif
  10. 0
    0
      src/com/enably/tk/data/doc-files/Container_simple.gif
  11. 0
    0
      src/com/enably/tk/data/doc-files/Item.gif
  12. 0
    0
      src/com/enably/tk/data/doc-files/Property.gif
  13. 0
    0
      src/com/enably/tk/data/doc-files/datalayer.gif
  14. 0
    40
      src/com/enably/tk/data/package.html
  15. 14
    23
      src/com/enably/tk/data/util/BeanItem.java
  16. 18
    28
      src/com/enably/tk/data/util/ContainerHierarchicalWrapper.java
  17. 19
    29
      src/com/enably/tk/data/util/ContainerOrderedWrapper.java
  18. 26
    35
      src/com/enably/tk/data/util/FilesystemContainer.java
  19. 20
    30
      src/com/enably/tk/data/util/HierarchicalContainer.java
  20. 39
    48
      src/com/enably/tk/data/util/IndexedContainer.java
  21. 14
    23
      src/com/enably/tk/data/util/MethodProperty.java
  22. 15
    24
      src/com/enably/tk/data/util/ObjectProperty.java
  23. 23
    32
      src/com/enably/tk/data/util/PropertysetItem.java
  24. 37
    0
      src/com/enably/tk/data/util/package.html
  25. 15
    24
      src/com/enably/tk/data/validator/CompositeValidator.java
  26. 15
    24
      src/com/enably/tk/data/validator/NullValidator.java
  27. 14
    23
      src/com/enably/tk/data/validator/StringLengthValidator.java
  28. 20
    0
      src/com/enably/tk/data/validator/package.html
  29. 6
    10
      src/com/enably/tk/demo/Calc.java
  30. 7
    9
      src/com/enably/tk/demo/Chat.java
  31. 8
    11
      src/com/enably/tk/demo/HelloWorld.java
  32. 8
    11
      src/com/enably/tk/demo/Login.java
  33. 16
    25
      src/com/enably/tk/demo/features/Feature.java
  34. 16
    25
      src/com/enably/tk/demo/features/FeatureBrowser.java
  35. 15
    24
      src/com/enably/tk/demo/features/FeatureBuffering.java
  36. 15
    24
      src/com/enably/tk/demo/features/FeatureButton.java
  37. 13
    22
      src/com/enably/tk/demo/features/FeatureContainers.java
  38. 15
    24
      src/com/enably/tk/demo/features/FeatureCustomLayout.java
  39. 16
    25
      src/com/enably/tk/demo/features/FeatureDateField.java
  40. 16
    25
      src/com/enably/tk/demo/features/FeatureEmbedded.java
  41. 15
    24
      src/com/enably/tk/demo/features/FeatureForm.java
  42. 15
    24
      src/com/enably/tk/demo/features/FeatureFrameWindow.java
  43. 15
    24
      src/com/enably/tk/demo/features/FeatureGridLayout.java
  44. 13
    22
      src/com/enably/tk/demo/features/FeatureItems.java
  45. 15
    24
      src/com/enably/tk/demo/features/FeatureLabel.java
  46. 15
    24
      src/com/enably/tk/demo/features/FeatureLink.java
  47. 15
    24
      src/com/enably/tk/demo/features/FeatureOrderedLayout.java
  48. 14
    23
      src/com/enably/tk/demo/features/FeaturePanel.java
  49. 22
    31
      src/com/enably/tk/demo/features/FeatureParameters.java
  50. 14
    23
      src/com/enably/tk/demo/features/FeatureProperties.java
  51. 15
    24
      src/com/enably/tk/demo/features/FeatureSelect.java
  52. 15
    24
      src/com/enably/tk/demo/features/FeatureServerEvents.java
  53. 14
    23
      src/com/enably/tk/demo/features/FeatureTabSheet.java
  54. 15
    24
      src/com/enably/tk/demo/features/FeatureTable.java
  55. 15
    24
      src/com/enably/tk/demo/features/FeatureTextField.java
  56. 15
    24
      src/com/enably/tk/demo/features/FeatureTree.java
  57. 22
    31
      src/com/enably/tk/demo/features/FeatureUpload.java
  58. 13
    22
      src/com/enably/tk/demo/features/FeatureValidators.java
  59. 14
    23
      src/com/enably/tk/demo/features/FeatureWindow.java
  60. 41
    0
      src/com/enably/tk/demo/features/FeaturesApplication.java
  61. 17
    27
      src/com/enably/tk/demo/features/PropertyPanel.java
  62. 45
    0
      src/com/enably/tk/demo/features/UIComponents.java
  63. 0
    0
      src/com/enably/tk/demo/features/buffering.jpg
  64. 0
    0
      src/com/enably/tk/demo/features/button.jpg
  65. 0
    0
      src/com/enably/tk/demo/features/containers.jpg
  66. 0
    0
      src/com/enably/tk/demo/features/customlayout.jpg
  67. 0
    0
      src/com/enably/tk/demo/features/datefield.jpg
  68. 0
    0
      src/com/enably/tk/demo/features/embedded.jpg
  69. 0
    0
      src/com/enably/tk/demo/features/filetransfer.jpg
  70. 0
    0
      src/com/enably/tk/demo/features/form.jpg
  71. 0
    0
      src/com/enably/tk/demo/features/framewindow.jpg
  72. 0
    0
      src/com/enably/tk/demo/features/gridlayout.jpg
  73. 0
    0
      src/com/enably/tk/demo/features/items.jpg
  74. 0
    0
      src/com/enably/tk/demo/features/label.jpg
  75. 0
    0
      src/com/enably/tk/demo/features/link.jpg
  76. 0
    0
      src/com/enably/tk/demo/features/m.gif
  77. 0
    0
      src/com/enably/tk/demo/features/millstone-logo.gif
  78. 0
    0
      src/com/enably/tk/demo/features/orderedlayout.jpg
  79. 0
    0
      src/com/enably/tk/demo/features/panel.jpg
  80. 0
    0
      src/com/enably/tk/demo/features/parameters.jpg
  81. 0
    0
      src/com/enably/tk/demo/features/properties.jpg
  82. 0
    0
      src/com/enably/tk/demo/features/select.jpg
  83. 0
    0
      src/com/enably/tk/demo/features/serverevents.jpg
  84. 0
    0
      src/com/enably/tk/demo/features/table.jpg
  85. 0
    0
      src/com/enably/tk/demo/features/tabsheet.jpg
  86. 0
    0
      src/com/enably/tk/demo/features/textfield.gif
  87. 0
    0
      src/com/enably/tk/demo/features/tree.jpg
  88. 0
    0
      src/com/enably/tk/demo/features/ui-components.gif
  89. 0
    0
      src/com/enably/tk/demo/features/validators.gif
  90. 0
    0
      src/com/enably/tk/demo/features/window.jpg
  91. 4
    7
      src/com/enably/tk/demo/gogame/Board.java
  92. 1
    4
      src/com/enably/tk/demo/gogame/Game.java
  93. 12
    15
      src/com/enably/tk/demo/gogame/Go.java
  94. 33
    0
      src/com/enably/tk/demo/package.html
  95. 17
    16
      src/com/enably/tk/demo/table/TableDemoApplication.java
  96. 14
    23
      src/com/enably/tk/event/Action.java
  97. 14
    23
      src/com/enably/tk/event/EventRouter.java
  98. 13
    22
      src/com/enably/tk/event/ListenerMethod.java
  99. 19
    28
      src/com/enably/tk/event/MethodEventSource.java
  100. 0
    0
      src/com/enably/tk/event/package.html

src/com/itmill/tk/Application.java → src/com/enably/tk/Application.java View File

@@ -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) {


src/com/itmill/tk/data/Buffered.java → src/com/enably/tk/data/Buffered.java View File

@@ -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() {


+ 49
- 0
src/com/enably/tk/data/BufferedValidatable.java View File

@@ -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);
}

src/com/itmill/tk/data/Container.java → src/com/enably/tk/data/Container.java View File

@@ -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>

src/com/itmill/tk/data/Item.java → src/com/enably/tk/data/Item.java View File

@@ -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;


src/com/itmill/tk/data/Property.java → src/com/enably/tk/data/Property.java View File

@@ -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

src/com/itmill/tk/data/Validatable.java → src/com/enably/tk/data/Validatable.java View File

@@ -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 {

src/com/itmill/tk/data/Validator.java → src/com/enably/tk/data/Validator.java View File

@@ -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

src/com/itmill/tk/data/doc-files/Container_full.gif → src/com/enably/tk/data/doc-files/Container_full.gif View File


src/com/itmill/tk/data/doc-files/Container_simple.gif → src/com/enably/tk/data/doc-files/Container_simple.gif View File


src/com/itmill/tk/data/doc-files/Item.gif → src/com/enably/tk/data/doc-files/Item.gif View File


src/com/itmill/tk/data/doc-files/Property.gif → src/com/enably/tk/data/doc-files/Property.gif View File


src/com/itmill/tk/data/doc-files/datalayer.gif → src/com/enably/tk/data/doc-files/datalayer.gif View File


src/com/itmill/tk/data/package.html → src/com/enably/tk/data/package.html View File

@@ -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">

src/com/itmill/tk/data/util/BeanItem.java → src/com/enably/tk/data/util/BeanItem.java View File

@@ -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.
*

src/com/itmill/tk/data/util/ContainerHierarchicalWrapper.java → src/com/enably/tk/data/util/ContainerHierarchicalWrapper.java View File

@@ -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

src/com/itmill/tk/data/util/ContainerOrderedWrapper.java → src/com/enably/tk/data/util/ContainerOrderedWrapper.java View File

@@ -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 {

src/com/itmill/tk/data/util/FilesystemContainer.java → src/com/enably/tk/data/util/FilesystemContainer.java View File

@@ -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 {

src/com/itmill/tk/data/util/HierarchicalContainer.java → src/com/enably/tk/data/util/HierarchicalContainer.java View File

@@ -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);

src/com/itmill/tk/data/util/IndexedContainer.java → src/com/enably/tk/data/util/IndexedContainer.java View File

@@ -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() {


src/com/itmill/tk/data/util/MethodProperty.java → src/com/enably/tk/data/util/MethodProperty.java View File

@@ -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

src/com/itmill/tk/data/util/ObjectProperty.java → src/com/enably/tk/data/util/ObjectProperty.java View File

@@ -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@

src/com/itmill/tk/data/util/PropertysetItem.java → src/com/enably/tk/data/util/PropertysetItem.java View File

@@ -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

+ 37
- 0
src/com/enably/tk/data/util/package.html View File

@@ -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>

src/com/itmill/tk/data/validator/CompositeValidator.java → src/com/enably/tk/data/validator/CompositeValidator.java View File

@@ -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.
*

src/com/itmill/tk/data/validator/NullValidator.java → src/com/enably/tk/data/validator/NullValidator.java View File

@@ -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

src/com/itmill/tk/data/validator/StringLengthValidator.java → src/com/enably/tk/data/validator/StringLengthValidator.java View File

@@ -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.*;


/**

+ 20
- 0
src/com/enably/tk/data/validator/package.html View File

@@ -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>

src/com/itmill/tk/demo/Calc.java → src/com/enably/tk/demo/Calc.java View File

@@ -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. */

src/com/itmill/tk/demo/Chat.java → src/com/enably/tk/demo/Chat.java View File

@@ -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. */

src/com/itmill/tk/demo/HelloWorld.java → src/com/enably/tk/demo/HelloWorld.java View File

@@ -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. */

src/com/itmill/tk/demo/Login.java → src/com/enably/tk/demo/Login.java View File

@@ -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. */

src/com/itmill/tk/demo/features/Feature.java → src/com/enably/tk/demo/features/Feature.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureBrowser.java → src/com/enably/tk/demo/features/FeatureBrowser.java View File

@@ -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

src/com/itmill/tk/demo/features/FeatureBuffering.java → src/com/enably/tk/demo/features/FeatureBuffering.java View File

@@ -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";

src/com/itmill/tk/demo/features/FeatureButton.java → src/com/enably/tk/demo/features/FeatureButton.java View File

@@ -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. "

src/com/itmill/tk/demo/features/FeatureContainers.java → src/com/enably/tk/demo/features/FeatureContainers.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureCustomLayout.java → src/com/enably/tk/demo/features/FeatureCustomLayout.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureDateField.java → src/com/enably/tk/demo/features/FeatureDateField.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureEmbedded.java → src/com/enably/tk/demo/features/FeatureEmbedded.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureForm.java → src/com/enably/tk/demo/features/FeatureForm.java View File

@@ -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

src/com/itmill/tk/demo/features/FeatureFrameWindow.java → src/com/enably/tk/demo/features/FeatureFrameWindow.java View File

@@ -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

src/com/itmill/tk/demo/features/FeatureGridLayout.java → src/com/enably/tk/demo/features/FeatureGridLayout.java View File

@@ -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 "

src/com/itmill/tk/demo/features/FeatureItems.java → src/com/enably/tk/demo/features/FeatureItems.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureLabel.java → src/com/enably/tk/demo/features/FeatureLabel.java View File

@@ -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. "

src/com/itmill/tk/demo/features/FeatureLink.java → src/com/enably/tk/demo/features/FeatureLink.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureOrderedLayout.java → src/com/enably/tk/demo/features/FeatureOrderedLayout.java View File

@@ -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 "

src/com/itmill/tk/demo/features/FeaturePanel.java → src/com/enably/tk/demo/features/FeaturePanel.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureParameters.java → src/com/enably/tk/demo/features/FeatureParameters.java View File

@@ -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();

src/com/itmill/tk/demo/features/FeatureProperties.java → src/com/enably/tk/demo/features/FeatureProperties.java View File

@@ -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";

src/com/itmill/tk/demo/features/FeatureSelect.java → src/com/enably/tk/demo/features/FeatureSelect.java View File

@@ -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. "

src/com/itmill/tk/demo/features/FeatureServerEvents.java → src/com/enably/tk/demo/features/FeatureServerEvents.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureTabSheet.java → src/com/enably/tk/demo/features/FeatureTabSheet.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureTable.java → src/com/enably/tk/demo/features/FeatureTable.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureTextField.java → src/com/enably/tk/demo/features/FeatureTextField.java View File

@@ -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 "

src/com/itmill/tk/demo/features/FeatureTree.java → src/com/enably/tk/demo/features/FeatureTree.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureUpload.java → src/com/enably/tk/demo/features/FeatureUpload.java View File

@@ -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;

src/com/itmill/tk/demo/features/FeatureValidators.java → src/com/enably/tk/demo/features/FeatureValidators.java View File

@@ -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 {


src/com/itmill/tk/demo/features/FeatureWindow.java → src/com/enably/tk/demo/features/FeatureWindow.java View File

@@ -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");

+ 41
- 0
src/com/enably/tk/demo/features/FeaturesApplication.java View File

@@ -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());
}
}

src/com/itmill/tk/demo/features/PropertyPanel.java → src/com/enably/tk/demo/features/PropertyPanel.java View File

@@ -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

+ 45
- 0
src/com/enably/tk/demo/features/UIComponents.java View File

@@ -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 "";
}

}

src/com/itmill/tk/demo/features/buffering.jpg → src/com/enably/tk/demo/features/buffering.jpg View File


src/com/itmill/tk/demo/features/button.jpg → src/com/enably/tk/demo/features/button.jpg View File


src/com/itmill/tk/demo/features/containers.jpg → src/com/enably/tk/demo/features/containers.jpg View File


src/com/itmill/tk/demo/features/customlayout.jpg → src/com/enably/tk/demo/features/customlayout.jpg View File


src/com/itmill/tk/demo/features/datefield.jpg → src/com/enably/tk/demo/features/datefield.jpg View File


src/com/itmill/tk/demo/features/embedded.jpg → src/com/enably/tk/demo/features/embedded.jpg View File


src/com/itmill/tk/demo/features/filetransfer.jpg → src/com/enably/tk/demo/features/filetransfer.jpg View File


src/com/itmill/tk/demo/features/form.jpg → src/com/enably/tk/demo/features/form.jpg View File


src/com/itmill/tk/demo/features/framewindow.jpg → src/com/enably/tk/demo/features/framewindow.jpg View File


src/com/itmill/tk/demo/features/gridlayout.jpg → src/com/enably/tk/demo/features/gridlayout.jpg View File


src/com/itmill/tk/demo/features/items.jpg → src/com/enably/tk/demo/features/items.jpg View File


src/com/itmill/tk/demo/features/label.jpg → src/com/enably/tk/demo/features/label.jpg View File


src/com/itmill/tk/demo/features/link.jpg → src/com/enably/tk/demo/features/link.jpg View File


src/com/itmill/tk/demo/features/m.gif → src/com/enably/tk/demo/features/m.gif View File


src/com/itmill/tk/demo/features/millstone-logo.gif → src/com/enably/tk/demo/features/millstone-logo.gif View File


src/com/itmill/tk/demo/features/orderedlayout.jpg → src/com/enably/tk/demo/features/orderedlayout.jpg View File


src/com/itmill/tk/demo/features/panel.jpg → src/com/enably/tk/demo/features/panel.jpg View File


src/com/itmill/tk/demo/features/parameters.jpg → src/com/enably/tk/demo/features/parameters.jpg View File


src/com/itmill/tk/demo/features/properties.jpg → src/com/enably/tk/demo/features/properties.jpg View File


src/com/itmill/tk/demo/features/select.jpg → src/com/enably/tk/demo/features/select.jpg View File


src/com/itmill/tk/demo/features/serverevents.jpg → src/com/enably/tk/demo/features/serverevents.jpg View File


src/com/itmill/tk/demo/features/table.jpg → src/com/enably/tk/demo/features/table.jpg View File


src/com/itmill/tk/demo/features/tabsheet.jpg → src/com/enably/tk/demo/features/tabsheet.jpg View File


src/com/itmill/tk/demo/features/textfield.gif → src/com/enably/tk/demo/features/textfield.gif View File


src/com/itmill/tk/demo/features/tree.jpg → src/com/enably/tk/demo/features/tree.jpg View File


src/com/itmill/tk/demo/features/ui-components.gif → src/com/enably/tk/demo/features/ui-components.gif View File


src/com/itmill/tk/demo/features/validators.gif → src/com/enably/tk/demo/features/validators.gif View File


src/com/itmill/tk/demo/features/window.jpg → src/com/enably/tk/demo/features/window.jpg View File


src/com/itmill/tk/demo/gogame/Board.java → src/com/enably/tk/demo/gogame/Board.java View File

@@ -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. */

src/com/itmill/tk/demo/gogame/Game.java → src/com/enably/tk/demo/gogame/Game.java View File

@@ -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. */

src/com/itmill/tk/demo/gogame/Go.java → src/com/enably/tk/demo/gogame/Go.java View File

@@ -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. */

+ 33
- 0
src/com/enably/tk/demo/package.html View File

@@ -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>

src/com/itmill/tk/demo/table/TableDemoApplication.java → src/com/enably/tk/demo/table/TableDemoApplication.java View File

@@ -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 {

src/com/itmill/tk/event/Action.java → src/com/enably/tk/event/Action.java View File

@@ -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

src/com/itmill/tk/event/EventRouter.java → src/com/enably/tk/event/EventRouter.java View File

@@ -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@

src/com/itmill/tk/event/ListenerMethod.java → src/com/enably/tk/event/ListenerMethod.java View File

@@ -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;

src/com/itmill/tk/event/MethodEventSource.java → src/com/enably/tk/event/MethodEventSource.java View File

@@ -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

src/com/itmill/tk/event/package.html → src/com/enably/tk/event/package.html View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save