aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/Layout.java
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/Layout.java
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/Layout.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/Layout.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Layout.java b/server/src/main/java/com/vaadin/ui/Layout.java
index 6cf2cec249..01343d3299 100644
--- a/server/src/main/java/com/vaadin/ui/Layout.java
+++ b/server/src/main/java/com/vaadin/ui/Layout.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.shared.ui.MarginInfo;
* layouting control to the elements in the container. This is required by the
* various layout components to enable them to place other components in
* specific locations in the UI.
- *
+ *
* @author Vaadin Ltd.
* @since 3.0
*/
@@ -40,11 +40,11 @@ public interface Layout extends ComponentContainer, Serializable {
/**
* Set alignment for one contained component in this layout. Use
* predefined alignments from Alignment class.
- *
+ *
* Example: <code>
* layout.setComponentAlignment(myComponent, Alignment.TOP_RIGHT);
* </code>
- *
+ *
* @param childComponent
* the component to align within it's layout cell.
* @param alignment
@@ -55,7 +55,7 @@ public interface Layout extends ComponentContainer, Serializable {
/**
* Returns the current Alignment of given component.
- *
+ *
* @param childComponent
* @return the {@link Alignment}
*/
@@ -64,7 +64,7 @@ public interface Layout extends ComponentContainer, Serializable {
/**
* Sets the alignment used for new components added to this layout. The
* default is {@link Alignment#TOP_LEFT}.
- *
+ *
* @param defaultComponentAlignment
* The new default alignment
*/
@@ -73,7 +73,7 @@ public interface Layout extends ComponentContainer, Serializable {
/**
* Returns the alignment used for new components added to this layout
- *
+ *
* @return The default alignment
*/
public Alignment getDefaultComponentAlignment();
@@ -83,12 +83,12 @@ public interface Layout extends ComponentContainer, Serializable {
/**
* This type of layout supports automatic addition of space between its
* components.
- *
+ *
*/
public interface SpacingHandler extends Serializable {
/**
* Enable spacing between child components within this layout.
- *
+ *
* <p>
* <strong>NOTE:</strong> This will only affect the space between
* components, not the space around all the components in the layout
@@ -96,12 +96,12 @@ public interface Layout extends ComponentContainer, Serializable {
* Table). Use {@link #setMargin(boolean)} to add space around the
* layout.
* </p>
- *
+ *
* <p>
* See the reference manual for more information about CSS rules for
* defining the amount of spacing to use.
* </p>
- *
+ *
* @param enabled
* true if spacing should be turned on, false if it should be
* turned off
@@ -109,7 +109,7 @@ public interface Layout extends ComponentContainer, Serializable {
public void setSpacing(boolean enabled);
/**
- *
+ *
* @return true if spacing between child components within this layout
* is enabled, false otherwise
*/
@@ -127,7 +127,7 @@ public interface Layout extends ComponentContainer, Serializable {
* will tell the client-side implementation to leave extra space around
* the layout. The client-side implementation decides the actual amount,
* and it can vary between themes.
- *
+ *
* @param enabled
* true if margins should be enabled on all sides, false to
* disable all margins
@@ -136,26 +136,26 @@ public interface Layout extends ComponentContainer, Serializable {
/**
* Enable margins for this layout.
- *
+ *
* <p>
* <strong>NOTE:</strong> This will only affect the space around the
* components in the layout, not space between the components in the
* layout. Use {@link #setSpacing(boolean)} to add space between the
* components in the layout.
* </p>
- *
+ *
* <p>
* See the reference manual for more information about CSS rules for
* defining the size of the margin.
* </p>
- *
+ *
* @param marginInfo
* MarginInfo object containing the new margins.
*/
public void setMargin(MarginInfo marginInfo);
/**
- *
+ *
* @return MarginInfo containing the currently enabled margins.
*/
public MarginInfo getMargin();