'STRAP:multiple sequence alignments '

charite.christo
Class ReloadableClass

java.lang.Object
  extended by charite.christo.ReloadableClass
All Implemented Interfaces:
ChRunnable, IsEnabled, PaintHook, ActionListener, EventListener

public final class ReloadableClass
extends Object
implements ActionListener, ChRunnable, PaintHook, IsEnabled

A class that can be changed and compiled and reloaded at runtime


Field Summary
static String ACTION_SOURCE_CHANGED
           
 
Fields inherited from interface charite.christo.interfaces.ChRunnable
APPEND, DOWNLOAD_FINISHED, INTERPRET_LINE, LOG, SET_ICON_IMAGE
 
Constructor Summary
ReloadableClass(Class clas, String suffix)
           
 
Method Summary
 void actionPerformed(ActionEvent ev)
           
 ChButton buttonDelete()
           
 ChButton buttonEdit()
           
 ChButton buttonRun()
           
 Class getDefaultClass()
           
 File getSourceFile()
           
 boolean isEnabled(Object o)
           
 ChTextArea log(Object... oo)
           
 Object newInstance()
           
 JComponent newLabelStatus()
           
 boolean paintHook(JComponent c, Graphics g, boolean after)
           
 Object run(String id, Object arg)
           
 String shortClassName()
           
 ReloadableClass watch()
           
static void watch(ReloadableClass cl)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_SOURCE_CHANGED

public static final String ACTION_SOURCE_CHANGED
See Also:
Constant Field Values
Constructor Detail

ReloadableClass

public ReloadableClass(Class clas,
                       String suffix)
Method Detail

log

public ChTextArea log(Object... oo)

shortClassName

public String shortClassName()

getDefaultClass

public Class getDefaultClass()

getSourceFile

public File getSourceFile()

paintHook

public boolean paintHook(JComponent c,
                         Graphics g,
                         boolean after)
Specified by:
paintHook in interface PaintHook
after - This method is called once before and once after super.paintComponent.
Returns:
means do not call super.paintComponent

isEnabled

public boolean isEnabled(Object o)
Specified by:
isEnabled in interface IsEnabled

buttonEdit

public ChButton buttonEdit()

buttonDelete

public ChButton buttonDelete()

buttonRun

public ChButton buttonRun()

newLabelStatus

public JComponent newLabelStatus()

actionPerformed

public void actionPerformed(ActionEvent ev)
Specified by:
actionPerformed in interface ActionListener

newInstance

public Object newInstance()

watch

public static void watch(ReloadableClass cl)

run

public Object run(String id,
                  Object arg)
Specified by:
run in interface ChRunnable

watch

public final ReloadableClass watch()

'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, StrapProtein and StrapEvent.'