|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclickDetector.offlineFuncs.OfflineEventListPanel
public class OfflineEventListPanel
List of offline events which can be included in various dialogs associated with offline event creation and management.
| Nested Class Summary | |
|---|---|
(package private) class |
OfflineEventListPanel.EventTableModel
|
private class |
OfflineEventListPanel.ShowSelectionChanged
|
| Field Summary | |
|---|---|
private ClickControl |
clickControl
|
private java.lang.String[] |
colNames
|
private javax.swing.JTable |
eventTable
|
private OfflineEventListPanel.EventTableModel |
eventTableModel
|
private javax.swing.JPanel |
mainPanel
|
private OfflineEventDataBlock |
offlineEventDataBlock
|
private javax.swing.JPanel |
selectionPanel
|
static int |
SHOW_ALL
show all events |
static int |
SHOW_SELECTION
Show only those events which overlap the current loaded click data. |
private javax.swing.JRadioButton |
showAll
|
private javax.swing.JRadioButton |
showCurrent
|
| Constructor Summary | |
|---|---|
OfflineEventListPanel(ClickControl clickControl)
|
|
| Method Summary | |
|---|---|
void |
addListSelectionListener(javax.swing.event.ListSelectionListener listSelectionListener)
|
void |
addMouseListener(java.awt.event.MouseListener mouseListener)
|
private int |
findEventRow(OfflineEventDataUnit event)
Finds the row for a specific event. |
javax.swing.JPanel |
getPanel()
|
OfflineEventDataUnit |
getSelectedEvent()
|
javax.swing.JPanel |
getSelectionPanel()
Get a smaller panel of buttons allowing user to select a sub set of data. |
int |
getShowSelection()
|
private void |
makeMainPanel()
|
private void |
makeSelectionPanel()
|
void |
selectData()
Called when the show selection has changed. |
void |
setSelectedEvent(OfflineEventDataUnit selectedEvent)
|
void |
setShowSelection(int showSelection)
|
void |
tableDataChanged()
Call when an event has been added or removed in order to update the table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private javax.swing.JPanel mainPanel
private javax.swing.JPanel selectionPanel
private ClickControl clickControl
private OfflineEventDataBlock offlineEventDataBlock
private java.lang.String[] colNames
private javax.swing.JTable eventTable
private OfflineEventListPanel.EventTableModel eventTableModel
private javax.swing.JRadioButton showAll
private javax.swing.JRadioButton showCurrent
public static final int SHOW_ALL
public static final int SHOW_SELECTION
| Constructor Detail |
|---|
public OfflineEventListPanel(ClickControl clickControl)
| Method Detail |
|---|
private void makeSelectionPanel()
public int getShowSelection()
public void setShowSelection(int showSelection)
public void selectData()
private void makeMainPanel()
public void tableDataChanged()
public javax.swing.JPanel getPanel()
public javax.swing.JPanel getSelectionPanel()
public void addMouseListener(java.awt.event.MouseListener mouseListener)
public void addListSelectionListener(javax.swing.event.ListSelectionListener listSelectionListener)
public void setSelectedEvent(OfflineEventDataUnit selectedEvent)
private int findEventRow(OfflineEventDataUnit event)
event - event to find
public OfflineEventDataUnit getSelectedEvent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||