Top Fields Constructors Methods
org.apache.pdfbox.debugger.flagbitspane

pack-priv Class FieldFlag

extends Flag
Class Inheritance
Imports
org.apache.pdfbox.cos.COSDictionary, .COSName

Author
Khyrul Bashar A class that provides field flag bits.

Field Summary

Modifier and TypeField and Description
private final COSDictionary

Constructor Summary

AccessConstructor and Description
pack-priv
FieldFlag(COSDictionary
COSDictionary instance
dictionary
)

Constructor

Method Summary

Modifier and TypeMethod and Description
private Object[][]
getButtonFieldFlagBits(final int flagValue)

private Object[][]
getChoiceFieldFlagBits(final int flagValue)

private Object[][]
getFieldFlagBits(final int flagValue)

pack-priv Object[][]
pack-priv String
pack-priv String
private Object[][]
getTextFieldFlagBits(final int flagValue)

private Boolean

Returns:

if set return true else false
isFlagBitSet
(int
the flag integer
flagValue
,
int
bit position to check
bitPosition
)

Check the corresponding flag bit if set or not

Inherited from org.apache.pdfbox.debugger.flagbitspane.Flag:
getColumnNames

Field Detail

dictionaryback to summary
private final COSDictionary dictionary

Constructor Detail

FieldFlagback to summary
pack-priv FieldFlag(COSDictionary dictionary)

Constructor

Parameters
dictionary:COSDictionary

COSDictionary instance

Method Detail

getButtonFieldFlagBitsback to summary
private Object[][] getButtonFieldFlagBits(final int flagValue)
getChoiceFieldFlagBitsback to summary
private Object[][] getChoiceFieldFlagBits(final int flagValue)
getFieldFlagBitsback to summary
private Object[][] getFieldFlagBits(final int flagValue)
getFlagBitsback to summary
pack-priv Object[][] getFlagBits()

Implements abstract org.apache.pdfbox.debugger.flagbitspane.Flag.getFlagBits.

Annotations
@Override
getFlagTypeback to summary
pack-priv String getFlagType()

Implements abstract org.apache.pdfbox.debugger.flagbitspane.Flag.getFlagType.

Annotations
@Override
getFlagValueback to summary
pack-priv String getFlagValue()

Implements abstract org.apache.pdfbox.debugger.flagbitspane.Flag.getFlagValue.

Annotations
@Override
getTextFieldFlagBitsback to summary
private Object[][] getTextFieldFlagBits(final int flagValue)
isFlagBitSetback to summary
private Boolean isFlagBitSet(int flagValue, int bitPosition)

Check the corresponding flag bit if set or not

Parameters
flagValue:int

the flag integer

bitPosition:int

bit position to check

Returns:Boolean

if set return true else false