Class NoticeBoardMenu
- java.lang.Object
-
- ch.sahits.game.openpatrician.javafx.model.NoticeBoardMenu
-
public class NoticeBoardMenu extends java.lang.Object
Representing the model for the menu displayed in the notice board.- Author:
- Andi Hotz, (c) Sahits GmbH, 2015 Created on Dec 19, 2015
-
-
Field Summary
Fields Modifier and Type Field Description private javafx.collections.ObservableSet<NoticeBoardMenuEntry>
menuEntries
private javafx.scene.control.Label
title
private ENoticeBoardType
type
private java.lang.String
uuid
-
Constructor Summary
Constructors Constructor Description NoticeBoardMenu(ENoticeBoardType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deselctAll()
void
disableAll()
void
enableAll()
boolean
equals(java.lang.Object o)
java.util.Set<NoticeBoardMenuEntry>
getMenuEntries()
int
hashCode()
javafx.collections.ObservableSet<NoticeBoardMenuEntry>
menuEntriesProperty()
void
setMenuEntries(java.util.LinkedHashSet<NoticeBoardMenuEntry> menuEntries)
java.lang.String
toString()
-
-
-
Field Detail
-
title
private javafx.scene.control.Label title
-
type
private final ENoticeBoardType type
-
uuid
private final java.lang.String uuid
-
menuEntries
private javafx.collections.ObservableSet<NoticeBoardMenuEntry> menuEntries
-
-
Constructor Detail
-
NoticeBoardMenu
public NoticeBoardMenu(ENoticeBoardType type)
-
-
Method Detail
-
setMenuEntries
public void setMenuEntries(java.util.LinkedHashSet<NoticeBoardMenuEntry> menuEntries)
-
getMenuEntries
public java.util.Set<NoticeBoardMenuEntry> getMenuEntries()
-
menuEntriesProperty
public javafx.collections.ObservableSet<NoticeBoardMenuEntry> menuEntriesProperty()
-
disableAll
public void disableAll()
-
enableAll
public void enableAll()
-
deselctAll
public void deselctAll()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-