fi.hut.tml.xsmiles.mlfc.timesheet
Class TimeSheetMLFC

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.MLFC
      extended byfi.hut.tml.xsmiles.mlfc.CoreMLFC
          extended byfi.hut.tml.xsmiles.mlfc.timesheet.TimeSheetMLFC
All Implemented Interfaces:
java.awt.event.ActionListener, Clocker, java.util.EventListener, java.awt.event.ItemListener, ResourceFetcher

public class TimeSheetMLFC
extends CoreMLFC
implements java.awt.event.ActionListener, Clocker, java.awt.event.ItemListener

The MLFC for Timesheets

Since:
Feb 26, 2004
Version:
$Revision: 6126 $, $Date: 2005-07-22 19:21:31 +0300 (Fri, 22 Jul 2005) $
Author:
tjjalava

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.MLFC
contentHandler, controlsShown, title
 
Constructor Summary
TimeSheetMLFC()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addPauseListener(TimedElement pauseLsnr)
          Adds a new TimedElement to the list of elements that need to get the Pause-events
 org.w3c.dom.Element createElementNS(org.apache.xerces.dom.DocumentImpl doc, java.lang.String ns, java.lang.String tag)
           
 void init()
          Initialize the MLFC.
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 void pause()
          Pauses or unpauses the MLFC
 void start()
          Start the MLFC.
 void stop()
          Stop the MLFC.
 void update()
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.CoreMLFC
getBrowserWindow, getStyleSheet, getXFMUtils, setBrowserWindow, startMLFC
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.MLFC
commitUpdateTransaction, createAttributeNS, get, getContainer, getContentHandler, getLocalname, getMLFCController, getMLFCListener, getMLFCParameters, getResourceReferencer, getTitle, getVersion, getXMLDocument, initMLFC, isHost, isPrimary, rollbackUpdateTransaction, setContainer, setContentHandler, setHost, setMLFCListener, setMLFCParameters, setTitle, setXMLDocument, setZoom, startMLFC, startUpdateTransaction, stopMLFC
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeSheetMLFC

public TimeSheetMLFC()
Method Detail

addPauseListener

public void addPauseListener(TimedElement pauseLsnr)
Adds a new TimedElement to the list of elements that need to get the Pause-events

Parameters:
pauseLsnr -

pause

public void pause()
Pauses or unpauses the MLFC

Overrides:
pause in class MLFC

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

start

public void start()
Description copied from class: MLFC
Start the MLFC. This function is the pair to stop().

Specified by:
start in class MLFC

stop

public void stop()
Description copied from class: MLFC
Stop the MLFC. This function is the pair to start().

Specified by:
stop in class MLFC

init

public void init()
Description copied from class: MLFC
Initialize the MLFC. This function is called just before the elements are initialized. There is no pair to this method.

Overrides:
init in class MLFC

createElementNS

public org.w3c.dom.Element createElementNS(org.apache.xerces.dom.DocumentImpl doc,
                                           java.lang.String ns,
                                           java.lang.String tag)
Overrides:
createElementNS in class MLFC

update

public void update()
Specified by:
update in interface Clocker


X-Smiles 1.2