com.altair.hwm.toolkit.preferences
Class HWMMenuBarPrefNode

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

public class HWMMenuBarPrefNode
extends HWMPreferenceNode

Title: HWMMenuBarPrefNode

Description:

Company: Altair Engineering, Inc.

See Also:
Serialized Form

Field Summary
static int MENU
           
static int MENU_ITEM
           
static java.lang.String PREF_NODE_VERSION
           
 
Fields inherited from class com.altair.hwm.toolkit.preferences.HWMPreferenceNode
VERSION_HWMPREFERENCENODE
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
HWMMenuBarPrefNode(java.lang.String szDisplayText, java.lang.String strToolTip, java.lang.String szName)
           
 
Method Summary
 int GetMenuBarPrefNodeType()
           
 java.lang.String GetMnemonic()
           
 java.lang.String GetText()
           
 void Load(java.io.ObjectInputStream streamIn)
          Load the menubar pref node variables
 void Save(java.io.ObjectOutputStream streamOut)
          Save the toolbar pref node
 void SetMenuBarPrefNodeType(int nPrefNodeType)
           
 void SetMnemonic(java.lang.String szMnemonic)
           
 void SetText(java.lang.String szText)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PREF_NODE_VERSION

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

MENU

public static final int MENU
See Also:
Constant Field Values

MENU_ITEM

public static final int MENU_ITEM
See Also:
Constant Field Values
Constructor Detail

HWMMenuBarPrefNode

public HWMMenuBarPrefNode(java.lang.String szDisplayText,
                          java.lang.String strToolTip,
                          java.lang.String szName)
Method Detail

SetText

public void SetText(java.lang.String szText)

GetText

public java.lang.String GetText()

SetMnemonic

public void SetMnemonic(java.lang.String szMnemonic)

GetMnemonic

public java.lang.String GetMnemonic()

SetMenuBarPrefNodeType

public void SetMenuBarPrefNodeType(int nPrefNodeType)

GetMenuBarPrefNodeType

public int GetMenuBarPrefNodeType()

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 menubar pref node variables

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

toString

public java.lang.String toString()
Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode