org.biojava.spice.gui.logging
Class LogPopupFrame

java.lang.Object
  extended byorg.biojava.spice.gui.AbstractPopupFrame
      extended byorg.biojava.spice.gui.logging.LogPopupFrame
All Implemented Interfaces:
EventListener, MouseListener, MouseMotionListener

public class LogPopupFrame
extends AbstractPopupFrame


Field Summary
protected  DateFormat dateFormat
           
 
Fields inherited from class org.biojava.spice.gui.AbstractPopupFrame
DIST
 
Constructor Summary
LogPopupFrame()
           
LogPopupFrame(LogRecord record)
           
 
Method Summary
 void endStringBuffer(StringBuffer text)
           
 Container getContent()
          this class needs to be provided by implementing sub-classes.
 String record2HTML(LogRecord rec)
           
 void record2HTMLBody(LogRecord rec, StringBuffer buf)
           
 StringBuffer startStringBuffer()
           
 
Methods inherited from class org.biojava.spice.gui.AbstractPopupFrame
createFrame, dispatchFrame, disposeFrame, hideFrame, interruptTimer, isShown, markForHide, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, repaint, resetTimer, showFrame, updateFramePosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dateFormat

protected final DateFormat dateFormat
Constructor Detail

LogPopupFrame

public LogPopupFrame()

LogPopupFrame

public LogPopupFrame(LogRecord record)
Method Detail

startStringBuffer

public StringBuffer startStringBuffer()

endStringBuffer

public void endStringBuffer(StringBuffer text)

record2HTMLBody

public void record2HTMLBody(LogRecord rec,
                            StringBuffer buf)

record2HTML

public String record2HTML(LogRecord rec)

getContent

public Container getContent()
Description copied from class: AbstractPopupFrame
this class needs to be provided by implementing sub-classes. it provides the content that should be displayed in the frame

Specified by:
getContent in class AbstractPopupFrame
Returns:
a Component