Package jadex.base.gui.filetree
Class NodePath
- java.lang.Object
-
- jadex.base.gui.filetree.NodePath
-
public class NodePath extends java.lang.Object
Store 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 NodePath
createNodePath(ISwingTreeNode node)
Create a node path for a given node.boolean
equals(java.lang.Object obj)
Test for equality.int
getEntry()
Get the entry index.java.lang.String[]
getPath()
Get the path.int
hashCode()
Get the hash code.void
setEntry(int entry)
Set the entry index.void
setPath(java.lang.String[] path)
Set the path.java.lang.String
toString()
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test for equality.- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
Get a string representation.- Overrides:
toString
in classjava.lang.Object
-
createNodePath
public static NodePath createNodePath(ISwingTreeNode node)
Create a node path for a given node.
-
-