|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.embl.ebi.escience.scuflui.actions.AbstractProcessorAction
public abstract class AbstractProcessorAction
A simple abstract implementation of the ProcessorActionSPI which allows the extending class to simply specify a JComponent to be created in a standard UIUtils frame.
| Constructor Summary | |
|---|---|
AbstractProcessorAction()
|
|
| Method Summary | |
|---|---|
void |
frameClosing()
Add any actions to be performed on window close to here |
abstract javax.swing.JComponent |
getComponent(Processor processor)
Implement this to define the component which will be created in the new UIUtils frame when the menu item, button or whatever is activated |
java.awt.Dimension |
getFrameLocation()
Where should the frame open? |
java.awt.Dimension |
getFrameSize()
How big should it be? |
java.awt.event.ActionListener |
getListener(Processor processor)
Return an ActionListener to be attached to whatever component is being generated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.embl.ebi.escience.scuflui.spi.ProcessorActionSPI |
|---|
canHandle, getDescription, getIcon |
| Constructor Detail |
|---|
public AbstractProcessorAction()
| Method Detail |
|---|
public final java.awt.event.ActionListener getListener(Processor processor)
ProcessorActionSPI
getListener in interface ProcessorActionSPIpublic abstract javax.swing.JComponent getComponent(Processor processor)
public java.awt.Dimension getFrameLocation()
public java.awt.Dimension getFrameSize()
public void frameClosing()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||