예제 #1
0
 private CharacterGridButton createGridButton(
     CharacterButtonDto dto, Selector<CharacterIdentifier> characterSelector) {
   CharacterGridButton characterGridButton = new CharacterGridButton();
   characterGridButton.initContent(dto, characterSelector);
   characterGridButton.setToggleGroup(toggleGroup);
   buttonsByIdentifier.put(dto.identifier, characterGridButton);
   gridPane.getChildren().add(0, characterGridButton.getNode());
   scrollPane.setVvalue(0);
   return characterGridButton;
 }
예제 #2
0
 @Override
 public void remove() {
   parent.getChildren().remove(titledCombo);
 }
예제 #3
0
 public void reset() {
   body.getChildren().clear();
 }