@Override public ToolListView<IEquipmentStats> initStatsListView( final String title, AgnosticUIConfiguration<IEquipmentStats> configuration) { listView.setUiConfiguration(configuration); Node node = listView.getNode(); Node titledPane = StyledTitledPane.Create(title, node); outerPane.add(titledPane, new CC().push().grow()); return listView; }
@Override public EquipmentDescriptionPanel addDescriptionPanel(final String title) { Node titledPane = StyledTitledPane.Create(title, descriptionPanel.getNode()); outerPane.add(titledPane, new CC().grow().push()); return descriptionPanel; }