|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A report controler. This provides some means of configuring the preview components.
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.
| Method Summary | |
java.lang.String |
getControlerLocation()
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. |
PreviewProxyBase |
getPreviewBase()
Returns the assigned preview proxy base or null if the controler is not connected yet. |
boolean |
isInnerComponent()
Defines, whether the controler component is placed between the report pane and the toolbar. |
void |
setPreviewBase(PreviewProxyBase proxyBase)
Assigns the preview base to this controler. |
| Method Detail |
public javax.swing.JComponent getControlPanel()
Changes to this property are not detected automaticly, you have to call "refreshControler" whenever you want to display a completly new control panel.
public 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.
public void setPreviewBase(PreviewProxyBase proxyBase)
The proxyBase parameter will be null, if the report controler has been removed.
proxyBase - the proxy base.public PreviewProxyBase getPreviewBase()
public boolean isInnerComponent()
public java.lang.String getControlerLocation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||