Public Member Functions | |
DocumentPanel () | |
int | getDefaultHorizontalScreenPadding () |
int | getDefaultVerticalScreenPadding () |
Dimension | getPreferredSize () |
void | setParentFrame (JFrame mainFrame) |
void | setParentScrollPane (JScrollPane scrollPane) |
Static Public Attributes | |
static final int | DROP_SHADOW_DISTANCE = 4 |
Drop shadow for the (on screen) rendered paper. | |
static final Color | SHADOW_COLOR = new Color(0, 0, 0, 99) |
Color of the paper's drop shadow. | |
Protected Member Functions | |
void | paintComponent (Graphics g) |
Package Attributes | |
final Pixels | pixelsReferenceUnit = new Pixels() |
This software is distributed under the BSD License.
Definition at line 32 of file DocumentPanel.java.
DocumentPanel | ( | ) |
int getDefaultHorizontalScreenPadding | ( | ) |
Definition at line 105 of file DocumentPanel.java.
Referenced by DocumentPanel.getPreferredSize().
int getDefaultVerticalScreenPadding | ( | ) |
Definition at line 114 of file DocumentPanel.java.
Referenced by DocumentPanel.getPreferredSize().
Dimension getPreferredSize | ( | ) |
Definition at line 129 of file DocumentPanel.java.
References DocumentPanel.getDefaultHorizontalScreenPadding(), and DocumentPanel.getDefaultVerticalScreenPadding().
void paintComponent | ( | Graphics | g | ) | [protected] |
Definition at line 143 of file DocumentPanel.java.
References DocumentPanel.DROP_SHADOW_DISTANCE, and DocumentPanel.SHADOW_COLOR.