com.altair.hwm.toolkit.preferences
Class HWMToolBarPrefNode

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

public class HWMToolBarPrefNode
extends HWMPreferenceNode

Title: HWMToolBarPrefNode

Description:

Company: Altair Engineering, Inc.

See Also:
Serialized Form

Field Summary
static java.lang.String PREF_NODE_VERSION
           
static int TOOLBAR
           
static int TOOLBAR_ITEM
           
 
Fields inherited from class com.altair.hwm.toolkit.preferences.HWMPreferenceNode
VERSION_HWMPREFERENCENODE
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
HWMToolBarPrefNode(java.lang.String strDisplayName, java.lang.String szTooltip, java.lang.String szIconFile, java.lang.String szName)
           
 
Method Summary
 java.lang.String GetIconFile()
           
 java.lang.String GetText()
           
 int GetToolBarPrefNodeType()
           
 void Load(java.io.ObjectInputStream streamIn)
          Load the toolbar pref node
 void Save(java.io.ObjectOutputStream streamOut)
          Save the toolbar pref node
 void SetIconFile(java.lang.String szIconFile)
           
 void SetText(java.lang.String szText)
           
 void SetToolBarPrefNodeType(int nPrefNodeType)
           
 
Methods inherited from class com.altair.hwm.toolkit.preferences.HWMPreferenceNode
GetActionCommand, GetComponentType, GetName, GetTooltip, IsMandatory, IsVisible, IsVisibleInPM, LoadVersion1_0, LoadVersion2_0, LoadVersion3_0, SetActionCommand, SetComponentType, SetMandatory, SetName, SetTooltip, SetVisible, SetVisibleInPM
 
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, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOOLBAR

public static final int TOOLBAR
See Also:
Constant Field Values

TOOLBAR_ITEM

public static final int TOOLBAR_ITEM
See Also:
Constant Field Values

PREF_NODE_VERSION

public static final java.lang.String PREF_NODE_VERSION
See Also:
Constant Field Values
Constructor Detail

HWMToolBarPrefNode

public HWMToolBarPrefNode(java.lang.String strDisplayName,
                          java.lang.String szTooltip,
                          java.lang.String szIconFile,
                          java.lang.String szName)
Method Detail

SetToolBarPrefNodeType

public void SetToolBarPrefNodeType(int nPrefNodeType)

SetIconFile

public void SetIconFile(java.lang.String szIconFile)

GetIconFile

public java.lang.String GetIconFile()

GetToolBarPrefNodeType

public int GetToolBarPrefNodeType()

SetText

public void SetText(java.lang.String szText)

GetText

public java.lang.String GetText()

Save

public void Save(java.io.ObjectOutputStream streamOut)
          throws java.io.IOException
Save the toolbar pref node

Overrides:
Save in class HWMPreferenceNode
Parameters:
streamOut - The stream to save to
Throws:
java.io.IOException

Load

public void Load(java.io.ObjectInputStream streamIn)
          throws java.io.IOException,
                 java.lang.ClassNotFoundException
Load the toolbar pref node

Overrides:
Load in class HWMPreferenceNode
Parameters:
streamIn - The stream to load from
Throws:
java.io.IOException
java.lang.ClassNotFoundException