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
-
TraceDipCustomizer()
- Constructs a TraceDipCustomizer instance.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a listener to the property-change notification list.
-
getPreferredSize()
- Returns the preferred size for this customizer panel.
-
itemStateChanged(ItemEvent)
- Responds to checkboxes being checked or unchecked.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a listener from the property-change notification list.
-
setObject(Object)
- Sets the object instance with which this customizer interacts.
-
textValueChanged(TextEvent)
- Responds to TextField content changes.
TraceDipCustomizer
public TraceDipCustomizer()
- Constructs a TraceDipCustomizer instance.
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.
getPreferredSize
public Dimension getPreferredSize()
- Returns the preferred size for this customizer panel.
- Returns:
- The dimensions of the customizer.
- Overrides:
- getPreferredSize in class Container
itemStateChanged
public void itemStateChanged(ItemEvent evt)
- Responds to checkboxes being checked or unchecked.
- Parameters:
- evt - The ItemEvent stating which checkbox was checked/unchecked.
textValueChanged
public void textValueChanged(TextEvent evt)
- Responds to TextField content changes.
- Parameters:
- evt - The TextEvent stating which TextField's contents changed.
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Adds a listener to the property-change notification list.
- Parameters:
- l - The listener to add.
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