package model; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; public class HeaderMenuItem{ private final StringProperty name; private final String image_uri; /* Constructor * * @param p_name The name of the menu item * @param p_image_uri The URI of the image * */ public HeaderMenuItem(String p_name, String p_image_uri){ this.name = new SimpleStringProperty(p_name); this.image_uri = p_image_uri; } public StringProperty getName(){ return this.name; } public String getImageURI(){ return this.image_uri; } }