summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2008-09-02 12:53:12 +0000
committerArtur Signell <artur.signell@itmill.com>2008-09-02 12:53:12 +0000
commit04ce8311762c5f3144a9e566df279bd0e2e774a8 (patch)
tree7fbe583bc53a1c02b2d01612aad73d6729d1a5d1 /src/com/itmill/toolkit/ui
parente8e41a3dc6c2e4a4ce9bb500f0c0aab93b214bc3 (diff)
downloadvaadin-framework-04ce8311762c5f3144a9e566df279bd0e2e774a8.tar.gz
vaadin-framework-04ce8311762c5f3144a9e566df279bd0e2e774a8.zip
Mass format
svn changeset:5331/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui')
-rw-r--r--src/com/itmill/toolkit/ui/AbstractLayout.java6
-rw-r--r--src/com/itmill/toolkit/ui/AbstractSelect.java126
-rw-r--r--src/com/itmill/toolkit/ui/Accordion.java2
-rw-r--r--src/com/itmill/toolkit/ui/BaseFieldFactory.java4
-rw-r--r--src/com/itmill/toolkit/ui/CheckBox.java20
-rw-r--r--src/com/itmill/toolkit/ui/Component.java92
-rw-r--r--src/com/itmill/toolkit/ui/ComponentContainer.java38
-rw-r--r--src/com/itmill/toolkit/ui/CustomComponent.java6
-rw-r--r--src/com/itmill/toolkit/ui/DateField.java28
-rw-r--r--src/com/itmill/toolkit/ui/Embedded.java24
-rw-r--r--src/com/itmill/toolkit/ui/ExpandLayout.java2
-rw-r--r--src/com/itmill/toolkit/ui/Field.java6
-rw-r--r--src/com/itmill/toolkit/ui/FieldFactory.java22
-rw-r--r--src/com/itmill/toolkit/ui/Layout.java10
-rw-r--r--src/com/itmill/toolkit/ui/Link.java28
-rw-r--r--src/com/itmill/toolkit/ui/ListSelect.java4
-rw-r--r--src/com/itmill/toolkit/ui/NativeSelect.java2
-rw-r--r--src/com/itmill/toolkit/ui/OrderedLayout.java33
-rw-r--r--src/com/itmill/toolkit/ui/Panel.java18
-rw-r--r--src/com/itmill/toolkit/ui/ProgressIndicator.java14
-rw-r--r--src/com/itmill/toolkit/ui/Select.java14
-rw-r--r--src/com/itmill/toolkit/ui/SplitPanel.java23
-rw-r--r--src/com/itmill/toolkit/ui/Table.java180
-rw-r--r--src/com/itmill/toolkit/ui/Tree.java4
-rw-r--r--src/com/itmill/toolkit/ui/TwinColSelect.java4
25 files changed, 360 insertions, 350 deletions
diff --git a/src/com/itmill/toolkit/ui/AbstractLayout.java b/src/com/itmill/toolkit/ui/AbstractLayout.java
index 0842cbea4f..59f7aa1923 100644
--- a/src/com/itmill/toolkit/ui/AbstractLayout.java
+++ b/src/com/itmill/toolkit/ui/AbstractLayout.java
@@ -43,7 +43,7 @@ public abstract class AbstractLayout extends AbstractComponentContainer
* (non-Javadoc)
*
* @see com.itmill.toolkit.ui.Layout#setMargin(boolean, boolean, boolean,
- * boolean)
+ * boolean)
*/
public void setMargin(boolean topEnabled, boolean rightEnabled,
boolean bottomEnabled, boolean leftEnabled) {
@@ -56,7 +56,9 @@ public abstract class AbstractLayout extends AbstractComponentContainer
/*
* (non-Javadoc)
*
- * @see com.itmill.toolkit.ui.AbstractComponent#paintContent(com.itmill.toolkit.terminal.PaintTarget)
+ * @see
+ * com.itmill.toolkit.ui.AbstractComponent#paintContent(com.itmill.toolkit
+ * .terminal.PaintTarget)
*/
public void paintContent(PaintTarget target) throws PaintException {
diff --git a/src/com/itmill/toolkit/ui/AbstractSelect.java b/src/com/itmill/toolkit/ui/AbstractSelect.java
index c1f192586e..68460748dd 100644
--- a/src/com/itmill/toolkit/ui/AbstractSelect.java
+++ b/src/com/itmill/toolkit/ui/AbstractSelect.java
@@ -47,8 +47,8 @@ public abstract class AbstractSelect extends AbstractField implements
Container.ItemSetChangeListener {
/**
- * Item caption mode: Item's ID's <code>String</code> representation is
- * used as caption.
+ * Item caption mode: Item's ID's <code>String</code> representation is used
+ * as caption.
*/
public static final int ITEM_CAPTION_MODE_ID = 0;
/**
@@ -87,8 +87,8 @@ public abstract class AbstractSelect extends AbstractField implements
* entered value. The value is matched to the item caption.
* <code>FILTERINGMODE_OFF</code> (0) turns the filtering off.
* <code>FILTERINGMODE_STARTSWITH</code> (1) matches from the start of the
- * caption. <code>FILTERINGMODE_CONTAINS</code> (1) matches anywhere in
- * the caption.
+ * caption. <code>FILTERINGMODE_CONTAINS</code> (1) matches anywhere in the
+ * caption.
*/
public interface Filtering {
public static final int FILTERINGMODE_OFF = 0;
@@ -99,7 +99,7 @@ public abstract class AbstractSelect extends AbstractField implements
* Sets the option filtering mode.
*
* @param filteringMode
- * the filtering mode to use
+ * the filtering mode to use
*/
public void setFilteringMode(int filteringMode);
@@ -206,10 +206,9 @@ public abstract class AbstractSelect extends AbstractField implements
* Creates a new select that is connected to a data-source.
*
* @param caption
- * the Caption of the component.
+ * the Caption of the component.
* @param dataSource
- * the Container datasource to be selected from by this
- * select.
+ * the Container datasource to be selected from by this select.
*/
public AbstractSelect(String caption, Container dataSource) {
setCaption(caption);
@@ -220,9 +219,9 @@ public abstract class AbstractSelect extends AbstractField implements
* Creates a new select that is filled from a collection of option values.
*
* @param caption
- * the Caption of this field.
+ * the Caption of this field.
* @param options
- * the Collection containing the options.
+ * the Collection containing the options.
*/
public AbstractSelect(String caption, Collection options) {
@@ -244,9 +243,9 @@ public abstract class AbstractSelect extends AbstractField implements
* Paints the content of this component.
*
* @param target
- * the Paint Event.
+ * the Paint Event.
* @throws PaintException
- * if the paint operation failed.
+ * if the paint operation failed.
*/
public void paintContent(PaintTarget target) throws PaintException {
@@ -531,9 +530,9 @@ public abstract class AbstractSelect extends AbstractField implements
/**
* Returns the type of the property. <code>getValue</code> and
- * <code>setValue</code> methods must be compatible with this type: one
- * can safely cast <code>getValue</code> to given type and pass any
- * variable assignable to this type as a parameter to <code>setValue</code>.
+ * <code>setValue</code> methods must be compatible with this type: one can
+ * safely cast <code>getValue</code> to given type and pass any variable
+ * assignable to this type as a parameter to <code>setValue</code>.
*
* @return the Type of the property.
*/
@@ -586,7 +585,7 @@ public abstract class AbstractSelect extends AbstractField implements
* </p>
*
* @param newValue
- * the New selected item or collection of selected items.
+ * the New selected item or collection of selected items.
* @see com.itmill.toolkit.ui.AbstractField#setValue(java.lang.Object)
*/
public void setValue(Object newValue) throws Property.ReadOnlyException,
@@ -608,9 +607,9 @@ public abstract class AbstractSelect extends AbstractField implements
* </p>
*
* @param newValue
- * the New selected item or collection of selected items.
+ * the New selected item or collection of selected items.
* @param repaintIsNotNeeded
- * True if caller is sure that repaint is not needed.
+ * True if caller is sure that repaint is not needed.
* @see com.itmill.toolkit.ui.AbstractField#setValue(java.lang.Object,
* java.lang.Boolean)
*/
@@ -636,7 +635,7 @@ public abstract class AbstractSelect extends AbstractField implements
* contain the requested item, null is returned.
*
* @param itemId
- * the item id.
+ * the item id.
* @return the item from the container.
*/
public Item getItem(Object itemId) {
@@ -665,7 +664,7 @@ public abstract class AbstractSelect extends AbstractField implements
* Gets the property type.
*
* @param propertyId
- * the Id identifying the property.
+ * the Id identifying the property.
* @see com.itmill.toolkit.data.Container#getType(java.lang.Object)
*/
public Class getType(Object propertyId) {
@@ -687,7 +686,7 @@ public abstract class AbstractSelect extends AbstractField implements
* Tests, if the collection contains an item with given id.
*
* @param itemId
- * the Id the of item to be tested.
+ * the Id the of item to be tested.
*/
public boolean containsId(Object itemId) {
if (itemId != null) {
@@ -780,7 +779,7 @@ public abstract class AbstractSelect extends AbstractField implements
* returns null.
*
* @param itemId
- * the Identification of the item to be created.
+ * the Identification of the item to be created.
* @return the Created item with the given id, or null in case of failure.
* @see com.itmill.toolkit.data.Container#addItem(java.lang.Object)
*/
@@ -840,7 +839,7 @@ public abstract class AbstractSelect extends AbstractField implements
* Sets the container as data-source for viewing.
*
* @param newDataSource
- * the new data source.
+ * the new data source.
*/
public void setContainerDataSource(Container newDataSource) {
if (newDataSource == null) {
@@ -911,7 +910,7 @@ public abstract class AbstractSelect extends AbstractField implements
* selected items, only one of the selected items is kept as selected.
*
* @param multiSelect
- * the New value of property multiSelect.
+ * the New value of property multiSelect.
*/
public void setMultiSelect(boolean multiSelect) {
if (multiSelect && getNullSelectionItemId() != null) {
@@ -963,7 +962,7 @@ public abstract class AbstractSelect extends AbstractField implements
* Enables or disables possibility to add new options by the user.
*
* @param allowNewOptions
- * the New value of property allowNewOptions.
+ * the New value of property allowNewOptions.
*/
public void setNewItemsAllowed(boolean allowNewOptions) {
@@ -981,9 +980,9 @@ public abstract class AbstractSelect extends AbstractField implements
* item and index captions.
*
* @param itemId
- * the id of the item to be recaptioned.
+ * the id of the item to be recaptioned.
* @param caption
- * the New caption.
+ * the New caption.
*/
public void setItemCaption(Object itemId, String caption) {
if (itemId != null) {
@@ -998,7 +997,7 @@ public abstract class AbstractSelect extends AbstractField implements
* details.
*
* @param itemId
- * the id of the item to be queried.
+ * the id of the item to be queried.
* @return the caption for specified item.
*/
public String getItemCaption(Object itemId) {
@@ -1060,9 +1059,9 @@ public abstract class AbstractSelect extends AbstractField implements
* Sets the icon for an item.
*
* @param itemId
- * the id of the item to be assigned an icon.
+ * the id of the item to be assigned an icon.
* @param icon
- * the New icon.
+ * the New icon.
*/
public void setItemIcon(Object itemId, Resource icon) {
if (itemId != null) {
@@ -1079,7 +1078,7 @@ public abstract class AbstractSelect extends AbstractField implements
* Gets the item icon.
*
* @param itemId
- * the id of the item to be assigned an icon.
+ * the id of the item to be assigned an icon.
* @return the Icon for the item or null, if not specified.
*/
public Resource getItemIcon(Object itemId) {
@@ -1118,13 +1117,13 @@ public abstract class AbstractSelect extends AbstractField implements
* <code>toString</code> is used as item caption.</li>
* <li><code>ITEM_CAPTION_MODE_ITEM</code> : Item-objects
* <code>toString</code> is used as item caption.</li>
- * <li><code>ITEM_CAPTION_MODE_INDEX</code> : The index of the item is
- * used as item caption. The index mode can only be used with the containers
+ * <li><code>ITEM_CAPTION_MODE_INDEX</code> : The index of the item is used
+ * as item caption. The index mode can only be used with the containers
* implementing <code>Container.Indexed</code> interface.</li>
- * <li><code>ITEM_CAPTION_MODE_EXPLICIT</code> : The item captions must
- * be explicitly specified.</li>
- * <li><code>ITEM_CAPTION_MODE_PROPERTY</code> : The item captions are
- * read from property, that must be specified with
+ * <li><code>ITEM_CAPTION_MODE_EXPLICIT</code> : The item captions must be
+ * explicitly specified.</li>
+ * <li><code>ITEM_CAPTION_MODE_PROPERTY</code> : The item captions are read
+ * from property, that must be specified with
* <code>setItemCaptionPropertyId</code>.</li>
* </ul>
* The <code>ITEM_CAPTION_MODE_EXPLICIT_DEFAULTS_ID</code> is the default
@@ -1132,7 +1131,7 @@ public abstract class AbstractSelect extends AbstractField implements
* </p>
*
* @param mode
- * the One of the modes listed above.
+ * the One of the modes listed above.
*/
public void setItemCaptionMode(int mode) {
if (ITEM_CAPTION_MODE_ID <= mode && mode <= ITEM_CAPTION_MODE_PROPERTY) {
@@ -1154,13 +1153,13 @@ public abstract class AbstractSelect extends AbstractField implements
* <code>toString</code> is used as item caption.</li>
* <li><code>ITEM_CAPTION_MODE_ITEM</code> : Item-objects
* <code>toString</code> is used as item caption.</li>
- * <li><code>ITEM_CAPTION_MODE_INDEX</code> : The index of the item is
- * used as item caption. The index mode can only be used with the containers
+ * <li><code>ITEM_CAPTION_MODE_INDEX</code> : The index of the item is used
+ * as item caption. The index mode can only be used with the containers
* implementing <code>Container.Indexed</code> interface.</li>
- * <li><code>ITEM_CAPTION_MODE_EXPLICIT</code> : The item captions must
- * be explicitly specified.</li>
- * <li><code>ITEM_CAPTION_MODE_PROPERTY</code> : The item captions are
- * read from property, that must be specified with
+ * <li><code>ITEM_CAPTION_MODE_EXPLICIT</code> : The item captions must be
+ * explicitly specified.</li>
+ * <li><code>ITEM_CAPTION_MODE_PROPERTY</code> : The item captions are read
+ * from property, that must be specified with
* <code>setItemCaptionPropertyId</code>.</li>
* </ul>
* The <code>ITEM_CAPTION_MODE_EXPLICIT_DEFAULTS_ID</code> is the default
@@ -1179,18 +1178,19 @@ public abstract class AbstractSelect extends AbstractField implements
* <p>
* Setting the id to a existing property implicitly sets the item caption
* mode to <code>ITEM_CAPTION_MODE_PROPERTY</code>. If the object is in
- * <code>ITEM_CAPTION_MODE_PROPERTY</code> mode, setting caption property
- * id null resets the item caption mode to
+ * <code>ITEM_CAPTION_MODE_PROPERTY</code> mode, setting caption property id
+ * null resets the item caption mode to
* <code>ITEM_CAPTION_EXPLICIT_DEFAULTS_ID</code>.
* </p>
*
* <p>
* Setting the property id to null disables this feature. The id is null by
* default
- * </p> .
+ * </p>
+ * .
*
* @param propertyId
- * the id of the property.
+ * the id of the property.
*
*/
public void setItemCaptionPropertyId(Object propertyId) {
@@ -1226,17 +1226,18 @@ public abstract class AbstractSelect extends AbstractField implements
* </p>
*
* <p>
- * Note : The icons set with <code>setItemIcon</code> function override
- * the icons from the property.
+ * Note : The icons set with <code>setItemIcon</code> function override the
+ * icons from the property.
* </p>
*
* <p>
* Setting the property id to null disables this feature. The id is null by
* default
- * </p> .
+ * </p>
+ * .
*
* @param propertyId
- * the Id of the property that specifies icons for items.
+ * the Id of the property that specifies icons for items.
*/
public void setItemIconPropertyId(Object propertyId) {
if ((propertyId != null)
@@ -1258,14 +1259,15 @@ public abstract class AbstractSelect extends AbstractField implements
* </p>
*
* <p>
- * Note : The icons set with <code>setItemIcon</code> function override
- * the icons from the property.
+ * Note : The icons set with <code>setItemIcon</code> function override the
+ * icons from the property.
* </p>
*
* <p>
* Setting the property id to null disables this feature. The id is null by
* default
- * </p> .
+ * </p>
+ * .
*
* @return the Id of the property containing the item icons.
*/
@@ -1283,7 +1285,7 @@ public abstract class AbstractSelect extends AbstractField implements
* </p>
*
* @param itemId
- * the Id the of the item to be tested.
+ * the Id the of the item to be tested.
* @see #getNullSelectionItemId()
* @see #setNullSelectionItemId(Object)
*
@@ -1310,7 +1312,7 @@ public abstract class AbstractSelect extends AbstractField implements
* </p>
*
* @param itemId
- * the tem to be selected.
+ * the tem to be selected.
* @see #getNullSelectionItemId()
* @see #setNullSelectionItemId(Object)
*
@@ -1330,7 +1332,7 @@ public abstract class AbstractSelect extends AbstractField implements
* Unselects an item.
*
* @param itemId
- * the Item to be unselected.
+ * the Item to be unselected.
* @see #getNullSelectionItemId()
* @see #setNullSelectionItemId(Object)
*
@@ -1489,11 +1491,11 @@ public abstract class AbstractSelect extends AbstractField implements
/**
* Allow of disallow empty selection. If the select is in single-select
* mode, you can make an item represent the empty selection by calling
- * <code>setNullSelectionItemId()</code>. This way you can for instance
- * set an icon and caption for the null selection item.
+ * <code>setNullSelectionItemId()</code>. This way you can for instance set
+ * an icon and caption for the null selection item.
*
* @param nullSelectionAllowed
- * whether or not to allow empty selection
+ * whether or not to allow empty selection
* @see #setNullSelectionItemId(Object)
* @see #isNullSelectionAllowed()
*/
@@ -1540,7 +1542,7 @@ public abstract class AbstractSelect extends AbstractField implements
* </p>
*
* @param nullSelectionItemId
- * the nullSelectionItemId to set.
+ * the nullSelectionItemId to set.
* @see #getNullSelectionItemId()
* @see #isSelected(Object)
* @see #select(Object)
diff --git a/src/com/itmill/toolkit/ui/Accordion.java b/src/com/itmill/toolkit/ui/Accordion.java
index 4973303bfd..e057bbc6a1 100644
--- a/src/com/itmill/toolkit/ui/Accordion.java
+++ b/src/com/itmill/toolkit/ui/Accordion.java
@@ -1,7 +1,7 @@
package com.itmill.toolkit.ui;
public class Accordion extends TabSheet {
-
+
public String getTag() {
return "accordion";
}
diff --git a/src/com/itmill/toolkit/ui/BaseFieldFactory.java b/src/com/itmill/toolkit/ui/BaseFieldFactory.java
index 6ab3ccf114..3e9e3666f2 100644
--- a/src/com/itmill/toolkit/ui/BaseFieldFactory.java
+++ b/src/com/itmill/toolkit/ui/BaseFieldFactory.java
@@ -31,9 +31,9 @@ public class BaseFieldFactory implements FieldFactory {
*
*
* @param type
- * the type of data presented in field.
+ * the type of data presented in field.
* @param uiContext
- * the context where the Field is presented.
+ * the context where the Field is presented.
*
* @see com.itmill.toolkit.ui.FieldFactory#createField(Class, Component)
*/
diff --git a/src/com/itmill/toolkit/ui/CheckBox.java b/src/com/itmill/toolkit/ui/CheckBox.java
index 86ba0fee95..58855c9a62 100644
--- a/src/com/itmill/toolkit/ui/CheckBox.java
+++ b/src/com/itmill/toolkit/ui/CheckBox.java
@@ -20,9 +20,9 @@ public class CheckBox extends Button {
* Creates a new switch button with a caption and a set initial state.
*
* @param caption
- * the caption of the switch button
+ * the caption of the switch button
* @param initialState
- * the initial state of the switch button
+ * the initial state of the switch button
*/
public CheckBox(String caption, boolean initialState) {
setCaption(caption);
@@ -34,9 +34,9 @@ public class CheckBox extends Button {
* Creates a new switch button with a caption and a click listener.
*
* @param caption
- * the caption of the switch button
+ * the caption of the switch button
* @param listener
- * the click listener
+ * the click listener
*/
public CheckBox(String caption, ClickListener listener) {
setCaption(caption);
@@ -54,12 +54,12 @@ public class CheckBox extends Button {
* Button.ClickEvent type.
*
* @param caption
- * the Button caption.
+ * the Button caption.
* @param target
- * the Object having the method for listening button clicks.
+ * the Object having the method for listening button clicks.
* @param methodName
- * the name of the method in target object, that receives
- * button click events.
+ * the name of the method in target object, that receives button
+ * click events.
*/
public CheckBox(String caption, Object target, String methodName) {
setCaption(caption);
@@ -71,7 +71,7 @@ public class CheckBox extends Button {
* Creates a new switch button that is connected to a boolean property.
*
* @param state
- * the Initial state of the switch-button.
+ * the Initial state of the switch-button.
* @param dataSource
*/
public CheckBox(String caption, Property dataSource) {
@@ -87,7 +87,7 @@ public class CheckBox extends Button {
* default.
*
* @param caption
- * the Button caption.
+ * the Button caption.
*/
public CheckBox(String caption) {
diff --git a/src/com/itmill/toolkit/ui/Component.java b/src/com/itmill/toolkit/ui/Component.java
index 3f7d1ed764..b4a8c02f0f 100644
--- a/src/com/itmill/toolkit/ui/Component.java
+++ b/src/com/itmill/toolkit/ui/Component.java
@@ -37,10 +37,11 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
/**
* Sets and replaces all previous style names of the component. This method
* will trigger a
- * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent RepaintRequestEvent}.
+ * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent
+ * RepaintRequestEvent}.
*
* @param style
- * the new style of the component.
+ * the new style of the component.
*/
public void setStyleName(String style);
@@ -50,10 +51,11 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* classes as given on server side.
*
* This method will trigger a
- * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent RepaintRequestEvent}.
+ * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent
+ * RepaintRequestEvent}.
*
* @param style
- * the new style to be added to the component
+ * the new style to be added to the component
*/
public void addStyleName(String style);
@@ -61,7 +63,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* Removes given style name from component.
*
* @param style
- * the style to be removed
+ * the style to be removed
*/
public void removeStyleName(String style);
@@ -77,8 +79,8 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* Components should be enabled by default.
* </p>
*
- * @return <code>true</code> if the component is enabled,
- * <code>false</code> if not.
+ * @return <code>true</code> if the component is enabled, <code>false</code>
+ * if not.
* @see VariableOwner#isEnabled()
*/
public boolean isEnabled();
@@ -86,11 +88,12 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
/**
* Enables or disables the component. Being enabled means that the component
* can be edited. This method will trigger a
- * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent RepaintRequestEvent}.
+ * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent
+ * RepaintRequestEvent}.
*
* @param enabled
- * the boolean value specifying if the component should be
- * enabled after the call or not
+ * the boolean value specifying if the component should be
+ * enabled after the call or not
*/
public void setEnabled(boolean enabled);
@@ -108,8 +111,8 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* component is shown in the UI or not.
*
* @param visible
- * the Boolean value specifying if the component should be
- * visible after the call or not.
+ * the Boolean value specifying if the component should be
+ * visible after the call or not.
*/
public void setVisible(boolean visible);
@@ -127,8 +130,8 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* <p>
* This method calls automatically {@link #attach()} if the parent is
* attached to a window (or is itself a window}, and {@link #detach()} if
- * <code>parent</code> is set <code>null</code>, but the component was
- * in the application.
+ * <code>parent</code> is set <code>null</code>, but the component was in
+ * the application.
* </p>
*
* <p>
@@ -137,7 +140,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* components to container, which call this method implicitly.
*
* @param parent
- * the new parent component.
+ * the new parent component.
*/
public void setParent(Component parent);
@@ -152,11 +155,12 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
/**
* Sets the component's to read-only mode to the specified state. This
* method will trigger a
- * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent RepaintRequestEvent}.
+ * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent
+ * RepaintRequestEvent}.
*
* @param readOnly
- * the boolean value specifying if the component should be in
- * read-only mode after the call or not.
+ * the boolean value specifying if the component should be in
+ * read-only mode after the call or not.
*/
public void setReadOnly(boolean readOnly);
@@ -169,12 +173,13 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
public String getCaption();
/**
- * Sets the component's caption <code>String</code>. Caption is the
- * visible name of the component. This method will trigger a
- * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent RepaintRequestEvent}.
+ * Sets the component's caption <code>String</code>. Caption is the visible
+ * name of the component. This method will trigger a
+ * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent
+ * RepaintRequestEvent}.
*
* @param caption
- * the new caption <code>String</code> for the component.
+ * the new caption <code>String</code> for the component.
*/
public void setCaption(String caption);
@@ -188,10 +193,11 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
/**
* Sets the component's icon. This method will trigger a
- * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent RepaintRequestEvent}.
+ * {@link com.itmill.toolkit.terminal.Paintable.RepaintRequestEvent
+ * RepaintRequestEvent}.
*
* @param icon
- * the icon to be shown with the component's caption.
+ * the icon to be shown with the component's caption.
*/
public void setIcon(Resource icon);
@@ -216,8 +222,8 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* Notifies the component that it is connected to an application. This
* method is always called before the component is first time painted and is
* suitable to be extended. The <code>getApplication</code> and
- * <code>getWindow</code> methods might return <code>null</code> before
- * this method is called.
+ * <code>getWindow</code> methods might return <code>null</code> before this
+ * method is called.
* </p>
*
* <p>
@@ -265,16 +271,16 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* themselves.
*
* @param alreadyNotified
- * the collection of repaint request listeners that have been
- * already notified by the child. This component should not
- * renotify the listed listeners again. The container given
- * as parameter must be modifiable as the component might
- * modify it and pass it forwards. Null parameter is
- * interpreted as empty collection.
+ * the collection of repaint request listeners that have been
+ * already notified by the child. This component should not
+ * renotify the listed listeners again. The container given as
+ * parameter must be modifiable as the component might modify it
+ * and pass it forwards. Null parameter is interpreted as empty
+ * collection.
*/
public void childRequestedRepaint(Collection alreadyNotified);
- /* Component event framework *************************************** */
+ /* Component event framework */
/**
* Superclass of all component originated <code>Event</code>s.
@@ -290,7 +296,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* Constructs a new event with a specified source component.
*
* @param source
- * the source component of the event.
+ * the source component of the event.
*/
public Event(Component source) {
super(source);
@@ -306,7 +312,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* Notifies the listener of a component event.
*
* @param event
- * the event that has occured.
+ * the event that has occured.
*/
public void componentEvent(Component.Event event);
}
@@ -315,7 +321,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* Registers a new component event listener for this component.
*
* @param listener
- * the new Listener to be registered.
+ * the new Listener to be registered.
*/
public void addListener(Component.Listener listener);
@@ -324,7 +330,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* component.
*
* @param listener
- * the listener to be removed.
+ * the listener to be removed.
*/
public void removeListener(Component.Listener listener);
@@ -344,9 +350,9 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* Constructs a new event with a specified source component.
*
* @param message
- * the error message.
+ * the error message.
* @param component
- * the source component.
+ * the source component.
*/
public ErrorEvent(ErrorMessage message, Component component) {
super(component);
@@ -372,7 +378,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* Notifies the listener of a component error.
*
* @param event
- * the event that has occured.
+ * the event that has occured.
*/
public void componentError(Component.ErrorEvent event);
}
@@ -399,9 +405,9 @@ public interface Component extends Paintable, VariableOwner, Sizeable {
* specify the natural tab order of fields.
*
* @param tabIndex
- * the tab order of this component. Indexes usually start
- * from 1. Negative value means that field is not wanted
- * to tabbing sequence.
+ * the tab order of this component. Indexes usually start
+ * from 1. Negative value means that field is not wanted to
+ * tabbing sequence.
*/
public void setTabIndex(int tabIndex);
diff --git a/src/com/itmill/toolkit/ui/ComponentContainer.java b/src/com/itmill/toolkit/ui/ComponentContainer.java
index c5b72ca100..a513b462fe 100644
--- a/src/com/itmill/toolkit/ui/ComponentContainer.java
+++ b/src/com/itmill/toolkit/ui/ComponentContainer.java
@@ -22,7 +22,7 @@ public interface ComponentContainer extends Component {
* Adds the component into this container.
*
* @param c
- * the component to be added.
+ * the component to be added.
*/
public void addComponent(Component c);
@@ -30,7 +30,7 @@ public interface ComponentContainer extends Component {
* Removes the component from this container.
*
* @param c
- * the component to be added.
+ * the component to be added.
*/
public void removeComponent(Component c);
@@ -53,9 +53,9 @@ public interface ComponentContainer extends Component {
* </p>
*
* @param oldComponent
- * the old component that will be replaced.
+ * the old component that will be replaced.
* @param newComponent
- * the new component to be replaced.
+ * the new component to be replaced.
*/
public void replaceComponent(Component oldComponent, Component newComponent);
@@ -73,8 +73,8 @@ public interface ComponentContainer extends Component {
* components are removed from <code>source</code>.
*
* @param source
- * the container which contains the components that are to be
- * moved to this container.
+ * the container which contains the components that are to be
+ * moved to this container.
*/
public void moveComponentsFrom(ComponentContainer source);
@@ -82,7 +82,7 @@ public interface ComponentContainer extends Component {
* Listens the component attach events.
*
* @param listener
- * the listener to add.
+ * the listener to add.
*/
public void addListener(ComponentAttachListener listener);
@@ -90,7 +90,7 @@ public interface ComponentContainer extends Component {
* Stops the listening component attach events.
*
* @param listener
- * the listener to removed.
+ * the listener to removed.
*/
public void removeListener(ComponentAttachListener listener);
@@ -113,7 +113,7 @@ public interface ComponentContainer extends Component {
* A new component is attached to container.
*
* @param event
- * the component attach event.
+ * the component attach event.
*/
public void componentAttachedToContainer(ComponentAttachEvent event);
}
@@ -127,7 +127,7 @@ public interface ComponentContainer extends Component {
* A component has been detached from container.
*
* @param event
- * the component detach event.
+ * the component detach event.
*/
public void componentDetachedFromContainer(ComponentDetachEvent event);
}
@@ -148,10 +148,10 @@ public interface ComponentContainer extends Component {
* Creates a new attach event.
*
* @param container
- * the component container the component has been
- * detached to.
+ * the component container the component has been detached
+ * to.
* @param attachedComponent
- * the component that has been attached.
+ * the component that has been attached.
*/
public ComponentAttachEvent(ComponentContainer container,
Component attachedComponent) {
@@ -163,7 +163,7 @@ public interface ComponentContainer extends Component {
* Gets the component container.
*
* @param the
- * component container.
+ * component container.
*/
public ComponentContainer getContainer() {
return (ComponentContainer) getSource();
@@ -173,7 +173,7 @@ public interface ComponentContainer extends Component {
* Gets the attached component.
*
* @param the
- * attach component.
+ * attach component.
*/
public Component getAttachedComponent() {
return component;
@@ -196,10 +196,10 @@ public interface ComponentContainer extends Component {
* Creates a new detach event.
*
* @param container
- * the component container the component has been
- * detached from.
+ * the component container the component has been detached
+ * from.
* @param detachedComponent
- * the component that has been detached.
+ * the component that has been detached.
*/
public ComponentDetachEvent(ComponentContainer container,
Component detachedComponent) {
@@ -211,7 +211,7 @@ public interface ComponentContainer extends Component {
* Gets the component container.
*
* @param the
- * component container.
+ * component container.
*/
public ComponentContainer getContainer() {
return (ComponentContainer) getSource();
diff --git a/src/com/itmill/toolkit/ui/CustomComponent.java b/src/com/itmill/toolkit/ui/CustomComponent.java
index 5bf6f5d93e..5d141eca8f 100644
--- a/src/com/itmill/toolkit/ui/CustomComponent.java
+++ b/src/com/itmill/toolkit/ui/CustomComponent.java
@@ -57,7 +57,7 @@ public class CustomComponent extends AbstractComponentContainer {
* </p>
*
* @param compositionRoot
- * the root of the composition component tree.
+ * the root of the composition component tree.
*/
public CustomComponent(Component compositionRoot) {
setCompositionRoot(compositionRoot);
@@ -80,7 +80,7 @@ public class CustomComponent extends AbstractComponentContainer {
* </p>
*
* @param compositionRoot
- * the root of the composition component tree.
+ * the root of the composition component tree.
*/
protected final void setCompositionRoot(Component compositionRoot) {
if (compositionRoot != root) {
@@ -131,7 +131,7 @@ public class CustomComponent extends AbstractComponentContainer {
* the UIDL as component tag attribute.
*
* @param componentType
- * the componentType to set.
+ * the componentType to set.
*/
public void setComponentType(String componentType) {
this.componentType = componentType;
diff --git a/src/com/itmill/toolkit/ui/DateField.java b/src/com/itmill/toolkit/ui/DateField.java
index bd205557fd..a1859af1b5 100644
--- a/src/com/itmill/toolkit/ui/DateField.java
+++ b/src/com/itmill/toolkit/ui/DateField.java
@@ -21,8 +21,8 @@ import com.itmill.toolkit.terminal.PaintTarget;
* compatible with <code>java.util.Date</code>.
* </p>
* <p>
- * Since <code>DateField</code> extends <code>AbstractField</code> it
- * implements the {@link com.itmill.toolkit.data.Buffered}interface. A
+ * Since <code>DateField</code> extends <code>AbstractField</code> it implements
+ * the {@link com.itmill.toolkit.data.Buffered}interface. A
* <code>DateField</code> is in write-through mode by default, so
* {@link com.itmill.toolkit.ui.AbstractField#setWriteThrough(boolean)}must be
* called to enable buffering.
@@ -35,7 +35,7 @@ import com.itmill.toolkit.terminal.PaintTarget;
*/
public class DateField extends AbstractField {
- /* Private members ************************************************* */
+ /* Private members */
/**
* Resolution identifier: milliseconds.
@@ -102,7 +102,7 @@ public class DateField extends AbstractField {
*/
private Calendar calendar;
- /* Constructors **************************************************** */
+ /* Constructors */
/**
* Constructs an empty <code>DateField</code> with no caption.
@@ -114,7 +114,7 @@ public class DateField extends AbstractField {
* Constructs an empty <code>DateField</code> with caption.
*
* @param caption
- * the caption of the datefield.
+ * the caption of the datefield.
*/
public DateField(String caption) {
setCaption(caption);
@@ -125,9 +125,9 @@ public class DateField extends AbstractField {
* <code>Property</code> and has the given caption <code>String</code>.
*
* @param caption
- * the caption <code>String</code> for the editor.
+ * the caption <code>String</code> for the editor.
* @param dataSource
- * the Property to be edited with this editor.
+ * the Property to be edited with this editor.
*/
public DateField(String caption, Property dataSource) {
this(dataSource);
@@ -139,7 +139,7 @@ public class DateField extends AbstractField {
* <code>Property</code> and has no caption.
*
* @param dataSource
- * the Property to be edited with this editor.
+ * the Property to be edited with this editor.
*/
public DateField(Property dataSource) throws IllegalArgumentException {
if (!Date.class.isAssignableFrom(dataSource.getType())) {
@@ -159,16 +159,16 @@ public class DateField extends AbstractField {
* is called to bind it.
*
* @param caption
- * the caption <code>String</code> for the editor.
+ * the caption <code>String</code> for the editor.
* @param value
- * the Date value.
+ * the Date value.
*/
public DateField(String caption, Date value) {
setValue(value);
setCaption(caption);
}
- /* Component basic features ********************************************* */
+ /* Component basic features */
/*
* Paints this component. Don't add a JavaDoc comment here, we use the
@@ -238,7 +238,7 @@ public class DateField extends AbstractField {
* interface.
*/
public void changeVariables(Object source, Map variables) {
- super.changeVariables(source, variables);
+ super.changeVariables(source, variables);
if (!isReadOnly()
&& (variables.containsKey("year")
@@ -318,7 +318,7 @@ public class DateField extends AbstractField {
}
}
- /* Property features **************************************************** */
+ /* Property features */
/*
* Gets the edited property's type. Don't add a JavaDoc comment here, we use
@@ -397,7 +397,7 @@ public class DateField extends AbstractField {
* Sets the resolution of the DateField.
*
* @param resolution
- * the resolution to set.
+ * the resolution to set.
*/
public void setResolution(int resolution) {
this.resolution = resolution;
diff --git a/src/com/itmill/toolkit/ui/Embedded.java b/src/com/itmill/toolkit/ui/Embedded.java
index 92736e18da..36a32e1355 100644
--- a/src/com/itmill/toolkit/ui/Embedded.java
+++ b/src/com/itmill/toolkit/ui/Embedded.java
@@ -91,7 +91,7 @@ public class Embedded extends AbstractComponent {
*
* @param caption
* @param source
- * the Source of the embedded object.
+ * the Source of the embedded object.
*/
public Embedded(String caption, Resource source) {
setCaption(caption);
@@ -163,9 +163,9 @@ public class Embedded extends AbstractComponent {
* parameter.
*
* @param name
- * the name of the parameter.
+ * the name of the parameter.
* @param value
- * the value of the parameter.
+ * the value of the parameter.
*/
public void setParameter(String name, String value) {
parameters.put(name, value);
@@ -187,7 +187,7 @@ public class Embedded extends AbstractComponent {
* Removes an object parameter from the list.
*
* @param name
- * the name of the parameter to remove.
+ * the name of the parameter to remove.
*/
public void removeParameter(String name) {
parameters.remove(name);
@@ -245,7 +245,7 @@ public class Embedded extends AbstractComponent {
* paths.
*
* @param codebase
- * the codebase to set.
+ * the codebase to set.
*/
public void setCodebase(String codebase) {
if (codebase != this.codebase
@@ -259,7 +259,7 @@ public class Embedded extends AbstractComponent {
* Sets the codetype, the MIME-Type of the code.
*
* @param codetype
- * the codetype to set.
+ * the codetype to set.
*/
public void setCodetype(String codetype) {
if (codetype != this.codetype
@@ -273,7 +273,7 @@ public class Embedded extends AbstractComponent {
* Sets the mimeType, the MIME-Type of the object.
*
* @param mimeType
- * the mimeType to set.
+ * the mimeType to set.
*/
public void setMimeType(String mimeType) {
if (mimeType != this.mimeType
@@ -287,7 +287,7 @@ public class Embedded extends AbstractComponent {
* Sets the standby, the text to display while loading the object.
*
* @param standby
- * the standby to set.
+ * the standby to set.
*/
public void setStandby(String standby) {
if (standby != this.standby
@@ -310,7 +310,7 @@ public class Embedded extends AbstractComponent {
* Sets the classId attribute.
*
* @param classId
- * the classId to set.
+ * the classId to set.
*/
public void setClassId(String classId) {
if (classId != this.classId
@@ -350,7 +350,7 @@ public class Embedded extends AbstractComponent {
* The type is guessed from resource.
*
* @param source
- * the source to set.
+ * the source to set.
*/
public void setSource(Resource source) {
if (source != null && !source.equals(this.source)) {
@@ -376,7 +376,7 @@ public class Embedded extends AbstractComponent {
* </p>
*
* @param type
- * the type to set.
+ * the type to set.
*/
public void setType(int type) {
if (type != TYPE_OBJECT && type != TYPE_IMAGE && type != TYPE_BROWSER) {
@@ -401,7 +401,7 @@ public class Embedded extends AbstractComponent {
* Sets the archive attribute.
*
* @param archive
- * the archive string to set.
+ * the archive string to set.
*/
public void setArchive(String archive) {
if (archive != this.archive
diff --git a/src/com/itmill/toolkit/ui/ExpandLayout.java b/src/com/itmill/toolkit/ui/ExpandLayout.java
index 331519f3bb..a8a284f041 100644
--- a/src/com/itmill/toolkit/ui/ExpandLayout.java
+++ b/src/com/itmill/toolkit/ui/ExpandLayout.java
@@ -39,7 +39,7 @@ public class ExpandLayout extends OrderedLayout {
/**
* @param c
- * Component which container will be maximized
+ * Component which container will be maximized
*/
public void expand(Component c) {
expanded = c;
diff --git a/src/com/itmill/toolkit/ui/Field.java b/src/com/itmill/toolkit/ui/Field.java
index 9532b2cb64..9f63fe0f18 100644
--- a/src/com/itmill/toolkit/ui/Field.java
+++ b/src/com/itmill/toolkit/ui/Field.java
@@ -47,7 +47,7 @@ public interface Field extends Component, BufferedValidatable, Property,
* Sets the field required. Required fields must filled by the user.
*
* @param required
- * Is the field required.
+ * Is the field required.
* @since 3.1
*/
public void setRequired(boolean required);
@@ -69,7 +69,7 @@ public interface Field extends Component, BufferedValidatable, Property,
* @since 5.2.6
*/
public String getRequiredError();
-
+
/**
* An <code>Event</code> object specifying the Field whose value has been
* changed.
@@ -91,7 +91,7 @@ public interface Field extends Component, BufferedValidatable, Property,
* Constructs a new event object with the specified source field object.
*
* @param source
- * the field that caused the event.
+ * the field that caused the event.
*/
public ValueChangeEvent(Field source) {
super(source);
diff --git a/src/com/itmill/toolkit/ui/FieldFactory.java b/src/com/itmill/toolkit/ui/FieldFactory.java
index 9090f267b5..01bc707cc7 100644
--- a/src/com/itmill/toolkit/ui/FieldFactory.java
+++ b/src/com/itmill/toolkit/ui/FieldFactory.java
@@ -23,9 +23,9 @@ public interface FieldFactory {
* Creates a field based on type of data.
*
* @param type
- * the type of data presented in field.
+ * the type of data presented in field.
* @param uiContext
- * the component where the field is presented.
+ * the component where the field is presented.
* @return Field the field suitable for editing the specified data.
*
*/
@@ -35,9 +35,9 @@ public interface FieldFactory {
* Creates a field based on the property datasource.
*
* @param property
- * the property datasource.
+ * the property datasource.
* @param uiContext
- * the component where the field is presented.
+ * the component where the field is presented.
* @return Field the field suitable for editing the specified data.
*/
Field createField(Property property, Component uiContext);
@@ -46,11 +46,11 @@ public interface FieldFactory {
* Creates a field based on the item and property id.
*
* @param item
- * the item where the property belongs to.
+ * the item where the property belongs to.
* @param propertyId
- * the Id of the property.
+ * the Id of the property.
* @param uiContext
- * the component where the field is presented.
+ * the component where the field is presented.
* @return Field the field suitable for editing the specified data.
*/
Field createField(Item item, Object propertyId, Component uiContext);
@@ -59,13 +59,13 @@ public interface FieldFactory {
* Creates a field based on the container item id and property id.
*
* @param container
- * the Container where the property belongs to.
+ * the Container where the property belongs to.
* @param itemId
- * the item Id.
+ * the item Id.
* @param propertyId
- * the Id of the property.
+ * the Id of the property.
* @param uiContext
- * the component where the field is presented.
+ * the component where the field is presented.
* @return Field the field suitable for editing the specified data.
*/
Field createField(Container container, Object itemId, Object propertyId,
diff --git a/src/com/itmill/toolkit/ui/Layout.java b/src/com/itmill/toolkit/ui/Layout.java
index d2bc21e85e..e9ed263bb5 100644
--- a/src/com/itmill/toolkit/ui/Layout.java
+++ b/src/com/itmill/toolkit/ui/Layout.java
@@ -83,13 +83,13 @@ public interface Layout extends ComponentContainer {
* is calculated as a bit mask of the two passed values.
*
* @param childComponent
- * the component to align within it's layout cell.
+ * the component to align within it's layout cell.
* @param horizontalAlignment
- * the horizontal alignment for the child component
- * (left, center, right). Use ALIGNMENT constants.
+ * the horizontal alignment for the child component (left,
+ * center, right). Use ALIGNMENT constants.
* @param verticalAlignment
- * the vertical alignment for the child component (top,
- * center, bottom). Use ALIGNMENT constants.
+ * the vertical alignment for the child component (top,
+ * center, bottom). Use ALIGNMENT constants.
*/
public void setComponentAlignment(Component childComponent,
int horizontalAlignment, int verticalAlignment);
diff --git a/src/com/itmill/toolkit/ui/Link.java b/src/com/itmill/toolkit/ui/Link.java
index 3f4b526d9a..d9e90c547f 100644
--- a/src/com/itmill/toolkit/ui/Link.java
+++ b/src/com/itmill/toolkit/ui/Link.java
@@ -60,17 +60,17 @@ public class Link extends AbstractComponent {
*
*
* @param caption
- * the Link text.
+ * the Link text.
* @param targetName
- * the name of the target window where the link opens to.
- * Empty name of null implies that the target is opened to
- * the window containing the link.
+ * the name of the target window where the link opens to. Empty
+ * name of null implies that the target is opened to the window
+ * containing the link.
* @param width
- * the Width of the target window.
+ * the Width of the target window.
* @param height
- * the Height of the target window.
+ * the Height of the target window.
* @param border
- * the Border style of the target window.
+ * the Border style of the target window.
*
*/
public Link(String caption, Resource resource, String targetName,
@@ -96,9 +96,9 @@ public class Link extends AbstractComponent {
* Paints the content of this component.
*
* @param target
- * the Paint Event.
+ * the Paint Event.
* @throws PaintException
- * if the paint operation failed.
+ * if the paint operation failed.
*/
public void paintContent(PaintTarget target) throws PaintException {
@@ -174,7 +174,7 @@ public class Link extends AbstractComponent {
* Sets the border of the target window.
*
* @param targetBorder
- * the targetBorder to set.
+ * the targetBorder to set.
*/
public void setTargetBorder(int targetBorder) {
if (targetBorder == TARGET_BORDER_DEFAULT
@@ -189,7 +189,7 @@ public class Link extends AbstractComponent {
* Sets the target window height.
*
* @param targetHeight
- * the targetHeight to set.
+ * the targetHeight to set.
*/
public void setTargetHeight(int targetHeight) {
this.targetHeight = targetHeight;
@@ -200,7 +200,7 @@ public class Link extends AbstractComponent {
* Sets the target window name.
*
* @param targetName
- * the targetName to set.
+ * the targetName to set.
*/
public void setTargetName(String targetName) {
this.targetName = targetName;
@@ -211,7 +211,7 @@ public class Link extends AbstractComponent {
* Sets the target window width.
*
* @param targetWidth
- * the targetWidth to set.
+ * the targetWidth to set.
*/
public void setTargetWidth(int targetWidth) {
this.targetWidth = targetWidth;
@@ -231,7 +231,7 @@ public class Link extends AbstractComponent {
* Sets the resource this link opens.
*
* @param resource
- * the resource to set.
+ * the resource to set.
*/
public void setResource(Resource resource) {
this.resource = resource;
diff --git a/src/com/itmill/toolkit/ui/ListSelect.java b/src/com/itmill/toolkit/ui/ListSelect.java
index 303e321e85..96c7a35b0c 100644
--- a/src/com/itmill/toolkit/ui/ListSelect.java
+++ b/src/com/itmill/toolkit/ui/ListSelect.java
@@ -41,7 +41,7 @@ public class ListSelect extends AbstractSelect {
* adapter.
*
* @param columns
- * the number of columns to set.
+ * the number of columns to set.
*/
public void setColumns(int columns) {
if (columns < 0) {
@@ -67,7 +67,7 @@ public class ListSelect extends AbstractSelect {
* adapter.
*
* @param rows
- * the number of rows to set.
+ * the number of rows to set.
*/
public void setRows(int rows) {
if (rows < 0) {
diff --git a/src/com/itmill/toolkit/ui/NativeSelect.java b/src/com/itmill/toolkit/ui/NativeSelect.java
index d3e445dcf6..c87deb38f4 100644
--- a/src/com/itmill/toolkit/ui/NativeSelect.java
+++ b/src/com/itmill/toolkit/ui/NativeSelect.java
@@ -43,7 +43,7 @@ public class NativeSelect extends AbstractSelect {
* adapter.
*
* @param columns
- * the number of columns to set.
+ * the number of columns to set.
*/
public void setColumns(int columns) {
if (columns < 0) {
diff --git a/src/com/itmill/toolkit/ui/OrderedLayout.java b/src/com/itmill/toolkit/ui/OrderedLayout.java
index a3c3da5392..ad85da4c87 100644
--- a/src/com/itmill/toolkit/ui/OrderedLayout.java
+++ b/src/com/itmill/toolkit/ui/OrderedLayout.java
@@ -26,7 +26,7 @@ import com.itmill.toolkit.terminal.PaintTarget;
public class OrderedLayout extends AbstractLayout implements
Layout.AlignmentHandler, Layout.SpacingHandler {
- /* Predefined orientations ***************************************** */
+ /* Predefined orientations */
/**
* Components are to be laid out vertically.
@@ -45,7 +45,7 @@ public class OrderedLayout extends AbstractLayout implements
*/
protected LinkedList components = new LinkedList();
- /* Child component alignments ************************************** */
+ /* Child component alignments */
/**
* Mapping from components to alignments (horizontal + vertical).
@@ -75,7 +75,7 @@ public class OrderedLayout extends AbstractLayout implements
* parameters.
*
* @param orientation
- * the Orientation of the layout.
+ * the Orientation of the layout.
*/
public OrderedLayout(int orientation) {
this.orientation = orientation;
@@ -95,7 +95,7 @@ public class OrderedLayout extends AbstractLayout implements
* or under the previous component.
*
* @param c
- * the component to be added.
+ * the component to be added.
*/
public void addComponent(Component c) {
super.addComponent(c);
@@ -108,7 +108,7 @@ public class OrderedLayout extends AbstractLayout implements
* or on top of the other components.
*
* @param c
- * the component to be added.
+ * the component to be added.
*/
public void addComponentAsFirst(Component c) {
super.addComponent(c);
@@ -120,10 +120,10 @@ public class OrderedLayout extends AbstractLayout implements
* Adds a component into indexed position in this container.
*
* @param c
- * the component to be added.
+ * the component to be added.
* @param index
- * the Index of the component position. The components
- * currently in and after the position are shifted forwards.
+ * the Index of the component position. The components currently
+ * in and after the position are shifted forwards.
*/
public void addComponent(Component c, int index) {
super.addComponent(c);
@@ -135,7 +135,7 @@ public class OrderedLayout extends AbstractLayout implements
* Removes the component from this container.
*
* @param c
- * the component to be removed.
+ * the component to be removed.
*/
public void removeComponent(Component c) {
super.removeComponent(c);
@@ -158,9 +158,9 @@ public class OrderedLayout extends AbstractLayout implements
* Paints the content of this component.
*
* @param target
- * the Paint Event.
+ * the Paint Event.
* @throws PaintException
- * if the paint operation failed.
+ * if the paint operation failed.
*/
public void paintContent(PaintTarget target) throws PaintException {
super.paintContent(target);
@@ -206,7 +206,7 @@ public class OrderedLayout extends AbstractLayout implements
* Set the orientation of the container.
*
* @param orientation
- * the New value of property orientation.
+ * the New value of property orientation.
*/
public void setOrientation(int orientation) {
@@ -268,8 +268,9 @@ public class OrderedLayout extends AbstractLayout implements
/*
* (non-Javadoc)
*
- * @see com.itmill.toolkit.ui.Layout.AlignmentHandler#setComponentAlignment(com.itmill.toolkit.ui.Component,
- * int, int)
+ * @see
+ * com.itmill.toolkit.ui.Layout.AlignmentHandler#setComponentAlignment(com
+ * .itmill.toolkit.ui.Component, int, int)
*/
public void setComponentAlignment(Component childComponent,
int horizontalAlignment, int verticalAlignment) {
@@ -281,7 +282,9 @@ public class OrderedLayout extends AbstractLayout implements
/*
* (non-Javadoc)
*
- * @see com.itmill.toolkit.ui.Layout.AlignmentHandler#getComponentAlignment(com.itmill.toolkit.ui.Component)
+ * @see
+ * com.itmill.toolkit.ui.Layout.AlignmentHandler#getComponentAlignment(com
+ * .itmill.toolkit.ui.Component)
*/
public int getComponentAlignment(Component childComponent) {
final Integer bitMask = (Integer) componentToAlignment
diff --git a/src/com/itmill/toolkit/ui/Panel.java b/src/com/itmill/toolkit/ui/Panel.java
index 6359687c3c..49a8a01dc6 100644
--- a/src/com/itmill/toolkit/ui/Panel.java
+++ b/src/com/itmill/toolkit/ui/Panel.java
@@ -69,7 +69,7 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
* Creates a new empty panel with given layout. Layout must be non-null.
*
* @param layout
- * the layout used in the panel.
+ * the layout used in the panel.
*/
public Panel(Layout layout) {
setLayout(layout);
@@ -79,7 +79,7 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
* Creates a new empty panel with caption. Default layout is used.
*
* @param caption
- * the caption used in the panel.
+ * the caption used in the panel.
*/
public Panel(String caption) {
this(caption, null);
@@ -89,9 +89,9 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
* Creates a new empty panel with caption.
*
* @param caption
- * the caption of the panel.
+ * the caption of the panel.
* @param layout
- * the layout used in the panel.
+ * the layout used in the panel.
*/
public Panel(String caption, Layout layout) {
this(layout);
@@ -116,7 +116,7 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
* (changed in 5.2.2). Use function in Layout interface manually.
*
* @param newLayout
- * the New layout of the panel.
+ * the New layout of the panel.
*/
public void setLayout(Layout newLayout) {
@@ -158,9 +158,9 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
* Paints the content of this component.
*
* @param target
- * the Paint Event.
+ * the Paint Event.
* @throws PaintException
- * if the paint operation failed.
+ * if the paint operation failed.
*/
public void paintContent(PaintTarget target) throws PaintException {
layout.paint(target);
@@ -233,7 +233,7 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
* Adds the component into this container.
*
* @param c
- * the component to be added.
+ * the component to be added.
* @see com.itmill.toolkit.ui.AbstractComponentContainer#addComponent(com.itmill.toolkit.ui.Component)
*/
public void addComponent(Component c) {
@@ -246,7 +246,7 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
* Removes the component from this container.
*
* @param c
- * The component to be added.
+ * The component to be added.
* @see com.itmill.toolkit.ui.AbstractComponentContainer#removeComponent(com.itmill.toolkit.ui.Component)
*/
public void removeComponent(Component c) {
diff --git a/src/com/itmill/toolkit/ui/ProgressIndicator.java b/src/com/itmill/toolkit/ui/ProgressIndicator.java
index c10ac7daca..4b7104251c 100644
--- a/src/com/itmill/toolkit/ui/ProgressIndicator.java
+++ b/src/com/itmill/toolkit/ui/ProgressIndicator.java
@@ -83,7 +83,7 @@ public class ProgressIndicator extends AbstractField implements Property,
* ProgressIndicator.
*
* @param readOnly
- * True to enable read-only mode, False to disable it.
+ * True to enable read-only mode, False to disable it.
*/
public void setReadOnly(boolean readOnly) {
if (dataSource == null) {
@@ -109,9 +109,9 @@ public class ProgressIndicator extends AbstractField implements Property,
* Paints the content of this component.
*
* @param target
- * the Paint Event.
+ * the Paint Event.
* @throws PaintException
- * if the Paint Operation fails.
+ * if the Paint Operation fails.
*/
public void paintContent(PaintTarget target) throws PaintException {
target.addAttribute("indeterminate", indeterminate);
@@ -138,7 +138,7 @@ public class ProgressIndicator extends AbstractField implements Property,
* is the Float between 0 and 1.
*
* @param newValue
- * the New value of the ProgressIndicator.
+ * the New value of the ProgressIndicator.
* @see com.itmill.toolkit.ui.AbstractField#setValue(java.lang.Object)
*/
public void setValue(Object newValue) {
@@ -182,7 +182,7 @@ public class ProgressIndicator extends AbstractField implements Property,
* Sets the property as data-source for viewing.
*
* @param newDataSource
- * the new data source.
+ * the new data source.
* @see com.itmill.toolkit.ui.AbstractField#setPropertyDataSource(com.itmill.toolkit.data.Property)
*/
public void setPropertyDataSource(Property newDataSource) {
@@ -217,7 +217,7 @@ public class ProgressIndicator extends AbstractField implements Property,
* Sets wheter or not the ProgressIndicator is indeterminate.
*
* @param newValue
- * true to set to indeterminate mode.
+ * true to set to indeterminate mode.
*/
public void setIndeterminate(boolean newValue) {
indeterminate = newValue;
@@ -237,7 +237,7 @@ public class ProgressIndicator extends AbstractField implements Property,
* Sets the interval that component checks for progress.
*
* @param newValue
- * the interval in milliseconds.
+ * the interval in milliseconds.
*/
public void setPollingInterval(int newValue) {
pollingInterval = newValue;
diff --git a/src/com/itmill/toolkit/ui/Select.java b/src/com/itmill/toolkit/ui/Select.java
index 738fc96a30..48a1217fdd 100644
--- a/src/com/itmill/toolkit/ui/Select.java
+++ b/src/com/itmill/toolkit/ui/Select.java
@@ -58,9 +58,9 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering {
*/
private boolean optionRequest;
- /* Constructors ********************************************************* */
+ /* Constructors */
- /* Component methods **************************************************** */
+ /* Component methods */
public Select() {
super();
@@ -82,9 +82,9 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering {
* Paints the content of this component.
*
* @param target
- * the Paint Event.
+ * the Paint Event.
* @throws PaintException
- * if the paint operation failed.
+ * if the paint operation failed.
*/
public void paintContent(PaintTarget target) throws PaintException {
if (isMultiSelect()) {
@@ -232,8 +232,8 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering {
*
* @param options
* @param needNullSelectOption
- * flag to indicate if nullselect option needs to be taken
- * into consideration
+ * flag to indicate if nullselect option needs to be taken into
+ * consideration
*/
private List sanitetizeList(List options, boolean needNullSelectOption) {
@@ -445,7 +445,7 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering {
* @deprecated
*
* @param columns
- * the number of columns to set.
+ * the number of columns to set.
*/
public void setColumns(int columns) {
if (columns < 0) {
diff --git a/src/com/itmill/toolkit/ui/SplitPanel.java b/src/com/itmill/toolkit/ui/SplitPanel.java
index 55286cba8d..6a7cb9e056 100644
--- a/src/com/itmill/toolkit/ui/SplitPanel.java
+++ b/src/com/itmill/toolkit/ui/SplitPanel.java
@@ -22,7 +22,7 @@ import com.itmill.toolkit.terminal.PaintTarget;
*/
public class SplitPanel extends AbstractLayout {
- /* Predefined orientations ***************************************** */
+ /* Predefined orientations */
/**
* Components are to be layed out vertically.
@@ -63,7 +63,7 @@ public class SplitPanel extends AbstractLayout {
* parameters.
*
* @param orientation
- * the Orientation of the layout.
+ * the Orientation of the layout.
*/
public SplitPanel(int orientation) {
this();
@@ -88,7 +88,7 @@ public class SplitPanel extends AbstractLayout {
* or under the previous component.
*
* @param c
- * the component to be added.
+ * the component to be added.
*/
public void addComponent(Component c) {
if (firstComponent == null) {
@@ -125,7 +125,7 @@ public class SplitPanel extends AbstractLayout {
* Removes the component from this container.
*
* @param c
- * the component to be removed.
+ * the component to be removed.
*/
public void removeComponent(Component c) {
super.removeComponent(c);
@@ -188,9 +188,9 @@ public class SplitPanel extends AbstractLayout {
* Paints the content of this component.
*
* @param target
- * the Paint Event.
+ * the Paint Event.
* @throws PaintException
- * if the paint operation failed.
+ * if the paint operation failed.
*/
public void paintContent(PaintTarget target) throws PaintException {
super.paintContent(target);
@@ -228,7 +228,7 @@ public class SplitPanel extends AbstractLayout {
* Set the orientation of the container.
*
* @param orientation
- * the New value of property orientation.
+ * the New value of property orientation.
*/
public void setOrientation(int orientation) {
@@ -256,7 +256,7 @@ public class SplitPanel extends AbstractLayout {
* Moves the position of the splitter.
*
* @param pos
- * the new size of the first region in persentage
+ * the new size of the first region in persentage
*/
public void setSplitPosition(int pos) {
setSplitPosition(pos, UNITS_PERCENTAGE);
@@ -266,9 +266,9 @@ public class SplitPanel extends AbstractLayout {
* Moves the position of the splitter with given position and unit.
*
* @param pos
- * size of the first region
+ * size of the first region
* @param unit
- * the unit (from {@link Size}) in which the size is given.
+ * the unit (from {@link Size}) in which the size is given.
*/
public void setSplitPosition(int pos, int unit) {
this.pos = pos;
@@ -280,8 +280,7 @@ public class SplitPanel extends AbstractLayout {
* handle.
*
* @param locked
- * Set <code>true</code> if locked, <code>false</code>
- * otherwise.
+ * Set <code>true</code> if locked, <code>false</code> otherwise.
*/
public void setLocked(boolean locked) {
this.locked = locked;
diff --git a/src/com/itmill/toolkit/ui/Table.java b/src/com/itmill/toolkit/ui/Table.java
index 8dce0539e1..0d22f641ad 100644
--- a/src/com/itmill/toolkit/ui/Table.java
+++ b/src/com/itmill/toolkit/ui/Table.java
@@ -370,7 +370,7 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param visibleColumns
- * the Array of shown property id:s.
+ * the Array of shown property id:s.
*/
public void setVisibleColumns(Object[] visibleColumns) {
@@ -467,8 +467,8 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param columnHeaders
- * the Array of column headers that match the
- * <code>getVisibleColumns</code> method.
+ * the Array of column headers that match the
+ * <code>getVisibleColumns</code> method.
*/
public void setColumnHeaders(String[] columnHeaders) {
@@ -527,8 +527,8 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param columnIcons
- * the Array of icons that match the
- * <code>getVisibleColumns</code>.
+ * the Array of icons that match the
+ * <code>getVisibleColumns</code>.
*/
public void setColumnIcons(Resource[] columnIcons) {
@@ -554,8 +554,8 @@ public class Table extends AbstractSelect implements Action.Container,
*
* <p>
* The items in the array must match the properties identified by
- * <code>getVisibleColumns()</code>. The possible values for the
- * alignments include:
+ * <code>getVisibleColumns()</code>. The possible values for the alignments
+ * include:
* <ul>
* <li><code>ALIGN_LEFT</code>: Left alignment</li>
* <li><code>ALIGN_CENTER</code>: Centered</li>
@@ -585,8 +585,8 @@ public class Table extends AbstractSelect implements Action.Container,
*
* <p>
* The items in the array must match the properties identified by
- * <code>getVisibleColumns()</code>. The possible values for the
- * alignments include:
+ * <code>getVisibleColumns()</code>. The possible values for the alignments
+ * include:
* <ul>
* <li><code>ALIGN_LEFT</code>: Left alignment</li>
* <li><code>ALIGN_CENTER</code>: Centered</li>
@@ -596,7 +596,7 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param columnAlignments
- * the Column alignments array.
+ * the Column alignments array.
*/
public void setColumnAlignments(String[] columnAlignments) {
@@ -635,9 +635,9 @@ public class Table extends AbstractSelect implements Action.Container,
* will make decision of width.
*
* @param columnId
- * colunmns property id
+ * colunmns property id
* @param width
- * width to be reserved for colunmns content
+ * width to be reserved for colunmns content
* @since 4.0.3
*/
public void setColumnWidth(Object columnId, int width) {
@@ -679,7 +679,7 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param pageLength
- * the Length of one page.
+ * the Length of one page.
*/
public void setPageLength(int pageLength) {
if (pageLength >= 0 && this.pageLength != pageLength) {
@@ -721,7 +721,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Setter for property currentPageFirstItemId.
*
* @param currentPageFirstItemId
- * the New value of property currentPageFirstItemId.
+ * the New value of property currentPageFirstItemId.
*/
public void setCurrentPageFirstItemId(Object currentPageFirstItemId) {
@@ -759,7 +759,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Gets the icon Resource for the specified column.
*
* @param propertyId
- * the propertyId indentifying the column.
+ * the propertyId indentifying the column.
* @return the icon for the specified column; null if the column has no icon
* set, or if the column is not visible.
*/
@@ -774,9 +774,9 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param propertyId
- * the propertyId identifying the column.
+ * the propertyId identifying the column.
* @param icon
- * the icon Resource to set.
+ * the icon Resource to set.
*/
public void setColumnIcon(Object propertyId, Resource icon) {
@@ -795,7 +795,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Gets the header for the specified column.
*
* @param propertyId
- * the propertyId indentifying the column.
+ * the propertyId indentifying the column.
* @return the header for the specifed column if it has one.
*/
public String getColumnHeader(Object propertyId) {
@@ -816,9 +816,9 @@ public class Table extends AbstractSelect implements Action.Container,
* Sets the column header for the specified column;
*
* @param propertyId
- * the propertyId indentifying the column.
+ * the propertyId indentifying the column.
* @param header
- * the header to set.
+ * the header to set.
*/
public void setColumnHeader(Object propertyId, String header) {
@@ -836,7 +836,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Gets the specified column's alignment.
*
* @param propertyId
- * the propertyID identifying the column.
+ * the propertyID identifying the column.
* @return the specified column's alignment if it as one; null otherwise.
*/
public String getColumnAlignment(Object propertyId) {
@@ -853,9 +853,9 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param propertyId
- * the propertyID identifying the column.
+ * the propertyID identifying the column.
* @param alignment
- * the desired alignment.
+ * the desired alignment.
*/
public void setColumnAlignment(Object propertyId, String alignment) {
@@ -882,7 +882,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Checks if the specified column is collapsed.
*
* @param propertyId
- * the propertyID identifying the column.
+ * the propertyID identifying the column.
* @return true if the column is collapsed; false otherwise;
*/
public boolean isColumnCollapsed(Object propertyId) {
@@ -895,9 +895,9 @@ public class Table extends AbstractSelect implements Action.Container,
*
*
* @param propertyId
- * the propertyID identifying the column.
+ * the propertyID identifying the column.
* @param collapsed
- * the desired collapsedness.
+ * the desired collapsedness.
* @throws IllegalAccessException
*/
public void setColumnCollapsed(Object propertyId, boolean collapsed)
@@ -930,7 +930,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Sets whether column collapsing is allowed or not.
*
* @param collapsingAllowed
- * specifies whether column collapsing is allowed.
+ * specifies whether column collapsing is allowed.
*/
public void setColumnCollapsingAllowed(boolean collapsingAllowed) {
columnCollapsingAllowed = collapsingAllowed;
@@ -956,7 +956,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Sets whether column reordering is allowed or not.
*
* @param reorderingAllowed
- * specifies whether column reordering is allowed.
+ * specifies whether column reordering is allowed.
*/
public void setColumnReorderingAllowed(boolean reorderingAllowed) {
columnReorderingAllowed = reorderingAllowed;
@@ -1086,7 +1086,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Setter for property currentPageFirstItem.
*
* @param newIndex
- * the New value of property currentPageFirstItem.
+ * the New value of property currentPageFirstItem.
*/
public void setCurrentPageFirstItemIndex(int newIndex) {
setCurrentPageFirstItemIndex(newIndex, true);
@@ -1109,7 +1109,7 @@ public class Table extends AbstractSelect implements Action.Container,
* @deprecated functionality is not needed in ajax rendering model
*
* @param pageBuffering
- * the New value of property pageBuffering.
+ * the New value of property pageBuffering.
*/
public void setPageBufferingEnabled(boolean pageBuffering) {
@@ -1136,7 +1136,7 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param selectable
- * the New value of property selectable.
+ * the New value of property selectable.
*/
public void setSelectable(boolean selectable) {
if (this.selectable != selectable) {
@@ -1158,7 +1158,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Setter for property columnHeaderMode.
*
* @param columnHeaderMode
- * the New value of property columnHeaderMode.
+ * the New value of property columnHeaderMode.
*/
public void setColumnHeaderMode(int columnHeaderMode) {
if (columnHeaderMode >= COLUMN_HEADER_MODE_HIDDEN
@@ -1398,20 +1398,20 @@ public class Table extends AbstractSelect implements Action.Container,
* <code>toString()</code> is used as row caption.
* <li><code>ROW_HEADER_MODE_PROPERTY</code>: Property set with
* <code>setItemCaptionPropertyId()</code> is used as row header.
- * <li><code>ROW_HEADER_MODE_EXPLICIT_DEFAULTS_ID</code>: Items
- * Id-objects <code>toString()</code> is used as row header. If caption is
- * explicitly specified, it overrides the id-caption.
+ * <li><code>ROW_HEADER_MODE_EXPLICIT_DEFAULTS_ID</code>: Items Id-objects
+ * <code>toString()</code> is used as row header. If caption is explicitly
+ * specified, it overrides the id-caption.
* <li><code>ROW_HEADER_MODE_EXPLICIT</code>: The row headers must be
* explicitly specified.</li>
- * <li><code>ROW_HEADER_MODE_INDEX</code>: The index of the item is used
- * as row caption. The index mode can only be used with the containers
+ * <li><code>ROW_HEADER_MODE_INDEX</code>: The index of the item is used as
+ * row caption. The index mode can only be used with the containers
* implementing <code>Container.Indexed</code> interface.</li>
* </ul>
* The default value is <code>ROW_HEADER_MODE_HIDDEN</code>
* </p>
*
* @param mode
- * the One of the modes listed above.
+ * the One of the modes listed above.
*/
public void setRowHeaderMode(int mode) {
if (ROW_HEADER_MODE_HIDDEN == mode) {
@@ -1441,13 +1441,13 @@ public class Table extends AbstractSelect implements Action.Container,
* columns) with given values.
*
* @param cells
- * the Object array that is used for filling the visible
- * cells new row. The types must be settable to visible
- * column property types.
+ * the Object array that is used for filling the visible cells
+ * new row. The types must be settable to visible column property
+ * types.
* @param itemId
- * the Id the new row. If null, a new id is automatically
- * assigned. If given, the table cant already have a item
- * with given id.
+ * the Id the new row. If null, a new id is automatically
+ * assigned. If given, the table cant already have a item with
+ * given id.
* @return Returns item id for the new row. Returns null if operation fails.
*/
public Object addItem(Object[] cells, Object itemId)
@@ -1756,7 +1756,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Go to mode where content content refreshing has effect.
*
* @param refreshContent
- * true if content refresh needs to be done
+ * true if content refresh needs to be done
*/
protected void enableContentRefreshing(boolean refreshContent) {
isContentRefreshesEnabled = true;
@@ -1768,8 +1768,9 @@ public class Table extends AbstractSelect implements Action.Container,
/*
* (non-Javadoc)
*
- * @see com.itmill.toolkit.ui.AbstractSelect#paintContent(com.itmill.toolkit.
- * terminal.PaintTarget)
+ * @see
+ * com.itmill.toolkit.ui.AbstractSelect#paintContent(com.itmill.toolkit.
+ * terminal.PaintTarget)
*/
public void paintContent(PaintTarget target) throws PaintException {
@@ -2142,11 +2143,11 @@ public class Table extends AbstractSelect implements Action.Container,
* the value representation.
*
* @param rowId
- * the Id of the row (same as item Id).
+ * the Id of the row (same as item Id).
* @param colId
- * the Id of the column.
+ * the Id of the column.
* @param property
- * the Property to be presented.
+ * the Property to be presented.
* @return Object Either formatted value or Component for field.
* @see #setFieldFactory(FieldFactory)
*/
@@ -2169,11 +2170,11 @@ public class Table extends AbstractSelect implements Action.Container,
* and return a empty string for null properties.
*
* @param rowId
- * the Id of the row (same as item Id).
+ * the Id of the row (same as item Id).
* @param colId
- * the Id of the column.
+ * the Id of the column.
* @param property
- * the Property to be formatted.
+ * the Property to be formatted.
* @return the String representation of property and its value.
* @since 3.1
*/
@@ -2341,11 +2342,11 @@ public class Table extends AbstractSelect implements Action.Container,
* Adds a new property to the table and show it as a visible column.
*
* @param propertyId
- * the Id of the proprty.
+ * the Id of the proprty.
* @param type
- * the class of the property.
+ * the class of the property.
* @param defaultValue
- * the default value given for all existing items.
+ * the default value given for all existing items.
* @see com.itmill.toolkit.data.Container#addContainerProperty(Object,
* Class, Object)
*/
@@ -2375,21 +2376,21 @@ public class Table extends AbstractSelect implements Action.Container,
* Adds a new property to the table and show it as a visible column.
*
* @param propertyId
- * the Id of the proprty
+ * the Id of the proprty
* @param type
- * the class of the property
+ * the class of the property
* @param defaultValue
- * the default value given for all existing items
+ * the default value given for all existing items
* @param columnHeader
- * the Explicit header of the column. If explicit header is
- * not needed, this should be set null.
+ * the Explicit header of the column. If explicit header is not
+ * needed, this should be set null.
* @param columnIcon
- * the Icon of the column. If icon is not needed, this should
- * be set null.
+ * the Icon of the column. If icon is not needed, this should be
+ * set null.
* @param columnAlignment
- * the Alignment of the column. Null implies align left.
+ * the Alignment of the column. Null implies align left.
* @throws UnsupportedOperationException
- * if the operation is not supported.
+ * if the operation is not supported.
* @see com.itmill.toolkit.data.Container#addContainerProperty(Object,
* Class, Object)
*/
@@ -2424,9 +2425,9 @@ public class Table extends AbstractSelect implements Action.Container,
* </p>
*
* @param id
- * the id of the column to be added
+ * the id of the column to be added
* @param generatedColumn
- * the {@link ColumnGenerator} to use for this column
+ * the {@link ColumnGenerator} to use for this column
*/
public void addGeneratedColumn(Object id, ColumnGenerator generatedColumn) {
if (generatedColumn == null) {
@@ -2448,7 +2449,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Removes a generated column previously added with addGeneratedColumn.
*
* @param id
- * id of the generated column to remove
+ * id of the generated column to remove
* @return true if the column could be removed (existed in the Table)
*/
public boolean removeGeneratedColumn(Object id) {
@@ -2523,7 +2524,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Adding new items is not supported.
*
* @throws UnsupportedOperationException
- * if set to true.
+ * if set to true.
* @see com.itmill.toolkit.ui.Select#setNewItemsAllowed(boolean)
*/
public void setNewItemsAllowed(boolean allowNewOptions)
@@ -2537,7 +2538,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Focusing to this component is not supported.
*
* @throws UnsupportedOperationException
- * if invoked.
+ * if invoked.
* @see com.itmill.toolkit.ui.AbstractField#focus()
*/
public void focus() throws UnsupportedOperationException {
@@ -2653,7 +2654,7 @@ public class Table extends AbstractSelect implements Action.Container,
* BaseFieldFactory is used.
*
* @param fieldFactory
- * the field factory to set.
+ * the field factory to set.
* @see #isEditable
* @see BaseFieldFactory
*
@@ -2696,7 +2697,7 @@ public class Table extends AbstractSelect implements Action.Container,
* property to true.
*
* @param editable
- * true if table should be editable by user.
+ * true if table should be editable by user.
* @see Field
* @see FieldFactory
*
@@ -2713,8 +2714,8 @@ public class Table extends AbstractSelect implements Action.Container,
* Sorts the table.
*
* @throws UnsupportedOperationException
- * if the container data source does not implement
- * Container.Sortable
+ * if the container data source does not implement
+ * Container.Sortable
* @see com.itmill.toolkit.data.Container.Sortable#sort(java.lang.Object[],
* boolean[])
*
@@ -2739,8 +2740,8 @@ public class Table extends AbstractSelect implements Action.Container,
* Sorts the table by currently selected sorting column.
*
* @throws UnsupportedOperationException
- * if the container data source does not implement
- * Container.Sortable
+ * if the container data source does not implement
+ * Container.Sortable
*/
public void sort() {
if (getSortContainerPropertyId() == null) {
@@ -2777,7 +2778,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Sets the currently sorted column property id.
*
* @param propertyId
- * the Container property id of the currently sorted column.
+ * the Container property id of the currently sorted column.
*/
public void setSortContainerPropertyId(Object propertyId) {
setSortContainerPropertyId(propertyId, true);
@@ -2807,8 +2808,7 @@ public class Table extends AbstractSelect implements Action.Container,
/**
* Is the table currently sorted in ascending order.
*
- * @return <code>true</code> if ascending, <code>false</code> if
- * descending.
+ * @return <code>true</code> if ascending, <code>false</code> if descending.
*/
public boolean isSortAscending() {
return sortAscending;
@@ -2818,8 +2818,8 @@ public class Table extends AbstractSelect implements Action.Container,
* Sets the table in ascending order.
*
* @param ascending
- * <code>true</code> if ascending, <code>false</code> if
- * descending.
+ * <code>true</code> if ascending, <code>false</code> if
+ * descending.
*/
public void setSortAscending(boolean ascending) {
setSortAscending(ascending, true);
@@ -2862,7 +2862,7 @@ public class Table extends AbstractSelect implements Action.Container,
* columns are given even in the case where datasource would support this.
*
* @param sortDisabled
- * True iff sorting is disabled.
+ * True iff sorting is disabled.
*/
public void setSortDisabled(boolean sortDisabled) {
if (this.sortDisabled != sortDisabled) {
@@ -2907,13 +2907,12 @@ public class Table extends AbstractSelect implements Action.Container,
* generated.
*
* @param source
- * the source Table
+ * the source Table
* @param itemId
- * the itemId (aka rowId) for the of the cell to be
- * generated
+ * the itemId (aka rowId) for the of the cell to be generated
* @param columnId
- * the id for the generated column (as specified in
- * addGeneratedColumn)
+ * the id for the generated column (as specified in
+ * addGeneratedColumn)
* @return
*/
public abstract Component generateCell(Table source, Object itemId,
@@ -2924,7 +2923,7 @@ public class Table extends AbstractSelect implements Action.Container,
* Set cell style generator for Table.
*
* @param cellStyleGenerator
- * New cell style generator or null to remove generator.
+ * New cell style generator or null to remove generator.
*/
public void setCellStyleGenerator(CellStyleGenerator cellStyleGenerator) {
this.cellStyleGenerator = cellStyleGenerator;
@@ -2952,10 +2951,9 @@ public class Table extends AbstractSelect implements Action.Container,
* Called by Table when a cell (and row) is painted.
*
* @param itemId
- * The itemId of the painted cell
+ * The itemId of the painted cell
* @param propertyId
- * The propertyId of the cell, null when getting row
- * style
+ * The propertyId of the cell, null when getting row style
* @return The style name to add to this cell or row. (the CSS class
* name will be i-table-cell-content-[style name], or
* i-table-row-[style name] for rows)
diff --git a/src/com/itmill/toolkit/ui/Tree.java b/src/com/itmill/toolkit/ui/Tree.java
index c6d07ebe65..61151debad 100644
--- a/src/com/itmill/toolkit/ui/Tree.java
+++ b/src/com/itmill/toolkit/ui/Tree.java
@@ -335,8 +335,8 @@ public class Tree extends AbstractSelect implements Container.Hierarchical,
String key = (String) variables.get("clickedKey");
Object id = itemIdMapper.get(key);
- MouseEventDetails details = MouseEventDetails.deSerialize((String) variables
- .get("clickEvent"));
+ MouseEventDetails details = MouseEventDetails
+ .deSerialize((String) variables.get("clickEvent"));
fireEvent(new ItemClickEvent(this, getItem(id), id, null, details));
}
diff --git a/src/com/itmill/toolkit/ui/TwinColSelect.java b/src/com/itmill/toolkit/ui/TwinColSelect.java
index 2799bb7c0e..ec0a1ab7bd 100644
--- a/src/com/itmill/toolkit/ui/TwinColSelect.java
+++ b/src/com/itmill/toolkit/ui/TwinColSelect.java
@@ -50,7 +50,7 @@ public class TwinColSelect extends AbstractSelect {
* adapter.
*
* @param columns
- * the number of columns to set.
+ * the number of columns to set.
*/
public void setColumns(int columns) {
if (columns < 0) {
@@ -76,7 +76,7 @@ public class TwinColSelect extends AbstractSelect {
* adapter.
*
* @param rows
- * the number of rows to set.
+ * the number of rows to set.
*/
public void setRows(int rows) {
if (rows < 0) {