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 presetIconWithBackground(boolean enabled)
void setArrowIconVisible(boolean visible)
void setBackgroundColor(int color)
void setEmptyState(int emptyState)
void setIconSize(int sizeInPx)
void setPresetAnnotStyle(AnnotStyle annotStyle, int leftIconRes)
void setPresetBitmap(Bitmap bitmap)
Sets the preset bitmap
void setPresetFile(File imageFile)
Sets the preset image view from image file
void setTextColor(int textColor)
void setVerticalLayout(PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition position)
[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 presetIconWithBackground (boolean enabled)

public void setArrowIconVisible (boolean visible)

public void setBackgroundColor (int color)

public void setEmptyState (int emptyState)

public void setIconSize (int sizeInPx)

public void setPresetAnnotStyle (AnnotStyle annotStyle, int leftIconRes)

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

public void setTextColor (int textColor)

public void setVerticalLayout (PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition position)