|
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 log.stdforms.LogTableForm
FormSheet displaying the contents of a log file.
The FormSheet will contain a JLogTable
containing one line per log entry.
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 | |
LogTableForm(String sCaption,
LogFileContent lfc,
Comparator cmp,
TableEntryDescriptor ted,
boolean fWaitResponse)
|
|
LogTableForm(String sCaption,
LogInputStream lis)
Create a new LogTableForm. |
|
LogTableForm(String sCaption,
LogInputStream lis,
Comparator cmp)
Create a new LogTableForm. |
|
LogTableForm(String sCaption,
LogInputStream lis,
Comparator cmp,
TableEntryDescriptor ted)
Create a new LogTableForm. |
|
LogTableForm(String sCaption,
LogInputStream lis,
Comparator cmp,
TableEntryDescriptor ted,
boolean fWaitResponse)
Create a new LogTableForm. |
|
LogTableForm(String sCaption,
LogInputStream lis,
TableEntryDescriptor ted)
Create a new LogTableForm. |
Method Summary | |
LogEntry |
getSelectedEntry()
Get the currently selected log entry. |
Object |
getSelectedRecord()
Same as getSelectedEntry() , but return type is Object.
|
JTable |
getTable()
Gets the table. |
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 LogTableForm(String sCaption, LogInputStream lis)
DefaultLogEntryTED
.
sCaption
- the FormSheet's caption.lis
- the LogInputStream that contains the LogEntries to be displayed. May be filtered.public LogTableForm(String sCaption, LogInputStream lis, TableEntryDescriptor ted)
sCaption
- the FormSheet's caption.lis
- the LogInputStream that contains the LogEntries to be displayed. May be filtered.ted
- a TableEntryDescriptor defining how LogEntries are to be displayed with respect to rows and
columns in a table.public LogTableForm(String sCaption, LogInputStream lis, Comparator cmp)
DefaultLogEntryTED
.
sCaption
- the FormSheet's caption.lis
- the LogInputStream that contains the LogEntries to be displayed. May be filtered.cmp
- a Comparator that defines the order the LogEntries appear in. May be null
in
which case LogEntries will be sorted by the log date
.public LogTableForm(String sCaption, LogInputStream lis, Comparator cmp, TableEntryDescriptor ted)
sCaption
- the FormSheet's caption.lis
- the LogInputStream that contains the LogEntries to be displayed. May be filtered.cmp
- a Comparator that defines the order the LogEntries appear in. May be null
in
which case LogEntries will be sorted by the log date
.ted
- a TableEntryDescriptor defining how LogEntries are to be displayed with respect to rows and
columns in a table.public LogTableForm(String sCaption, LogInputStream lis, Comparator cmp, TableEntryDescriptor ted, boolean fWaitResponse)
sCaption
- the FormSheet's caption.lis
- the LogInputStream that contains the LogEntries to be displayed. May be filtered.cmp
- a Comparator that defines the order the LogEntries appear in. May be null
in
which case LogEntries will be sorted by the log date
.ted
- a TableEntryDescriptor defining how LogEntries are to be displayed with respect to rows and
columns in a table.fWaitResponse
- the initial value of the waitResponse property. If true,
Display.setFormSheet(sale.FormSheet)
will block until the FormSheet is closed.public LogTableForm(String sCaption, LogFileContent lfc, Comparator cmp, TableEntryDescriptor ted, boolean fWaitResponse)
Method Detail |
public LogEntry getSelectedEntry()
public Object getSelectedRecord()
getSelectedEntry()
, but return type is Object.
Added for naming consistency within the framework.
public JTable getTable()
public void setTableModel(AbstractTableModel tm)
TableModel
of a table.
|
SalesPoint Framework v3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |