|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsiuying.gm.app.gmailer4j.controller.GMConvPanelController
public class GMConvPanelController
GMThreadPanelController Controller of the GMThreadPanel, used to display a conversation, user can navigate through the threads in conversation
| Constructor Summary | |
|---|---|
GMConvPanelController(javax.swing.JFrame parent)
|
|
| Method Summary | |
|---|---|
void |
addHyperLinkListener(javax.swing.event.HyperlinkListener l)
Add a HyperlinkListener to the text content pane |
void |
dispose()
|
GMConversation |
getConversation()
|
javax.swing.JPanel |
getPanel()
|
void |
reset()
Reset the text of this panel to default string |
void |
scrollTop()
|
void |
setConversation(GMConversation conv)
Set the conversation of this panel One panel can only display on set of conversation |
void |
setConvTreeEnabled(boolean enabled)
|
void |
setCurrentThreads(int index)
Set the current threads this panel displayed Input parameter must be a valid index of the conversation |
void |
show()
Pop up a frame display the Threads |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GMConvPanelController(javax.swing.JFrame parent)
| Method Detail |
|---|
public void addHyperLinkListener(javax.swing.event.HyperlinkListener l)
l - HyperlinkListenerpublic GMConversation getConversation()
public javax.swing.JPanel getPanel()
public void setConversation(GMConversation conv)
public void setConvTreeEnabled(boolean enabled)
public void setCurrentThreads(int index)
int - index index of current conversation
java.lang.IllegalArgumentException - If conversation have not been set, or
index is smaller than 0 or larger than conversation indexpublic void show()
public void reset()
public void dispose()
public void scrollTop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||