org.marvinproject.image.test.plugin
Class Plugin
java.lang.Object
marvin.plugin.MarvinAbstractImagePlugin
org.marvinproject.image.test.plugin.Plugin
- All Implemented Interfaces:
- java.awt.event.KeyListener, java.util.EventListener, javax.swing.event.ChangeListener, marvin.plugin.MarvinImagePlugin, marvin.plugin.MarvinPlugin
public class Plugin
- extends marvin.plugin.MarvinAbstractImagePlugin
- implements javax.swing.event.ChangeListener, java.awt.event.KeyListener
Sepia plug-in. Reference: http://forum.java.sun.com/thread.jspa?threadID=728795&messageID=4195478
|
Method Summary |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
void |
load()
|
int |
positive(int a)
|
void |
process(marvin.image.MarvinImage a_imageIn,
marvin.image.MarvinImage a_imageOut,
marvin.util.MarvinAttributes a_attributesOut,
marvin.image.MarvinImageMask a_mask,
boolean a_previewMode)
|
void |
show()
|
void |
stateChanged(javax.swing.event.ChangeEvent e)
|
int |
truncate(int a)
|
| Methods inherited from class marvin.plugin.MarvinAbstractImagePlugin |
getAttribute, getAttributes, getImagePanel, setAttribute, setImagePanel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Plugin
public Plugin()
load
public void load()
- Specified by:
load in interface marvin.plugin.MarvinImagePlugin
truncate
public int truncate(int a)
positive
public int positive(int a)
process
public void process(marvin.image.MarvinImage a_imageIn,
marvin.image.MarvinImage a_imageOut,
marvin.util.MarvinAttributes a_attributesOut,
marvin.image.MarvinImageMask a_mask,
boolean a_previewMode)
- Specified by:
process in interface marvin.plugin.MarvinImagePlugin
show
public void show()
- Specified by:
show in interface marvin.plugin.MarvinImagePlugin
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent e)
- Specified by:
stateChanged in interface javax.swing.event.ChangeListener
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped in interface java.awt.event.KeyListener