org.jfree.report.modules.gui.swing.preview
public interface ReportController
The controler should use the propertyChange events provided by the PreviewProxyBase and the ReportPane to update its state.
To force a new repagination, use the refresh
method of
the PreviewProxyBase.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getControllerLocation()
Returns the location for the report controler, one of
BorderLayout.NORTH, BorderLayout.SOUTH, BorderLayout.EAST
or BorderLayout.WEST.
|
javax.swing.JComponent |
getControlPanel()
Returns the graphical representation of the controler.
|
javax.swing.JMenu[] |
getMenus()
Returns the menus that should be inserted into the menubar.
|
void |
initialize(PreviewPane pane) |
boolean |
isInnerComponent()
Defines, whether the controler component is placed between
the preview pane and the toolbar.
|
javax.swing.JComponent getControlPanel()
Changes to this property are not detected automaticly, you have to call "refreshController" whenever you want to display a completly new control panel.
javax.swing.JMenu[] getMenus()
Changes to this property are not detected automaticly, you have to call "refreshControler" whenever the contents of the menu array changed.
boolean isInnerComponent()
java.lang.String getControllerLocation()
void initialize(PreviewPane pane)