|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.altair.hwm.toolkit.beans.HWMCategoryInfoNode
public class HWMCategoryInfoNode
Title: HWMCategoryInfoNode
Description: Represents a category dir
Company: Altair Engineering, Inc.
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 |
---|
public HWMCategoryInfoNode()
public HWMCategoryInfoNode(java.io.File file, java.lang.String strName)
file
- The file obj representing a dirstrName
- Name for the categoryMethod Detail |
---|
public void SetFile(java.io.File file)
file
- The file obj representing a dirpublic java.io.File GetFile()
public void SetMandatory(boolean bMandatory)
bMandatory
- If true then mandatory else notpublic boolean IsMandatory()
boolean
- true if mandatory else returns falsepublic void AddJarFile(java.lang.String strJarFileName)
strJarFileName
- the name of the jar file to addpublic java.util.Vector GetJarFiles()
Vector
- vector of jar file names in this categorypublic void SetName(java.lang.String strName)
strName
- The name for the categorypublic java.lang.String GetName()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
String
- The name to display for this node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |