Interface AuthorPreviewComponentProvider
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface AuthorPreviewComponentProvider
A simple read only Author preview component.
- Since:
- 27
-
Method Summary
Modifier and TypeMethodDescriptionGet the AuthorAccess.Get the Swing JPanel to add to the custom application.voidLoad content from an URL or a reader or both.
-
Method Details
-
load
Load content from an URL or a reader or both.- Parameters:
url- The system id of the resource. Ifnull, the reader must be provided and relative DTD entity references will not be properly resolved.reader- The document reader. Ifnull, the reader will be created internally.- Throws:
IOException- If any exception occurs during the loading, for example IO exception due to incorrect system id, unsupported encodings, etc.
-
getAuthorAccess
AuthorAccess getAuthorAccess()Get the AuthorAccess.- Returns:
- The AuthorAccess.
-
getComponent
Object getComponent()Get the Swing JPanel to add to the custom application.- Returns:
- the Swing JPanel to add to the custom application.
-