jmri.layout
Class LayoutElement
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
jmri.layout.LayoutElement
- All Implemented Interfaces:
- Serializable, Cloneable, MutableTreeNode, TreeNode, LayoutEventInterface
public class LayoutElement
- extends DefaultMutableTreeNode
- implements LayoutEventInterface
- See Also:
- Serialized Form
| 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 |
LayoutElement
public LayoutElement(LayoutAddress pAddress)
LayoutElement
public LayoutElement(String pName,
LayoutAddress pAddress)
getData
public LayoutEventData getData()
setData
public void setData(LayoutEventData pData)
getAddress
public LayoutAddress getAddress()
getName
public String getName()
setName
public void setName(String pName)
addEventListener
public void addEventListener(LayoutEventListener pListener)
- Specified by:
addEventListener in interface LayoutEventInterface
removeEventListener
public void removeEventListener(LayoutEventListener pListener)
- Specified by:
removeEventListener in interface LayoutEventInterface
message
protected void message(LayoutEventData pLayoutEvent)
Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: