public class

DialogLinkEditor

extends AlertDialog
implements DialogInterface.OnClickListener View.OnClickListener View.OnFocusChangeListener
java.lang.Object
   ↳ android.app.Dialog
     ↳ android.app.AlertDialog
       ↳ com.pdftron.pdf.tools.DialogLinkEditor

Class Overview

A dialog editing link url/ page number

Summary

Nested Classes
@interface DialogLinkEditor.LinkOption  
Constants
int LINK_OPTION_PAGE
int LINK_OPTION_URL
[Expand]
Inherited Constants
From class android.app.AlertDialog
From interface android.content.DialogInterface
Public Constructors
DialogLinkEditor(PDFViewCtrl ctrl, Tool tool, HashMap<Rect, Integer> selRect)
Class constructor
DialogLinkEditor(PDFViewCtrl ctrl, Tool tool, Link link)
Class constructor
Public Methods
void dismiss()
void onClick(View v)
void onClick(DialogInterface dialog, int which)
void onFocusChange(View v, boolean hasFocus)
void setColor(int color)
Sets the color.
void setThickness(float thickness)
Sets the thickness.
void show()
[Expand]
Inherited Methods
From class android.app.AlertDialog
From class android.app.Dialog
From class java.lang.Object
From interface android.content.DialogInterface
From interface android.content.DialogInterface.OnClickListener
From interface android.view.KeyEvent.Callback
From interface android.view.View.OnClickListener
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.View.OnFocusChangeListener
From interface android.view.Window.Callback

Constants

public static final int LINK_OPTION_PAGE

Constant Value: 1 (0x00000001)

public static final int LINK_OPTION_URL

Constant Value: 0 (0x00000000)

Public Constructors

public DialogLinkEditor (PDFViewCtrl ctrl, Tool tool, HashMap<Rect, Integer> selRect)

Class constructor

public DialogLinkEditor (PDFViewCtrl ctrl, Tool tool, Link link)

Class constructor

Public Methods

public void dismiss ()

public void onClick (View v)

public void onClick (DialogInterface dialog, int which)

public void onFocusChange (View v, boolean hasFocus)

public void setColor (int color)

Sets the color.

Parameters
color The color

public void setThickness (float thickness)

Sets the thickness.

Parameters
thickness The thickness

public void show ()