public class

BorderStylePreset

extends Object
java.lang.Object
   ↳ com.pspdfkit.ui.inspector.views.BorderStylePreset

Class Overview

Preset for border styles. Encapsulates both BorderStyle and dash array used for DASHED.

Summary

Public Constructors
BorderStylePreset(BorderStyle style)
Creates preset with border style style and null dash array.
BorderStylePreset(BorderStyle style, List<Integer> dashArray)
Creates preset with border style style and dash array dashArray.
Public Methods
boolean equals(Object o)
BorderStyle getBorderStyle()
Returns border style specified in this preset.
List<Integer> getDashArray()
Returns dash array specified in this preset.
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BorderStylePreset (BorderStyle style)

Creates preset with border style style and null dash array.

Parameters
style Border style to use.

public BorderStylePreset (BorderStyle style, List<Integer> dashArray)

Creates preset with border style style and dash array dashArray.

Parameters
style Border style to use.
dashArray Dash array to use. Valid only when style is set to DASHED.

Public Methods

public boolean equals (Object o)

public BorderStyle getBorderStyle ()

Returns border style specified in this preset.

public List<Integer> getDashArray ()

Returns dash array specified in this preset.

Returns
  • Dash array or null if none is specified (for example when not using dashed border style).

public int hashCode ()