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 |
android.graphics.Paint |
searchtextfocusedPaint |
android.graphics.Paint |
searchtextNormalPaint |
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 searchtextfocusedPaint
public final java.lang.Object commonResInitLock
public void setAttributeDataFetcher(IAttributeDataFether attributeDataFetcher)
attributeDataFetcher
- Helper of getting attribute.public CPDFAnnotAttribute getAnnotAttribute()
public void onload()
onload
in interface IAttributeCallback
public void onstore()
onstore
in interface IAttributeCallback