public interface ILcdView extends ILcdPropertyChangeSource
ILcdViewdisplays zero or more
ILcdModelcan be displayed more than once (usually in another way).
ILcdView does not necessarily use
objects for displaying models.
|Modifier and Type||Method and Description|
Invalidate the content of this
Returns whether the view's contents are automatically updated when necessary.
Removes a single representation of the specified model from this view, if it is present in the view.
Sets whether to update the view's representation automatically to keep it in sync with its state and the state of its models.
void addModel(ILcdModel aModel)
aModelto be displayed in this
java.lang.IllegalArgumentException- if the model is
null, or if the model is not supported by the view
void removeModel(ILcdModel aModel)
void invalidate(boolean aRepaint, java.lang.Object aCaller, java.lang.String aMessage)
aRepaint- if true, this ILcdView shall be repainted immediately.
aCaller- the class instance that calls this method. Used for tracing.
aMessage- a message associated with this call. Used for tracing.
trueif the view automatically updates its representation on reception of any event that might require an update (e.g. when its properties change, when an
Objectin a model has changed, or when a model has been added/removed).
falseif the view must be repainted manually.
void setAutoUpdate(boolean aAutoUpdate)
true, the view automatically updates its representation on reception of any event that might require an update (e.g. when its properties change, when an
Objectin a model has changed, or when a model has been added/removed). If false, the view must be repainted manually.