processing.app.tools
Class ColorSelector
java.lang.Object
processing.app.tools.ColorSelector
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.DocumentListener
public class ColorSelector
- extends java.lang.Object
- implements javax.swing.event.DocumentListener
Color selector tool for the Tools menu.
Using the keyboard shortcuts, you can copy/paste the values for the
colors and paste them into your program. We didn't do any sort of
auto-insert of colorMode() or fill() or stroke() code cuz we couldn't
decide on a good way to do this.. your contributions welcome).
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorSelector
public ColorSelector(Editor editor)
show
public void show()
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate in interface javax.swing.event.DocumentListener
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate in interface javax.swing.event.DocumentListener