Skip navigation links


com.essbase.eas.essbase.ui.outline.settings
Class AliasNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.essbase.eas.ui.tree.StandardTreeNode
          extended by com.essbase.eas.essbase.ui.outline.settings.SettingsTreeNode
              extended by com.essbase.eas.essbase.ui.outline.settings.AliasNode

All Implemented Interfaces:
RepresentationListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.event.CellEditorListener, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class AliasNode
extends SettingsTreeNode

implementation of a tree node for a single alias table node.

Version:
1.00, 10/03/2001
Author:
Hank Cox
See Also:
Serialized Form

Field Summary

 

Fields inherited from class com.essbase.eas.ui.tree.StandardTreeNode
editable, editorComponent, editStartPosition, icon, labelOnly, labelText, modified, valueText

 

Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject

 

Constructor Summary
AliasNode(Representation r, AliasTable t)
           

 

Method Summary
 void clearAliasTable()
           
 void copyAliasTable()
           
 void createAliasTable()
           
 void deleteAliasTable(boolean doBackupTable)
           
 void deleteAliasTableFromUI(Representation r)
           
 void eventTaken(RepresentationEvent e)
          this event gets broadcast an event is added to the outline's representation.
 void eventUndone(RepresentationEvent e)
          this event gets broadcast when an event is undone.
 void exportAliasTable()
           
 AliasTable getAliasTable()
           
 java.awt.Component[] getContextMenuItems()
           
 java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree, java.lang.Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
          returns a rendering component for this object; derived classes can override this class in order to provide a specialized renderer.
 void handleAliasTableImportEvent(AliasTableImportEvent ev)
           
 void importAliasTable()
           
 boolean isActiveTable()
           
 boolean isDefaultTable()
           
 void renameAliasTable()
           
 void setActiveTable(boolean value)
           
 void setParent(javax.swing.tree.MutableTreeNode newParent)
           

 

Methods inherited from class com.essbase.eas.essbase.ui.outline.settings.SettingsTreeNode
activeAliasTableChanged, getModel, getTree, getUserObjectAsRepresentation, getUserObjectAsSettings

 

Methods inherited from class com.essbase.eas.ui.tree.StandardTreeNode
editingCanceled, editingStopped, getEditable, getEditStartPosition, getIcon, getLabelText, getTreeCellEditorComponent, getUserObjectAs, getValueText, isEditable, isLabelOnly, isModified, labelTextNeeded, release, setEditable, setEditStartPosition, setIcon, setLabelOnly, setLabelText, setModified, setValueText

 

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, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setUserObject, toString

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

AliasNode

public AliasNode(Representation r,
                 AliasTable t)

Method Detail

getContextMenuItems

public java.awt.Component[] getContextMenuItems()
Overrides:
getContextMenuItems in class SettingsTreeNode

isActiveTable

public boolean isActiveTable()

setActiveTable

public void setActiveTable(boolean value)

getAliasTable

public AliasTable getAliasTable()

isDefaultTable

public boolean isDefaultTable()

createAliasTable

public void createAliasTable()

renameAliasTable

public void renameAliasTable()

copyAliasTable

public void copyAliasTable()

clearAliasTable

public void clearAliasTable()

deleteAliasTable

public void deleteAliasTable(boolean doBackupTable)

deleteAliasTableFromUI

public void deleteAliasTableFromUI(Representation r)

importAliasTable

public void importAliasTable()

exportAliasTable

public void exportAliasTable()

getTreeCellRendererComponent

public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree,
                                                       java.lang.Object value,
                                                       boolean sel,
                                                       boolean expanded,
                                                       boolean leaf,
                                                       int row,
                                                       boolean hasFocus)
Description copied from class: StandardTreeNode
returns a rendering component for this object; derived classes can override this class in order to provide a specialized renderer.
Overrides:
getTreeCellRendererComponent in class StandardTreeNode

eventUndone

public void eventUndone(RepresentationEvent e)
Description copied from interface: RepresentationListener
this event gets broadcast when an event is undone.
Specified by:
eventUndone in interface RepresentationListener
Overrides:
eventUndone in class SettingsTreeNode

eventTaken

public void eventTaken(RepresentationEvent e)
Description copied from interface: RepresentationListener
this event gets broadcast an event is added to the outline's representation.
Specified by:
eventTaken in interface RepresentationListener
Overrides:
eventTaken in class SettingsTreeNode

handleAliasTableImportEvent

public void handleAliasTableImportEvent(AliasTableImportEvent ev)

setParent

public void setParent(javax.swing.tree.MutableTreeNode newParent)
Specified by:
setParent in interface javax.swing.tree.MutableTreeNode
Overrides:
setParent in class SettingsTreeNode

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.