org.dlese.dpc.schemedit.autoform
Class SimpleTypeLabel
java.lang.Object
org.dlese.dpc.schemedit.autoform.Label
org.dlese.dpc.schemedit.autoform.SimpleTypeLabel
- Direct Known Subclasses:
- ComplexTypeLabel
public class SimpleTypeLabel
- extends Label
Class to render an element label for metadata editors and viewers. Label components, such as controls and
links, are added to SimpleTypeLabel instance, and then these components are assembled into jsp by the getElement method.
- Author:
- ostwald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
protected static boolean debug
- Description of the Field
control
public Element control
editMeTag
public Element editMeTag
SimpleTypeLabel
public SimpleTypeLabel()
getElement
public Element getElement()
- build up the label Element
- Overrides:
getElement
in class Label
- Returns:
- The element value
setRepeating
public void setRepeating()
isRepeating
public boolean isRepeating()
setRequired
public void setRequired()
setOptional
public void setOptional()
isRequired
public boolean isRequired()
report
public void report()
main
public static void main(String[] args)