com.atlassian.gadgets.view
Interface ViewComponent
- All Known Implementing Classes:
- AbstractViewComponent
public interface ViewComponent
A ViewComponent
represents a view of an entity in the gadgets system. It provides a displayable
id and title that can be used during rendering of the component, was well as a means to write the rendered
component to a Writer
.
Method Summary |
void |
writeTo(Writer writer)
Renders the component represented by this view and writes it to the Writer . |
writeTo
void writeTo(Writer writer)
throws IOException
- Renders the component represented by this view and writes it to the
Writer
.
- Parameters:
writer
- where the rendered component is written
- Throws:
IOException
- thrown if there is a problem writing the rendered component to the Writer
Copyright © 2011 Atlassian. All Rights Reserved.