|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.swing.AbstractAction
com.inet.viewer.ViewerAction
public class ViewerAction
Action class for the ReportViewer.
| Constructor Summary | |
|---|---|
ViewerAction()
Default Constructor for extending this class. |
|
ViewerAction(java.lang.String name,
javax.swing.Icon icon)
Defines an Action object with the specified description string and a the specified icon.The Action will be initialized disabled untill a ReportView is opened. |
|
ViewerAction(java.lang.String name)
Defines an Action object with the specified description string and a default icon. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Handling of actions from the default ViewerActions. |
void |
reportViewChanged(ReportView view)
Overwrite the method to perform changes on this action if the selected ReportView has been changed. if no ReportView is selected the parameter view will be null. |
void |
setEnabled(boolean newValue)
Enables or disables the action. |
| Constructor Detail |
|---|
public ViewerAction()
public ViewerAction(java.lang.String name,
javax.swing.Icon icon)
Action object with the specified description string and a the specified icon.The Action will be initialized disabled untill a ReportView is opened.
name - Description Stringicon - icon representing this action. Will be displayed in a toolbar if the action is addedJToolBar.add(Action)public ViewerAction(java.lang.String name)
Action object with the specified description string and a default icon. The Action will be initialized disabled untill a ReportView is opened.
name - Description String| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
e - ActionEventpublic void setEnabled(boolean newValue)
setEnabled in class javax.swing.AbstractActionnewValue - true to enable the action, false to disable it.Action.setEnabled(boolean)public void reportViewChanged(ReportView view)
view - the current selectes ReportView
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||