public class

FormToolbar

extends BaseToolbar
implements ToolManager.ToolChangedListener
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.pdftron.pdf.controls.InsectHandlerToolbar
           ↳ com.pdftron.pdf.controls.BaseToolbar
             ↳ com.pdftron.pdf.controls.FormToolbar

Summary

Nested Classes
interface FormToolbar.FormToolbarListener  
Constants
int START_MODE_FILL_AND_SIGN_TOOLBAR Starts with fill and sign toolbar
int START_MODE_PREPARE_FORM_TOOLBAR Starts with prepare form toolbar
String sCHECK_MARK_LABEL
String sCROSS_LABEL
String sDOT_LABEL
[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
FormToolbar(Context context)
FormToolbar(Context context, AttributeSet attrs)
FormToolbar(Context context, AttributeSet attrs, int defStyleAttr)
FormToolbar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
void close()
void closePopups()
Closes the popup windows.
boolean handleKeyUp(int keyCode, KeyEvent event)
void selectTool(View view, int id)
void setButtonStayDown(boolean value)
void setFormToolbarListener(FormToolbar.FormToolbarListener listener)
void setMode(int mode)
Sets whether the form toolbar is in prepare form mode or fill and sign mode
void setup(ToolManager toolManager)
void show(ToolManager.ToolMode toolMode)
void toolChanged(ToolManager.Tool newTool, ToolManager.Tool oldTool)
Event called when the tool changes.
void updateButtonsVisibility()
Updates the visibility of the buttons on the form toolbar.
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.BaseToolbar
From class com.pdftron.pdf.controls.InsectHandlerToolbar
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.tools.ToolManager.ToolChangedListener

Constants

public static final int START_MODE_FILL_AND_SIGN_TOOLBAR

Starts with fill and sign toolbar

Constant Value: 1 (0x00000001)

public static final int START_MODE_PREPARE_FORM_TOOLBAR

Starts with prepare form toolbar

Constant Value: 0 (0x00000000)

public static final String sCHECK_MARK_LABEL

Constant Value: "FILL_CHECK"

public static final String sCROSS_LABEL

Constant Value: "FILL_CROSS"

public static final String sDOT_LABEL

Constant Value: "FILL_DOT"

Public Constructors

public FormToolbar (Context context)

public FormToolbar (Context context, AttributeSet attrs)

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

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

Public Methods

public void close ()

public void closePopups ()

Closes the popup windows.

public boolean handleKeyUp (int keyCode, KeyEvent event)

public void selectTool (View view, int id)

public void setButtonStayDown (boolean value)

public void setFormToolbarListener (FormToolbar.FormToolbarListener listener)

Parameters
listener The listener

public void setMode (int mode)

Sets whether the form toolbar is in prepare form mode or fill and sign mode

Parameters
mode the mode

public void setup (ToolManager toolManager)

public void show (ToolManager.ToolMode toolMode)

public void toolChanged (ToolManager.Tool newTool, ToolManager.Tool oldTool)

Event called when the tool changes.

Parameters
newTool the new tool
oldTool the old tool

public void updateButtonsVisibility ()

Updates the visibility of the buttons on the form toolbar.