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

java.lang.Object
  extended byedu.berkeley.guir.ptk.PTK
      extended byedu.berkeley.guir.ptk.PeripheralDisplay
          extended byedu.berkeley.guir.ptk.apps.rad.RemoteActivityApp
All Implemented Interfaces:
PEventReceiver

public class RemoteActivityApp
extends PeripheralDisplay

This output is used with the application also known as the "Remote Activity Display." It uses input from a CameraInput and AudioInput library components and displays output via the OrbOutput and TickerTextOutput library components (by using wrappers: ActivityOrbOutput and ActivityTickerOutput). To change the amount of motion that causes different events, add a line of code here that changes the MotionAbstractor's motion parameters (motion_lo_pixels, etc.).

Author:
tmatthew

Field Summary
static java.lang.String MY_ID
           
 
Fields inherited from class edu.berkeley.guir.ptk.PeripheralDisplay
AUDIO_THRESHOLD, check_interruptibility, my_id, my_ip, my_port, volume
 
Fields inherited from class edu.berkeley.guir.ptk.PTK
debug, MAX_DEBUG, MED_DEBUG, MIN_DEBUG, NO_DEBUG
 
Constructor Summary
RemoteActivityApp(java.lang.String id)
           
 
Method Summary
 void buildUI()
          Initializes the JPanel and adds the ticker TPanel to it.
 void initialize()
          Override this method to initalize peripheral display elements: abstractors, notification setters, transitions, outputs.
static void main(java.lang.String[] args)
           
 
Methods inherited from class edu.berkeley.guir.ptk.PeripheralDisplay
checkInterruptibility, checkInterruptibility, finalize, makeAggregateConnection_distributed, makeAggregateConnection_nondistributed, makeConnection_distributed, makeConnection_nondistributed, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, makeConnection, receive
 
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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MY_ID

public static final java.lang.String MY_ID
See Also:
Constant Field Values
Constructor Detail

RemoteActivityApp

public RemoteActivityApp(java.lang.String id)
Method Detail

main

public static void main(java.lang.String[] args)

initialize

public void initialize()
Description copied from class: PeripheralDisplay
Override this method to initalize peripheral display elements: abstractors, notification setters, transitions, outputs. Calls one of the makeConnection methods to connect the initialized elements and to start the application.

Specified by:
initialize in class PeripheralDisplay

buildUI

public void buildUI()
Initializes the JPanel and adds the ticker TPanel to it.

Specified by:
buildUI in class PeripheralDisplay