wt.clients.beans.monitor
Class MonitorNode

java.lang.Object
  extended bywt.clients.beans.monitor.MonitorNode
All Implemented Interfaces:
Externalizable, GraphNode, Serializable

public class MonitorNode
extends Object
implements GraphNode, Externalizable

See Also:
Serialized Form

Field Summary
private  Hashtable attributeHashtable
           
private static String CLASSNAME
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private static String versionID
           
 
Constructor Summary
MonitorNode()
           
 
Method Summary
 void addAttribute(String pKey, Object pValue)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 Object getAttribute(String pKey)
           
 String getDescription()
          Gets the value of the attribute: description.
 String getIcon()
          Gets the value of the attribute: icon.
 String getKey()
          Gets the value of the attribute: key.
 Point getPosition()
          Gets the value of the attribute: position.
 String getSelectedIcon()
          Gets the value of the attribute: selectedIcon.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  void readOldVersion(ObjectInput input, long readSerialVersionUID)
          Reads the non-transient fields of this class from an external source, which is not the current version.
 void removeAttribute(Object pObject)
           
 void removeAttribute(String pKey)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setDescription(String a_Description)
          Sets the value of the attribute: description.
 void setIcon(String a_Icon)
          Sets the value of the attribute: icon.
 void setKey(String a_Key)
          Sets the value of the attribute: key.
 void setPosition(int x, int y)
           
 void setPosition(Point a_Position)
          Sets the value of the attribute: position.
 void setSelectedIcon(String a_SelectedIcon)
          Sets the value of the attribute: selectedIcon.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

attributeHashtable

private Hashtable attributeHashtable

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

MonitorNode

public MonitorNode()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readOldVersion

private void readOldVersion(ObjectInput input,
                            long readSerialVersionUID)
                     throws IOException,
                            ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
Throws:
IOException
ClassNotFoundException

getIcon

public String getIcon()
Gets the value of the attribute: icon.

Specified by:
getIcon in interface GraphNode
Returns:
String

setIcon

public void setIcon(String a_Icon)
             throws WTPropertyVetoException
Sets the value of the attribute: icon.

Parameters:
a_Icon -
Throws:
WTPropertyVetoException

getSelectedIcon

public String getSelectedIcon()
Gets the value of the attribute: selectedIcon.

Specified by:
getSelectedIcon in interface GraphNode
Returns:
String

setSelectedIcon

public void setSelectedIcon(String a_SelectedIcon)
                     throws WTPropertyVetoException
Sets the value of the attribute: selectedIcon.

Parameters:
a_SelectedIcon -
Throws:
WTPropertyVetoException

getDescription

public String getDescription()
Gets the value of the attribute: description.

Specified by:
getDescription in interface GraphNode
Returns:
String

setDescription

public void setDescription(String a_Description)
                    throws WTPropertyVetoException
Sets the value of the attribute: description.

Parameters:
a_Description -
Throws:
WTPropertyVetoException

getPosition

public Point getPosition()
Gets the value of the attribute: position.

Specified by:
getPosition in interface GraphNode
Returns:
Point

setPosition

public void setPosition(Point a_Position)
                 throws WTPropertyVetoException
Sets the value of the attribute: position.

Parameters:
a_Position -
Throws:
WTPropertyVetoException

getKey

public String getKey()
Gets the value of the attribute: key.

Specified by:
getKey in interface GraphNode
Returns:
String

setKey

public void setKey(String a_Key)
            throws WTPropertyVetoException
Sets the value of the attribute: key.

Parameters:
a_Key -
Throws:
WTPropertyVetoException

addAttribute

public void addAttribute(String pKey,
                         Object pValue)
Parameters:
pKey -
pValue -

removeAttribute

public void removeAttribute(String pKey)
Parameters:
pKey -

removeAttribute

public void removeAttribute(Object pObject)
Parameters:
pObject -

getAttribute

public Object getAttribute(String pKey)
Parameters:
pKey -
Returns:
Object

setPosition

public void setPosition(int x,
                        int y)
Specified by:
setPosition in interface GraphNode
Parameters:
x -
y -

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface GraphNode
Parameters:
listener -

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface GraphNode
Parameters:
listener -