|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.metamatrix.console.ui.views.deploy.event.ConfigurationChangeEvent com.metamatrix.console.ui.views.deploy.event.ConfigurationTreeModelEvent
public final class ConfigurationTreeModelEvent
The ConfigurationTreeModelEvent
is used to notify
ConfigurationTreeModelListener
s that a change in a tree model
has occurred.
Field Summary |
---|
Fields inherited from class com.metamatrix.console.ui.views.deploy.event.ConfigurationChangeEvent |
---|
ancestors, CONFIGURATION, DELETED, DEPLOYED_PSC, DEPLOYED_SERVICE, HOST, MODIFIED, NEW, PROCESS, PRODUCT, PSC_DEFN, REFRESH_END, REFRESH_START, SERVICE_DEFN, type |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ConfigurationTreeModelEvent(int theType,
DefaultTreeNode theChangedNode,
DefaultTreeNode theConfigNode,
DefaultTreeNode[] theAncestorNodes)
Constructs a ConfigurationTreeModelEvent of the given type. |
Method Summary | |
---|---|
DefaultTreeNode[] |
getAncestorNodes()
Gets the ancestors of the changed object. |
DefaultTreeNode |
getConfigurationNode()
Gets the configuration node where the change took place. |
DefaultTreeNode |
getDeployedPscNode()
Gets the deployed PSC node if either a deployed PSC node was the event source or an ancestor. |
DefaultTreeNode |
getDeployedServiceNode()
Gets the deployed service node if either a deployed service node was the event source or an ancestor. |
DefaultTreeNode |
getHostNode()
Gets the host node if either a host node was the event source or an ancestor. |
DefaultTreeNode |
getProcessNode()
Gets the process node if either a process node was the event source or an ancestor. |
DefaultTreeNode |
getProductNode()
Gets the product node if either a product node was the event source or an ancestor. |
DefaultTreeNode |
getPscDefinitionNode()
Gets the PSC definition node if either a PSC definition node was the event source or an ancestor. |
DefaultTreeNode |
getServiceDefinitionNode()
Gets the service definition node if either a service definition node was the event source or an ancestor. |
DefaultTreeNode |
getSourceNode()
The source node of the event. |
DefaultTreeNode |
getSourceNodeParent()
The source node of the event. |
protected void |
setAncestors(java.lang.Object[] theAncestors)
Sets the ancestor object of the changed object. |
Methods inherited from class com.metamatrix.console.ui.views.deploy.event.ConfigurationChangeEvent |
---|
getAncestorIndex, getAncestors, getConfiguration, getDeployedPsc, getDeployedService, getHost, getProcess, getProduct, getPscDefinition, getServiceDefinition, getType, isConfigurationChange, isDeleted, isDeployedPscChange, isDeployedServiceChange, isHostChange, isModified, isNew, isProcessChange, isProductChange, isPscDefinitionChange, isRefreshEnd, isRefreshStart, isServiceDefinitionChange, paramString |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationTreeModelEvent(int theType, DefaultTreeNode theChangedNode, DefaultTreeNode theConfigNode, DefaultTreeNode[] theAncestorNodes) throws java.lang.IllegalArgumentException, java.lang.NullPointerException
ConfigurationTreeModelEvent
of the given type.
theType
- the event typetheChangedNode
- the node whose state has changedtheConfigNode
- the configuration node where the change occurredtheAncestorNodes
- the ancestor nodes starting with the parent
java.lang.IllegalArgumentException
- if type is not valid, if the
changed node content is null
, or if the configuration node
content is null
.
java.lang.NullPointerException
- if the changed node is null
,
or if the configuration node is null
.Method Detail |
---|
public DefaultTreeNode[] getAncestorNodes()
public DefaultTreeNode getConfigurationNode()
public DefaultTreeNode getDeployedPscNode()
null
public DefaultTreeNode getDeployedServiceNode()
null
public DefaultTreeNode getHostNode()
null
public DefaultTreeNode getProcessNode()
null
public DefaultTreeNode getProductNode()
null
public DefaultTreeNode getPscDefinitionNode()
null
public DefaultTreeNode getServiceDefinitionNode()
null
public DefaultTreeNode getSourceNode()
public DefaultTreeNode getSourceNodeParent()
protected void setAncestors(java.lang.Object[] theAncestors)
setAncestors
in class ConfigurationChangeEvent
theAncestors
- the ancestor objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |