SalesPoint Framework v3.0

log.stdforms
Class LogTableForm

java.lang.Object
  |
  +--sale.FormSheet
        |
        +--log.stdforms.LogTableForm

public class LogTableForm
extends FormSheet

FormSheet displaying the contents of a log file.

The FormSheet will contain a JLogTable containing one line per log entry.

Hooks:
Display Log File Contents
Since:
v2.0
Version:
2.0 27/08/1999
Author:
Steffen Zschaler
See Also:
Serialized Form

Inner classes inherited from class sale.FormSheet
FormSheet.FormButton
 
Fields inherited from class sale.FormSheet
BTNID_CANCEL, BTNID_OK, m_fCancelled
 
Constructor Summary
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.
 
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

LogTableForm

public LogTableForm(String sCaption,
                    LogInputStream lis)
Create a new LogTableForm. LogEntries are ordered by their log dates and displayed using the DefaultLogEntryTED.
Parameters:
sCaption - the FormSheet's caption.
lis - the LogInputStream that contains the LogEntries to be displayed. May be filtered.

LogTableForm

public LogTableForm(String sCaption,
                    LogInputStream lis,
                    TableEntryDescriptor ted)
Create a new LogTableForm. LogEntries are ordered by their log dates.
Parameters:
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.

LogTableForm

public LogTableForm(String sCaption,
                    LogInputStream lis,
                    Comparator cmp)
Create a new LogTableForm. LogEntries are displayed using the DefaultLogEntryTED.
Parameters:
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.

LogTableForm

public LogTableForm(String sCaption,
                    LogInputStream lis,
                    Comparator cmp,
                    TableEntryDescriptor ted)
Create a new LogTableForm.
Parameters:
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.

LogTableForm

public LogTableForm(String sCaption,
                    LogInputStream lis,
                    Comparator cmp,
                    TableEntryDescriptor ted,
                    boolean fWaitResponse)
Create a new LogTableForm.
Parameters:
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.
Method Detail

getSelectedEntry

public LogEntry getSelectedEntry()
Get the currently selected log entry.

SalesPoint Framework v3.0