Search in sources :

Example 1 with GameCell

use of com.gianlu.pyxreborn.client.UI.ListCells.GameCell in project PretendYoureXyzzyReborn by devgianlu.

the class MainUI method initialize.

@FXML
public void initialize() {
    gamesList.setCellFactory(param -> new GameCell(stage, client, me));
    usersList.setCellFactory(param -> new UserCell());
    refreshGamesList();
    refreshUsersList();
}
Also used : GameCell(com.gianlu.pyxreborn.client.UI.ListCells.GameCell) UserCell(com.gianlu.pyxreborn.client.UI.ListCells.UserCell) FXML(javafx.fxml.FXML)

Aggregations

GameCell (com.gianlu.pyxreborn.client.UI.ListCells.GameCell)1 UserCell (com.gianlu.pyxreborn.client.UI.ListCells.UserCell)1 FXML (javafx.fxml.FXML)1