Package org.jrd.frontend.frame.settings
Interface ChangeReporter
- All Known Implementing Classes:
AgentSettingsPanel
,CompilationSettingsPanel
,MiscellaneousSettingsPanel
,NestedJarsSettingsPanel
public interface ChangeReporter
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCheckboxListener
(ActionListener listener, JCheckBox checkBox) static void
addJListListener
(ActionListener listener, JList list) static void
addTextChangeListener
(ActionListener listener, JTextComponent textComponent) Convenience method to make a document change listener perform an action on the listener parameter.static ActionEvent
createChangeActionEvent
(Object source) void
setChangeReporter
(ActionListener listener) Passes a listener to the implementing class to allow for future reporting.
-
Method Details
-
setChangeReporter
Passes a listener to the implementing class to allow for future reporting.- Parameters:
listener
- the change listener
-
addTextChangeListener
Convenience method to make a document change listener perform an action on the listener parameter.- Parameters:
listener
- the listener which will be triggeredtextComponent
- the component whose document will trigger an event
-
addCheckboxListener
-
addJListListener
-
createChangeActionEvent
-