From de01079d97e7d9a82ff3da787dd47e63ad4046dc Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Tue, 27 Jan 2009 07:40:35 +0000 Subject: [PATCH] removed obsolete ROWS (never used), fixes #2476 svn changeset:6640/svn branch:trunk --- src/com/itmill/toolkit/terminal/Sizeable.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/com/itmill/toolkit/terminal/Sizeable.java b/src/com/itmill/toolkit/terminal/Sizeable.java index df0c5305a9..e4030be7bc 100644 --- a/src/com/itmill/toolkit/terminal/Sizeable.java +++ b/src/com/itmill/toolkit/terminal/Sizeable.java @@ -61,13 +61,6 @@ public interface Sizeable { */ public static final int UNITS_PERCENTAGE = 8; - /** - * Unit code representing in rows of text. This unit is only applicable to - * some components can it's meaning is specified by component - * implementation. - */ - public static final int UNITS_ROWS = 9; - public static final float SIZE_UNDEFINED = -1; /** @@ -83,12 +76,11 @@ public interface Sizeable { *
  • UNITS_CM. "cm"
  • *
  • UNITS_INCH: "in"
  • *
  • UNITS_PERCENTAGE: "%"
  • - *
  • UNITS_ROWS: "rows"
  • * * These can be used like Sizeable.UNIT_SYMBOLS[UNITS_PIXELS]. */ public static final String[] UNIT_SYMBOLS = { "px", "pt", "pc", "em", "ex", - "mm", "cm", "in", "%", "rows" }; + "mm", "cm", "in", "%" }; /** * Gets the width of the object. Negative number implies unspecified size -- 2.39.5