All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eNetwork.beans.HOD.HODPanelBean

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.eNetwork.beans.HOD.HODPanelBean

public abstract class HODPanelBean
extends Panel
implements HODConstants, Externalizable, PropertyChangeListener, Cloneable, TraceProducer
Base class for the Host Access Beans.


Variable Index

 o BEAN_VERSION_STRING
 o TRACE_LEVEL
traceLevel property keyword
 o TRACE_MAXIMUM
traceLevel property value
 o TRACE_MINIMUM
traceLevel property value
 o TRACE_NONE
traceLevel property value
 o TRACE_NORMAL
traceLevel property value

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Adds a property change listener.
 o addTraceListener(TraceListener)
Adds a trace listener.
 o addVetoableChangeListener(VetoableChangeListener)
Adds a vetoable change listener.
 o clone()
Returns a copy of this bean.
 o dispose()
Disposes of the Bean when the caller is done with it.
 o getComponent()
Returns the trace component name for this object.
 o getFunction()
Returns the trace function name for this object.
 o getProperties()
Returns the properties of the bean.
 o getTraceLevel()
Returns the current trace level for this object.
 o getTraceName()
Returns the trace name for this object.
 o propertyChange(PropertyChangeEvent)
Invoked if this bean is registered as a PropertyChangeListener on a bean who's properties are changed.
 o readExternal(ObjectInput)
Externalizable interface method to read the serialized bean properties.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a property change listener so that it no longer receives property change events.
 o removeTraceListener(TraceListener)
Removes a trace listener so that it no longer receives trace events.
 o removeVetoableChangeListener(VetoableChangeListener)
Removes a vetoable change listener so that it no longer receives notification of vetoable property changes.
 o setProperties(Properties)
Sets the properties for the bean.
 o setTraceLevel(int)
Sets the current tracing level for this object.
 o toString()
Returns a string representation of the bean.
 o writeExternal(ObjectOutput)
Externalizable interface method to write the serialized bean properties.

Variables

 o TRACE_LEVEL
 public static final String TRACE_LEVEL
traceLevel property keyword

 o TRACE_NONE
 public static final int TRACE_NONE
traceLevel property value

 o TRACE_MINIMUM
 public static final int TRACE_MINIMUM
traceLevel property value

 o TRACE_NORMAL
 public static final int TRACE_NORMAL
traceLevel property value

 o TRACE_MAXIMUM
 public static final int TRACE_MAXIMUM
traceLevel property value

 o BEAN_VERSION_STRING
 public static final String BEAN_VERSION_STRING

Methods

 o setProperties
 public void setProperties(Properties p) throws PropertyVetoException
Sets the properties for the bean.

Parameters:
properties - a properties object for the bean.
Throws: PropertyVetoException
Thrown if a VetoableChangeListener vetoes the new value.
See Also:
getProperties
 o getProperties
 public Properties getProperties()
Returns the properties of the bean.

See Also:
setProperties
 o addVetoableChangeListener
 public void addVetoableChangeListener(VetoableChangeListener listener)
Adds a vetoable change listener. Vetoable change listeners are notified with a PropertyChangeEvent before a property is changed on the bean and have the option of vetoing the change.

Parameters:
listener - The VetoableChangeListener.
See Also:
removeVetoableChangeListener
 o removeVetoableChangeListener
 public void removeVetoableChangeListener(VetoableChangeListener listener)
Removes a vetoable change listener so that it no longer receives notification of vetoable property changes.

Parameters:
listener - The VetoableChangeListener to remove.
See Also:
addVetoableChangeListener
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener. Property change listeners are notified when a property is changed on the bean.

Parameters:
listener - The PropertyChangeListener.
See Also:
removePropertyChangeListener
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener so that it no longer receives property change events.

Parameters:
listener - a previously registered PropertyChangeListener object.
See Also:
addPropertyChangeListener
 o propertyChange
 public void propertyChange(PropertyChangeEvent evt)
Invoked if this bean is registered as a PropertyChangeListener on a bean who's properties are changed.

Parameters:
evt - the PropertyChangeEvent for the property that was changed.
 o toString
 public String toString()
Returns a string representation of the bean.

Overrides:
toString
 o clone
 public Object clone()
Returns a copy of this bean.

Overrides:
clone
 o readExternal
 public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
Externalizable interface method to read the serialized bean properties.

Parameters:
input - ObjectInput from the Externalizable interface
Throws: IOException
May occur reading a persistent class.
Throws: ClassNotFoundException
May occur attempting to load a persistent class.
See Also:
writeExternal
 o writeExternal
 public void writeExternal(ObjectOutput output) throws IOException
Externalizable interface method to write the serialized bean properties.

Parameters:
output - ObjectOutput from the Externalizable interface
See Also:
readExternal
 o getTraceName
 public abstract String getTraceName()
Returns the trace name for this object.

 o getComponent
 public String getComponent()
Returns the trace component name for this object.

 o getFunction
 public String getFunction()
Returns the trace function name for this object.

 o getTraceLevel
 public int getTraceLevel()
Returns the current trace level for this object.

 o setTraceLevel
 public void setTraceLevel(int newLevel) throws PropertyVetoException
Sets the current tracing level for this object.

Parameters:
traceLevel - One of the trace level constants
Throws: PropertyVetoException
Thrown if a VetoableChangeListener vetoes the new value.
 o addTraceListener
 public void addTraceListener(TraceListener l)
Adds a trace listener. Trace listeners are notified when a trace event occurs on the bean.

Parameters:
l - an object that implements the TraceListener interface
See Also:
TraceListener, TraceEvent
 o removeTraceListener
 public void removeTraceListener(TraceListener l)
Removes a trace listener so that it no longer receives trace events.

Parameters:
l - a previously registered TraceListener object
See Also:
TraceListener, TraceEvent
 o dispose
 public synchronized void dispose()
Disposes of the Bean when the caller is done with it.


All Packages  Class Hierarchy  This Package  Previous  Next  Index