public class CPDFReaderAttribute extends CPDFAnnotAttrBase implements IAttributeCallback
| Modifier and Type | Field and Description |
|---|---|
android.graphics.Bitmap |
bookmarkImage |
android.graphics.Rect |
bookmarkImageRect |
java.lang.Object |
commonResInitLock |
int |
focusedKeyWordColor |
int |
focusedKeywordStrokeColor |
int |
normalKeyWordColor |
int |
normalKeywordStrokeColor |
android.graphics.Paint |
searchtextfocusedPaint |
android.graphics.Paint |
searchtextFocusedStrikePaint |
android.graphics.Paint |
searchtextNormalPaint |
android.graphics.Paint |
searchTextNormalStrikePaint |
| Constructor and Description |
|---|
CPDFReaderAttribute(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
CPDFAnnotAttribute |
getAnnotAttribute()
Gets the attribute of reader annotation.
|
void |
onload()
Loads the attribute of reader.
|
void |
onstore()
Saves the attribute of reader.
|
void |
setAttributeDataFetcher(IAttributeDataFether attributeDataFetcher)
Sets the helper of getting attribute, user can call this method to set the way of getting and saving custom attribute.
|
public android.graphics.Bitmap bookmarkImage
public android.graphics.Rect bookmarkImageRect
public android.graphics.Paint searchtextNormalPaint
public android.graphics.Paint searchTextNormalStrikePaint
public android.graphics.Paint searchtextfocusedPaint
public android.graphics.Paint searchtextFocusedStrikePaint
public final java.lang.Object commonResInitLock
public int normalKeyWordColor
public int normalKeywordStrokeColor
public int focusedKeyWordColor
public int focusedKeywordStrokeColor
public void setAttributeDataFetcher(IAttributeDataFether attributeDataFetcher)
attributeDataFetcher - Helper of getting attribute.public CPDFAnnotAttribute getAnnotAttribute()
public void onload()
onload in interface IAttributeCallbackpublic void onstore()
onstore in interface IAttributeCallback