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()
The overload implementation of dismiss().
void onClick(View v)
The overload implementation of onClick(View).
void onClick(DialogInterface dialog, int which)
The overload implementation of onClick(DialogInterface, int).
void onFocusChange(View v, boolean hasFocus)
The overload implementation of onFocusChange(View, boolean).
void setColor(int color)
Sets the color.
void setThickness(float thickness)
Sets the thickness.
void show()
The overload implementation of 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 ()

The overload implementation of dismiss().

public void onClick (View v)

The overload implementation of onClick(View).

public void onClick (DialogInterface dialog, int which)

The overload implementation of onClick(DialogInterface, int).

public void onFocusChange (View v, boolean hasFocus)

The overload implementation of onFocusChange(View, boolean).

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 ()

The overload implementation of show().