org.jogre.client.awt
Class JTreeXMLElement

java.lang.Object
  extended byorg.jogre.client.awt.JTreeXMLElement

public class JTreeXMLElement
extends Object

An element used for displaying XML entries in a JTree

Version:
Alpha 0.2.3
Author:
Richard Walter

Field Summary
 int caretPos
           
 XMLElement xmlElement
           
 
Constructor Summary
JTreeXMLElement(XMLElement xmlElement, String propertyName, int caretPos)
          Constructor
 
Method Summary
 String toString()
          Transform the XML element into a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

xmlElement

public XMLElement xmlElement

caretPos

public int caretPos
Constructor Detail

JTreeXMLElement

public JTreeXMLElement(XMLElement xmlElement,
                       String propertyName,
                       int caretPos)
Constructor

Method Detail

toString

public String toString()
Transform the XML element into a string. The mapping is the attribute with the given propertyName.