public class DrawerElement
extends java.lang.Object
Constructor and Description |
---|
DrawerElement(java.lang.String name,
int icon,
int color,
java.util.List<DrawerSubElement> subItems)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getColor()
Getter
|
int |
getIcon()
Getter
|
java.lang.String |
getName()
Getter
|
java.util.List<DrawerSubElement> |
getSubElements()
Getter
|
public DrawerElement(java.lang.String name, int icon, int color, java.util.List<DrawerSubElement> subItems)
name
- the name of the drawer elementicon
- the icon of the drawer elementcolor
- the color of the drawer elementsubItems
- the sub-elements of this element (null if none)public java.lang.String getName()
public int getIcon()
public int getColor()
public java.util.List<DrawerSubElement> getSubElements()