Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/sliderbar/client/presenter/Display.java

Diff revisions: vs.
  @@ -1,33 +1,42 @@
1 1 package org.litesoft.GWT.client.widgets.sliderbar.client.presenter;
2 2
3 - import java.util.ArrayList;
3 + import org.litesoft.GWT.client.widgets.sliderbar.client.presenter.Presenter.*;
4 + import org.litesoft.GWT.client.widgets.sliderbar.client.view.*;
4 5
5 - import com.google.gwt.event.dom.client.MouseEvent;
6 - import com.google.gwt.user.client.ui.Widget;
7 - import org.litesoft.GWT.client.widgets.sliderbar.client.presenter.Presenter.Orientation;
8 - import org.litesoft.GWT.client.widgets.sliderbar.client.view.Mark;
6 + import com.google.gwt.event.dom.client.*;
7 + import com.google.gwt.user.client.ui.*;
8 +
9 + import java.util.*;
9 10
10 11 public interface Display {
11 12
12 13 Widget getRootWidget();
14 +
13 15 ArrayList<Widget> getMoreWidgets();
16 +
14 17 ArrayList<Widget> getLessWidgets();
18 +
15 19 Widget getDragWidget();
20 +
16 21 Widget getScaleWidget();
22 +
17 23 int getAbsMaxLength();
24 +
18 25 Orientation getOrientation();
19 - int getScaleTouchPosition(MouseEvent event);
26 +
27 + int getScaleTouchPosition( MouseEvent event );
20 28
21 29 int getDragPosition();
22 - void setDragPosition(int position);
23 30
24 - void drawScrollBar(int barPixelSize);
31 + void setDragPosition( int position );
32 +
33 + void drawScrollBar( int barPixelSize );
34 +
25 35 Widget asWidget();
26 36
27 - void putMark(Mark mark, int markPosition);
37 + void putMark( Mark mark, int markPosition );
28 38
29 39 public boolean isAttached();
30 40
31 - void setDragVisible(boolean isVisible);
32 -
41 + void setDragVisible( boolean isVisible );
33 42 }