aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/AbstractSplitPanel.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/AbstractSplitPanel.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/AbstractSplitPanel.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractSplitPanel.java78
1 files changed, 39 insertions, 39 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractSplitPanel.java b/server/src/main/java/com/vaadin/ui/AbstractSplitPanel.java
index c2fd23cf63..2bf93219fb 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractSplitPanel.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractSplitPanel.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
@@ -39,10 +39,10 @@ import com.vaadin.util.ReflectTools;
/**
* AbstractSplitPanel.
- *
+ *
* <code>AbstractSplitPanel</code> is base class for a component container that
* can contain two components. The components are split by a divider element.
- *
+ *
* @author Vaadin Ltd.
* @since 6.5
*/
@@ -125,7 +125,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Add a component into this container. The component is added to the right
* or under the previous component.
- *
+ *
* @param c
* the component to be added.
*/
@@ -145,7 +145,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Sets the first component of this split panel. Depending on the direction
* the first component is shown at the top or to the left.
- *
+ *
* @param c
* The component to use as first component
*/
@@ -168,7 +168,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Sets the second component of this split panel. Depending on the direction
* the second component is shown at the bottom or to the right.
- *
+ *
* @param c
* The component to use as second component
*/
@@ -191,7 +191,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Gets the first component of this split panel. Depending on the direction
* this is either the component shown at the top or to the left.
- *
+ *
* @return the first component of this split panel
*/
public Component getFirstComponent() {
@@ -201,7 +201,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Gets the second component of this split panel. Depending on the direction
* this is either the component shown at the top or to the left.
- *
+ *
* @return the second component of this split panel
*/
public Component getSecondComponent() {
@@ -210,7 +210,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Removes the component from this container.
- *
+ *
* @param c
* the component to be removed.
*/
@@ -227,7 +227,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/*
* (non-Javadoc)
- *
+ *
* @see com.vaadin.ui.ComponentContainer#getComponentIterator()
*/
@@ -239,7 +239,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Gets the number of contained components. Consistent with the iterator
* returned by {@link #getComponentIterator()}.
- *
+ *
* @return the number of contained components (zero, one or two)
*/
@@ -269,7 +269,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Moves the position of the splitter.
- *
+ *
* @param pos
* the new size of the first region in the unit that was last
* used (default is percentage). Fractions are only allowed when
@@ -281,12 +281,12 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Moves the position of the splitter.
- *
+ *
* @param pos
* the new size of the region in the unit that was last used
* (default is percentage). Fractions are only allowed when unit
* is percentage.
- *
+ *
* @param reverse
* if set to true the split splitter position is measured by the
* second region else it is measured by the first region
@@ -297,7 +297,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Moves the position of the splitter with given position and unit.
- *
+ *
* @param pos
* the new size of the first region. Fractions are only allowed
* when unit is percentage.
@@ -310,7 +310,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Moves the position of the splitter with given position and unit.
- *
+ *
* @param pos
* the new size of the first region. Fractions are only allowed
* when unit is percentage.
@@ -319,7 +319,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
* @param reverse
* if set to true the split splitter position is measured by the
* second region else it is measured by the first region
- *
+ *
*/
public void setSplitPosition(float pos, Unit unit, boolean reverse) {
if (unit != Unit.PERCENTAGE && unit != Unit.PIXELS) {
@@ -341,7 +341,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Returns the current position of the splitter, in
* {@link #getSplitPositionUnit()} units.
- *
+ *
* @return position of the splitter
*/
public float getSplitPosition() {
@@ -350,7 +350,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Returns the unit of position of the splitter
- *
+ *
* @return unit of position of the splitter
* @see #setSplitPosition(float, Unit)
*/
@@ -362,7 +362,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
* Is the split position reversed. By default the split position is measured
* by the first region, but if split position is reversed the measuring is
* done by the second region instead.
- *
+ *
* @since 7.3.6
* @return {@code true} if reversed, {@code false} otherwise.
* @see #setSplitPosition(float, boolean)
@@ -374,7 +374,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Sets the minimum split position to the given position and unit. If the
* split position is reversed, maximum and minimum are also reversed.
- *
+ *
* @param pos
* the minimum position of the split
* @param unit
@@ -389,7 +389,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Returns the current minimum position of the splitter, in
* {@link #getMinSplitPositionUnit()} units.
- *
+ *
* @return the minimum position of the splitter
*/
public float getMinSplitPosition() {
@@ -398,7 +398,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Returns the unit of the minimum position of the splitter.
- *
+ *
* @return the unit of the minimum position of the splitter
*/
public Unit getMinSplitPositionUnit() {
@@ -408,7 +408,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Sets the maximum split position to the given position and unit. If the
* split position is reversed, maximum and minimum are also reversed.
- *
+ *
* @param pos
* the maximum position of the split
* @param unit
@@ -423,7 +423,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Returns the current maximum position of the splitter, in
* {@link #getMaxSplitPositionUnit()} units.
- *
+ *
* @return the maximum position of the splitter
*/
public float getMaxSplitPosition() {
@@ -432,7 +432,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Returns the unit of the maximum position of the splitter
- *
+ *
* @return the unit of the maximum position of the splitter
*/
public Unit getMaxSplitPositionUnit() {
@@ -442,7 +442,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Sets the maximum and minimum position of the splitter. If the split
* position is reversed, maximum and minimum are also reversed.
- *
+ *
* @param minPos
* the new minimum position
* @param minPosUnit
@@ -477,7 +477,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Lock the SplitPanels position, disabling the user from dragging the split
* handle.
- *
+ *
* @param locked
* Set <code>true</code> if locked, <code>false</code> otherwise.
*/
@@ -488,7 +488,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Is the SplitPanel handle locked (user not allowed to change split
* position by dragging).
- *
+ *
* @return <code>true</code> if locked, <code>false</code> otherwise.
*/
public boolean isLocked() {
@@ -498,7 +498,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* <code>SplitterClickListener</code> interface for listening for
* <code>SplitterClickEvent</code> fired by a <code>SplitPanel</code>.
- *
+ *
* @see SplitterClickEvent
* @since 6.2
*/
@@ -510,7 +510,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* SplitPanel splitter has been clicked
- *
+ *
* @param event
* SplitterClickEvent event.
*/
@@ -529,7 +529,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Interface for listening for {@link SplitPositionChangeEvent}s fired by a
* SplitPanel.
- *
+ *
* @since 7.5.0
*/
public interface SplitPositionChangeListener
@@ -541,7 +541,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* SplitPanel splitter position has been changed.
- *
+ *
* @param event
* SplitPositionChangeEvent event.
*/
@@ -550,7 +550,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Event that indicates a change in SplitPanel's splitter position.
- *
+ *
* @since 7.5.0
*/
public static class SplitPositionChangeEvent extends Component.Event {
@@ -605,7 +605,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Register a listener to handle {@link SplitPositionChangeEvent}s.
- *
+ *
* @since 7.5.0
* @param listener
* {@link SplitPositionChangeListener} to be registered.
@@ -618,7 +618,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/**
* Removes a {@link SplitPositionChangeListener}.
- *
+ *
* @since 7.5.0
* @param listener
* SplitPositionChangeListener to be removed.
@@ -649,7 +649,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
/*
* (non-Javadoc)
- *
+ *
* @see com.vaadin.ui.AbstractComponent#readDesign(org.jsoup.nodes .Element,
* com.vaadin.ui.declarative.DesignContext)
*/