private String headerSelector;
private String headerTitle;
- boolean enableAnimation;
public DisclosurePanelOptions() {
initDefault();
return headerTitle;
}
- public boolean isEnableAnimation() {
- return enableAnimation;
- }
-
- public void setEnableAnimation(boolean enableAnimation) {
- this.enableAnimation = enableAnimation;
- }
-
public void setHeaderSelector(String headerSelector) {
this.headerSelector = headerSelector;
}
private void initDefault() {
headerTitle = null;
headerSelector = "h3";
- enableAnimation = true;
}
}
disclosurePanel.setHeader(new Label(headerValue));
disclosurePanel.add(new HTMLPanel(e.getString()));
- disclosurePanel.setAnimationEnabled(options.isEnableAnimation());
WidgetsUtils.replace(e, widget);
}