@Deprecated public class DefaultInspectable extends java.lang.Object implements Inspectable
The target of this implementation is considered to be the data associated with the first element of the selection found in the Context provided (i.e. Context.getSelection()[0].getData()). In the event of an empty selection, the target is considered to be the data associated with the Node of the Context (i.e. Context.getNode().getData()).
The PropertyModel of this implementation is an instance of DefaultModel constructed upon the target.
The Customizer of this implementation is the Customizer, if any, provided by the BeanInfo, if found, for the Class of the target.
No additional tab pages are provided by this implementation.
Modifier and Type | Field and Description |
---|---|
protected oracle.bali.inspector.PropertyModel |
propertyModel
Deprecated.
The model describing the target.
|
protected java.lang.Object |
target
Deprecated.
The target being described.
|
Constructor and Description |
---|
DefaultInspectable()
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component[] |
getAdditionalTabPages()
Deprecated.
Get any additional tab pages applicable to the target.
|
java.beans.Customizer |
getCustomizer()
Deprecated.
Get any Customizer applicable to the target object.
|
oracle.bali.inspector.PropertyModel |
getPropertyModel()
Deprecated.
Get a PropertyModel describing the target object.
|
java.lang.Object |
getTarget()
Deprecated.
Get the target object.
|
void |
setContext(Context context)
Deprecated.
Initialize from the selection of the given Context.
|
protected java.lang.Object target
protected oracle.bali.inspector.PropertyModel propertyModel
public void setContext(Context context)
setContext
in interface Inspectable
context
- the Context from which to initialize.public java.lang.Object getTarget()
getTarget
in interface Inspectable
public oracle.bali.inspector.PropertyModel getPropertyModel()
getPropertyModel
in interface Inspectable
public java.beans.Customizer getCustomizer()
getCustomizer
in interface Inspectable
public java.awt.Component[] getAdditionalTabPages()
getAdditionalTabPages
in interface Inspectable