litesoft
Diff Revisions
49
vs
60
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/widgets/SimpleFloatingPanel.java
|
@@ -1,9 +1,10 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.client.widgets; |
3 |
3 |
|
|
4 |
|
- |
import com.google.gwt.user.client.ui.*; |
5 |
4 |
|
import org.litesoft.GWT.client.widgets.nonpublic.*; |
6 |
5 |
|
|
|
6 |
+ |
import com.google.gwt.user.client.ui.*; |
|
7 |
+ |
|
7 |
8 |
|
public class SimpleFloatingPanel extends SizeableFloatingPanel |
8 |
9 |
|
{ |
9 |
10 |
|
public SimpleFloatingPanel() |
|
@@ -24,13 +25,14 @@ |
24 |
25 |
|
protected FloaterTitleBar createTitleBar( String pTitle, final SimpleFloatingPanel pFloater, |
25 |
26 |
|
final SizeableFloatableContainerPanel pContainerPanel ) |
26 |
27 |
|
{ |
27 |
|
- |
return new CloseableFloaterPanelTitleBar( "Floater", pTitle, new ClickListener() |
28 |
|
- |
{ |
29 |
|
- |
public void onClick( Widget sender ) |
30 |
|
- |
{ |
31 |
|
- |
pContainerPanel.remove( pFloater ); |
32 |
|
- |
} |
33 |
|
- |
} ); |
|
28 |
+ |
return new CloseableFloaterPanelTitleBar( "Floater", pTitle, null ); |
|
29 |
+ |
// todo: translate: new ClickListener() |
|
30 |
+ |
// { |
|
31 |
+ |
// public void onClick( Widget sender ) |
|
32 |
+ |
// { |
|
33 |
+ |
// pContainerPanel.remove( pFloater ); |
|
34 |
+ |
// } |
|
35 |
+ |
// } ); |
34 |
36 |
|
} |
35 |
37 |
|
|
36 |
38 |
|
public void setVisible( boolean visible ) |