Interface ChangeReporter
- All Known Implementing Classes:
AgentSettingsPanel, CompilationSettingsPanel, MiscellaneousSettingsPanel, NestedJarsSettingsPanel
public interface ChangeReporter
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCheckboxListener(ActionListener listener, JToggleButton checkBox) static voidaddJListListener(ActionListener listener, JList list) static voidaddTextChangeListener(ActionListener listener, JTextComponent textComponent) Convenience method to make a document change listener perform an action on the listener parameter.static ActionEventcreateChangeActionEvent(Object source) voidsetChangeReporter(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
-