nextapp.echo2.webcontainer.partialupdate
Class BorderUpdate
java.lang.Object
nextapp.echo2.webcontainer.partialupdate.BorderUpdate
- All Implemented Interfaces:
- PartialUpdateParticipant
public class BorderUpdate
- extends java.lang.Object
- implements PartialUpdateParticipant
A PartialUpdateParticipant to update a CSS border
property.
|
Constructor Summary |
BorderUpdate(java.lang.String componentPropertyName,
java.lang.String idSuffix,
java.lang.String cssAttributeName)
Creates a new BorderUpdate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSS_BORDER
public static final java.lang.String CSS_BORDER
- See Also:
- Constant Field Values
BorderUpdate
public BorderUpdate(java.lang.String componentPropertyName,
java.lang.String idSuffix,
java.lang.String cssAttributeName)
- Creates a new
BorderUpdate.
- Parameters:
componentPropertyName - the name of the property of the componentidSuffix - the suffix to append to the root client-side identifier
of the component (should be null in typical case of no suffix)cssAttributeName - the name of the CSS attribute to update (see
CSS constants provided in this class)
canRenderProperty
public boolean canRenderProperty(RenderContext rc,
ServerComponentUpdate update)
- Description copied from interface:
PartialUpdateParticipant
- Determines if this partial update participant is capable of performing
its specific task.
- Specified by:
canRenderProperty in interface PartialUpdateParticipant
- Parameters:
rc - the relevant RenderContextupdate - the ServerComponentUpdate to be
processed.
- Returns:
- true if the participant is capable of performing the task
- See Also:
PartialUpdateParticipant.canRenderProperty(nextapp.echo2.webcontainer.RenderContext,
nextapp.echo2.app.update.ServerComponentUpdate)
renderProperty
public void renderProperty(RenderContext rc,
ServerComponentUpdate update)
- Description copied from interface:
PartialUpdateParticipant
- Renders an update to the client to perform the partial update.
- Specified by:
renderProperty in interface PartialUpdateParticipant
- Parameters:
rc - the relevant RenderContextupdate - the ServerComponentUpdate to be
processed- See Also:
PartialUpdateParticipant.renderProperty(
nextapp.echo2.webcontainer.RenderContext, nextapp.echo2.app.update.ServerComponentUpdate)