|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tvbrowser.ui.programtable.DefaultProgramTableModel
public class DefaultProgramTableModel
Constructor Summary | |
---|---|
DefaultProgramTableModel(Channel[] channelArr,
int todayEarliestTime,
int tomorrowLatestTime)
Creates a new instance of DefaultProgramTableModel. |
Method Summary | |
---|---|
void |
addProgramTableModelListener(ProgramTableModelListener listener)
|
boolean |
contains(Program p)
Checks if this model contains a program. |
protected void |
fireProgramHasChanged(Program program)
|
protected void |
fireTableCellUpdated(int col,
int row)
|
protected void |
fireTableDataChanged(java.lang.Runnable callback)
|
int |
getAvailableChannelCount()
|
ChannelFilterComponent |
getChannelGroup()
|
int |
getColumnCount()
|
protected int |
getColumnOfChannel(Channel channel)
|
Date |
getDate()
|
ProgramFilter |
getProgramFilter()
|
ProgramPanel |
getProgramPanel(int col,
int row)
|
int |
getRowCount(int col)
|
Channel[] |
getShownChannels()
|
void |
setChannelGroup(ChannelFilterComponent channelFilter)
set the active channel group |
void |
setChannels(Channel[] channelArr)
|
void |
setDate(Date date,
ProgressMonitor monitor,
java.lang.Runnable callback)
|
void |
setProgramFilter(ProgramFilter filter)
|
void |
setTimeRange(int todayEarliestTime,
int tomorrowLatestTime)
|
void |
stateChanged(javax.swing.event.ChangeEvent evt)
Called when a program has changed. |
void |
updateTableContent()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultProgramTableModel(Channel[] channelArr, int todayEarliestTime, int tomorrowLatestTime)
Method Detail |
---|
public void setTimeRange(int todayEarliestTime, int tomorrowLatestTime)
public void setChannels(Channel[] channelArr)
public void setProgramFilter(ProgramFilter filter)
setProgramFilter
in interface ProgramTableModel
public void setChannelGroup(ChannelFilterComponent channelFilter)
ProgramTableModel
setChannelGroup
in interface ProgramTableModel
public ProgramFilter getProgramFilter()
public ChannelFilterComponent getChannelGroup()
public void setDate(Date date, ProgressMonitor monitor, java.lang.Runnable callback)
public Date getDate()
getDate
in interface ProgramTableModel
public void updateTableContent()
public void addProgramTableModelListener(ProgramTableModelListener listener)
addProgramTableModelListener
in interface ProgramTableModel
public Channel[] getShownChannels()
getShownChannels
in interface ProgramTableModel
public int getAvailableChannelCount()
public int getColumnCount()
getColumnCount
in interface ProgramTableModel
public int getRowCount(int col)
getRowCount
in interface ProgramTableModel
public ProgramPanel getProgramPanel(int col, int row)
getProgramPanel
in interface ProgramTableModel
protected void fireTableDataChanged(java.lang.Runnable callback)
protected void fireTableCellUpdated(int col, int row)
protected int getColumnOfChannel(Channel channel)
public boolean contains(Program p) throws java.lang.Exception
p
- The program to check.
java.lang.Exception
- Thrown if something goes wrong.public void stateChanged(javax.swing.event.ChangeEvent evt)
stateChanged
in interface javax.swing.event.ChangeListener
evt
- The change event.protected void fireProgramHasChanged(Program program)
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |