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.singlesource.ui.forms;
|
12
|
|
13
|
import javax.naming.OperationNotSupportedException;
|
14
|
|
15
|
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
|
16
|
import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
|
17
|
|
18
|
|
19
|
/**
|
20
|
* <p>NumberWithLabelElement class.</p>
|
21
|
*
|
22
|
* @author n.hoffmann
|
23
|
* @created Mar 22, 2010
|
24
|
* @version 1.0
|
25
|
*/
|
26
|
public class NumberWithLabelElementFacadeImpl extends NumberWithLabelElementFacade {
|
27
|
|
28
|
public NumberWithLabelElementFacadeImpl(){
|
29
|
}
|
30
|
|
31
|
/**
|
32
|
* <p>Constructor for NumberWithLabelElement.</p>
|
33
|
*
|
34
|
* @param toolkit a {@link eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory} object.
|
35
|
* @param parentElement a {@link eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement} object.
|
36
|
* @param labelString a {@link java.lang.String} object.
|
37
|
* @param initialInteger a {@link java.lang.Integer} object.
|
38
|
* @param style a int.
|
39
|
*/
|
40
|
public NumberWithLabelElementFacadeImpl(CdmFormFactory toolkit,
|
41
|
ICdmFormElement parentElement, String labelString,
|
42
|
Integer initialInteger, int style) {
|
43
|
super(toolkit, parentElement, labelString, initialInteger, style);
|
44
|
}
|
45
|
|
46
|
protected Object getInstanceInternal (CdmFormFactory toolkit,
|
47
|
ICdmFormElement parentElement, String labelString,
|
48
|
Integer initialInteger, int style) {
|
49
|
return new NumberWithLabelElementFacadeImpl(toolkit, parentElement, labelString, initialInteger, style);
|
50
|
}
|
51
|
|
52
|
/**
|
53
|
* <p>Constructor for NumberWithLabelElement.</p>
|
54
|
*
|
55
|
* @param toolkit a {@link eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory} object.
|
56
|
* @param parentElement a {@link eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement} object.
|
57
|
* @param labelString a {@link java.lang.String} object.
|
58
|
* @param initialFloat a {@link java.lang.Float} object.
|
59
|
* @param style a int.
|
60
|
*/
|
61
|
public NumberWithLabelElementFacadeImpl(CdmFormFactory toolkit,
|
62
|
ICdmFormElement parentElement, String labelString,
|
63
|
Float initialFloat, int style) {
|
64
|
super(toolkit, parentElement, labelString, initialFloat, style);
|
65
|
}
|
66
|
|
67
|
protected Object getInstanceInternal (CdmFormFactory toolkit,
|
68
|
ICdmFormElement parentElement, String labelString,
|
69
|
Float initialFloat, int style) {
|
70
|
return new NumberWithLabelElementFacadeImpl(toolkit, parentElement, labelString, initialFloat, style);
|
71
|
}
|
72
|
|
73
|
protected Object getInstanceInternal(CdmFormFactory formFactory,ICdmFormElement parentElement, String labelString,
|
74
|
String initialText, Integer textHeight, int style)
|
75
|
{
|
76
|
return null;
|
77
|
}
|
78
|
|
79
|
public boolean traverseInternal(int traversal) throws OperationNotSupportedException
|
80
|
{
|
81
|
throw new OperationNotSupportedException("Text.traverse(int) not supported !");
|
82
|
}
|
83
|
|
84
|
}
|