All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.samples.dips.trace.TraceDipCustomizer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.beans.samples.dips.trace.TraceDipCustomizer

public class TraceDipCustomizer
extends Panel
implements Customizer, ItemListener, TextListener
This class defines a TraceDipCustomizer instance that is the customizer for a TraceDip instance. The customizer is used to modify property values of the TraceDip instance.

See Also:
TraceDip

Constructor Index

 o TraceDipCustomizer()
Constructs a TraceDipCustomizer instance.

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Adds a listener to the property-change notification list.
 o getPreferredSize()
Returns the preferred size for this customizer panel.
 o itemStateChanged(ItemEvent)
Responds to checkboxes being checked or unchecked.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a listener from the property-change notification list.
 o setObject(Object)
Sets the object instance with which this customizer interacts.
 o textValueChanged(TextEvent)
Responds to TextField content changes.

Constructors

 o TraceDipCustomizer
 public TraceDipCustomizer()
Constructs a TraceDipCustomizer instance.

Methods

 o setObject
 public void setObject(Object obj)
Sets the object instance with which this customizer interacts. Controls are added to the panel for property customization on the TraceDip instance.

Parameters:
obj - A Trace Dip instance to be customized.
 o getPreferredSize
 public Dimension getPreferredSize()
Returns the preferred size for this customizer panel.

Returns:
The dimensions of the customizer.
Overrides:
getPreferredSize in class Container
 o itemStateChanged
 public void itemStateChanged(ItemEvent evt)
Responds to checkboxes being checked or unchecked.

Parameters:
evt - The ItemEvent stating which checkbox was checked/unchecked.
 o textValueChanged
 public void textValueChanged(TextEvent evt)
Responds to TextField content changes.

Parameters:
evt - The TextEvent stating which TextField's contents changed.
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener l)
Adds a listener to the property-change notification list.

Parameters:
l - The listener to add.
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener l)
Removes a listener from the property-change notification list.

Parameters:
l - The listener to remove.

All Packages  Class Hierarchy  This Package  Previous  Next  Index