351352353354355356357358
} } updateIconTitles(); FieldSetEvent fe = new FieldSetEvent(this); fireEvent(Events.Expand, 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
226227228229230231232
super.setLayout(layout); } @Override protected ComponentEvent createComponentEvent(Event event) { return new FieldSetEvent(this, event); }
256257258259260261262263264265
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); }
267268269270271272273274275
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); }