public class FilesToSaveGroup
extends java.lang.Object
| Constructor and Description | 
|---|
FilesToSaveGroup(java.lang.String description, java.util.List<Node> nodesToSave)
Creates a new group of nodes to be saved together. 
 | 
FilesToSaveGroup(java.lang.String description, java.lang.String toolTip, java.util.List<Node> nodesToSave)
Creates a new group of nodes to be saved together. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
contains(Node n)
Indicates whether this group contains the given node. 
 | 
java.lang.String | 
description()
Returns the description of this group. 
 | 
int | 
nodeCount()
Returns the number of nodes in this group. 
 | 
java.util.List<Node> | 
nodesToSave()
Returns the list of nodes to save. 
 | 
java.lang.String | 
toolTip()
Returns the toolTip of this group. 
 | 
public FilesToSaveGroup(java.lang.String description,
                java.util.List<Node> nodesToSave)
description - the description of this group, usually displayed as the text of a folder node in the "Save Files" dialog.nodesToSave - the actual nodes to be saved together.
public FilesToSaveGroup(java.lang.String description,
                java.lang.String toolTip,
                java.util.List<Node> nodesToSave)
description - the description of this group, usually displayed as the text of a folder node in the "Save Files" dialog.toolTip - the toolTip of this group, usually displayed as the toolTip of a folder node in the "Save Files" dialog.nodesToSave - the actual nodes to be saved together.public java.lang.String description()
public java.lang.String toolTip()
public java.util.List<Node> nodesToSave()
public boolean contains(Node n)
n - the node to verify.true if this group contains the given node, false otherwise.public int nodeCount()