| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--i3mclient.discussion.DiscussionGUI
The discussion window.
Discussion| Constructor Summary | |
DiscussionGUI(Display parentWindow,
              long discussionID)
Constructor.  | 
|
| Method Summary | |
 void | 
addFormListener(FormListener listener)
Add a listener to formlistenerlist.  | 
 Discussion | 
getDiscussion()
Returns a reference of the discussion.  | 
 UserList | 
getDiscussionMemberList()
Return the discussionMemberList  | 
 String | 
getSelectedText()
Must return the selected text (workaround).  | 
 ShapeBoard | 
getShapeBoard()
Returns a reference to shapeboard.  | 
 Shell | 
getWindow()
Returns the shell.  | 
 void | 
historyElementAdded(HistoryElement historyElement)
Called if a new line was added to history.  | 
 void | 
messageSendSuccessfully()
Called if sending of a message was successfull.  | 
 void | 
modifyText(ModifyEvent event)
 | 
 void | 
removeFormListener(FormListener listener)
Remove a listener to formlistenerlist.  | 
 void | 
resizeHistory(int newHeight)
Resize history.  | 
 void | 
resizeShapeBoard(int newWidth)
Resize shapeboard.  | 
 void | 
shapeBoardChanged(Vector shapes)
Called when shape board changed.  | 
 void | 
widgetDefaultSelected(SelectionEvent arg0)
 | 
 void | 
widgetDisposed(DisposeEvent arg0)
 | 
 void | 
widgetSelected(SelectionEvent event)
 | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public DiscussionGUI(Display parentWindow,
                     long discussionID)
parentWindow - The parent window of this discussiondiscussionID - The discussionID of this discussion| Method Detail | 
public void addFormListener(FormListener listener)
listener - The listener which will be calledpublic void removeFormListener(FormListener listener)
listener - The listener which will no longer be calledpublic void historyElementAdded(HistoryElement historyElement)
DiscussionListener
historyElementAdded in interface DiscussionListenerhistoryElement - The new element in historypublic void messageSendSuccessfully()
DiscussionListener
messageSendSuccessfully in interface DiscussionListenerpublic void modifyText(ModifyEvent event)
modifyText in interface ModifyListenerpublic Discussion getDiscussion()
public ShapeBoard getShapeBoard()
public Shell getWindow()
public void resizeShapeBoard(int newWidth)
newWidth - The new size of the shapeboardpublic void resizeHistory(int newHeight)
newHeight - The new height of the historypublic void widgetSelected(SelectionEvent event)
widgetSelected in interface SelectionListenerpublic void widgetDefaultSelected(SelectionEvent arg0)
widgetDefaultSelected in interface SelectionListenerpublic void shapeBoardChanged(Vector shapes)
ShapeBoardListener
shapeBoardChanged in interface ShapeBoardListenershapes - The new shapes on the shapeboardpublic void widgetDisposed(DisposeEvent arg0)
widgetDisposed in interface DisposeListenerpublic UserList getDiscussionMemberList()
public String getSelectedText()
DiscussionListener
getSelectedText in interface DiscussionListener
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||