public class Tracker extends Object implements DmcPresentationTrackerIF
| Constructor and Description |
|---|
Tracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(DmcChangeListenerIF listener)
Adds a listener that's interested in whether anything has changed.
|
void |
addReadyListener(DmcReadyListenerIF listener)
Adds a listener that's interested in the tracker's state of readiness.
|
void |
addValueChangeListener(DmcValueChangeListenerIF listener)
Adds a listener that's interested in any value change in a presenter.
|
boolean |
debug() |
void |
debug(boolean d)
Sets whether the tracker is in debug mode or not.
|
void |
debug(String message)
Log the specified debug message.
|
void |
isNotReady(DmcPresentationIF dpi)
Indicates that the presentation component is "not ready".
|
void |
isReady(DmcPresentationIF dpi)
Indicates that the presentation component is "ready".
|
void |
reset()
Calling this method will call the reset method on all presentations; this will
cause them all to display their original values.
|
void |
startTracking()
Calling this method will cause the tracker to query all of its presentation implementations
to determine their current state.
|
void |
track(DmcPresentationIF dpi)
Adds the specified presentation implementation to the tracker.
|
void |
validateAll()
When a form is first rendered, it's often convenient to force validation on
all of the fields so that they can display whether or not they're mandatory i.e.
|
public void debug(boolean d)
DmcPresentationTrackerIFdebug in interface DmcPresentationTrackerIFd - true for debug.public boolean debug()
debug in interface DmcPresentationTrackerIFpublic void debug(String message)
DmcPresentationTrackerIFdebug in interface DmcPresentationTrackerIFmessage - the message to be logged.public void addReadyListener(DmcReadyListenerIF listener)
DmcPresentationTrackerIFaddReadyListener in interface DmcPresentationTrackerIFpublic void addChangeListener(DmcChangeListenerIF listener)
DmcPresentationTrackerIFaddChangeListener in interface DmcPresentationTrackerIFpublic void addValueChangeListener(DmcValueChangeListenerIF listener)
DmcPresentationTrackerIFaddValueChangeListener in interface DmcPresentationTrackerIFpublic void isNotReady(DmcPresentationIF dpi)
DmcPresentationTrackerIFisNotReady in interface DmcPresentationTrackerIFpublic void isReady(DmcPresentationIF dpi)
DmcPresentationTrackerIFisReady in interface DmcPresentationTrackerIFpublic void startTracking()
DmcPresentationTrackerIFstartTracking in interface DmcPresentationTrackerIFpublic void track(DmcPresentationIF dpi)
DmcPresentationTrackerIFtrack in interface DmcPresentationTrackerIFpublic void reset()
DmcPresentationTrackerIFreset in interface DmcPresentationTrackerIFpublic void validateAll()
DmcPresentationTrackerIFvalidateAll in interface DmcPresentationTrackerIFCopyright © 2023. All rights reserved.