Method Summary |
|
public void | addChild(Component child) Adds a description of an added child to the
ServerComponentUpdate . |
public void | appendRemovedDescendants(ServerComponentUpdate update) Appends the removed child and descendant components of the given
ServerComponentUpdate to this
ServerComponentUpdate 's list of removed descendants.
This method is invoked by the ServerUpdateManager when
a component is removed that is an ancestor of a component that has
been updated. |
public void | cancelUpdateProperty(String propertyName) Cancels an update to a property. |
public Component[] | getAddedChildren() Returns the child components which have been added to the parent. |
public Component | getParent() Returns the parent component being updated. |
public Component[] | getRemovedChildren() Returns the child components which have been removed from the parent. |
public Component[] | getRemovedDescendants() Returns all descendants of the child components which have been
removed from the parent. |
public Component[] | getUpdatedLayoutDataChildren() Returns the child components whose LayoutData properties
have been updated. |
public PropertyUpdate | getUpdatedProperty(String name) Returns a PropertyUpdate describing an update to the
property with the given name . |
public String[] | getUpdatedPropertyNames() Returns the names of all properties being updated in this update. |
public boolean | hasAddedChild(Component component) Determines if the specified component has been added
as a child in this update. |
public boolean | hasAddedChildren() Determines if the update is adding any children to the parent component. |
public boolean | hasRemovedChild(Component component) Determines if the specified child was removed from the parent component. |
public boolean | hasRemovedChildren() Determines if the update is removing children from the parent
component. |
public boolean | hasRemovedDescendants() Determines if the update is removing children from the parent that
have descendants.
Having removed descendants implies having removed children. |
public boolean | hasUpdatedLayoutDataChildren() Determines if the update has child components whose
LayoutData states have changed. |
public boolean | hasUpdatedProperties() Determines if the update is updating properties of the parent component. |
public void | removeChild(Component child) Adds a description of a removed child to the
ServerComponentUpdate . |
public void | removeDescendant(Component descendant) Recursive method to add descriptions of descendants which were
removed. |
public String | toString() Display debug representation. |
public void | updateLayoutData(Component child) Adds a description of an update to a child component's
LayoutData information to the
ServerComponentUpdate . |
public void | updateProperty(String propertyName, Object oldValue, Object newValue) Adds a description of an update to a property of the parent component
to the ServerComponentUpdate . |