|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
tvbrowser.ui.programtable.ProgramTable
public class ProgramTable
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ProgramTable(ProgramTableModel model)
Creates a new instance of ProgramTable. |
|
| Method Summary | |
|---|---|
void |
addNotify()
|
void |
deSelectItem()
Deselect the selected program. |
void |
down()
Go to the program under the current program. |
void |
dragDropEnd(DragSourceDropEvent dsde)
|
void |
dragEnter(DragSourceDragEvent dsde)
|
void |
dragExit(DragSourceEvent dse)
|
void |
dragGestureRecognized(DragGestureEvent evt)
|
void |
dragOver(DragSourceDragEvent dsde)
|
void |
dropActionChanged(DragSourceDragEvent dsde)
|
void |
forceRepaintAll()
|
BackgroundPainter |
getBackgroundPainter()
|
int |
getColumnWidth()
|
ProgramTableModel |
getModel()
|
Dimension |
getPreferredSize()
|
Program |
getProgramAt(int x,
int y)
|
ProgramTableLayout |
getProgramTableLayout()
|
int |
getTimeY(int minutesAfterMidnight)
|
void |
left()
Go to the left program of the current program. |
void |
paintComponent(Graphics grp)
|
void |
pluginActivated(PluginProxy plugin)
|
void |
pluginDeactivated(PluginProxy plugin)
|
void |
pluginLoaded(PluginProxy plugin)
|
void |
pluginUnloaded(PluginProxy plugin)
|
void |
removeNotify()
|
void |
right()
Go to the right program of the current program. |
void |
runCallback()
runs the Runnable callback that scrolls to the wanted place in the ProgramTable |
void |
scrollBy(int deltaX,
int deltaY)
|
void |
selectItemAt(int pointX,
int pointY)
Selects the program at the point(x,y) |
void |
selectProgram(Program program)
Select (highlight) a program in the program table. |
void |
setColumnWidth(int columnWidth)
|
protected void |
setModel(ProgramTableModel model)
|
void |
setProgramTableLayout(ProgramTableLayout layout)
|
void |
showPopoupFromKeyboard()
Opens the PopupMenu for the selected program. |
void |
startDoubleClickPluginFromKeyboard()
Starts the double click Plugin. |
void |
startLeftSingleClickPluginFromKeyboard()
Starts the left single click Plugin. |
void |
startMiddleClickPluginFromKeyboard()
Starts the middle click Plugin. |
void |
tableCellUpdated(int col,
int row)
|
void |
tableDataChanged(Runnable callback)
|
void |
up()
Go to the program on top of the current program. |
void |
updateBackground()
|
void |
updateLayout()
|
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProgramTable(ProgramTableModel model)
model - program table model to use in the program table| Method Detail |
|---|
protected void setModel(ProgramTableModel model)
public ProgramTableModel getModel()
public ProgramTableLayout getProgramTableLayout()
public void setProgramTableLayout(ProgramTableLayout layout)
public void setColumnWidth(int columnWidth)
public int getColumnWidth()
public void updateBackground()
public BackgroundPainter getBackgroundPainter()
public void paintComponent(Graphics grp)
paintComponent in class JComponentpublic Dimension getPreferredSize()
getPreferredSize in class JComponent
public Program getProgramAt(int x,
int y)
public void forceRepaintAll()
public void updateLayout()
public void scrollBy(int deltaX,
int deltaY)
public int getTimeY(int minutesAfterMidnight)
public void runCallback()
public void tableDataChanged(Runnable callback)
tableDataChanged in interface ProgramTableModelListener
public void tableCellUpdated(int col,
int row)
tableCellUpdated in interface ProgramTableModelListenerpublic void showPopoupFromKeyboard()
public void startMiddleClickPluginFromKeyboard()
public void startLeftSingleClickPluginFromKeyboard()
public void startDoubleClickPluginFromKeyboard()
public void right()
public void up()
public void down()
public void left()
public void deSelectItem()
public void selectItemAt(int pointX,
int pointY)
pointX - X position of the pointpointY - Y position of the pointpublic void dragGestureRecognized(DragGestureEvent evt)
dragGestureRecognized in interface DragGestureListenerpublic void dragEnter(DragSourceDragEvent dsde)
dragEnter in interface DragSourceListenerpublic void dragOver(DragSourceDragEvent dsde)
dragOver in interface DragSourceListenerpublic void dropActionChanged(DragSourceDragEvent dsde)
dropActionChanged in interface DragSourceListenerpublic void dragExit(DragSourceEvent dse)
dragExit in interface DragSourceListenerpublic void dragDropEnd(DragSourceDropEvent dsde)
dragDropEnd in interface DragSourceListenerpublic void selectProgram(Program program)
program - the program to selectpublic void addNotify()
addNotify in class JComponentpublic void removeNotify()
removeNotify in class JComponentpublic void pluginActivated(PluginProxy plugin)
pluginActivated in interface PluginStateListenerpublic void pluginDeactivated(PluginProxy plugin)
pluginDeactivated in interface PluginStateListenerpublic void pluginLoaded(PluginProxy plugin)
pluginLoaded in interface PluginStateListenerpublic void pluginUnloaded(PluginProxy plugin)
pluginUnloaded in interface PluginStateListener
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||