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

public Class HexView

extends Object
Class Inheritance
Imports
java.awt.BorderLayout, .Color, .Font, .RenderingHints, java.util.HashMap, .Map, javax.swing.JComponent, .JPanel, .UIManager

Author
Khyrul Bashar HexView takes a byte array or Stream instance and shows them in Hex viewer.

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final Font
pack-priv static final int
pack-priv static final int
pack-priv static final Font
pack-priv static final int
pack-priv static final int
pack-priv static final int
private final JComponent
pack-priv static final Map<RenderingHints.Key, Object>
pack-priv static final Color
pack-priv static final int

Constructor Summary

AccessConstructor and Description
public
public
HexView(byte[]
takes a byte array.
bytes
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public void
changeData(byte[] bytes)

public JComponent
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ADDRESS_PANE_WIDTHback to summary
pack-priv static final int ADDRESS_PANE_WIDTH
ASCII_PANE_WIDTHback to summary
pack-priv static final int ASCII_PANE_WIDTH
BOLD_FONTback to summary
pack-priv static final Font BOLD_FONT
CHAR_HEIGHTback to summary
pack-priv static final int CHAR_HEIGHT
CHAR_WIDTHback to summary
pack-priv static final int CHAR_WIDTH
FONTback to summary
pack-priv static final Font FONT
FONT_SIZEback to summary
pack-priv static final int FONT_SIZE
HEX_PANE_WIDTHback to summary
pack-priv static final int HEX_PANE_WIDTH
LINE_INSETback to summary
pack-priv static final int LINE_INSET
mainPaneback to summary
private final JComponent mainPane
RENDERING_HINTSback to summary
pack-priv static final Map<RenderingHints.Key, Object> RENDERING_HINTS
SELECTED_COLORback to summary
pack-priv static final Color SELECTED_COLOR
TOTAL_WIDTHback to summary
pack-priv static final int TOTAL_WIDTH

Constructor Detail

HexViewback to summary
public HexView()
HexViewback to summary
public HexView(byte[] bytes)

Constructor.

Parameters
bytes:byte[]

takes a byte array.

Method Detail

changeDataback to summary
public void changeData(byte[] bytes)
getPaneback to summary
public JComponent getPane()