1 | boolean isSeparator() {↵ | | |
|
2 | return type == TYPE_SEPARATOR ? true : false;↵ | | |
|
3 | }↵ | | |
|
|
4 | public boolean isAction() {↵ | | 1 | boolean isAction() {↵
|
5 | return type == TYPE_ACTION ? true : false;↵ | | 2 | return type == TYPE_ACTION ? true : false;↵
|
6 | }↵ | | 3 | }↵
|
|
7 | public boolean isPlaceholder() {↵ | | 4 | public boolean isPlaceholder() {↵
|
8 | return type == TYPE_PLACEHOLDER ? true : false;↵ | | 5 | return type == TYPE_PLACEHOLDER ? true : false;↵
|
9 | }↵ | | 6 | }↵
|
|
10 | public boolean isMenu() {↵ | | 7 | public boolean isMenu() {↵
|
11 | return type == TYPE_MENU ? true : false;↵ | | 8 | return type == TYPE_MENU ? true : false;↵
|
12 | | | 9 | }↵
|
|
| | | 10 | public boolean isComponent() {↵
|
| | | 11 | return type == TYPE_MENUITEM ? true : false;↵
|
| | | 12 |
|