|
|
@ -37,8 +37,6 @@ public class MatchComponent extends Div implements ContentConfigurable { |
|
|
|
private final FlexLayout gamesLayout = new FlexLayout(); |
|
|
|
private final VerticalLayout noGamesLayout = new VerticalLayout(); |
|
|
|
|
|
|
|
private final FlexLayout editMatchLayout = new FlexLayout(); |
|
|
|
|
|
|
|
private final EditMatchCard editMatchCard; |
|
|
|
|
|
|
|
private Match match; |
|
|
@ -63,16 +61,9 @@ public class MatchComponent extends Div implements ContentConfigurable { |
|
|
|
private void defineLayout() { |
|
|
|
add(headerLayout); |
|
|
|
|
|
|
|
defineEditMatchLayout(); |
|
|
|
defineHeaderLayout(); |
|
|
|
defineGamesLayout(); |
|
|
|
defineNoGamesLayout(); |
|
|
|
defineEditLayout(); |
|
|
|
} |
|
|
|
|
|
|
|
private void defineEditMatchLayout() { |
|
|
|
editMatchLayout.add(editMatchCard); |
|
|
|
editMatchLayout.setJustifyContentMode(FlexComponent.JustifyContentMode.CENTER); |
|
|
|
} |
|
|
|
|
|
|
|
private void defineNoGamesLayout() { |
|
|
@ -108,9 +99,6 @@ public class MatchComponent extends Div implements ContentConfigurable { |
|
|
|
gamesLayout.setJustifyContentMode(FlexComponent.JustifyContentMode.CENTER); |
|
|
|
} |
|
|
|
|
|
|
|
private void defineEditLayout() { |
|
|
|
} |
|
|
|
|
|
|
|
///////////// |
|
|
|
// CONTENT // |
|
|
|
///////////// |
|
|
|