]> source.dussan.org Git - gwtquery.git/commitdiff
remove enableAnimation ... This option is not needed to construct the widget and...
authorJulien Dramaix <julien.dramaix@gmail.com>
Sat, 5 Mar 2011 20:16:49 +0000 (20:16 +0000)
committerJulien Dramaix <julien.dramaix@gmail.com>
Sat, 5 Mar 2011 20:16:49 +0000 (20:16 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/DisclosurePanelWidgetFactory.java

index f66b6c42b735228c188b2e893e2f477111c3c084..7692cd2b29b108c4fede93dbf27fef6ef1ff4a4e 100644 (file)
@@ -19,7 +19,6 @@ public class DisclosurePanelWidgetFactory implements
 
     private String headerSelector;
     private String headerTitle;
-    boolean enableAnimation;
 
     public DisclosurePanelOptions() {
       initDefault();
@@ -33,14 +32,6 @@ public class DisclosurePanelWidgetFactory implements
       return headerTitle;
     }
     
-    public boolean isEnableAnimation() {
-      return enableAnimation;
-    }
-
-    public void setEnableAnimation(boolean enableAnimation) {
-      this.enableAnimation = enableAnimation;
-    }
-    
     public void setHeaderSelector(String headerSelector) {
       this.headerSelector = headerSelector;
     }
@@ -52,7 +43,6 @@ public class DisclosurePanelWidgetFactory implements
     private void initDefault() {
       headerTitle = null;
       headerSelector = "h3";
-      enableAnimation = true;
     }
   }
 
@@ -85,7 +75,6 @@ public class DisclosurePanelWidgetFactory implements
    
     disclosurePanel.setHeader(new Label(headerValue));
     disclosurePanel.add(new HTMLPanel(e.getString()));
-    disclosurePanel.setAnimationEnabled(options.isEnableAnimation());
     WidgetsUtils.replace(e, widget);
 
   }