public interface HTMLComponentFactory
Example of use:
HTMLComponentFactory factory = new MyComponentFactory(); FreeHEPLookup lookup = getApplication().getLookup(); lookup.add(factory,"objectTagA"); lookup.add(factory,"objectTagB");
Modifier and Type | Method and Description |
---|---|
JComponent |
getComponent(String name,
Map attributes)
Called when an Object tag is found in an HTML page.
|
JComponent getComponent(String name, Map attributes)
name
- The name referenced in the object tagattributes
- The parameters and values specified in the Object tag.Copyright © 2019. All rights reserved.