コード例 #1
0
 @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;
 }
コード例 #2
0
 @Override
 public EquipmentDescriptionPanel addDescriptionPanel(final String title) {
   Node titledPane = StyledTitledPane.Create(title, descriptionPanel.getNode());
   outerPane.add(titledPane, new CC().grow().push());
   return descriptionPanel;
 }