edu.berkeley.guir.ptk.apps.rad
Class ActivityOrbOutput

java.lang.Object
  extended byedu.berkeley.guir.ptk.PTK
      extended byedu.berkeley.guir.ptk.output.Output
          extended byedu.berkeley.guir.ptk.output.OrbOutput
              extended byedu.berkeley.guir.ptk.apps.rad.ActivityOrbOutput
All Implemented Interfaces:
Animatable, java.lang.Runnable

public class ActivityOrbOutput
extends OrbOutput

This output is used with the application also known as the "Remote Activity Display." It overrides two methods from the OrbOutput library component: setChangeblindParams and setMakeAwareParams. These ensure that the appropriate colors and animation speeds are used for the different events: motion (from the camera), phone rings (from audio input) and voices (from audio input).

Author:
tmatthew

Field Summary
 int ring_color
           
 int voice_color
           
 
Fields inherited from class edu.berkeley.guir.ptk.output.OrbOutput
ALL_COLORS, BASIC_COLORS, BLUE_COLORS, BRIGHT, brightness, changeblind_anim, COLOR_TIME, DARK_COLORS, DIM, GREEN_COLORS, interrupt_anim, LIGHT_COLORS, MAGENTA_COLORS, makeaware_anim, MEDIUM_BRIGHT, my_port, NORMAL_COLORS, orb, PURPLE_COLORS, RED_YELLOW_COLORS
 
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
ActivityOrbOutput()
           
 
Method Summary
 void setChangeblindParams(Event e, int step)
           
 void setMakeawareParams(Event e, int step)
           
 
Methods inherited from class edu.berkeley.guir.ptk.output.OrbOutput
alternateStep, changeblindTransStep, displayEvent, endTransition, getChangeblindColors, getInterruptColors, getMakeAwareColors, interruptTransStep, loopAllColors, loopBlues, loopColors, loopDarkColors, loopGreens, loopLightColors, loopMagenta, loopNormalColors, loopPurples, loopRedYellow, makeawareTransStep, reset, sendColor, sendColorAbrupt, sendColorPulse, sendColorsAbrupt, sendColorSmoothFast, sendColorSmoothMed, sendColorSmoothMedFast, sendColorSmoothMedSlow, sendColorSmoothSlow, sendColorSmoothVeryFast, sendColorSmoothVerySlow, sendColorsPulse, sendColorsSmoothFast, sendColorsSmoothMed, sendColorsSmoothMedFast, sendColorsSmoothMedSlow, sendColorsSmoothSlow, sendColorsSmoothVeryFast, sendColorsSmoothVerySlow, setChangeblindColors, setInterruptColors, setInterruptParams, setMakeawareColors, startTransition
 
Methods inherited from class edu.berkeley.guir.ptk.output.Output
addDataID, addMetadataIWant, checkAction, doIWant, getAllMetadata, getDataIDs, getFirstMetadata, getHistory, handleEvent, interDisplayEvent, 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
 

Field Detail

ring_color

public final int ring_color

voice_color

public final int voice_color
Constructor Detail

ActivityOrbOutput

public ActivityOrbOutput()
Method Detail

setChangeblindParams

public void setChangeblindParams(Event e,
                                 int step)
Overrides:
setChangeblindParams in class OrbOutput

setMakeawareParams

public void setMakeawareParams(Event e,
                               int step)
Overrides:
setMakeawareParams in class OrbOutput