javax.swing.text.html

Class ObjectView

public class ObjectView extends ComponentView

A view for HTML <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 ComponentcreateComponent()
Creates a component based on the specification in the element of this view.

Constructor Detail

ObjectView

public ObjectView(Element el)
Creates a new ObjectView.

Parameters: el the element for which to create a view

Method Detail

createComponent

protected Component createComponent()
Creates a component based on the specification in the element of this view. See the class description for details.