Project

General

Profile

Download (842 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2018 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.taxeditor.preference;
10

    
11
/**
12
 * @author k.luther
13
 * @since 19.11.2018
14
 *
15
 */
16
public enum NavigatorOrderEnum {
17
    AlphabeticalOrder("AlphabeticalOrder", "Alphabetical Order"),
18
    NaturalOrder("NaturalOrder", "Natural Order"),
19
    RankAndNameOrder("RankAndNameOrder", "Rank and Name Order");
20

    
21

    
22
    String label;
23
    String key;
24

    
25
    private NavigatorOrderEnum(String key, String label){
26
        this.label = label;
27
        this.key = key;
28
    }
29

    
30
    public String getLabel(){
31
        return label;
32
    }
33

    
34
    public String getKey(){
35
        return key;
36
    }
37
}
(19-19/31)