Merge remote-tracking branch 'remotes/upstream/master' into beta
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / NavigationDrawerItem.java
1 /**
2 * ownCloud Android client application
3 *
4 * @author masensio
5 * Copyright (C) 2015 ownCloud Inc.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2,
9 * as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21 package com.owncloud.android.ui;
22
23 public class NavigationDrawerItem {
24
25 private String mTitle;
26 private String mContentDescription;
27 private int mIcon;
28
29 // Constructors
30 public NavigationDrawerItem(){}
31
32 public NavigationDrawerItem(String title){
33 mTitle = title;
34 }
35
36 public NavigationDrawerItem(String title, String contentDescription, int icon){
37 mTitle = title;
38 mContentDescription = contentDescription;
39 mIcon = icon;
40 }
41
42 // Getters and Setters
43 public String getTitle() {
44 return mTitle;
45 }
46
47 public void setTitle(String title) {
48 this.mTitle = title;
49 }
50
51 public String getContentDescription() {
52 return mContentDescription;
53 }
54
55 public void setContentDescription(String contentDescription) {
56 this.mContentDescription = contentDescription;
57 }
58
59 public int getIcon() {
60 return mIcon;
61 }
62
63 public void setIcon(int icon) {
64 this.mIcon = icon;
65 }
66 }