247248249250251252253
} } @Override protected ComponentEvent createComponentEvent(Event event) { return new FieldSetEvent(this, event); }
275276277278279280281282283
if (checkboxToggle && checkbox != null) { checkbox.setChecked(false); } body.setVisible(false); addStyleName("x-panel-collapsed"); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Collapse, fe); fireEvent(Events.Resize, fe); }
288289290291292293294295296
checkbox.setChecked(true); } body.setVisible(true); removeStyleName("x-panel-collapsed"); layout(); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Expand, fe); fireEvent(Events.Resize, fe); }