|
@@ -1,12 +1,13 @@ |
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 org.litesoft.commonfoundation.typeutils.*; |
|
5 |
+ |
|
4 |
6 |
|
import java.util.*; |
5 |
7 |
|
|
6 |
8 |
|
import org.litesoft.GWT.client.*; |
7 |
9 |
|
import org.litesoft.GWT.client.widgets.nonpublic.*; |
8 |
|
- |
import org.litesoft.core.typeutils.*; |
9 |
|
- |
import org.litesoft.core.typeutils.Objects; |
|
10 |
+ |
import org.litesoft.commonfoundation.typeutils.Objects; |
10 |
11 |
|
import org.litesoft.core.util.*; |
11 |
12 |
|
|
12 |
13 |
|
import com.google.gwt.event.dom.client.*; |
|
@@ -56,7 +57,7 @@ |
56 |
57 |
|
this( new Tree() ); |
57 |
58 |
|
} |
58 |
59 |
|
|
59 |
|
- |
public SizeableTree( String pOpenImageURL, int pOpenWidth, int pOpenHeight, // |
|
60 |
+ |
public SizeableTree( String pOpenImageURL, int pOpenWidth, int pOpenHeight, // |
60 |
61 |
|
String pClosedImageURL, int pClosedWidth, int pClosedHeight, // |
61 |
62 |
|
String pLeafImageURL, int pLeafWidth, int pLeafHeight, // |
62 |
63 |
|
boolean pUseLeafImage ) |
|
@@ -67,8 +68,8 @@ |
67 |
68 |
|
public static SizeableTree withFolders() |
68 |
69 |
|
{ |
69 |
70 |
|
return new SizeableTree( FOLDER_OPEN_URL, 16, 16,// |
70 |
|
- |
FOLDER_CLOSED_URL, 16, 16, // |
71 |
|
- |
FOLDER_LEAF_URL, 16, 16, // |
|
71 |
+ |
FOLDER_CLOSED_URL, 16, 16, // |
|
72 |
+ |
FOLDER_LEAF_URL, 16, 16, // |
72 |
73 |
|
false ); |
73 |
74 |
|
} |
74 |
75 |
|
|
|
@@ -531,7 +532,7 @@ |
531 |
532 |
|
{ |
532 |
533 |
|
private ImageResource mOpen, mClosed, mLeaf; |
533 |
534 |
|
|
534 |
|
- |
private TreeImageAdaptor( String pOpenImageURL, int pOpenWidth, int pOpenHeight, // |
|
535 |
+ |
private TreeImageAdaptor( String pOpenImageURL, int pOpenWidth, int pOpenHeight, // |
535 |
536 |
|
String pClosedImageURL, int pClosedWidth, int pClosedHeight, // |
536 |
537 |
|
String pLeafImageURL, int pLeafWidth, int pLeafHeight ) |
537 |
538 |
|
{ |