DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.autoform
Class Label

java.lang.Object
  extended by org.dlese.dpc.schemedit.autoform.Label
Direct Known Subclasses:
SimpleTypeLabel

public class Label
extends Object

Basic Class to render an element label for metadata editors and viewers.

Author:
ostwald


Field Summary
 Element bestPractices
           
protected static boolean debug
          Description of the Field
 
Constructor Summary
Label()
           
Label(int level)
          Constructor for the Label object
 
Method Summary
protected  void addDebugInfo(Element e)
           
 Element getElement()
          build up the label Element
 String getFieldType()
           
 String getText()
           
static void main(String[] args)
          The main program for the Label class
static void pp(Node node)
          Description of the Method
 void setDebugInfo(String info)
           
 void setFieldType(String type)
           
 void setLabelClass(String klass)
          Sets the labelClass attribute of the Label object
 void setText(String text)
          Sets the text attribute of the Label object
 
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


bestPractices

public Element bestPractices
Constructor Detail

Label

public Label()

Label

public Label(int level)
Constructor for the Label object

Parameters:
level - Description of the Parameter
Method Detail

setText

public void setText(String text)
Sets the text attribute of the Label object

Parameters:
text - The new text value

getText

public String getText()

setFieldType

public void setFieldType(String type)

getFieldType

public String getFieldType()

setDebugInfo

public void setDebugInfo(String info)

setLabelClass

public void setLabelClass(String klass)
Sets the labelClass attribute of the Label object

Parameters:
klass - The new labelClass value

main

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

Parameters:
args - The command line arguments

getElement

public Element getElement()
build up the label Element

Returns:
The element value

addDebugInfo

protected void addDebugInfo(Element e)

pp

public static void pp(Node node)
Description of the Method


DLESE Tools
v1.6.0