javax.swing.text.html
public class ObjectView extends ComponentView
<object>
tags.
This is a {@link ComponentView} that creates special components depending
on the object specification. If the object tag has a classid attribute, then
this view will try to load the class specified by this attribute using the
classloader that loaded the associated document. If the class could be
loaded, an instance is created and the type narrowed to {@link Component}.
It is also possible to set bean properties on the created component using
nested <param>
tags. For example:
Constructor Summary | |
---|---|
ObjectView(Element el)
Creates a new ObjectView .
|
Method Summary | |
---|---|
protected Component | createComponent()
Creates a component based on the specification in the element of this
view. |
ObjectView
.
Parameters: el the element for which to create a view