jadex.base.gui.filetree.TreeProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-tools-base-swing Show documentation
Show all versions of jadex-tools-base-swing Show documentation
Reusable classes for starting Jadex, running test cases and building
JCC plugins.
package jadex.base.gui.filetree;
/**
* Struct for storing Tree properties.
*/
public class TreeProperties
{
//-------- attributes --------
/** The root path entries. */
protected String[] roots;
/** The selected node (if any). */
protected NodePath selected;
/** The expanded nodes. */
protected NodePath[] expanded;
//-------- methods --------
/**
* Get the root node.
*/
public String[] getRootPathEntries()
{
return roots;
}
/**
* Get the selected node.
*/
public NodePath getSelectedNode()
{
return selected;
}
/**
* Get the expanded nodes.
*/
public NodePath[] getExpandedNodes()
{
return expanded;
}
/**
* Set the root path entries.
*/
public void setRootPathEntries(String[] roots)
{
this.roots = roots;
}
/**
* Set the selected node.
*/
public void setSelectedNode(NodePath selected)
{
this.selected = selected;
}
/**
* Set the expanded nodes.
*/
public void setExpandedNodes(NodePath[] expanded)
{
this.expanded = expanded;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy