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
-
VIEW_EXPANDED_PROPERTY
- Indicates the name of the property to report that the panel
for this view has expanded or collapsed.
-
SchemaRecordView()
- Creates a SchemaRecordView instance.
-
getOwner()
- Gets the SchemaRecord object which this component displays.
-
getViewComponent()
- Gets a component reference for this view.
-
isHighlighted()
- Gets the highlight state of this component.
-
isSchemaRecordView(Object)
- Checks whether a given object is a SchemaRecordView object.
-
setBackground(Color)
- Sets the background color.
-
setHighlight(boolean)
- Sets the new highlight state of this component.
-
setOwner(SchemaItem)
- Sets the new SchemaRecord object which this component displays.
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.
SchemaRecordView
public SchemaRecordView()
- Creates a SchemaRecordView instance.
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.
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
getOwner
public SchemaItem getOwner()
- Gets the SchemaRecord object which this component displays.
- Returns:
- The SchemaRecord object displayed by this component.
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.
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.
All Packages Class Hierarchy This Package Previous Next Index