org.indi.objects
Class Text

java.lang.Object
  extended by org.indi.objects.Object<Object>
      extended by org.indi.objects.Element
          extended by org.indi.objects.Text
All Implemented Interfaces:
java.io.Serializable

public class Text
extends Element

a indi object representing a singe text

Author:
Dirk Hünniger
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.indi.objects.Element
label, name, value
 
Fields inherited from class org.indi.objects.Object
children, message, transferType
 
Constructor Summary
Text(java.lang.String name, java.lang.String value)
          class constructor
Text(java.lang.String name, java.lang.String label, java.lang.String value)
          class constructor
 
Method Summary
protected  java.lang.String getType()
           
 
Methods inherited from class org.indi.objects.Element
getEndTag, getName, getStartTag, getValue, getXML, hashCode, oEquals, setValue
 
Methods inherited from class org.indi.objects.Object
equals, getChildren, getMessage, getTransferType, getXML, setTransferType, treeEquals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text

public Text(java.lang.String name,
            java.lang.String label,
            java.lang.String value)
class constructor

Parameters:
name - the name of the Text
label - the label of the Text (to be used for display in the GUI)
value - the value of the Text

Text

public Text(java.lang.String name,
            java.lang.String value)
class constructor

Parameters:
name - the name of the Text
value - the value of the Text
Method Detail

getType

protected java.lang.String getType()
Specified by:
getType in class Element
Returns:
the type of the indi element


Copyright © 2008. All Rights Reserved.