Package org.jrd.frontend.frame.settings
Interface ChangeReporter
-
- All Known Implementing Classes:
AgentSettingsPanel
,CompilationSettingsPanel
,MiscellaneousSettingsPanel
,NestedJarsSettingsPanel
public interface ChangeReporter
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static void
addCheckboxListener(java.awt.event.ActionListener listener, javax.swing.JCheckBox checkBox)
static void
addJListListener(java.awt.event.ActionListener listener, javax.swing.JList list)
static void
addTextChangeListener(java.awt.event.ActionListener listener, javax.swing.text.JTextComponent textComponent)
Convenience method to make a document change listener perform an action on the listener parameter.static java.awt.event.ActionEvent
createChangeActionEvent(java.lang.Object source)
void
setChangeReporter(java.awt.event.ActionListener listener)
Passes a listener to the implementing class to allow for future reporting.
-
-
-
Method Detail
-
setChangeReporter
void setChangeReporter(java.awt.event.ActionListener listener)
Passes a listener to the implementing class to allow for future reporting.- Parameters:
listener
- the change listener
-
addTextChangeListener
static void addTextChangeListener(java.awt.event.ActionListener listener, javax.swing.text.JTextComponent textComponent)
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
static void addCheckboxListener(java.awt.event.ActionListener listener, javax.swing.JCheckBox checkBox)
-
addJListListener
static void addJListListener(java.awt.event.ActionListener listener, javax.swing.JList list)
-
createChangeActionEvent
static java.awt.event.ActionEvent createChangeActionEvent(java.lang.Object source)
-
-