|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JToolBar
com.inet.viewer.SwingToolBar
public class SwingToolBar
The toolbar of the viewer is connected to the current report view and contain a defaultset of buttons and control elements.
| Field Summary |
|---|
| Fields inherited from interface com.inet.viewer.ToolBar |
|---|
BUTTONS_GENERAL, BUTTONS_NAVIGATION, BUTTONS_REPORT, BUTTONS_VIEW, BUTTONS_ZOOM, BUTTON_EXPORT, BUTTON_INFO, BUTTON_JRA_LOAD, BUTTON_JRA_SAVE, BUTTON_PRINT, BUTTON_REFRESH, BUTTON_SEARCH |
| Constructor Summary | |
|---|---|
SwingToolBar(ReportViewer viewer)
Construct a new Toolbar for a ReportViewer. |
|
| Method Summary | |
|---|---|
java.awt.Component |
getComponent()
Returns the gui component of this toolbar. |
boolean |
isButtonsVisible(int buttons)
Return true if the button or button group is visible otherwise false. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Update all components which have to display an information which depends on the total page number or current page number |
void |
reportViewChanged(ReportView rv)
this method will be called if the current report view has been changed. |
void |
setButtonsVisible(int buttons,
boolean visible)
Sets a button or a button group visible or invisible. |
| Methods inherited from interface com.inet.viewer.ToolBar |
|---|
isVisible, setVisible |
| Constructor Detail |
|---|
public SwingToolBar(ReportViewer viewer)
viewer - The viewer to comunicate with.| Method Detail |
|---|
public java.awt.Component getComponent()
getComponent in interface ToolBar
public void setButtonsVisible(int buttons,
boolean visible)
setButtonsVisible in interface ToolBarbuttons - The identifier for the button or button groupvisible - True if the button shoulb be visible otherwise falseToolBar.BUTTON_EXPORT,
ToolBar.BUTTON_PRINT,
ToolBar.BUTTON_REFRESH,
ToolBar.BUTTON_SEARCH,
ToolBar.BUTTONS_GENERAL,
ToolBar.BUTTONS_NAVIGATION,
ToolBar.BUTTONS_REPORT,
ToolBar.BUTTONS_VIEW,
ToolBar.BUTTONS_ZOOM,
ToolBar.BUTTON_INFOpublic boolean isButtonsVisible(int buttons)
isButtonsVisible in interface ToolBarbuttons - The specified button or button group
ToolBar.BUTTON_EXPORT,
ToolBar.BUTTON_PRINT,
ToolBar.BUTTON_REFRESH,
ToolBar.BUTTON_SEARCH,
ToolBar.BUTTONS_GENERAL,
ToolBar.BUTTONS_NAVIGATION,
ToolBar.BUTTONS_REPORT,
ToolBar.BUTTONS_VIEW,
ToolBar.BUTTONS_ZOOM,
ToolBar.BUTTON_INFOpublic void reportViewChanged(ReportView rv)
reportViewChanged in interface ReportViewChangeListenerrv - ReportViewpublic void propertyChange(java.beans.PropertyChangeEvent evt)
evt - The property change event
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||