aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/tests/components/window/WindowStyleNames.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-10-27 07:57:12 +0000
committerArtur Signell <artur.signell@itmill.com>2009-10-27 07:57:12 +0000
commit6a3c715dae922edd723c9423b4308d5d7948b74e (patch)
tree46a007274681a9803afccf135ace5554f3e01e3a /src/com/vaadin/tests/components/window/WindowStyleNames.java
parent931d75fef69deb9b738fad97001cf5621de9f43e (diff)
downloadvaadin-framework-6a3c715dae922edd723c9423b4308d5d7948b74e.tar.gz
vaadin-framework-6a3c715dae922edd723c9423b4308d5d7948b74e.zip
Split demo and tests files to own source folders, for #3298
svn changeset:9390/svn branch:6.2
Diffstat (limited to 'src/com/vaadin/tests/components/window/WindowStyleNames.java')
-rw-r--r--src/com/vaadin/tests/components/window/WindowStyleNames.java54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/com/vaadin/tests/components/window/WindowStyleNames.java b/src/com/vaadin/tests/components/window/WindowStyleNames.java
deleted file mode 100644
index 3a36926b42..0000000000
--- a/src/com/vaadin/tests/components/window/WindowStyleNames.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package com.vaadin.tests.components.window;
-
-import com.vaadin.tests.components.TestBase;
-import com.vaadin.ui.Button;
-import com.vaadin.ui.Button.ClickEvent;
-import com.vaadin.ui.Button.ClickListener;
-
-public class WindowStyleNames extends TestBase {
-
- @Override
- protected String getDescription() {
- return "Click 'add style' to add a 'new' style to the window. The 'old' style should disappear and only the 'new' style should be set. Verify using e.g. firebug";
- }
-
- @Override
- protected Integer getTicketNumber() {
- return 3059;
- }
-
- @Override
- protected void setup() {
- setWindowStyle("old");
- addComponent(new Button("Set style to 'new'", new ClickListener() {
-
- public void buttonClick(ClickEvent event) {
- setWindowStyle("new");
- }
-
- }));
-
- addComponent(new Button("Set style to 'custom'", new ClickListener() {
-
- public void buttonClick(ClickEvent event) {
- setWindowStyle("custom");
- }
-
- }));
-
- addComponent(new Button("Add 'foo' style", new ClickListener() {
-
- public void buttonClick(ClickEvent event) {
- getMainWindow().addStyleName("foo");
- }
-
- }));
-
- }
-
- protected void setWindowStyle(String string) {
- getMainWindow().setStyleName(string);
-
- }
-
-}