edu.berkeley.guir.ptk.apps.pressure
Class AudioTickerOutput

java.lang.Object
  extended byedu.berkeley.guir.ptk.PTK
      extended byedu.berkeley.guir.ptk.output.Output
          extended byedu.berkeley.guir.ptk.output.GraphicalTextOutput
              extended byedu.berkeley.guir.ptk.output.TickerTextOutput
                  extended byedu.berkeley.guir.ptk.apps.pressure.AudioTickerOutput
All Implemented Interfaces:
Animatable, java.lang.Runnable

public class AudioTickerOutput
extends TickerTextOutput

Output for the PressureAudioApp, that displays RING and VOICE events on a text ticker if a pressure sensor input is being pushed.

Author:
tmatthew

Field Summary
 
Fields inherited from class edu.berkeley.guir.ptk.output.TickerTextOutput
message, tp
 
Fields inherited from class edu.berkeley.guir.ptk.output.GraphicalTextOutput
NUM_STEPS
 
Fields inherited from class edu.berkeley.guir.ptk.output.Output
animatable, d_queue, data_ids_I_want, history, ITEMS_LENGTH, metadata_I_want, num_ids, num_metadata, output_cycle_time, transition
 
Fields inherited from class edu.berkeley.guir.ptk.PTK
debug, MAX_DEBUG, MED_DEBUG, MIN_DEBUG, NO_DEBUG
 
Constructor Summary
AudioTickerOutput(TPanel ntp)
          Partial Constructor
 
Method Summary
protected  void displayEvent(Event e)
          Displays a text message from an event on the TPanel.
protected  void finishDisplayEvent()
           
protected  void interDisplayEvent(long ptime)
          Implements the interDisplayEvent() method from output, causing the text on the JPanel to scroll.
 
Methods inherited from class edu.berkeley.guir.ptk.output.GraphicalTextOutput
alternateStep, changeblindTransStep, endTransition, interruptTransStep, main, makeawareTransStep, startTransition
 
Methods inherited from class edu.berkeley.guir.ptk.output.Output
addDataID, addMetadataIWant, checkAction, doIWant, getAllMetadata, getDataIDs, getFirstMetadata, getHistory, handleEvent, isAnimatable, printMetadataIWant, run, setChangeblindTransitionSteps, setDataIDsIWant, setInterruptTransitionSteps, setMakeawareTransitionSteps, setTimeBetweenDisplayEvents, setTransition, setUnsetNotification
 
Methods inherited from class edu.berkeley.guir.ptk.PTK
getMAX, getMED, getMIN, getNO, printDebug, printDebug, printError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioTickerOutput

public AudioTickerOutput(TPanel ntp)
Partial Constructor

Method Detail

displayEvent

protected void displayEvent(Event e)
Description copied from class: TickerTextOutput
Displays a text message from an event on the TPanel. Called by the PTK when a new event arrives for the Output.

Overrides:
displayEvent in class TickerTextOutput

interDisplayEvent

protected void interDisplayEvent(long ptime)
Description copied from class: TickerTextOutput
Implements the interDisplayEvent() method from output, causing the text on the JPanel to scroll.

Overrides:
interDisplayEvent in class TickerTextOutput

finishDisplayEvent

protected void finishDisplayEvent()