|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.proteinshader.gui.listeners.controlpanel.ColorPanelListenerFactory
public class ColorPanelListenerFactory
Creates the listener for the ColorPanel.
Constructor Summary | |
---|---|
ColorPanelListenerFactory(Mediator mediator,
ColorPanel colorPanel)
Constructs a ColorPanelListenerFactory. |
Method Summary | |
---|---|
ActionListener |
createChooserButtonActionListener()
Creates an action listener for the "Chooser" button. |
ChangeListener |
createChooserChangeListener()
Creates a ChangeListener that will get the color selection from the JColorChooser and calls on the ColorPanel to change the color of whatever items are currently selected. |
ActionListener |
createDefault1ButtonActionListener()
Creates an action listener for the first default button. |
ActionListener |
createDefault2ButtonActionListener()
Creates an action listener for the second default button. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorPanelListenerFactory(Mediator mediator, ColorPanel colorPanel)
mediator
- the centralized Mediator object that listeners
call on to accomplish their task.colorPanel
- the ColorPanel that this class creates
listeners for.Method Detail |
---|
public ActionListener createDefault1ButtonActionListener()
public ActionListener createDefault2ButtonActionListener()
public ActionListener createChooserButtonActionListener()
public ChangeListener createChooserChangeListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |