aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbstractSplitPanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/AbstractSplitPanel.java')
-rw-r--r--src/com/vaadin/ui/AbstractSplitPanel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/ui/AbstractSplitPanel.java b/src/com/vaadin/ui/AbstractSplitPanel.java
index 805640387f..6a7099ba9d 100644
--- a/src/com/vaadin/ui/AbstractSplitPanel.java
+++ b/src/com/vaadin/ui/AbstractSplitPanel.java
@@ -346,7 +346,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
* the unit (from {@link Sizeable}) in which the size is given.
* Allowed units are UNITS_PERCENTAGE and UNITS_PIXELS
*/
- public void setMinimumSplitPosition(int pos, Unit unit) {
+ public void setMinSplitPosition(int pos, Unit unit) {
setSplitPositionLimits(pos, unit, getSplitterState().getMaxPosition(),
posMaxUnit);
}
@@ -380,7 +380,7 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
* the unit (from {@link Sizeable}) in which the size is given.
* Allowed units are UNITS_PERCENTAGE and UNITS_PIXELS
*/
- public void setMaxSplitPosition(int pos, Unit unit) {
+ public void setMaxSplitPosition(float pos, Unit unit) {
setSplitPositionLimits(getSplitterState().getMinPosition(), posMinUnit,
pos, unit);
}