Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -10,66 +10,55 @@
10 10
11 11 public class SizeableFocusPanel extends AbstractSizeableSimplePanel implements HasClickHandlers // see FocusPanel for all the other stuff it SHOULD do!
12 12 {
13 - protected SizeableFocusPanel( boolean pOverflowHidden, String pStyle )
14 - {
13 + protected SizeableFocusPanel( boolean pOverflowHidden, String pStyle ) {
15 14 initializeElements( getHelper().create_OeTable_SeDiv_IeFocusDiv( pOverflowHidden ), pStyle );
16 15 }
17 16
18 - public SizeableFocusPanel( boolean pOverflowHidden )
19 - {
17 + public SizeableFocusPanel( boolean pOverflowHidden ) {
20 18 this( pOverflowHidden, "LayoutSizeableFocusPanel" );
21 19 }
22 20
23 - public SizeableFocusPanel()
24 - {
21 + public SizeableFocusPanel() {
25 22 this( true );
26 23 }
27 24
28 - public SizeableFocusPanel( Widget pWidget )
29 - {
25 + public SizeableFocusPanel( Widget pWidget ) {
30 26 this();
31 27 setWidget( pWidget );
32 28 }
33 29
34 - public SizeableFocusPanel( boolean pOverflowHidden, Widget pWidget )
35 - {
30 + public SizeableFocusPanel( boolean pOverflowHidden, Widget pWidget ) {
36 31 this( pOverflowHidden );
37 32 setWidget( pWidget );
38 33 }
39 34
40 - public SizeableFocusPanel style( String pStyleName )
41 - {
35 + public SizeableFocusPanel style( String pStyleName ) {
42 36 addStyleName( pStyleName );
43 37 return this;
44 38 }
45 39
46 - public SizeableFocusPanel stretchable()
47 - {
40 + public SizeableFocusPanel stretchable() {
48 41 LLstretchable();
49 42 return this;
50 43 }
51 44
52 - public SizeableFocusPanel stretchableVertically()
53 - {
45 + public SizeableFocusPanel stretchableVertically() {
54 46 LLstretchableVertically();
55 47 return this;
56 48 }
57 49
58 - public SizeableFocusPanel stretchableHorizontally()
59 - {
50 + public SizeableFocusPanel stretchableHorizontally() {
60 51 LLstretchableHorizontally();
61 52 return this;
62 53 }
63 54
64 55 @Override
65 - public HandlerRegistration addClickHandler( ClickHandler handler )
66 - {
56 + public HandlerRegistration addClickHandler( ClickHandler handler ) {
67 57 return addDomHandler( handler, ClickEvent.getType() );
68 58 }
69 59
70 60 @Override
71 - public void sinkEvents( int eventBitsToAdd )
72 - {
61 + public void sinkEvents( int eventBitsToAdd ) {
73 62 DOM.sinkEvents( getHelper().getInnerElement(), eventBitsToAdd | DOM.getEventsSunk( getElement() ) );
74 63 }
75 64 }