*/
public static final String TREE_CONNECTORS = "connectors";
+ /**
+ * Clips the component so it will be constrained to its given size and not
+ * overflow.
+ */
+ public static final String CLIP = "v-clip";
+
}
\ No newline at end of file
import com.vaadin.ui.AbstractComponent;
import com.vaadin.ui.MenuBar;
import com.vaadin.ui.MenuBar.MenuItem;
+import com.vaadin.ui.themes.BaseTheme;
public abstract class AbstractComponentTest<T extends AbstractComponent>
extends AbstractComponentTestCase<T> implements FocusListener,
private void createLog() {
log = new Log(5).setNumberLogRows(true);
log.setData(log.getCaption());
- log.setStyleName("v-clip");
+ log.setStyleName(BaseTheme.CLIP);
getLayout().addComponent(log, 1);
}