com.xpn.xwiki.wysiwyg.client.util
Interface DeferredUpdate

All Known Implementing Classes:
FontPlugin, FormatPlugin, JustifyPlugin, ListPlugin, StatefulPlugin, TextPlugin, VerticalAlignPlugin, XWysiwygEditor

public interface DeferredUpdate

Interface for an object whose update can be deferred. Only the most recent update gets executed.


Nested Class Summary
static class DeferredUpdate.UpdateCommand
          A deferred command that executes only the most recent update.
 
Method Summary
 long getUpdateIndex()
           
 long incUpdateIndex()
           
 void onUpdate()
          Executes the most recent update.
 

Method Detail

getUpdateIndex

long getUpdateIndex()
Returns:
The index of the last update.

incUpdateIndex

long incUpdateIndex()
Returns:
The update index after it was incremented.

onUpdate

void onUpdate()
Executes the most recent update.



Copyright © 2004-2008 XWiki. All Rights Reserved.