All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.tools.dataFormatWizard.ItemAttributesView
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----com.ibm.beans.tools.dataFormatWizard.ItemAttributesView
- public class ItemAttributesView
- extends Canvas
- implements ViewForItem, Highlightable, PropertyChangeListener
The ItemAttributesView class is a view component for the attributes
of a schema item. It extends the Canvas class, listens for property
changes on the schema item that owns it, and displays a text string
based on the attributes of the owner item.
- See Also:
- SchemaItem, ViewForItem
-
ItemAttributesView()
- Creates an ItemAttributesView instance.
-
getOwner()
- Gets the schema item that this component displays.
-
getPreferredSize()
- Returns the preferred size for this label.
-
getViewComponent()
- Gets a component reference for this view.
-
isHighlighted()
- Gets the highlight state of this component.
-
paint(Graphics)
- Paints this view.
-
propertyChange(PropertyChangeEvent)
- Handles the event generated when a bound property is changed.
-
setHighlight(boolean)
- Sets the new highlight state of this component.
-
setOwner(SchemaItem)
- Sets the new schema item that this component displays.
-
validate()
- Validates this component.
ItemAttributesView
public ItemAttributesView()
- Creates an ItemAttributesView instance.
getPreferredSize
public Dimension getPreferredSize()
- Returns the preferred size for this label.
- Returns:
- The preferred size for this label.
- Overrides:
- getPreferredSize in class Component
paint
public void paint(Graphics g)
- Paints this view.
- Parameters:
- g - The graphics context for this view.
- Overrides:
- paint in class Canvas
getOwner
public SchemaItem getOwner()
- Gets the schema item that this component displays.
- Returns:
- The schema item displayed by this component.
setOwner
public void setOwner(SchemaItem newOwner)
- Sets the new schema item that this component displays.
- Parameters:
- newOwner - The new schema item to be displayed
by this component.
getViewComponent
public Component getViewComponent()
- Gets a component reference for this view.
- Returns:
- A component reference for this view.
isHighlighted
public boolean isHighlighted()
- Gets the highlight state of this component.
- Returns:
- true if this component is highlighted;
false otherwise.
setHighlight
public void setHighlight(boolean newState)
- Sets the new highlight state of this component.
- Parameters:
- newState - true to make this component become
highlighted; false otherwise.
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Handles the event generated when a bound property is changed.
- Parameters:
- evt - The property change event.
validate
public void validate()
- Validates this component.
- Overrides:
- validate in class Component
All Packages Class Hierarchy This Package Previous Next Index