|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Manages any number of VirtualSession's
and governs how they are displayed. For example this interface could be
implemented by a panel with an embedded tab component that displays each session
in an individual tab or a panel containing left sided view of all the available
sessions in a tree and a right handed view of the selected session.
| Method Summary | |
void |
addVirtualSession(VirtualSession vs)
Add a new VirtualSession to this manager. |
void |
addVirtualSessionManagerListener(VirtualSessionManagerListener listener)
Add a VirtualSessionManagerListener to the list that should receive events
about changes in the state of the virtual sessions managed by this
virtual session manager. |
VirtualSession |
getSelectedVirtualSession()
Return the currently selected virtual session |
int |
getSelectedVirtualSessionIndex()
Return the currently selected virtual index |
VirtualSession |
getVirtualSession(int i)
Return the virtual session at the specified index |
int |
getVirtualSessionCount()
Return the number of virtual sessions. |
void |
removeVirtualSession(VirtualSession vs)
Remove a VirtualSession from this terminal |
void |
removeVirtualSessionManagerListener(VirtualSessionManagerListener listener)
Removes a VirtualSessionManagerListener from the list that should
receive events about changes in the state of the virtual sessions managed by this
virtual session manager. |
void |
setSelectedVirtualSession(VirtualSession vs)
Make the provided virtual session the selected one |
java.util.Enumeration |
virtualSessions()
Return an enumeration of virtual sessions |
| Method Detail |
public void addVirtualSession(VirtualSession vs)
vs - virtual session to addpublic void removeVirtualSession(VirtualSession vs)
vs - virtual session to removepublic int getVirtualSessionCount()
public VirtualSession getSelectedVirtualSession()
public int getSelectedVirtualSessionIndex()
public VirtualSession getVirtualSession(int i)
i - index
public void setSelectedVirtualSession(VirtualSession vs)
vs - virtual session to selectpublic void addVirtualSessionManagerListener(VirtualSessionManagerListener listener)
VirtualSessionManagerListener to the list that should receive events
about changes in the state of the virtual sessions managed by this
virtual session manager.
listener - listener to addpublic void removeVirtualSessionManagerListener(VirtualSessionManagerListener listener)
VirtualSessionManagerListener from the list that should
receive events about changes in the state of the virtual sessions managed by this
virtual session manager.
listener - listener to removepublic java.util.Enumeration virtualSessions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||