All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.tools.dataFormatWizard.SchemaRecordView

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.beans.widgets.NestedPanel
                                   |
                                   +----com.ibm.beans.tools.dataFormatWizard.SchemaRecordView

public class SchemaRecordView
extends NestedPanel
implements ViewForItem, Highlightable
The SchemaRecordView class is a view component for a SchemaRecord object.

See Also:
SchemaRecord, ViewForItem

Variable Index

 o VIEW_EXPANDED_PROPERTY
Indicates the name of the property to report that the panel for this view has expanded or collapsed.

Constructor Index

 o SchemaRecordView()
Creates a SchemaRecordView instance.

Method Index

 o getOwner()
Gets the SchemaRecord object which this component displays.
 o getViewComponent()
Gets a component reference for this view.
 o isHighlighted()
Gets the highlight state of this component.
 o isSchemaRecordView(Object)
Checks whether a given object is a SchemaRecordView object.
 o setBackground(Color)
Sets the background color.
 o setHighlight(boolean)
Sets the new highlight state of this component.
 o setOwner(SchemaItem)
Sets the new SchemaRecord object which this component displays.

Variables

 o VIEW_EXPANDED_PROPERTY
 public static String VIEW_EXPANDED_PROPERTY
Indicates the name of the property to report that the panel for this view has expanded or collapsed.

Constructors

 o SchemaRecordView
 public SchemaRecordView()
Creates a SchemaRecordView instance.

Methods

 o isSchemaRecordView
 public static boolean isSchemaRecordView(Object candidate)
Checks whether a given object is a SchemaRecordView object.

Parameters:
candidate - The object to be tested.
Returns:
true if the candidate object is a SchemaRecordView object; false otherwise.
 o setBackground
 public void setBackground(Color background)
Sets the background color. Overridden to always use the ViewColor attribute of the schema record which owns this view.

Parameters:
background - The new background color.
Overrides:
setBackground in class Component
 o getOwner
 public SchemaItem getOwner()
Gets the SchemaRecord object which this component displays.

Returns:
The SchemaRecord object displayed by this component.
 o setOwner
 public void setOwner(SchemaItem newOwner)
Sets the new SchemaRecord object which this component displays.

Parameters:
newOwner - The new SchemaRecord object displayed by this component.
 o getViewComponent
 public Component getViewComponent()
Gets a component reference for this view.

Returns:
A component reference for this view.
 o isHighlighted
 public boolean isHighlighted()
Gets the highlight state of this component.

Returns:
true if this component is highlighted; false otherwise.
 o 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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index