litesoft
@ 948
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
package org.litesoft.GWT.client.widgets.sliderbar.client.view; import com.google.gwt.user.client.*; public class Mark extends TouchableAbsolutePanelPK { //AbsolutePanelPK { int markWidth, markHeight; public Mark( String color, int width, int height ) { this.markWidth = width; this.markHeight = height; setPixelSize( width, height ); DOM.setStyleAttribute( this.getElement(), "backgroundColor", color ); } public int getMarkWidth() { return markWidth; } public int getMarkHeight() { return markHeight; } } |