|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sos.reports.DefaultReportEditorKit
A report editor kit that provides basic functionality.
ReportEditorKit
Nested Class Summary | |
protected static class |
DefaultReportEditorKit.DefaultViewFactory
A default view factory that creates views of instances of TableElement and ObjectElement . |
static class |
DefaultReportEditorKit.ErrorFeedbackAction
An action that provides error feedback, such as a beep. |
static class |
DefaultReportEditorKit.ReportEditorKitAction
A report action that provides convenience methods for providing error feedback, selecting elements, and scrolling. |
Field Summary |
Constructor Summary | |
DefaultReportEditorKit()
Creates an instance of DefaultReportEditorKit . |
Method Summary | |
javax.swing.Action[] |
getActions()
Returns the actions that can be used by a report pane to edit a report. |
java.awt.Component |
getMouseOverComponent(View view)
Returns the component that should be installed when the mouse is over the specified view. |
ViewFactory |
getViewFactory()
Returns the factory that creates the views that render the elements. |
void |
install(JReportPane reportPane)
Installs this editor kit into the specified report pane. |
void |
uninstall(JReportPane reportPane)
Uninstalls this editor kit from the specified report pane. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultReportEditorKit()
DefaultReportEditorKit
.
Method Detail |
public ViewFactory getViewFactory()
ReportEditorKit
getViewFactory
in interface ReportEditorKit
public java.awt.Component getMouseOverComponent(View view)
ReportEditorKit
getMouseOverComponent
in interface ReportEditorKit
view
- the element view for which the returned component applies
view
public void install(JReportPane reportPane)
ReportEditorKit
install
in interface ReportEditorKit
reportPane
- report pane into which this editor kit is being installedJReportPane.setEditorKit(sos.reports.ReportEditorKit)
,
ReportEditorKit.uninstall(sos.reports.JReportPane)
public void uninstall(JReportPane reportPane)
ReportEditorKit
uninstall
in interface ReportEditorKit
reportPane
- report pane that is no longer using this editor kitJReportPane.setEditorKit(sos.reports.ReportEditorKit)
,
ReportEditorKit.install(sos.reports.JReportPane)
public javax.swing.Action[] getActions()
ReportEditorKit
getActions
in interface ReportEditorKit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |