public interface DmcPresentationTrackerIF
| 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.
|
void track(DmcPresentationIF dpi)
dpi - void addReadyListener(DmcReadyListenerIF listener)
listener - void addChangeListener(DmcChangeListenerIF listener)
listener - void addValueChangeListener(DmcValueChangeListenerIF listener)
listener - void isReady(DmcPresentationIF dpi)
dpi - void isNotReady(DmcPresentationIF dpi)
dpi - void startTracking()
void reset()
void debug(boolean d)
d - true for debug.boolean debug()
void debug(String message)
message - the message to be logged.void validateAll()
Copyright © 2023. All rights reserved.