240241242243244245246247248
protected void onCollapse() { addStyleName("x-panel-collapsed"); collapsed = true; body.setVisible(false); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Collapse, fe); fireEvent(Events.Resize, fe); }
250251252253254255256257258
protected void onExpand() { collapsed = false; body.setVisible(true); removeStyleName("x-panel-collapsed"); layout(); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Expand, fe); fireEvent(Events.Resize, fe); }
260261262263264265266
} } @Override protected ComponentEvent createComponentEvent(Event event) { return new FieldSetEvent(this, event); }
314315316317318319320321
} } updateIconTitles(); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Collapse, fe); }
354355356357358359360361
} } updateIconTitles(); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Expand, fe); }
250251252253254255256
278279280281282283284285
if (checkboxToggle && checkbox != null) { checkbox.setChecked(false); } body.setVisible(false); addStyleName("x-panel-collapsed"); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Collapse, fe); }
289290291292293294295296
if (checkboxToggle && checkbox != null) { checkbox.setChecked(true); } body.setVisible(true); removeStyleName("x-panel-collapsed"); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Expand, fe); }
311312313314315316317318