Project

General

Profile

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

    
11
package eu.etaxonomy.taxeditor.editor;
12

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

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