com.altair.hwm.toolkit.beans
Class HWMCategoryInfoNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.altair.hwm.toolkit.beans.HWMCategoryInfoNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class HWMCategoryInfoNode
extends javax.swing.tree.DefaultMutableTreeNode

Title: HWMCategoryInfoNode

Description: Represents a category dir

Company: Altair Engineering, Inc.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
HWMCategoryInfoNode()
          Constructor
HWMCategoryInfoNode(java.io.File file, java.lang.String strName)
          Constructor
 
Method Summary
 void AddJarFile(java.lang.String strJarFileName)
          Adds a jar file to this category
 java.io.File GetFile()
          Get the file obj
 java.util.Vector GetJarFiles()
          Returns the jar file names in this category
 java.lang.String GetName()
          Get the name for the category
 boolean IsMandatory()
          Returns the mandatory flag
 void SetFile(java.io.File file)
          Set the file obj
 void SetMandatory(boolean bMandatory)
          Set the mandatory flag
 void SetName(java.lang.String strName)
          Set the name for the category
 java.lang.String toString()
          Return the name for the node
 
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, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HWMCategoryInfoNode

public HWMCategoryInfoNode()
Constructor


HWMCategoryInfoNode

public HWMCategoryInfoNode(java.io.File file,
                           java.lang.String strName)
Constructor

Parameters:
file - The file obj representing a dir
strName - Name for the category
Method Detail

SetFile

public void SetFile(java.io.File file)
Set the file obj

Parameters:
file - The file obj representing a dir

GetFile

public java.io.File GetFile()
Get the file obj

Returns:
File The file obj representing a dir

SetMandatory

public void SetMandatory(boolean bMandatory)
Set the mandatory flag

Parameters:
bMandatory - If true then mandatory else not

IsMandatory

public boolean IsMandatory()
Returns the mandatory flag

Parameters:
boolean - true if mandatory else returns false

AddJarFile

public void AddJarFile(java.lang.String strJarFileName)
Adds a jar file to this category

Parameters:
strJarFileName - the name of the jar file to add

GetJarFiles

public java.util.Vector GetJarFiles()
Returns the jar file names in this category

Parameters:
Vector - vector of jar file names in this category

SetName

public void SetName(java.lang.String strName)
Set the name for the category

Parameters:
strName - The name for the category

GetName

public java.lang.String GetName()
Get the name for the category

Returns:
String The name for the category

toString

public java.lang.String toString()
Return the name for the node

Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode
Parameters:
String - The name to display for this node