|
SalesPoint Framework v3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sale.FormSheet users.stdforms.UserTableFormSheet
A FormSheet displaying the contents of a UserManager
.
Nested Class Summary |
Nested classes inherited from class sale.FormSheet |
FormSheet.FormButton |
Field Summary |
Fields inherited from class sale.FormSheet |
BTNID_CANCEL, BTNID_OK, m_fCancelled |
Constructor Summary | |
UserTableFormSheet(String sCaption,
UserManager um,
JComponent c,
UIGate uigGate,
Comparator cmp,
TableEntryDescriptor ted)
Create a new UserTableFormSheet. |
Method Summary | |
TableColumnModel |
getColumnModel()
Get the TableColumnModel of the JUserTable which is displayed. |
UIGate |
getGate()
Get the Gate this FormSheet is currently being displayed at. |
User |
getSelectedRecord()
Get the record currently selected. |
ListSelectionModel |
getSelectionModel()
Get the ListSelectionModel of the JUserTable which is displayed. |
JTable |
getTable()
Gets the table. |
Object |
getTableSource()
Get the table's source. |
void |
setGate(UIGate uigGate)
Set the gate at which to display the FormSheet. |
void |
setTableModel(AbstractTableModel tm)
Changes the TableModel of a table. |
Methods inherited from class sale.FormSheet |
addButton, addButton, addContentCreator, attach, attach, attach, buttonIterator, buttonIterator, cancel, close, detachDisplay, detachProcess, detachSalesPoint, fillBtnPanel, getButton, getButtonsLock, getCaption, getComponent, getComponentLock, getDisplay, getDisplayLock, getProcess, getSalesPoint, isCancelled, ok, removeAllButtons, removeButton, setCaption, setComponent, setWaitResponse, toString, waitResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UserTableFormSheet(String sCaption, UserManager um, JComponent c, UIGate uigGate, Comparator cmp, TableEntryDescriptor ted)
FormSheet.waitResponse()
" property will default
to true.
sCaption
- the FormSheet's caption.um
- the UserManager which will be displayedc
- a JComponent which can be optionally displayed with the JUserTable. The
JComponent of the FormSheet will be a JPanel. The JPanels contains a JSplitPane.
The first JComponent of the JPanel is the JUserTable and the second is this JComponent.
If it is null, only the JUserTable will be displayed.uigGate
- the Gate at which the FormSheet is displayed.cmp
- a comparator defining the order in which to display the individual users. If null
the Userrecords will be ordered by their names.ted
- a TableEntryDescriptor that can split the UserManager's entries into a table's cells.
Must not be null
.Method Detail |
public JTable getTable()
public void setTableModel(AbstractTableModel tm)
TableModel
of a table.
public Object getTableSource()
Object
to keep consistency with SingleTableFormSheet
.public void setGate(UIGate uigGate)
uigGate
- the new Gate.UIGate.setFormSheet(sale.FormSheet)
public UIGate getGate()
public User getSelectedRecord()
The actual class of the record depends on the concrete type of
TableModel used. See the TableModel's getRecord()
method for
details.
public ListSelectionModel getSelectionModel()
public TableColumnModel getColumnModel()
|
SalesPoint Framework v3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |