From 7d287ab9234c8d90c08c08feba1329032dfaf0fe Mon Sep 17 00:00:00 2001 From: "Gun.io Whitespace Robot" Date: Sun, 30 Oct 2011 17:45:39 -0400 Subject: [PATCH] Remove whitespace [Gun.io WhitespaceBot] --- .gitignore | 20 +++++++++++++++++++ LICENSE | 14 ++++++------- src/next/interfaces/Globals.java | 6 +++--- src/next/interfaces/Main.java | 6 +++--- src/next/interfaces/controller/DemoUtils.java | 6 +++--- .../interfaces/controller/GitXController.java | 6 +++--- .../controller/GitXTableController.java | 6 +++--- .../controller/HelloWorldController.java | 6 +++--- .../animation/AnimationsController.java | 6 +++--- .../controller/animation/DragController.java | 6 +++--- .../controller/animation/FadeController.java | 6 +++--- .../controller/animation/FlipController.java | 6 +++--- .../animation/HorizontalController.java | 6 +++--- .../controller/animation/PopController.java | 6 +++--- .../controller/animation/SlideController.java | 6 +++--- .../animation/SlideUpDownController.java | 6 +++--- .../controller/animation/SwapController.java | 6 +++--- .../animation/VerticalController.java | 6 +++--- .../controller/widgets/ButtonsController.java | 8 ++++---- .../widgets/CheckboxController.java | 8 ++++---- .../controller/widgets/FormController.java | 8 ++++---- .../widgets/LabelImageController.java | 6 +++--- .../controller/widgets/ListController.java | 6 +++--- .../widgets/NavigationBarController.java | 10 +++++----- .../controller/widgets/PickerController.java | 6 +++--- .../controller/widgets/PopupController.java | 6 +++--- .../widgets/ProgressController.java | 6 +++--- .../widgets/RadioButtonController.java | 8 ++++---- .../controller/widgets/SliderController.java | 8 ++++---- .../controller/widgets/SwitchController.java | 8 ++++---- .../controller/widgets/WidgetsController.java | 6 +++--- war/code/ButtonsController.js | 2 +- war/code/FadeController.js | 4 ++-- war/code/PopController.js | 4 ++-- war/code/PopupController.js | 2 +- war/code/ProgressController.js | 2 +- war/code/SlideController.js | 2 +- war/code/SlideUpDownController.js | 2 +- war/code/SliderController.js | 4 ++-- war/code/SwapController.js | 4 ++-- war/code/SwitchController.js | 4 ++-- war/index.html | 18 ++++++++--------- war/next.css | 12 +++++------ 43 files changed, 152 insertions(+), 132 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ac8f968 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# Compiled source # +################### +*.com +*.class +*.dll +*.exe +*.o +*.so +*.pyc + +# Logs and databases # +###################### +*.log + +# OS generated files # +###################### +.DS_Store* +ehthumbs.db +Icon? +Thumbs.db diff --git a/LICENSE b/LICENSE index c812930..86894df 100644 --- a/LICENSE +++ b/LICENSE @@ -4,14 +4,14 @@ Apache License, Version 2.0 Copyright 2011 Vancouver Ywebb Consulting Ltd -The NEXT interfaces software and sample code developed by Vancouver Ywebb -Consulting Ltd is licensed under the Apache License, v. 2.0 (the "License"); you -may not use this file except in compliance with the License. You may obtain a +The NEXT interfaces software and sample code developed by Vancouver Ywebb +Consulting Ltd is licensed under the Apache License, v. 2.0 (the "License"); you +may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed -under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the -specific language governing permissions and limitations under the License. \ No newline at end of file +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. \ No newline at end of file diff --git a/src/next/interfaces/Globals.java b/src/next/interfaces/Globals.java index dc44cde..8ca0faa 100755 --- a/src/next/interfaces/Globals.java +++ b/src/next/interfaces/Globals.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/Main.java b/src/next/interfaces/Main.java index 216263d..35b7f43 100644 --- a/src/next/interfaces/Main.java +++ b/src/next/interfaces/Main.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/DemoUtils.java b/src/next/interfaces/controller/DemoUtils.java index 288bc3c..27b30d2 100755 --- a/src/next/interfaces/controller/DemoUtils.java +++ b/src/next/interfaces/controller/DemoUtils.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/GitXController.java b/src/next/interfaces/controller/GitXController.java index c94058e..8f266ee 100755 --- a/src/next/interfaces/controller/GitXController.java +++ b/src/next/interfaces/controller/GitXController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/GitXTableController.java b/src/next/interfaces/controller/GitXTableController.java index 26e7ea9..87ed5aa 100755 --- a/src/next/interfaces/controller/GitXTableController.java +++ b/src/next/interfaces/controller/GitXTableController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/HelloWorldController.java b/src/next/interfaces/controller/HelloWorldController.java index e4c8d08..5401d16 100755 --- a/src/next/interfaces/controller/HelloWorldController.java +++ b/src/next/interfaces/controller/HelloWorldController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/AnimationsController.java b/src/next/interfaces/controller/animation/AnimationsController.java index 7518cb2..69f007d 100644 --- a/src/next/interfaces/controller/animation/AnimationsController.java +++ b/src/next/interfaces/controller/animation/AnimationsController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/DragController.java b/src/next/interfaces/controller/animation/DragController.java index efca7be..7974f41 100644 --- a/src/next/interfaces/controller/animation/DragController.java +++ b/src/next/interfaces/controller/animation/DragController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/FadeController.java b/src/next/interfaces/controller/animation/FadeController.java index 5184856..582437e 100755 --- a/src/next/interfaces/controller/animation/FadeController.java +++ b/src/next/interfaces/controller/animation/FadeController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/FlipController.java b/src/next/interfaces/controller/animation/FlipController.java index 99e0fef..892eaf4 100755 --- a/src/next/interfaces/controller/animation/FlipController.java +++ b/src/next/interfaces/controller/animation/FlipController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/HorizontalController.java b/src/next/interfaces/controller/animation/HorizontalController.java index 0330fce..2435937 100644 --- a/src/next/interfaces/controller/animation/HorizontalController.java +++ b/src/next/interfaces/controller/animation/HorizontalController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/PopController.java b/src/next/interfaces/controller/animation/PopController.java index 589c772..162cf9c 100755 --- a/src/next/interfaces/controller/animation/PopController.java +++ b/src/next/interfaces/controller/animation/PopController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/SlideController.java b/src/next/interfaces/controller/animation/SlideController.java index 1165971..9d3671c 100755 --- a/src/next/interfaces/controller/animation/SlideController.java +++ b/src/next/interfaces/controller/animation/SlideController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/SlideUpDownController.java b/src/next/interfaces/controller/animation/SlideUpDownController.java index a563757..a0373a9 100755 --- a/src/next/interfaces/controller/animation/SlideUpDownController.java +++ b/src/next/interfaces/controller/animation/SlideUpDownController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/SwapController.java b/src/next/interfaces/controller/animation/SwapController.java index 02ad05e..29c1f46 100755 --- a/src/next/interfaces/controller/animation/SwapController.java +++ b/src/next/interfaces/controller/animation/SwapController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/animation/VerticalController.java b/src/next/interfaces/controller/animation/VerticalController.java index 3d2574a..13c02e2 100644 --- a/src/next/interfaces/controller/animation/VerticalController.java +++ b/src/next/interfaces/controller/animation/VerticalController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/widgets/ButtonsController.java b/src/next/interfaces/controller/widgets/ButtonsController.java index 7678477..3280476 100755 --- a/src/next/interfaces/controller/widgets/ButtonsController.java +++ b/src/next/interfaces/controller/widgets/ButtonsController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -44,7 +44,7 @@ public IsWidget getViewContent() { CellData d5 = new CellData(null, "Black", new XButton("Black", XButtonType.NavigationBlack)); CellData d6 = new CellData(null, "Image button", new XButton("Left", XButtonType.Image, "images/icons/xbuttonImage.png", "images/icons/xbuttonImageSelected.png", true)); CellData d7 = new CellData(null, "Image button", new XButton("Right", XButtonType.Image, "images/icons/xbuttonImage.png", "images/icons/xbuttonImageSelected.png", false)); - + XTableView tableView = new XTableView(); tableView.addItem(new XTableCell(d0), new XTableCell(d1), new XTableCell(d2), new XTableCell(d3), new XTableCell(d4), new XTableCell(d5), new XTableCell(d6), new XTableCell(d7)); diff --git a/src/next/interfaces/controller/widgets/CheckboxController.java b/src/next/interfaces/controller/widgets/CheckboxController.java index 5f2d36a..8b2a1ba 100755 --- a/src/next/interfaces/controller/widgets/CheckboxController.java +++ b/src/next/interfaces/controller/widgets/CheckboxController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -61,7 +61,7 @@ public IsWidget getViewContent() { check1.setValue(true); checkA.setValue(true); checkC.setValue(true); - + groupVertical.addSelectionChangedHandler(new SelectionChangedHandler() { public void onSelectionChanged(SelectionChangedEvent e) { String s = "Favorite color: "; diff --git a/src/next/interfaces/controller/widgets/FormController.java b/src/next/interfaces/controller/widgets/FormController.java index 53918ed..f8d0fda 100755 --- a/src/next/interfaces/controller/widgets/FormController.java +++ b/src/next/interfaces/controller/widgets/FormController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -33,7 +33,7 @@ public FormController() { public IsWidget getViewContent() { XFlexTable panel = new XFlexTable(null, "#fff"); - panel.setCellSpacing(0); + panel.setCellSpacing(0); XTextField text = new XTextField("Text"); XTextField password = new XTextField("Password", XTextFieldType.PASSWORD); diff --git a/src/next/interfaces/controller/widgets/LabelImageController.java b/src/next/interfaces/controller/widgets/LabelImageController.java index c40c6bd..1b5a976 100755 --- a/src/next/interfaces/controller/widgets/LabelImageController.java +++ b/src/next/interfaces/controller/widgets/LabelImageController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/widgets/ListController.java b/src/next/interfaces/controller/widgets/ListController.java index b48eaa4..fe956e1 100755 --- a/src/next/interfaces/controller/widgets/ListController.java +++ b/src/next/interfaces/controller/widgets/ListController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/widgets/NavigationBarController.java b/src/next/interfaces/controller/widgets/NavigationBarController.java index fab1312..af36a58 100755 --- a/src/next/interfaces/controller/widgets/NavigationBarController.java +++ b/src/next/interfaces/controller/widgets/NavigationBarController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -38,7 +38,7 @@ public IsWidget getViewContent() { VerticalPanel panel = new VerticalPanel(); panel.setWidth("100%"); panel.getElement().getStyle().setProperty("background", "#f8f8f8"); - panel.getElement().getStyle().setProperty("padding", "40px 20px"); + panel.getElement().getStyle().setProperty("padding", "40px 20px"); XNavigationBar bar1 = new XNavigationBar(); bar1.setTitle("Bar One"); @@ -46,7 +46,7 @@ public IsWidget getViewContent() { panel.add(bar1); panel.add(new HTML(" ")); - + XNavigationBar bar2 = new XNavigationBar(); bar2.setLeftTitle("Back", Type.BACK_BUTTON); bar2.getLeftButton().addClickHandler(new ClickHandler() { diff --git a/src/next/interfaces/controller/widgets/PickerController.java b/src/next/interfaces/controller/widgets/PickerController.java index a96ba12..0af304c 100755 --- a/src/next/interfaces/controller/widgets/PickerController.java +++ b/src/next/interfaces/controller/widgets/PickerController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/widgets/PopupController.java b/src/next/interfaces/controller/widgets/PopupController.java index f467cca..e859834 100755 --- a/src/next/interfaces/controller/widgets/PopupController.java +++ b/src/next/interfaces/controller/widgets/PopupController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/widgets/ProgressController.java b/src/next/interfaces/controller/widgets/ProgressController.java index 441f6b1..2873173 100755 --- a/src/next/interfaces/controller/widgets/ProgressController.java +++ b/src/next/interfaces/controller/widgets/ProgressController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/src/next/interfaces/controller/widgets/RadioButtonController.java b/src/next/interfaces/controller/widgets/RadioButtonController.java index 24c241d..650ad99 100755 --- a/src/next/interfaces/controller/widgets/RadioButtonController.java +++ b/src/next/interfaces/controller/widgets/RadioButtonController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -58,7 +58,7 @@ public IsWidget getViewContent() { radio0.setValue(true); radioA.setValue(true); - + group1.addSelectionChangedHandler(new SelectionChangedHandler() { public void onSelectionChanged(SelectionChangedEvent e) { label1.setText("Favorite color: " + group1.getCheckedWidget().getName()); diff --git a/src/next/interfaces/controller/widgets/SliderController.java b/src/next/interfaces/controller/widgets/SliderController.java index eb9dffb..78b02d6 100755 --- a/src/next/interfaces/controller/widgets/SliderController.java +++ b/src/next/interfaces/controller/widgets/SliderController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -52,7 +52,7 @@ public IsWidget getViewContent() { private void addHandlers(final Label label, XSlider... sliders) { for (final XSlider s : sliders) { s.addValueChangeHandler(new ValueChangeHandler() { - public void onValueChange(ValueChangeEvent e) { + public void onValueChange(ValueChangeEvent e) { label.setText("Slided at: " + e.getValue() + "%"); } }); diff --git a/src/next/interfaces/controller/widgets/SwitchController.java b/src/next/interfaces/controller/widgets/SwitchController.java index a83d160..8743005 100755 --- a/src/next/interfaces/controller/widgets/SwitchController.java +++ b/src/next/interfaces/controller/widgets/SwitchController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -37,7 +37,7 @@ public IsWidget getViewContent() { final HTML label = new HTML("Switch is OFF"); XSwitch switchBtn = new XSwitch(true); - switchBtn.addValueChangeHandler(new ValueChangeHandler() { + switchBtn.addValueChangeHandler(new ValueChangeHandler() { @Override public void onValueChange(ValueChangeEvent e) { label.setHTML("Switch is " + (e.getValue()? "ON  " : "OFF")); diff --git a/src/next/interfaces/controller/widgets/WidgetsController.java b/src/next/interfaces/controller/widgets/WidgetsController.java index 6266338..49a7524 100755 --- a/src/next/interfaces/controller/widgets/WidgetsController.java +++ b/src/next/interfaces/controller/widgets/WidgetsController.java @@ -1,12 +1,12 @@ /* * Copyright 2011 Vancouver Ywebb Consulting Ltd - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the diff --git a/war/code/ButtonsController.js b/war/code/ButtonsController.js index c1e5336..758fd14 100644 --- a/war/code/ButtonsController.js +++ b/war/code/ButtonsController.js @@ -13,7 +13,7 @@ new XButton("Black", XButtonType.NavigationBlack); new XButton("Left", XButtonType.Image, "images/icon.png", "images/icon-pressed.png", true); new XButton("Right", XButtonType.Image, "images/icon.png", "images/icon-pressed.png", false); - + btn.addClickHandler(new ClickHandler() { public void onClick(ClickEvent e) { ... diff --git a/war/code/FadeController.js b/war/code/FadeController.js index 6a39e08..62fee5d 100644 --- a/war/code/FadeController.js +++ b/war/code/FadeController.js @@ -2,10 +2,10 @@ class FadeController extends XController { FadeController() { setTitle("Fade Example"); - + /*** XController fades In ***/ /*** this.fadeIn(); ***/ - + /*** XController fades Out ***/ /*** this.fadeOut(); ***/ } diff --git a/war/code/PopController.js b/war/code/PopController.js index f476b00..f6b47ad 100644 --- a/war/code/PopController.js +++ b/war/code/PopController.js @@ -2,10 +2,10 @@ class PopController extends XController { PopController() { setTitle("Pop Example"); - + /*** XController pop In ***/ /*** this.popIn(); ***/ - + /*** XController pop Out ***/ /*** this.popOut(); ***/ } diff --git a/war/code/PopupController.js b/war/code/PopupController.js index 819a356..8bee86e 100644 --- a/war/code/PopupController.js +++ b/war/code/PopupController.js @@ -13,7 +13,7 @@ new XButton("Black", XButtonType.NavigationBlack); new XButton("Left", XButtonType.Image, "images/icon.png", "images/icon-pressed.png", true); new XButton("Right", XButtonType.Image, "images/icon.png", "images/icon-pressed.png", false); - + btn.addClickHandler(new ClickHandler() { public void onClick(ClickEvent e) { ... diff --git a/war/code/ProgressController.js b/war/code/ProgressController.js index 57e0d09..9bc10d9 100644 --- a/war/code/ProgressController.js +++ b/war/code/ProgressController.js @@ -6,7 +6,7 @@ XButton btn = new XButton("Start Progress"); btn.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { - + if(!progress.isRunning()){ progress.reset(); runProgress(0, progress); diff --git a/war/code/SlideController.js b/war/code/SlideController.js index 7fdbad1..39b004a 100644 --- a/war/code/SlideController.js +++ b/war/code/SlideController.js @@ -2,7 +2,7 @@ class SlideController extends XController { SlideController() { setTitle("Slide Example"); - + /*** slides out by pop previous controller in parent ***/ /*** getNavigationController().popController(true); ***/ } diff --git a/war/code/SlideUpDownController.js b/war/code/SlideUpDownController.js index cd92dca..97e3ff9 100644 --- a/war/code/SlideUpDownController.js +++ b/war/code/SlideUpDownController.js @@ -6,7 +6,7 @@ SlideUpDownController extends XController { /*** When invoked via slideUpIn() then ***/ /*** this.slideUpReverse(); ***/ - + /*** When instantiated with slideDownIn() then ***/ /*** this.slideDownReverse(); ***/ } diff --git a/war/code/SliderController.js b/war/code/SliderController.js index ea000a8..c01a9df 100644 --- a/war/code/SliderController.js +++ b/war/code/SliderController.js @@ -3,8 +3,8 @@ XSlider slider = new XSlider(75); /*** 75% ***/ slider.addValueChangeHandler(new ValueChangeHandler() { public void onValueChange(ValueChangeEvent e) { - + /*** slide selection: e.getValue() ***/ - + } }); \ No newline at end of file diff --git a/war/code/SwapController.js b/war/code/SwapController.js index e78db26..e236e2a 100644 --- a/war/code/SwapController.js +++ b/war/code/SwapController.js @@ -2,8 +2,8 @@ SwapController extends XController { SwapController(IController invokerController) { - setTitle("Swap example"); - + setTitle("Swap example"); + /*** reverse swap using ***/ /*** Command afterCommand = ...; ***/ /*** this.swapToReverse(invokerController, afterCommand); ***/ diff --git a/war/code/SwitchController.js b/war/code/SwitchController.js index 212eb3f..6e6cd3b 100644 --- a/war/code/SwitchController.js +++ b/war/code/SwitchController.js @@ -4,8 +4,8 @@ switchBtn.addValueChangeHandler(new ValueChangeHandler() { @Override public void onValueChange(ValueChangeEvent e) { - + e.getValue(); /*** Switched true/false ***/ - + } }); \ No newline at end of file diff --git a/war/index.html b/war/index.html index fea1053..f8b9e73 100644 --- a/war/index.html +++ b/war/index.html @@ -8,9 +8,9 @@ - - - + - + NEXT - Java HTML5 mobile widgets for smartphones and tablets using GWT and CSS3 - + @@ -38,12 +38,12 @@ window.location = "http://nextinterfaces.com/demo-non-webkit"; } - + - + - + diff --git a/war/next.css b/war/next.css index 23a430d..4fed9fb 100644 --- a/war/next.css +++ b/war/next.css @@ -421,7 +421,7 @@ div.tableCell { } /***************************** - * XButton Shadow + * XButton Shadow *****************************/ .xbutton.Shadow { border: 1px solid #9f9f9f; @@ -433,7 +433,7 @@ div.tableCell { -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .3); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); /* display: block; - position: relative; + position: relative; margin: .5em 5px; padding: 0; */ overflow: hidden; @@ -1045,7 +1045,7 @@ input::-webkit-outer-spin-button { */ .codeDemo { - border: .3em solid #fff; + border: .3em solid #fff; } .codeDemo pre { text-align: left; @@ -1093,7 +1093,7 @@ Android native check box and radio button are too small in WVGA resolution to(#71A6F8)); -webkit-box-shadow:0 0 .1em #27519C; } - + .WVGA .CheckBoxIndicator { position: relative; margin: 0 .4em 0 .4em; @@ -1102,7 +1102,7 @@ Android native check box and radio button are too small in WVGA resolution .WVGA .CheckBoxIndicator > div:first-child { width: .8em; height: .8em; - padding: .1em; + padding: .1em; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#555), to(#777)); -webkit-background-clip: padding; border: .1em solid #333; @@ -1123,7 +1123,7 @@ Android native check box and radio button are too small in WVGA resolution background: #00CC00; border: .1em solid #111; } - + .WVGA .selected .CheckBoxIndicator > div:nth-child(2) { width: .2em; height: .3em;