3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
11 package eu
.etaxonomy
.taxeditor
.ui
.element
;
14 import java
.net
.URISyntaxException
;
16 import eu
.etaxonomy
.taxeditor
.ui
.campanula
.compatibility
.ICdmFormElement
;
21 * @created Dec 20, 2010
24 public class UriWithLabelElement
extends TextWithLabelElement
{
28 * @param parentElement
34 protected UriWithLabelElement(CdmFormFactory formFactory
,
35 ICdmFormElement parentElement
, String labelString
,
36 URI initialUri
, Integer textHeight
, int style
) {
37 super(formFactory
, parentElement
, labelString
, null, textHeight
, style
);
44 public void setUri(URI uri
) {
46 super.setText(uri
.toString());
50 public URI
getUri() throws URISyntaxException
{
51 return new URI(super.getText());