|
||||||||||
| 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
adams.gui.core.BasePanel
adams.gui.selection.AbstractSelectionPanel
adams.gui.selection.AbstractTableBasedSelectionPanel<EmailContact>
adams.gui.selection.SelectEmailAddressPanel
public class SelectEmailAddressPanel
Allows the selection of email addresses.
| Nested Class Summary | |
|---|---|
static class |
SelectEmailAddressPanel.TableModel
A simple table model for displaying the contacts. |
| Nested classes/interfaces inherited from class adams.gui.selection.AbstractTableBasedSelectionPanel |
|---|
AbstractTableBasedSelectionPanel.AbstractSelectionTableModel<T>, AbstractTableBasedSelectionPanel.SelectionPopupMenuSupplier |
| 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 | |
|---|---|
protected JButton |
m_ButtonAddressBook
the button for bringing up the addressbook. |
protected JLabel |
m_LabelManualAddresses
the label for the manual list. |
protected JTextField |
m_TextManualAddresses
the textfield for manually entering a list of addresses (blank separated). |
| Fields inherited from class adams.gui.selection.AbstractTableBasedSelectionPanel |
|---|
m_Current, m_DoubleClickListeners, m_LabelCounts, m_PanelAdditional, m_PanelAll, m_PanelCounts, m_PopupMenuSupplier, m_SearchPanel, m_Self, m_TableData, m_TableDataModel |
| Fields inherited from class adams.gui.selection.AbstractSelectionPanel |
|---|
DEFAULT_REFRESH_TIMEOUT |
| 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 | |
|---|---|
SelectEmailAddressPanel()
|
|
| Method Summary | |
|---|---|
protected boolean |
addToMissing(EmailContact item)
Returns whether to add the item really to the missing list. |
protected void |
finishInit()
finishes the initialization, loads the contacts. |
protected EmailContact[] |
getCurrentItems()
Returns the current addresses. |
protected Class |
getItemClass()
Returns the class of the items displayed, same as "T". |
protected void |
initGUI()
Initializes the GUI elements. |
protected AbstractTableBasedSelectionPanel.AbstractSelectionTableModel<EmailContact> |
newTableModel()
Returns an empty table model. |
protected void |
openAddressBook()
Opens the address book. |
protected void |
processMissing(Vector<EmailContact> missing)
Hook method for processing items that were not found when trying to select them initially. |
protected void |
reload()
Reloads the data from the properties. |
void |
setMultipleSelection(boolean value)
Sets whether multiple or single selection is used. |
| Methods inherited from class adams.gui.selection.AbstractSelectionPanel |
|---|
waitForEnabled, waitForEnabled |
| Methods inherited from class adams.gui.core.BasePanel |
|---|
afterHide, afterShow, beforeHide, closeParent, getParentChild, getParentDialog, getParentFrame, getParentInternalFrame, getParentTitle, main, setParentTitle, setVisible |
| 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 |
| Field Detail |
|---|
protected JLabel m_LabelManualAddresses
protected JTextField m_TextManualAddresses
protected JButton m_ButtonAddressBook
| Constructor Detail |
|---|
public SelectEmailAddressPanel()
| Method Detail |
|---|
protected void initGUI()
initGUI in class AbstractTableBasedSelectionPanel<EmailContact>protected void finishInit()
finishInit in class BasePanelprotected AbstractTableBasedSelectionPanel.AbstractSelectionTableModel<EmailContact> newTableModel()
newTableModel in class AbstractTableBasedSelectionPanel<EmailContact>protected Class getItemClass()
getItemClass in class AbstractTableBasedSelectionPanel<EmailContact>protected boolean addToMissing(EmailContact item)
addToMissing in class AbstractTableBasedSelectionPanel<EmailContact>item - the item to check
protected void processMissing(Vector<EmailContact> missing)
processMissing in class AbstractTableBasedSelectionPanel<EmailContact>missing - the missing itemsprotected EmailContact[] getCurrentItems()
getCurrentItems in class AbstractTableBasedSelectionPanel<EmailContact>public void setMultipleSelection(boolean value)
setMultipleSelection in class AbstractTableBasedSelectionPanel<EmailContact>value - if true multiple IDs can be selectedprotected void reload()
protected void openAddressBook()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||