public class MenuConfiguration extends Object
| Constructor and Description |
|---|
MenuConfiguration(MenuLayout mainMenuLayout,
MenuLayout submenuLayout)
Create a MenuConfiguration Object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Uses our custom hashCode for MenuConfiguration objects
|
MenuLayout |
getMenuLayout()
Changes the default main menu layout.
|
MenuLayout |
getSubMenuLayout()
Changes the default submenu layout.
|
int |
hashCode()
Note: You should compare using the
equals(Object) method. |
String |
toString() |
public MenuConfiguration(MenuLayout mainMenuLayout, MenuLayout submenuLayout)
mainMenuLayout - - the layout of the main menu. If `null`, it will default to whatever the head unit usessubmenuLayout - - the layout of the main menu. If `null`, it will default to whatever the head unit usespublic MenuLayout getMenuLayout()
public MenuLayout getSubMenuLayout()
@NonNull public String toString()
public int hashCode()
equals(Object) method.