|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcaptureplugin.drivers.dreambox.DreamboxDevice
public class DreamboxDevice
The Dreambox-Device
| Constructor Summary | |
|---|---|
DreamboxDevice(DreamboxDevice dreamboxDevice)
Clones another dreambox device |
|
DreamboxDevice(DreamboxDriver dreamboxDriver,
String name)
Creates this 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)
Opens a configure 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)
Set the new Name for this Device |
void |
writeData(ObjectOutputStream stream)
Saves the Data into a Stream |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DreamboxDevice(DreamboxDriver dreamboxDriver,
String name)
dreamboxDriver - Driver for the Dreamboxname - Name for this Devicepublic DreamboxDevice(DreamboxDevice dreamboxDevice)
dreamboxDevice - Device to clone| Method Detail |
|---|
public String getId()
DeviceIfIDGenerator.generateUniqueId() to create the ID
getId in interface DeviceIfpublic String getName()
DeviceIf
getName in interface DeviceIfpublic String setName(String name)
setName in interface DeviceIfname - new Name
public DriverIf getDriver()
DeviceIf
getDriver in interface DeviceIfpublic void configDevice(Window parent)
configDevice in interface DeviceIfparent - Parent for the dialogpublic boolean isInList(Program program)
DeviceIf
isInList in interface DeviceIfprogram - Program
DeviceIf.isInList(devplugin.Program)public boolean isAbleToAddAndRemovePrograms()
DeviceIf
isAbleToAddAndRemovePrograms in interface DeviceIfDeviceIf.isAbleToAddAndRemovePrograms()
public boolean add(Window parent,
Program program)
DeviceIf
add in interface DeviceIfparent - Parent-Frameprogram - Program to add
DeviceIf.add(java.awt.Window,devplugin.Program)
public boolean remove(Window parent,
Program program)
DeviceIf
remove in interface DeviceIfparent - Parent-Frameprogram - Program to remove
DeviceIf.remove(java.awt.Window,devplugin.Program)public Program[] getProgramList()
DeviceIf
getProgramList in interface DeviceIfDeviceIf.getProgramList()public String[] getAdditionalCommands()
DeviceIf
getAdditionalCommands in interface DeviceIfDeviceIf.getAdditionalCommands()
public boolean executeAdditionalCommand(Window parent,
int num,
Program program)
DeviceIf
executeAdditionalCommand in interface DeviceIfparent - Parent-Framenum - Number of Commandprogram - Program
DeviceIf.executeAdditionalCommand(java.awt.Window,int,devplugin.Program)public Object clone()
DeviceIf
clone in interface DeviceIfclone in class Object
public void writeData(ObjectOutputStream stream)
throws IOException
DeviceIf
writeData in interface DeviceIfstream - write Data into this stream
IOExceptionDeviceIf.writeData(java.io.ObjectOutputStream)
public void readData(ObjectInputStream stream,
boolean importDevice)
throws IOException,
ClassNotFoundException
DeviceIf
readData in interface DeviceIfstream - read data from this streamimportDevice - True if the device should be imported.
IOException
ClassNotFoundExceptionDeviceIf.readData(java.io.ObjectInputStream, boolean)public Program[] checkProgramsAfterDataUpdateAndGetDeleted()
DeviceIf
checkProgramsAfterDataUpdateAndGetDeleted in interface DeviceIfDeviceIf.checkProgramsAfterDataUpdateAndGetDeleted()public boolean getDeleteRemovedProgramsAutomatically()
DeviceIf
getDeleteRemovedProgramsAutomatically in interface DeviceIfDeviceIf.getDeleteRemovedProgramsAutomatically()public void removeProgramWithoutExecution(Program p)
DeviceIf
removeProgramWithoutExecution in interface DeviceIfp - The program to remove from this device.DeviceIf.removeProgramWithoutExecution(devplugin.Program)
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||