Project

General

Profile

Download (1.17 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 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

    
10
package eu.etaxonomy.taxeditor.editor;
11

    
12
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
13

    
14
/**
15
 * <p>Page class.</p>
16
 *
17
 * @author n.hoffmann
18
 * @created 30.04.2009
19
 * @version 1.0
20
 */
21
public enum Page {
22
	NAME ("Name", TaxonNameEditor.class, 0); //$NON-NLS-1$
23
	
24
	private String title;
25
	private Class<?> clazz;
26
	private int index;
27
	
28
	Page(String title, Class<?> clazz, int index){
29
		this.title = title;
30
		this.clazz = clazz;
31
		this.index = index;
32
	}
33
	
34
	/**
35
	 * <p>Getter for the field <code>title</code>.</p>
36
	 *
37
	 * @return a {@link java.lang.String} object.
38
	 */
39
	public String getTitle(){
40
		return this.title;
41
	}
42
	
43
	/**
44
	 * <p>Getter for the field <code>clazz</code>.</p>
45
	 *
46
	 * @return a {@link java.lang.Class} object.
47
	 */
48
	public Class<?> getClazz(){
49
		return this.clazz;
50
	}
51
	
52
	/**
53
	 * <p>Getter for the field <code>index</code>.</p>
54
	 *
55
	 * @return a int.
56
	 */
57
	public int getIndex(){
58
		return this.index;
59
	}
60
}
(11-11/17)