|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Operation
Method Summary | |
---|---|
boolean |
affectsRange(int startOffset,
int endOffset)
Determine whether or not this operation affects the specified range. |
String |
getAuthor()
Get the name of the user that performed this operation. |
Date |
getDate()
Get the date / time for this operation. |
String |
getDescription()
Retrieves a human readable, internationalized description of this operation. |
int |
getEndAffectedRange()
Get the end of the affected range for this operation. |
int |
getLengthDelta()
Get the change in length of the document after this operation was applied. |
long |
getLocalId()
Get the local ID for this operation. |
int |
getStartAffectedRange()
Get the start of the affected range for this operation. |
boolean |
isApplied()
Determine if this operation has been applied or not. |
boolean |
isDottedUnderlinePainted()
Whether or not the user color is painted as a background instead of changing the text color. |
boolean |
isStrikeThrough()
Whether or not this operation should be rendered with a strike through. |
boolean |
isUnderline()
Whether or not this operation should be rendered with an underline. |
void |
setAuthor(String author)
Set the name of the user that performed this operation. |
void |
setDate(Date opDate)
Set the date / time for this operation. |
Method Detail |
---|
boolean affectsRange(int startOffset, int endOffset)
startOffset
- start offset of rangeendOffset
- end offset of range
true
when the range is affected, otherwise false
int getStartAffectedRange()
int getEndAffectedRange()
int getLengthDelta()
boolean isApplied()
true
if this operation has been applied, otherwise false
.boolean isStrikeThrough()
boolean isUnderline()
boolean isDottedUnderlinePainted()
true
if the user's color should be painted as the background, false
if it
should
be used as the foreground color.String getDescription()
String getAuthor()
void setAuthor(String author)
author
- the username of the author that performed this operation.long getLocalId()
Date getDate()
void setDate(Date opDate)
opDate
- the new time for the operation
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |