Constructor and Description |
---|
MailsListPane()
Creates the table and sets its cells as non editable.
|
Modifier and Type | Method and Description |
---|---|
JScrollPane |
get()
Returns the JScrollPane object.
|
void |
update(Observable o,
Object arg)
Updates the content of the table.
|
public MailsListPane()
Adds some mouse events on the table, to display emails, when a user clicks on
a specific row.
If the email can't be found, an error message will be displayed.
The table will reset the size of its column every time the size of the table changed
(for example when the user maximizes the window).
public JScrollPane get()
public void update(Observable o, Object arg)
This method will be called by an observable element.
MailSaver
object, a new row will be added
to the table, and the UIModel
will be updated;ClearAllButton
object, all the cells
of the table will be removed, and the UIModel
will be updated.Copyright © 2015. All rights reserved.