Package jadex.base.gui.filetree
Class NodePath
- java.lang.Object
-
- jadex.base.gui.filetree.NodePath
-
public class NodePath extends java.lang.ObjectStore a path in the project for selected or expanded nodes.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodePathcreateNodePath(ISwingTreeNode node)Create a node path for a given node.booleanequals(java.lang.Object obj)Test for equality.intgetEntry()Get the entry index.java.lang.String[]getPath()Get the path.inthashCode()Get the hash code.voidsetEntry(int entry)Set the entry index.voidsetPath(java.lang.String[] path)Set the path.java.lang.StringtoString()Get a string representation.
-
-
-
Method Detail
-
getEntry
public int getEntry()
Get the entry index.
-
setEntry
public void setEntry(int entry)
Set the entry index.
-
getPath
public java.lang.String[] getPath()
Get the path.
-
setPath
public void setPath(java.lang.String[] path)
Set the path.
-
hashCode
public int hashCode()
Get the hash code.- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test for equality.- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
Get a string representation.- Overrides:
toStringin classjava.lang.Object
-
createNodePath
public static NodePath createNodePath(ISwingTreeNode node)
Create a node path for a given node.
-
-