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.
-
BEAN_VERSION_STRING
-
-
TRACE_LEVEL
- traceLevel property keyword
-
TRACE_MAXIMUM
- traceLevel property value
-
TRACE_MINIMUM
- traceLevel property value
-
TRACE_NONE
- traceLevel property value
-
TRACE_NORMAL
- traceLevel property value
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a property change listener.
-
addTraceListener(TraceListener)
- Adds a trace listener.
-
addVetoableChangeListener(VetoableChangeListener)
- Adds a vetoable change listener.
-
clone()
- Returns a copy of this bean.
-
dispose()
- Disposes of the Bean when the caller is done with it.
-
getComponent()
- Returns the trace component name for this object.
-
getFunction()
- Returns the trace function name for this object.
-
getProperties()
- Returns the bean's properties.
-
getTraceLevel()
- Returns the current trace level for this object.
-
getTraceName()
- Returns the trace name for this object.
-
getVersion()
-
-
propertyChange(PropertyChangeEvent)
- Invoked if this bean is registered as a PropertyChangeListener on a bean
who's properties are changed.
-
readExternal(ObjectInput)
- Externalizable interface method to read the serialized bean properties.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a property change listener so that it no longer receives
property change events.
-
removeTraceListener(TraceListener)
- Removes a trace listener so that it no longer receives trace events.
-
removeVetoableChangeListener(VetoableChangeListener)
- Removes a vetoable change listener so that it no longer receives
notification of vetoable property changes.
-
setProperties(Properties)
- Sets the properties for the bean.
-
setTraceLevel(int)
- Sets the current tracing level for this object.
-
setVersion(int)
-
-
toString()
- Returns a string representation of the bean.
-
writeExternal(ObjectOutput)
- Externalizable interface method to write the serialized bean properties.
TRACE_LEVEL
public static final String TRACE_LEVEL
- traceLevel property keyword
TRACE_NONE
public static final int TRACE_NONE
- traceLevel property value
TRACE_MINIMUM
public static final int TRACE_MINIMUM
- traceLevel property value
TRACE_NORMAL
public static final int TRACE_NORMAL
- traceLevel property value
TRACE_MAXIMUM
public static final int TRACE_MAXIMUM
- traceLevel property value
BEAN_VERSION_STRING
public static final String BEAN_VERSION_STRING
setProperties
public void setProperties(Properties p) throws PropertyVetoException
- Sets the properties for the bean.
- Parameters:
- properties - a properties object for the bean.
- See Also:
- getProperties
getProperties
public Properties getProperties()
- Returns the bean's properties.
- See Also:
- setProperties
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
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
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
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
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.
toString
public String toString()
- Returns a string representation of the bean.
- Overrides:
- toString in class Component
clone
public Object clone()
- Returns a copy of this bean.
- Overrides:
- clone in class Object
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
- See Also:
- writeExternal
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
getTraceName
public abstract String getTraceName()
- Returns the trace name for this object.
getComponent
public String getComponent()
- Returns the trace component name for this object.
getFunction
public String getFunction()
- Returns the trace function name for this object.
getTraceLevel
public int getTraceLevel()
- Returns the current trace level for this object.
setTraceLevel
public void setTraceLevel(int newLevel) throws PropertyVetoException
- Sets the current tracing level for this object.
- Parameters:
- traceLevel - One of the trace level constants
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
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
dispose
public synchronized void dispose()
- Disposes of the Bean when the caller is done with it.
getVersion
public int getVersion()
setVersion
public boolean setVersion(int v) throws PropertyVetoException
All Packages Class Hierarchy This Package Previous Next Index