litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/GwtRenderParticipatingAdapter.java
|
@@ -5,26 +5,20 @@ |
5 |
5 |
|
|
6 |
6 |
|
import com.google.gwt.user.client.ui.*; |
7 |
7 |
|
|
8 |
|
- |
public class GwtRenderParticipatingAdapter implements RenderParticipatingAdapter |
9 |
|
- |
{ |
|
8 |
+ |
public class GwtRenderParticipatingAdapter implements RenderParticipatingAdapter { |
10 |
9 |
|
public static final RenderParticipatingAdapter INSTANCE = new GwtRenderParticipatingAdapter(); |
11 |
10 |
|
|
12 |
|
- |
private GwtRenderParticipatingAdapter() |
13 |
|
- |
{ |
|
11 |
+ |
private GwtRenderParticipatingAdapter() { |
14 |
12 |
|
} |
15 |
13 |
|
|
16 |
14 |
|
@Override |
17 |
|
- |
public boolean isParticipatingInRendering( Object pRectangularRenderableObject ) |
18 |
|
- |
{ |
|
15 |
+ |
public boolean isParticipatingInRendering( Object pRectangularRenderableObject ) { |
19 |
16 |
|
Widget zWidget = (Widget) pRectangularRenderableObject; |
20 |
|
- |
if ( !zWidget.isAttached() ) |
21 |
|
- |
{ |
|
17 |
+ |
if ( !zWidget.isAttached() ) { |
22 |
18 |
|
return false; |
23 |
19 |
|
} |
24 |
|
- |
do |
25 |
|
- |
{ |
26 |
|
- |
if ( !zWidget.isVisible() ) |
27 |
|
- |
{ |
|
20 |
+ |
do { |
|
21 |
+ |
if ( !zWidget.isVisible() ) { |
28 |
22 |
|
return false; |
29 |
23 |
|
} |
30 |
24 |
|
} |