DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.autoform
Class ComplexTypeLabel

java.lang.Object
  extended by org.dlese.dpc.schemedit.autoform.Label
      extended by org.dlese.dpc.schemedit.autoform.SimpleTypeLabel
          extended by org.dlese.dpc.schemedit.autoform.ComplexTypeLabel

public class ComplexTypeLabel
extends SimpleTypeLabel

Class to render an element label for metadata editors and viewers. Label components, such as collapse widgets, controls and best practice links, are added to ComplexTypeLabel instance, and then these components are assembled into jsp by the getElement method.

Author:
ostwald

$Id $


Field Summary
 Element collapseWidget
           
protected static boolean debug
          Description of the Field
 Element isExpandableTest
           
 Element notExpandableTest
           
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.SimpleTypeLabel
control, editMeTag
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.Label
bestPractices
 
Constructor Summary
ComplexTypeLabel()
           
 
Method Summary
 Element getElement()
          build up the label Element
 boolean isRequired()
           
static void main(String[] args)
          The main program for the ComplexTypeLabel class
 void pp()
          Description of the Method
 void setRequired()
           
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.SimpleTypeLabel
isRepeating, report, setOptional, setRepeating
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.Label
addDebugInfo, getFieldType, getText, pp, setDebugInfo, setFieldType, setLabelClass, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

protected static boolean debug
Description of the Field


isExpandableTest

public Element isExpandableTest

notExpandableTest

public Element notExpandableTest

collapseWidget

public Element collapseWidget
Constructor Detail

ComplexTypeLabel

public ComplexTypeLabel()
Method Detail

setRequired

public void setRequired()
Overrides:
setRequired in class SimpleTypeLabel

isRequired

public boolean isRequired()
Overrides:
isRequired in class SimpleTypeLabel

getElement

public Element getElement()
build up the label Element

Overrides:
getElement in class SimpleTypeLabel
Returns:
The element value

main

public static void main(String[] args)
The main program for the ComplexTypeLabel class

Parameters:
args - The command line arguments

pp

public void pp()
Description of the Method


DLESE Tools
v1.6.0