litesoft
Diff Revisions
917
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/sliderbar/client/view/Mark.java
|
@@ -1,18 +1,17 @@ |
1 |
1 |
|
package org.litesoft.GWT.client.widgets.sliderbar.client.view; |
2 |
2 |
|
|
3 |
|
- |
import com.google.gwt.user.client.DOM; |
|
3 |
+ |
import com.google.gwt.user.client.*; |
4 |
4 |
|
|
5 |
5 |
|
public class Mark extends TouchableAbsolutePanelPK { //AbsolutePanelPK { |
6 |
6 |
|
|
7 |
7 |
|
int markWidth, markHeight; |
8 |
8 |
|
|
9 |
|
- |
public Mark(String color, int width, int height) { |
|
9 |
+ |
public Mark( String color, int width, int height ) { |
10 |
10 |
|
|
11 |
11 |
|
this.markWidth = width; |
12 |
12 |
|
this.markHeight = height; |
13 |
|
- |
setPixelSize(width, height); |
14 |
|
- |
DOM.setStyleAttribute(this.getElement(), "backgroundColor", color); |
15 |
|
- |
|
|
13 |
+ |
setPixelSize( width, height ); |
|
14 |
+ |
DOM.setStyleAttribute( this.getElement(), "backgroundColor", color ); |
16 |
15 |
|
} |
17 |
16 |
|
|
18 |
17 |
|
public int getMarkWidth() { |