|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.image.AbstractSessionsPanel
public abstract class AbstractSessionsPanel
A Panel containing a List of sessions. Used for the RecentSessions and OpenSessions Panels in the ProjectFrame.
Constructor Summary | |
---|---|
AbstractSessionsPanel(java.lang.String labelText)
|
Method Summary | |
---|---|
protected void |
addButtonPanel(javax.swing.JPanel buttonPanel)
|
void |
addIASessionBean(IASessionBean iaSessionBean)
|
void |
addIASessionBeanToTop(IASessionBean iasessionBean)
Adds a SessionBean to the top of the JList. |
protected void |
addKeyListenerToJList(java.awt.event.KeyListener keyListener)
Add a keyListener to respond to KeyEvents when typed in the JList. |
protected void |
addMouseListenerToJList(java.awt.event.MouseListener mouseListener)
Add a MouseListener that will response to MouseEvents generated in the JList. |
void |
addSessionBean(SessionBean sessionBean)
Adds a SessionBean to the bottom of the JList. |
void |
addSessionBeanToTop(SessionBean sessionBean)
Adds a SessionBean to the top of the JList. |
protected void |
clearList()
Clears the JList |
java.util.List<IASessionBean> |
getAllIASessionBeans()
Returns a list of IASessionBeans in the JList. |
java.util.List<SessionBean> |
getAllSessionBeans()
Returns a list of SessionBeans in the JList. |
javax.swing.JPanel |
getMainPanel()
Returns the JComponent representing this class. |
protected java.util.List<IASessionBean> |
getSelectedIASessionBeans()
|
protected java.util.List<SessionBean> |
getSelectedSessionBeans()
Gets the currently selected SessionBean, or returns null if nothing is selected. |
protected boolean |
isIASessionBeanInList(IASessionBean iaSessionBeanComponent)
|
protected boolean |
isSessionBeanInList(SessionBean sessionBeanComponent)
Returns true if the SessionBean is in the JList. |
void |
removeIASessionBean(IASessionBean iasessionBean)
|
void |
removeSessionBean(SessionBean sessionBean)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSessionsPanel(java.lang.String labelText)
Method Detail |
---|
protected final void addButtonPanel(javax.swing.JPanel buttonPanel)
protected final java.util.List<SessionBean> getSelectedSessionBeans()
protected final java.util.List<IASessionBean> getSelectedIASessionBeans()
protected final void clearList()
protected final boolean isSessionBeanInList(SessionBean sessionBeanComponent)
protected final boolean isIASessionBeanInList(IASessionBean iaSessionBeanComponent)
public final java.util.List<SessionBean> getAllSessionBeans()
public final java.util.List<IASessionBean> getAllIASessionBeans()
public final javax.swing.JPanel getMainPanel()
public final void addSessionBean(SessionBean sessionBean)
public final void addIASessionBean(IASessionBean iaSessionBean)
public final void addSessionBeanToTop(SessionBean sessionBean)
public final void addIASessionBeanToTop(IASessionBean iasessionBean)
public final void removeSessionBean(SessionBean sessionBean)
public final void removeIASessionBean(IASessionBean iasessionBean)
protected void addKeyListenerToJList(java.awt.event.KeyListener keyListener)
protected void addMouseListenerToJList(java.awt.event.MouseListener mouseListener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |