jreceiver.common.rec.driver
Interface Command

All Superinterfaces:
Hashable, Rec
All Known Implementing Classes:
CommandRec

public interface Command
extends Rec

An interface describing a JRec command, which can serve one or more Players.

Version:
$Revision: 1.2 $ $Date: 2002/12/29 00:44:06 $
Author:
Reed Esau

Field Summary
static java.lang.String HKEY_CMD_CODE
           
static java.lang.String HKEY_ID
           
static java.lang.String HKEY_MEDIUM_ID
           
static java.lang.String STD_FF
           
static java.lang.String STD_NEXT
           
static java.lang.String STD_NEXT_PL
           
static java.lang.String STD_PAUSE
           
static java.lang.String STD_PLAY
           
static java.lang.String STD_PLAYPAUSE
           
static java.lang.String STD_PREV
           
static java.lang.String STD_PREV_PL
           
static java.lang.String STD_PWRTGL
           
static java.lang.String STD_RECORD
           
static java.lang.String STD_RW
           
static java.lang.String STD_STOP
           
static java.lang.String STD_VOLDN
           
static java.lang.String STD_VOLMUTE
           
static java.lang.String STD_VOLUP
           
static int TYPE_DIRECT
          direct commands can be processed by the driver
static int TYPE_IR
          IR commands need to be handled by an IR driverbind
static int TYPE_X10
          X10 commands need to be handled by an X10 driverbind
 
Fields inherited from interface jreceiver.common.rec.Rec
HKEY_KEY, NO_LIMIT
 
Method Summary
 java.lang.String getCmdCode()
          obtain the code
 java.lang.String getDescription()
          a summary of the command for display
 int getId()
          obtain the unique id of the command
 int getMediumId()
          obtain the medium
 void setCmdCode(java.lang.String cmd_code)
          assign the code
 void setMediumId(int medium_id)
          assign the medium
 
Methods inherited from interface jreceiver.common.rec.Rec
getKey, setKey
 
Methods inherited from interface jreceiver.common.rec.Hashable
toHash, toString
 

Field Detail

HKEY_ID

public static final java.lang.String HKEY_ID

HKEY_CMD_CODE

public static final java.lang.String HKEY_CMD_CODE

HKEY_MEDIUM_ID

public static final java.lang.String HKEY_MEDIUM_ID

STD_FF

public static final java.lang.String STD_FF

STD_NEXT

public static final java.lang.String STD_NEXT

STD_NEXT_PL

public static final java.lang.String STD_NEXT_PL

STD_PAUSE

public static final java.lang.String STD_PAUSE

STD_PLAY

public static final java.lang.String STD_PLAY

STD_PLAYPAUSE

public static final java.lang.String STD_PLAYPAUSE

STD_PREV

public static final java.lang.String STD_PREV

STD_PREV_PL

public static final java.lang.String STD_PREV_PL

STD_PWRTGL

public static final java.lang.String STD_PWRTGL

STD_RECORD

public static final java.lang.String STD_RECORD

STD_RW

public static final java.lang.String STD_RW

STD_STOP

public static final java.lang.String STD_STOP

STD_VOLDN

public static final java.lang.String STD_VOLDN

STD_VOLMUTE

public static final java.lang.String STD_VOLMUTE

STD_VOLUP

public static final java.lang.String STD_VOLUP

TYPE_DIRECT

public static final int TYPE_DIRECT
direct commands can be processed by the driver

TYPE_IR

public static final int TYPE_IR
IR commands need to be handled by an IR driverbind

TYPE_X10

public static final int TYPE_X10
X10 commands need to be handled by an X10 driverbind
Method Detail

getId

public int getId()
obtain the unique id of the command

getCmdCode

public java.lang.String getCmdCode()
obtain the code

setCmdCode

public void setCmdCode(java.lang.String cmd_code)
assign the code

getMediumId

public int getMediumId()
obtain the medium

setMediumId

public void setMediumId(int medium_id)
assign the medium

getDescription

public java.lang.String getDescription()
a summary of the command for display


Copyright © 2001-2002 Reed Esau, All Rights Reserved.