aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/declarative
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-18 09:31:40 +0300
committerArtur Signell <artur@vaadin.com>2016-08-18 09:31:40 +0300
commiteeffa805a212ebb25c4af18db1e927b23a3ad66a (patch)
tree3bfdb4ef4b8e9b6e9e45c77c90b4f31eba1af94e /server/src/main/java/com/vaadin/ui/declarative
parent6d54d78944f6c3278eed3bb5e7ee19687ee5714e (diff)
downloadvaadin-framework-eeffa805a212ebb25c4af18db1e927b23a3ad66a.tar.gz
vaadin-framework-eeffa805a212ebb25c4af18db1e927b23a3ad66a.zip
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/declarative')
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/Design.java82
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java42
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignContext.java110
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignException.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java36
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java24
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/FieldBindingException.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/ShouldWriteDataDelegate.java12
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java12
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/ShortcutKeyMapper.java12
16 files changed, 197 insertions, 197 deletions
diff --git a/server/src/main/java/com/vaadin/ui/declarative/Design.java b/server/src/main/java/com/vaadin/ui/declarative/Design.java
index 5c81a1efa2..7641a84cf2 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/Design.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/Design.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -45,18 +45,18 @@ import com.vaadin.ui.declarative.DesignContext.ComponentCreationListener;
* Design is used for reading a component hierarchy from an html string or input
* stream and, conversely, for writing an html representation corresponding to a
* given component hierarchy.
- *
+ *
* <p>
* In html form a valid nonempty component hierarchy contains a single root
* element located under the &lt;body&gt; tag. A hierarchy of components is
* achieved by nesting other elements under the root element. An empty component
* hierarchy is represented as no elements under the &lt;body&gt; tag.
- *
+ *
* <p>
* For writing a component hierarchy the root element is specified as a
* Component parameter or as a DesignContext object containing the root
* Component. An empty hierarchy can be written by giving a null root Component.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
@@ -73,19 +73,19 @@ public class Design implements Serializable {
* <p>
* Use {@link Design#setComponentFactory(ComponentFactory)} to configure
* Vaadin to use a custom component factory.
- *
+ *
* @since 7.4.1
*/
public interface ComponentFactory extends Serializable {
/**
* Creates a component based on the fully qualified name derived from
* the tag name in the design.
- *
+ *
* @param fullyQualifiedClassName
* the fully qualified name of the component to create
* @param context
* the design context for which the component is created
- *
+ *
* @return a newly created component
*/
public Component createComponent(String fullyQualifiedClassName,
@@ -98,7 +98,7 @@ public class Design implements Serializable {
* <p>
* Use {@link Design#setComponentMapper(ComponentMapper)} to configure
* Vaadin to use a custom component mapper.
- *
+ *
* @since 7.5.0
* @author Vaadin Ltd
*/
@@ -111,7 +111,7 @@ public class Design implements Serializable {
* {@link #componentToTag(Component, DesignContext)} so that the
* resolved tag for a created component is the same as the tag for which
* the component was created.
- *
+ *
* @param tag
* the tag name to create a component for
* @param componentFactory
@@ -126,7 +126,7 @@ public class Design implements Serializable {
/**
* Resolves a tag name from a component.
- *
+ *
* @param component
* the component to get a tag name for
* @param context
@@ -141,7 +141,7 @@ public class Design implements Serializable {
* Default implementation of {@link ComponentFactory}, using
* <code>Class.forName(className).newInstance()</code> for finding the
* component class and creating a component instance.
- *
+ *
* @since 7.4.1
*/
public static class DefaultComponentFactory implements ComponentFactory {
@@ -182,7 +182,7 @@ public class Design implements Serializable {
/**
* Resolves a component class based on the fully qualified name of the
* class.
- *
+ *
* @param qualifiedClassName
* the fully qualified name of the resolved class
* @param context
@@ -204,7 +204,7 @@ public class Design implements Serializable {
/**
* Default implementation of {@link ComponentMapper},
- *
+ *
* @since 7.5.0
*/
public static class DefaultComponentMapper implements ComponentMapper {
@@ -284,7 +284,7 @@ public class Design implements Serializable {
* name. The name is derived by converting each uppercase letter to
* lowercase and inserting a dash before the letter. No dash is inserted
* before the first letter of the class name.
- *
+ *
* @param className
* the name of the class without a package name
* @return the html tag name corresponding to className
@@ -315,10 +315,10 @@ public class Design implements Serializable {
* <p>
* Please note that this setting is global, so care should be taken to avoid
* conflicting changes.
- *
+ *
* @param componentFactory
* the component factory to set; not <code>null</code>
- *
+ *
* @since 7.4.1
*/
public static void setComponentFactory(ComponentFactory componentFactory) {
@@ -331,11 +331,11 @@ public class Design implements Serializable {
/**
* Gets the currently used component factory.
- *
+ *
* @see #setComponentFactory(ComponentFactory)
- *
+ *
* @return the component factory
- *
+ *
* @since 7.4.1
*/
public static ComponentFactory getComponentFactory() {
@@ -348,10 +348,10 @@ public class Design implements Serializable {
* <p>
* Please note that this setting is global, so care should be taken to avoid
* conflicting changes.
- *
+ *
* @param componentMapper
* the component mapper to set; not <code>null</code>
- *
+ *
* @since 7.5.0
*/
public static void setComponentMapper(ComponentMapper componentMapper) {
@@ -364,11 +364,11 @@ public class Design implements Serializable {
/**
* Gets the currently used component mapper.
- *
+ *
* @see #setComponentMapper(ComponentMapper)
- *
+ *
* @return the component mapper
- *
+ *
* @since 7.5.0
*/
public static ComponentMapper getComponentMapper() {
@@ -377,7 +377,7 @@ public class Design implements Serializable {
/**
* Parses the given input stream into a jsoup document
- *
+ *
* @param html
* the stream containing the design
* @return the parsed jsoup document
@@ -396,12 +396,12 @@ public class Design implements Serializable {
/**
* Constructs a component hierarchy from the design specified as an html
* tree.
- *
+ *
* <p>
* If a component root is given, the component instances created during
* reading the design are assigned to its member fields based on their id,
* local id, and caption
- *
+ *
* @param doc
* the html tree
* @param componentRoot
@@ -424,12 +424,12 @@ public class Design implements Serializable {
/**
* Constructs a component hierarchy from the design specified as an html
* tree.
- *
+ *
* <p>
* If a component root is given, the component instances created during
* reading the design are assigned to its member fields based on their id,
* local id, and caption
- *
+ *
* @param doc
* the html tree
* @param componentRoot
@@ -504,8 +504,8 @@ public class Design implements Serializable {
* the root designContext.getRootComponent(). The hierarchy is stored under
* &lt;body&gt; in the tree. The generated tree represents a valid html
* document.
- *
- *
+ *
+ *
* @param designContext
* a DesignContext object specifying the root component
* (designContext.getRootComponent()) of the hierarchy
@@ -549,7 +549,7 @@ public class Design implements Serializable {
* id/local id/caption in the design file.
* <p>
* The type of the root component must match the root element in the design
- *
+ *
* @param rootComponent
* The root component of the layout
* @return The design context used in the load operation
@@ -603,7 +603,7 @@ public class Design implements Serializable {
/**
* Find the first class with the given annotation, starting the search from
* the given class and moving upwards in the class hierarchy.
- *
+ *
* @param componentClass
* the class to check
* @param annotationClass
@@ -640,7 +640,7 @@ public class Design implements Serializable {
* id/local id/caption in the design file.
* <p>
* The type of the root component must match the root element in the design.
- *
+ *
* @param filename
* The file name to load. Loaded from the same package as the
* root component
@@ -681,7 +681,7 @@ public class Design implements Serializable {
* <p>
* If rootComponent is not null, its type must match the type of the root
* element in the design
- *
+ *
* @param stream
* The stream to read the design from
* @param rootComponent
@@ -703,7 +703,7 @@ public class Design implements Serializable {
/**
* Loads a design from the given input stream
- *
+ *
* @param design
* The stream to read the design from
* @return The root component of the design
@@ -716,7 +716,7 @@ public class Design implements Serializable {
/**
* Writes the given component tree in design format to the given output
* stream.
- *
+ *
* @param component
* the root component of the component tree, null can be used for
* generating an empty design
@@ -737,7 +737,7 @@ public class Design implements Serializable {
* Writes the component, given in the design context, in design format to
* the given output stream. The design context is used for writing local ids
* and other information not available in the component tree.
- *
+ *
* @param designContext
* The DesignContext object specifying the component hierarchy
* and the local id values of the objects. If
@@ -757,7 +757,7 @@ public class Design implements Serializable {
/**
* Writes the given jsoup document to the output stream (in UTF-8)
- *
+ *
* @param doc
* the document to write
* @param outputStream
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
index 34ed98f113..72cc2bf356 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -45,7 +45,7 @@ import com.vaadin.ui.Alignment;
* Default attribute handler implementation used when parsing designs to
* component trees. Handles all the component attributes that do not require
* custom handling.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
@@ -63,7 +63,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Returns the currently used formatter. All primitive types and all types
* needed by Vaadin components are handled by that formatter.
- *
+ *
* @return An instance of the formatter.
*/
public static DesignFormatter getFormatter() {
@@ -72,7 +72,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Clears the children and attributes of the given element
- *
+ *
* @param design
* the element to be cleared
*/
@@ -90,7 +90,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Assigns the specified design attribute to the given component.
- *
+ *
* @param target
* the target to which the attribute should be set
* @param attribute
@@ -133,7 +133,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Searches for supported setter and getter types from the specified class
* and returns the list of corresponding design attributes
- *
+ *
* @param clazz
* the class scanned for setters
* @return the list of supported design attributes
@@ -147,7 +147,7 @@ public class DesignAttributeHandler implements Serializable {
* Resolves the supported attributes and corresponding getters and setters
* for the class using introspection. After resolving, the information is
* cached internally by this class
- *
+ *
* @param clazz
* the class to resolve the supported attributes for
*/
@@ -184,7 +184,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Writes the specified attribute to the design if it differs from the
* default value got from the <code> defaultInstance <code>
- *
+ *
* @param component
* the component used to get the attribute value
* @param attribute
@@ -219,7 +219,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Writes the given attribute value to a set of attributes if it differs
* from the default attribute value.
- *
+ *
* @param attribute
* the attribute key
* @param attributes
@@ -252,7 +252,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Reads the given attribute from a set of attributes. If attribute does not
* exist return a given default value.
- *
+ *
* @param attribute
* the attribute key
* @param attributes
@@ -275,7 +275,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Reads the given attribute from a set of attributes.
- *
+ *
* @param attribute
* the attribute key
* @param attributes
@@ -307,7 +307,7 @@ public class DesignAttributeHandler implements Serializable {
* Returns the design attribute name corresponding the given method name.
* For example given a method name <code>setPrimaryStyleName</code> the
* return value would be <code>primary-style-name</code>
- *
+ *
* @param propertyName
* the property name returned by {@link IntroSpector}
* @return the design attribute name corresponding the given method name
@@ -329,7 +329,7 @@ public class DesignAttributeHandler implements Serializable {
* Replaces subsequent UPPERCASE strings of length 2 or more followed either
* by another uppercase letter or an end of string. This is to generalise
* handling of method names like <tt>showISOWeekNumbers</tt>.
- *
+ *
* @param param
* Input string.
* @return Input string with sequences of UPPERCASE turned into Normalcase.
@@ -366,7 +366,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Serializes the given value to valid design attribute representation
- *
+ *
* @param sourceType
* the type of the value
* @param value
@@ -391,7 +391,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Returns a setter that can be used for assigning the given design
* attribute to the class
- *
+ *
* @param clazz
* the class that is scanned for setters
* @param attribute
@@ -407,7 +407,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Returns a getter that can be used for reading the given design attribute
* value from the class
- *
+ *
* @param clazz
* the class that is scanned for getters
* @param attribute
@@ -423,7 +423,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Cache object for caching supported attributes and their getters and
* setters
- *
+ *
* @author Vaadin Ltd
*/
private static class AttributeCacheEntry implements Serializable {
@@ -456,7 +456,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Read the alignment from the given child component attributes.
- *
+ *
* @since 7.6.4
* @param attr
* the child component attributes
@@ -484,7 +484,7 @@ public class DesignAttributeHandler implements Serializable {
/**
* Writes the alignment to the given child element attributes.
- *
+ *
* @since 7.6.4
* @param childElement
* the child element
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignContext.java b/server/src/main/java/com/vaadin/ui/declarative/DesignContext.java
index d153e1b13e..a9eeddb416 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignContext.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignContext.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -44,13 +44,13 @@ import com.vaadin.ui.declarative.Design.ComponentMapper;
* mappings from local ids, global ids and captions to components , as well as a
* mapping between prefixes and package names (such as "vaadin" ->
* "com.vaadin.ui").
- *
+ *
* Versions prior to 7.6 use "v" as the default prefix. Versions starting with
* 7.6 support reading designs with either "v" or "vaadin" as the prefix, but
* only write "vaadin" by default. Writing with the legacy prefix can be
* activated with the property or context parameter
* {@link Constants#SERVLET_PARAMETER_LEGACY_DESIGN_PREFIX}.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
@@ -111,7 +111,7 @@ public class DesignContext implements Serializable {
/**
* Returns a component having the specified local id. If no component is
* found, returns null.
- *
+ *
* @param localId
* The local id of the component
* @return a component whose local id equals localId
@@ -123,7 +123,7 @@ public class DesignContext implements Serializable {
/**
* Returns a component having the specified global id. If no component is
* found, returns null.
- *
+ *
* @param globalId
* The global id of the component
* @return a component whose global id equals globalId
@@ -135,7 +135,7 @@ public class DesignContext implements Serializable {
/**
* Returns a component having the specified caption. If no component is
* found, returns null.
- *
+ *
* @param caption
* The caption of the component
* @return a component whose caption equals the caption given as a parameter
@@ -148,15 +148,15 @@ public class DesignContext implements Serializable {
* Creates a mapping between the given global id and the component. Returns
* true if globalId was already mapped to some component. Otherwise returns
* false. Also sets the id of the component to globalId.
- *
+ *
* If there is a mapping from the component to a global id (gid) different
* from globalId, the mapping from gid to component is removed.
- *
+ *
* If the string was mapped to a component c different from the given
* component, the mapping from c to the string is removed. Similarly, if
* component was mapped to some string s different from globalId, the
* mapping from s to component is removed.
- *
+ *
* @param globalId
* The new global id of the component.
* @param component
@@ -182,19 +182,19 @@ public class DesignContext implements Serializable {
* Creates a mapping between the given local id and the component. Returns
* true if localId was already mapped to some component or if component was
* mapped to some string. Otherwise returns false.
- *
+ *
* If the string was mapped to a component c different from the given
* component, the mapping from c to the string is removed. Similarly, if
* component was mapped to some string s different from localId, the mapping
* from s to component is removed.
- *
+ *
* @since 7.5.0
- *
+ *
* @param component
* The component whose local id is to be set.
* @param localId
* The new local id of the component.
- *
+ *
* @return true, if there already was a local id mapping from the string to
* some component or from the component to some string. Otherwise
* returns false.
@@ -206,9 +206,9 @@ public class DesignContext implements Serializable {
/**
* Returns the local id for a component.
- *
+ *
* @since 7.5.0
- *
+ *
* @param component
* The component whose local id to get.
* @return the local id of the component, or null if the component has no
@@ -221,13 +221,13 @@ public class DesignContext implements Serializable {
/**
* Creates a mapping between the given caption and the component. Returns
* true if caption was already mapped to some component.
- *
+ *
* Note that unlike mapGlobalId, if some component already has the given
* caption, the caption is not cleared from the component. This allows
* non-unique captions. However, only one of the components corresponding to
* a given caption can be found using the map captionToComponent. Hence, any
* captions that are used to identify an object should be unique.
- *
+ *
* @param caption
* The new caption of the component.
* @param component
@@ -245,10 +245,10 @@ public class DesignContext implements Serializable {
* value v different from the given value, the mapping from v to key is
* removed. Similarly, if value was mapped to some key k different from key,
* the mapping from k to value is removed.
- *
+ *
* Returns true if there already was a mapping from key to some value v or
* if there was a mapping from value to some key k. Otherwise returns false.
- *
+ *
* @param key
* The new key in keyToValue.
* @param value
@@ -275,18 +275,18 @@ public class DesignContext implements Serializable {
/**
* Creates a two-way mapping between a prefix and a package name.
- *
+ *
* Note that modifying the mapping for {@value #VAADIN_UI_PACKAGE} may
* invalidate the backwards compatibility mechanism supporting reading such
* components with either {@value #LEGACY_PREFIX} or {@value #VAADIN_PREFIX}
* as prefix.
- *
+ *
* @param prefix
* the prefix name without an ending dash (for instance, "vaadin"
* is by default used for "com.vaadin.ui")
* @param packageName
* the name of the package corresponding to prefix
- *
+ *
* @see #getPackagePrefixes()
* @see #getPackagePrefix(String)
* @see #getPackage(String)
@@ -299,10 +299,10 @@ public class DesignContext implements Serializable {
/**
* Gets the prefix mapping for a given package, or <code>null</code> if
* there is no mapping for the package.
- *
+ *
* @see #addPackagePrefix(String, String)
* @see #getPackagePrefixes()
- *
+ *
* @since 7.5.0
* @param packageName
* the package name to get a prefix for
@@ -319,8 +319,8 @@ public class DesignContext implements Serializable {
/**
* Gets all registered package prefixes.
- *
- *
+ *
+ *
* @since 7.5.0
* @see #getPackage(String)
* @return a collection of package prefixes
@@ -332,7 +332,7 @@ public class DesignContext implements Serializable {
/**
* Gets the package corresponding to the give prefix, or <code>null</code>
* no package has been registered for the prefix
- *
+ *
* @since 7.5.0
* @see #addPackagePrefix(String, String)
* @param prefix
@@ -347,7 +347,7 @@ public class DesignContext implements Serializable {
/**
* Returns the default instance for the given class. The instance must not
* be modified by the caller.
- *
+ *
* @param abstractComponent
* @return the default instance for the given class. The return value must
* not be modified by the caller
@@ -413,7 +413,7 @@ public class DesignContext implements Serializable {
* the specified document.
* <p>
* The prefixes are stored as <meta> tags under <head> in the document.
- *
+ *
* @param doc
* the Jsoup document tree where the package mappings are written
*/
@@ -438,7 +438,7 @@ public class DesignContext implements Serializable {
* be used when writing designs. The property or context parameter
* {@link Constants#SERVLET_PARAMETER_LEGACY_DESIGN_PREFIX} can be used to
* switch to the legacy prefix.
- *
+ *
* @since 7.5.7
* @return true to use the legacy prefix, false by default
*/
@@ -463,7 +463,7 @@ public class DesignContext implements Serializable {
* initializes its attributes by calling writeDesign. As a result of the
* writeDesign() call, this method creates the entire subtree rooted at the
* returned Node.
- *
+ *
* @param childComponent
* The component with state that is written in to the node
* @return An html tree node corresponding to the given component. The tag
@@ -488,7 +488,7 @@ public class DesignContext implements Serializable {
/**
* Reads the given design node and creates the corresponding component tree
- *
+ *
* @param componentDesign
* The design element containing the description of the component
* to be created.
@@ -503,13 +503,13 @@ public class DesignContext implements Serializable {
}
/**
- *
+ *
* Reads the given design node and populates the given component with the
* corresponding component tree
* <p>
* Additionally registers the component id, local id and caption of the
* given component and all its children in the context
- *
+ *
* @param componentDesign
* The design element containing the description of the component
* to be created
@@ -551,7 +551,7 @@ public class DesignContext implements Serializable {
/**
* Creates a Component corresponding to the given node. Does not set the
* attributes for the created object.
- *
+ *
* @param node
* a node of an html tree
* @return a Component corresponding to node, with no attributes set.
@@ -580,7 +580,7 @@ public class DesignContext implements Serializable {
/**
* Instantiates given class via ComponentFactory.
- *
+ *
* @param qualifiedClassName
* class name to instantiate
* @return instance of a given class
@@ -600,7 +600,7 @@ public class DesignContext implements Serializable {
/**
* Returns the root component of a created component hierarchy.
- *
+ *
* @return the root component of the hierarchy
*/
public Component getRootComponent() {
@@ -609,7 +609,7 @@ public class DesignContext implements Serializable {
/**
* Sets the root component of a created component hierarchy.
- *
+ *
* @param rootComponent
* the root component of the hierarchy
*/
@@ -620,7 +620,7 @@ public class DesignContext implements Serializable {
/**
* Adds a component creation listener. The listener will be notified when
* components are created while parsing a design template
- *
+ *
* @param listener
* the component creation listener to be added
*/
@@ -631,7 +631,7 @@ public class DesignContext implements Serializable {
/**
* Removes a component creation listener.
- *
+ *
* @param listener
* the component creation listener to be removed
*/
@@ -642,7 +642,7 @@ public class DesignContext implements Serializable {
/**
* Fires component creation event
- *
+ *
* @param localId
* localId of the component
* @param component
@@ -659,14 +659,14 @@ public class DesignContext implements Serializable {
/**
* Interface to be implemented by component creation listeners
- *
+ *
* @author Vaadin Ltd
*/
public interface ComponentCreationListener extends Serializable {
/**
* Called when component has been created in the design context
- *
+ *
* @param event
* the component creation event containing information on the
* created component
@@ -677,7 +677,7 @@ public class DesignContext implements Serializable {
/**
* Component creation event that is fired when a component is created in the
* context
- *
+ *
* @author Vaadin Ltd
*/
public class ComponentCreatedEvent implements Serializable {
@@ -687,7 +687,7 @@ public class DesignContext implements Serializable {
/**
* Creates a new instance of ComponentCreatedEvent
- *
+ *
* @param localId
* the local id of the created component
* @param component
@@ -701,7 +701,7 @@ public class DesignContext implements Serializable {
/**
* Returns the local id of the created component or null if not exist
- *
+ *
* @return the localId
*/
public String getLocalId() {
@@ -710,7 +710,7 @@ public class DesignContext implements Serializable {
/**
* Returns the created component
- *
+ *
* @return the component
*/
public Component getComponent() {
@@ -721,7 +721,7 @@ public class DesignContext implements Serializable {
/**
* Helper method for component write implementors to determine whether their
* children should be written out or not
- *
+ *
* @param c
* The component being written
* @param defaultC
@@ -751,7 +751,7 @@ public class DesignContext implements Serializable {
* delegate assumes that all component data is provided by a data source
* connected to a back end system and that the data should thus not be
* written.
- *
+ *
* @since 7.5.0
* @see #setShouldWriteDataDelegate(ShouldWriteDataDelegate)
* @param component
@@ -766,7 +766,7 @@ public class DesignContext implements Serializable {
/**
* Sets the delegate that determines whether the container data of a
* component should be written out.
- *
+ *
* @since 7.5.0
* @see #shouldWriteChildren(Component, Component)
* @see #getShouldWriteDataDelegate()
@@ -786,7 +786,7 @@ public class DesignContext implements Serializable {
/**
* Gets the delegate that determines whether the container data of a
* component should be written out.
- *
+ *
* @since 7.5.0
* @see #setShouldWriteDataDelegate(ShouldWriteDataDelegate)
* @see #shouldWriteChildren(Component, Component)
@@ -798,7 +798,7 @@ public class DesignContext implements Serializable {
/**
* Gets the attributes that the component did not handle
- *
+ *
* @since 7.7
* @param component
* the component to get the attributes for
@@ -811,7 +811,7 @@ public class DesignContext implements Serializable {
/**
* Sets a custom attribute not handled by the component. These attributes
* are directly written to the component tag.
- *
+ *
* @since 7.7
* @param component
* the component to set the attribute for
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignException.java b/server/src/main/java/com/vaadin/ui/declarative/DesignException.java
index 85204cad14..b80e13ef0a 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignException.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignException.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -18,7 +18,7 @@ package com.vaadin.ui.declarative;
@SuppressWarnings("serial")
/**
* An exception that is used when reading or writing a design fails.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java b/server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java
index bced72f98f..64a9ed0dd4 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -49,7 +49,7 @@ import com.vaadin.ui.declarative.converters.DesignToStringConverter;
* Class focused on flexible and consistent formatting and parsing of different
* values throughout reading and writing {@link Design}. An instance of this
* class is used by {@link DesignAttributeHandler}.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
@@ -68,7 +68,7 @@ public class DesignFormatter implements Serializable {
/**
* Maps default types to their converters.
- *
+ *
*/
protected void mapDefaultTypes() {
// numbers use standard toString/valueOf approach
@@ -206,7 +206,7 @@ public class DesignFormatter implements Serializable {
/**
* Adds a converter for a new type.
- *
+ *
* @param converter
* Converter to add.
*/
@@ -216,7 +216,7 @@ public class DesignFormatter implements Serializable {
/**
* Adds a converter for a given type.
- *
+ *
* @param type
* Type to convert to/from.
* @param converter
@@ -229,7 +229,7 @@ public class DesignFormatter implements Serializable {
/**
* Removes the converter for given type, if it was present.
- *
+ *
* @param type
* Type to remove converter for.
*/
@@ -241,7 +241,7 @@ public class DesignFormatter implements Serializable {
* Returns a set of classes that have a converter registered. This is <b>not
* the same</b> as the list of supported classes - subclasses of classes in
* this set are also supported.
- *
+ *
* @return An unmodifiable set of classes that have a converter registered.
*/
protected Set<Class<?>> getRegisteredClasses() {
@@ -250,7 +250,7 @@ public class DesignFormatter implements Serializable {
/**
* Parses a given string as a value of given type
- *
+ *
* @param value
* String value to convert.
* @param type
@@ -269,7 +269,7 @@ public class DesignFormatter implements Serializable {
/**
* Finds a formatter for a given object and attempts to format it.
- *
+ *
* @param object
* Object to format.
* @return String representation of the object, as returned by the
@@ -282,7 +282,7 @@ public class DesignFormatter implements Serializable {
/**
* Formats an object according to a converter suitable for a given type.
- *
+ *
* @param object
* Object to format.
* @param type
@@ -303,7 +303,7 @@ public class DesignFormatter implements Serializable {
/**
* Checks whether or not a value of a given type can be converted. If a
* converter for a superclass is found, this will return true.
- *
+ *
* @param type
* Type to check.
* @return <b>true</b> when either a given type or its supertype has a
@@ -316,7 +316,7 @@ public class DesignFormatter implements Serializable {
/**
* Finds a converter for a given type. May return a converter for a
* superclass instead, if one is found and {@code strict} is false.
- *
+ *
* @param sourceType
* Type to find a converter for.
* @param strict
@@ -356,7 +356,7 @@ public class DesignFormatter implements Serializable {
/**
* Finds a converter for a given type. May return a converter for a
* superclass instead, if one is found.
- *
+ *
* @param sourceType
* Type to find a converter for.
* @return A valid converter for a given type or its subtype, <b>null</b> if
@@ -381,7 +381,7 @@ public class DesignFormatter implements Serializable {
* Typically, this method will be used by components to encode data (like
* option items in {@link AbstractSelect}) when dumping to HTML format
* </p>
- *
+ *
* @since 7.5.7
* @param input
* String to be encoded
@@ -400,13 +400,13 @@ public class DesignFormatter implements Serializable {
* Decodes HTML entities in a text from text node and replaces them with
* actual characters.
* </p>
- *
+ *
* <p>
* Typically this method will be used by components to read back data (like
* option items in {@link AbstractSelect}) from HTML. Note that this method
* unencodes more characters than {@link #encodeForTextNode(String)} encodes
* </p>
- *
+ *
* @since 7.6
* @param input
* @return
diff --git a/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java b/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java
index 74dca23639..f9955928d9 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -31,7 +31,7 @@ import com.vaadin.ui.Component;
/**
* Binder utility that binds member fields of a design class instance to given
* component instances. Only fields of type {@link Component} are bound
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
@@ -44,7 +44,7 @@ public class FieldBinder implements Serializable {
/**
* Creates a new instance of LayoutFieldBinder.
- *
+ *
* @param design
* the design class instance containing the fields to bind
* @throws IntrospectionException
@@ -56,7 +56,7 @@ public class FieldBinder implements Serializable {
/**
* Creates a new instance of LayoutFieldBinder.
- *
+ *
* @param design
* the instance containing the fields
* @param classWithFields
@@ -75,7 +75,7 @@ public class FieldBinder implements Serializable {
/**
* Returns a collection of field names that are not bound.
- *
+ *
* @return a collection of fields assignable to Component that are not bound
*/
public Collection<String> getUnboundFields() throws FieldBindingException {
@@ -117,7 +117,7 @@ public class FieldBinder implements Serializable {
* id or caption of the instance, depending on which one is defined. If a
* field is already bound (not null), {@link FieldBindingException} is
* thrown.
- *
+ *
* @param instance
* the instance to be bound to a field
* @return true on success, otherwise false
@@ -131,7 +131,7 @@ public class FieldBinder implements Serializable {
/**
* Tries to bind the given {@link Component} instance to a member field of
* the bind target. The fields are matched based on localId, id and caption.
- *
+ *
* @param instance
* the instance to be bound to a field
* @param localId
@@ -163,7 +163,7 @@ public class FieldBinder implements Serializable {
* the bind target. The field is matched based on the given identifier. If a
* field is already bound (not null), {@link FieldBindingException} is
* thrown.
- *
+ *
* @param identifier
* the identifier for the field.
* @param instance
@@ -218,7 +218,7 @@ public class FieldBinder implements Serializable {
/**
* Converts the given identifier to a valid field name by stripping away
* illegal character and setting the first letter of the name to lower case.
- *
+ *
* @param identifier
* the identifier to be converted to field name
* @return the field name corresponding the identifier
@@ -245,7 +245,7 @@ public class FieldBinder implements Serializable {
* Returns a list containing Field objects reflecting all the fields of the
* class or interface represented by this Class object. The fields in
* superclasses are excluded.
- *
+ *
* @param searchClass
* the class to be scanned for fields
* @return the list of fields in this class
diff --git a/server/src/main/java/com/vaadin/ui/declarative/FieldBindingException.java b/server/src/main/java/com/vaadin/ui/declarative/FieldBindingException.java
index d8b587a14c..12b830ffef 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/FieldBindingException.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/FieldBindingException.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -18,7 +18,7 @@ package com.vaadin.ui.declarative;
/**
* Exception that is thrown when an error occurs during field binding when
* reading a design template
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
diff --git a/server/src/main/java/com/vaadin/ui/declarative/ShouldWriteDataDelegate.java b/server/src/main/java/com/vaadin/ui/declarative/ShouldWriteDataDelegate.java
index 9cb1f1c605..5fbcba0d0c 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/ShouldWriteDataDelegate.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/ShouldWriteDataDelegate.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -22,9 +22,9 @@ import com.vaadin.ui.Component;
/**
* Delegate used by {@link DesignContext} to determine whether container data
* should be written out for a component.
- *
+ *
* @see DesignContext#shouldWriteData(Component)
- *
+ *
* @since 7.5.0
* @author Vaadin Ltd
*/
@@ -45,7 +45,7 @@ public interface ShouldWriteDataDelegate extends Serializable {
/**
* Determines whether the container data of a component should be written
* out.
- *
+ *
* @param component
* the component to check
* @return <code>true</code> if container data should be written out for the
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java
index 5fc7c239e1..2ecb24d907 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -26,7 +26,7 @@ import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
* A date converter to be used by {@link DesignAttributeHandler}. Provides
* ISO-compliant way of storing date and time.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java
index 1f14c0571d..0c7b5ece9b 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -23,7 +23,7 @@ import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
* An converter for Enum to/from String for {@link DesignAttributeHandler} to
* use internally.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java
index cb950aa821..7dfc57d81c 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -23,7 +23,7 @@ import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
* An converter for Object to/from String for {@link DesignAttributeHandler} to
* use internally.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java
index a006d88bf6..83ab235bc8 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -35,7 +35,7 @@ import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
* A converter for {@link Resource} implementations supported by
* {@link DesignAttributeHandler}.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java
index 04738f4043..731c264360 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -28,7 +28,7 @@ import com.vaadin.legacy.data.util.converter.LegacyConverter;
/**
* Converter for {@link ShortcutActions}.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java
index 2fe66285c8..0138909857 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -24,7 +24,7 @@ import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
* Utility class for {@link DesignAttributeHandler} that deals with converting
* various TimeZones to string.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java
index 8878b1b4f1..771a98e43c 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -24,7 +24,7 @@ import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
* Utility class for {@link DesignAttributeHandler} that deals with converting
* various types to string.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
* @param <TYPE>
@@ -46,7 +46,7 @@ public class DesignToStringConverter<TYPE>
* Constructs the converter for a given type. Implicitly requires that a
* static method {@code valueOf(String)} is present in the type to do the
* conversion.
- *
+ *
* @param type
* Type of values to convert.
*/
@@ -57,7 +57,7 @@ public class DesignToStringConverter<TYPE>
/**
* Constructs the converter for a given type, giving the name of the public
* static method that does the conversion from String.
- *
+ *
* @param type
* Type to convert.
* @param staticMethodName
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/ShortcutKeyMapper.java b/server/src/main/java/com/vaadin/ui/declarative/converters/ShortcutKeyMapper.java
index 2940c82c06..7796ce90d7 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/ShortcutKeyMapper.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/ShortcutKeyMapper.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -25,7 +25,7 @@ import com.vaadin.event.ShortcutAction.ModifierKey;
/**
* Provides mappings between shortcut keycodes and their representation in
* design attributes. Contains a default framework implementation as a field.
- *
+ *
* @since 7.4
* @author Vaadin Ltd
*/
@@ -33,7 +33,7 @@ public interface ShortcutKeyMapper extends Serializable {
/**
* Gets the key code for a given string.
- *
+ *
* @param attributePresentation
* String
* @return Key code.
@@ -42,7 +42,7 @@ public interface ShortcutKeyMapper extends Serializable {
/**
* Returns a string for a given key code.
- *
+ *
* @param keyCode
* Key code.
* @return String.