public class GCondensedIsModified extends Object
Constructor and Description |
---|
GCondensedIsModified(GComponent... componentList)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(GComponent component)
Add a component to the condensed status object.
|
boolean |
getIsModified()
Getter for the global status having into account all the components.
|
List<GComponent> |
getIsModifiedComponentList()
Getter for the list of components in warning status.
|
void |
update(GComponent... componentList)
Update the condensed status object with a list of components.
|
public GCondensedIsModified(GComponent... componentList)
componentList
- list of components (or component containers) whose status is to be had into account.public boolean getIsModified()
public List<GComponent> getIsModifiedComponentList()
public void update(GComponent... componentList)
GCondensedStatusInterface
it will add all its subcomponents and if not, it will be added
itself.componentList
- list of components to update the condensed status object withpublic void add(GComponent component)
GCondensedStatusInterface
,
but it redefines the fr.cnes.genius.main.GComponent#setStatus(GStatus)
method and thus it has a
"global" status already defined (no need to condense a status from its subcomponents).component
- to be added to the condensed status objectCopyright © 2024. All rights reserved.