public class

PresetSingleButton

extends PresetActionButton
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.pdftron.pdf.widget.toolbar.component.view.ActionButton
           ↳ com.pdftron.pdf.widget.preset.component.view.PresetActionButton
             ↳ com.pdftron.pdf.widget.preset.component.view.PresetSingleButton

Summary

[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
PresetSingleButton(Context context)
PresetSingleButton(Context context, AttributeSet attrs)
PresetSingleButton(Context context, AttributeSet attrs, int defStyleAttr)
PresetSingleButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
void setEmptyState(int emptyState)
void setIconColor(int color)
void setIconSize(int sizeInPx)
void setPresetBitmap(Bitmap bitmap)
Sets the preset bitmap
void setPresetFile(File imageFile)
Sets the preset image view from image file
[Expand]
Inherited Methods
From class com.pdftron.pdf.widget.preset.component.view.PresetActionButton
From class com.pdftron.pdf.widget.toolbar.component.view.ActionButton
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface com.pdftron.pdf.widget.toolbar.component.view.ToolbarButton

Public Constructors

public PresetSingleButton (Context context)

public PresetSingleButton (Context context, AttributeSet attrs)

public PresetSingleButton (Context context, AttributeSet attrs, int defStyleAttr)

public PresetSingleButton (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Public Methods

public void setEmptyState (int emptyState)

public void setIconColor (int color)

public void setIconSize (int sizeInPx)

public void setPresetBitmap (Bitmap bitmap)

Sets the preset bitmap

Parameters
bitmap the preset bitmap

public void setPresetFile (File imageFile)

Sets the preset image view from image file

Parameters
imageFile the preset image file