aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/TestComponentsAndLayouts.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/tests/TestComponentsAndLayouts.java')
-rw-r--r--src/com/itmill/toolkit/tests/TestComponentsAndLayouts.java33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/com/itmill/toolkit/tests/TestComponentsAndLayouts.java b/src/com/itmill/toolkit/tests/TestComponentsAndLayouts.java
index 028a0bda34..0d55cd5c82 100644
--- a/src/com/itmill/toolkit/tests/TestComponentsAndLayouts.java
+++ b/src/com/itmill/toolkit/tests/TestComponentsAndLayouts.java
@@ -96,7 +96,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
main.addComponent(eventListenerFeedback);
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
window = new Window("Components inside Window (TEST: Window)");
if (false) {
@@ -110,7 +110,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
target
.addComponent(new Label(
"<hr /><h1>Components inside horizontal OrderedLayout</h3>",
@@ -122,7 +122,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
target
.addComponent(new Label(
"<br/><br/><br/><hr /><h1>Components inside vertical OrderedLayout</h3>",
@@ -134,7 +134,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
target.addComponent(new Label(
"<hr /><h1>Components inside TabSheet</h3>",
Label.CONTENT_XHTML));
@@ -160,6 +160,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
"<hr /><h1>Components inside Accordion</h3>",
Label.CONTENT_XHTML));
final Accordion accordion = new Accordion();
+ accordion.setHeight(500);
final OrderedLayout acc1 = new OrderedLayout();
acc1.addComponent(new Label("try acc2"));
final OrderedLayout acc2 = new OrderedLayout();
@@ -176,7 +177,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
target.addComponent(new Label(
"<hr /><h1>Components inside GridLayout</h3>",
Label.CONTENT_XHTML));
@@ -187,7 +188,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
target
.addComponent(new Label(
"<hr /><h1>Components inside ExpandLayout (height 250px)</h3>",
@@ -200,7 +201,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
target.addComponent(new Label(
"<hr /><h1>Components inside Panel</h3>",
Label.CONTENT_XHTML));
@@ -210,7 +211,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
target
.addComponent(new Label(
"<hr /><h1>Components inside vertical SplitPanel (splitpanel is under 250height ExpandLayout)</h3>",
@@ -230,7 +231,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// //////////////////////////////////////////////////////////////////////////
- if (true) {
+ if (false) {
target
.addComponent(new Label(
"<hr /><h1>Components inside horizontal SplitPanel (splitpanel is under 250px height ExpandLayout)</h3>",
@@ -408,7 +409,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
// TWEAK these
// c.setEnabled(false);
// c.setVisible(false);
- c.setStyleName("testStyleName");
+ // c.setStyleName("testStyleName");
// c.setReadOnly(true);
// try to add listener
@@ -427,7 +428,7 @@ public class TestComponentsAndLayouts extends Application implements Listener,
*/
void test(AbstractComponent c) {
// configure common component properties
- setComponentProperties(c);
+ // setComponentProperties(c);
// AbstractComponent specific configuration
final ClassResource res = new ClassResource("m.gif", this);
@@ -437,12 +438,12 @@ public class TestComponentsAndLayouts extends Application implements Listener,
}
// TWEAK these
- c.setComponentError(errorMsg);
- c.setIcon(res);
- c.setImmediate(true);
- c.addStyleName("addedTestStyleName");
+ // c.setComponentError(errorMsg);
+ // c.setIcon(res);
+ // c.setImmediate(true);
+ // c.addStyleName("addedTestStyleName");
// c.setStyleName("singleTestStyleName");
- c.setDescription("Description here..");
+ // c.setDescription("Description here..");
}
void test(CustomComponent c) {