com.jxml.quick.util.qjmlWizard
Class WElement

java.lang.Object
  |
  +--javax.swing.tree.DefaultMutableTreeNode
        |
        +--com.jxml.quick.util.qjmlWizard.WElement
All Implemented Interfaces:
Cloneable, MutableTreeNode, QBiModal, Serializable, TreeNode, WAtt

public class WElement
extends DefaultMutableTreeNode
implements QBiModal, WAtt

See Also:
Serialized Form

Field Summary
 boolean abst
           
 ArrayList attributes
           
 String[] atts
           
 ArrayList comments
           
 String content
           
static String[] contents
           
 ArrayList ext
           
 ArrayList imp
           
 boolean intr
           
 ArrayList items
           
 String label
           
 String name
           
 WTarget target
           
 Class targetClass
           
 boolean wild
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
WElement()
           
 
Method Summary
 WElement copy()
           
 boolean editAtt(int i, Wizard wizard)
           
 void eval(Wizard wizard)
           
 String[] getAtts()
           
 String getQText()
           
 boolean match(String name, Object x)
           
 void pasteAdd(WAtt elementBuffer, DefaultTreeModel dtm)
           
 void pasteAfter(WAtt elementBuffer, DefaultTreeModel dtm)
           
 void pasteBefore(WAtt elementBuffer, DefaultTreeModel dtm)
           
 void pasteReplace(WAtt elementBuffer, DefaultTreeModel dtm)
           
 void pasteUpdate(WAtt elementBuffer, DefaultTreeModel dtm)
           
 void removeFromParent(DefaultTreeModel dtm)
           
 void setErrors(Wizard wizard)
           
 void setErrors(Wizard wizard, Class tc)
           
 void setQText(String text)
           
 String uid()
           
 void update()
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

label

public String label

wild

public boolean wild

content

public String content

target

public WTarget target

attributes

public ArrayList attributes

items

public ArrayList items

atts

public String[] atts

contents

public static String[] contents

targetClass

public Class targetClass

comments

public ArrayList comments

ext

public ArrayList ext

imp

public ArrayList imp

abst

public boolean abst

intr

public boolean intr
Constructor Detail

WElement

public WElement()
Method Detail

uid

public String uid()

getQText

public String getQText()
Specified by:
getQText in interface QBiModal

setQText

public void setQText(String text)
Specified by:
setQText in interface QBiModal

update

public void update()

getAtts

public String[] getAtts()
Specified by:
getAtts in interface WAtt

editAtt

public boolean editAtt(int i,
                       Wizard wizard)
Specified by:
editAtt in interface WAtt

removeFromParent

public void removeFromParent(DefaultTreeModel dtm)
Specified by:
removeFromParent in interface WAtt

copy

public WElement copy()

eval

public void eval(Wizard wizard)
Specified by:
eval in interface WAtt

pasteBefore

public void pasteBefore(WAtt elementBuffer,
                        DefaultTreeModel dtm)
Specified by:
pasteBefore in interface WAtt

pasteAfter

public void pasteAfter(WAtt elementBuffer,
                       DefaultTreeModel dtm)
Specified by:
pasteAfter in interface WAtt

pasteReplace

public void pasteReplace(WAtt elementBuffer,
                         DefaultTreeModel dtm)
Specified by:
pasteReplace in interface WAtt

pasteUpdate

public void pasteUpdate(WAtt elementBuffer,
                        DefaultTreeModel dtm)
Specified by:
pasteUpdate in interface WAtt

pasteAdd

public void pasteAdd(WAtt elementBuffer,
                     DefaultTreeModel dtm)
Specified by:
pasteAdd in interface WAtt

match

public boolean match(String name,
                     Object x)

setErrors

public void setErrors(Wizard wizard)
Specified by:
setErrors in interface WAtt

setErrors

public void setErrors(Wizard wizard,
                      Class tc)