public class

PresetBarView

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.widget.preset.component.view.PresetBarView
Known Direct Subclasses

Class Overview

Class that contains the Android views related to the preset bar, and exposes necessary preset bar related API.

Summary

Nested Classes
interface PresetBarView.OnCloseButtonClickListener  
interface PresetBarView.OnPresetViewButtonClickListener  
interface PresetBarView.OnStyleButtonClickListener  
Constants
int MAX_NUMBER_OF_PRESETS
Public Constructors
PresetBarView(ViewGroup parent)
PresetBarView(ViewGroup parent, PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition position)
Public Methods
void addOnCloseButtonClickListener(PresetBarView.OnCloseButtonClickListener listener)
void addOnPresetButtonClickListener(PresetBarView.OnPresetViewButtonClickListener listener)
void addOnStyleButtonClickListener(PresetBarView.OnStyleButtonClickListener listener)
Context getContext()
View getParent()
PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition getToolbarPosition()
void hidePresetBar(boolean animate)
void removeOnCloseButtonClickListener(PresetBarView.OnCloseButtonClickListener listener)
void removeOnPresetButtonClickListener(PresetBarView.OnPresetViewButtonClickListener listener)
void removeOnStyleButtonClickListener(PresetBarView.OnStyleButtonClickListener listener)
void setCompactMode(boolean compactMode)
void setInsideAnnotationToolbar(boolean isInsideAnnotationToolbar)
void setSinglePreset(boolean singlePreset)
void setVerticalLayout(PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition position)
void showPresetBar(boolean animate)
void singlePresetWithBackground(boolean enabled)
void updatePresetState(PresetBarState presetBarState)
void updatePresetStyle(PresetBarState presetBarState)
void updateSinglePreset(SinglePresetState presetState)
void updateTheme()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int MAX_NUMBER_OF_PRESETS

Constant Value: 4 (0x00000004)

Public Constructors

public PresetBarView (ViewGroup parent)

public PresetBarView (ViewGroup parent, PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition position)

Public Methods

public void addOnCloseButtonClickListener (PresetBarView.OnCloseButtonClickListener listener)

public void addOnPresetButtonClickListener (PresetBarView.OnPresetViewButtonClickListener listener)

public void addOnStyleButtonClickListener (PresetBarView.OnStyleButtonClickListener listener)

public Context getContext ()

public View getParent ()

public void hidePresetBar (boolean animate)

public void removeOnCloseButtonClickListener (PresetBarView.OnCloseButtonClickListener listener)

public void removeOnPresetButtonClickListener (PresetBarView.OnPresetViewButtonClickListener listener)

public void removeOnStyleButtonClickListener (PresetBarView.OnStyleButtonClickListener listener)

public void setCompactMode (boolean compactMode)

public void setInsideAnnotationToolbar (boolean isInsideAnnotationToolbar)

public void setSinglePreset (boolean singlePreset)

public void setVerticalLayout (PdfViewCtrlTabHostFragment2.AnnotationToolbarPosition position)

public void showPresetBar (boolean animate)

public void singlePresetWithBackground (boolean enabled)

public void updatePresetState (PresetBarState presetBarState)

public void updatePresetStyle (PresetBarState presetBarState)

public void updateSinglePreset (SinglePresetState presetState)

public void updateTheme ()