|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DeviceIf
This Interfaces represents a Device.
| Method Summary | |
|---|---|
boolean |
add(Window parent,
Program program)
Adds a Program to the List |
Program[] |
checkProgramsAfterDataUpdateAndGetDeleted()
Checks the programs if there were updates or deletings |
Object |
clone()
Clones this Device |
void |
configDevice(Window parent)
Creates a Config-Dialog for this Device |
boolean |
executeAdditionalCommand(Window parent,
int num,
Program program)
Execute a additional Command. |
String[] |
getAdditionalCommands()
Get the List of additional Commands |
boolean |
getDeleteRemovedProgramsAutomatically()
Gets if programs that were removed during a data update should be deleted automatically. |
DriverIf |
getDriver()
Returns the Driver for this Device |
String |
getId()
The Unique ID of this Device. |
String |
getName()
Name of the Device |
Program[] |
getProgramList()
Get the List of Programs selected by this Device |
boolean |
isAbleToAddAndRemovePrograms()
Is this Device able to add Programs? |
boolean |
isInList(Program program)
Is this Program in the List of selected Recordings? |
void |
readData(ObjectInputStream stream,
boolean importDevice)
Reads the Data from a Stream |
boolean |
remove(Window parent,
Program program)
Removes a Program from the List |
void |
removeProgramWithoutExecution(Program p)
Removes programs that were deleted during a data update |
String |
setName(String name)
Sets the Name of the Device |
void |
writeData(ObjectOutputStream stream)
Saves the Data into a Stream |
| Method Detail |
|---|
String getId()
IDGenerator.generateUniqueId() to create the ID
String getName()
String setName(String name)
name - Name of Device
DriverIf getDriver()
void configDevice(Window parent)
parent - Parent-Frameboolean isInList(Program program)
program - Program
boolean isAbleToAddAndRemovePrograms()
boolean add(Window parent,
Program program)
parent - Parent-Frameprogram - Program to add
boolean remove(Window parent,
Program program)
parent - Parent-Frameprogram - Program to remove
Program[] getProgramList()
String[] getAdditionalCommands()
boolean executeAdditionalCommand(Window parent,
int num,
Program program)
parent - Parent-Framenum - Number of Commandprogram - Program
Object clone()
void writeData(ObjectOutputStream stream)
throws IOException
stream - write Data into this stream
IOException
void readData(ObjectInputStream stream,
boolean importDevice)
throws IOException,
ClassNotFoundException
stream - read data from this streamimportDevice - True if the device should be imported.
IOException
ClassNotFoundExceptionProgram[] checkProgramsAfterDataUpdateAndGetDeleted()
boolean getDeleteRemovedProgramsAutomatically()
void removeProgramWithoutExecution(Program p)
p - The program to remove from this device.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||