Contains utility classes for the viewer. These typically won't be needed by developers.
Interface Summary Interface Description ColorChoicePanel.ColorChoiceListenerPassed in to the
ColorChoicePanel.createColorChoiceButton(java.awt.Color, org.faceless.pdf2.viewer2.util.ColorChoicePanel.ColorChoiceListener, int, boolean, boolean, java.lang.String), this is a callback when the color is chosen
Class Summary Class Description BoundedDesktopManagerDesktopManager which ensures JInternalFrames cannot be dragged out of view. ColorChoicePanelJPanel (and associated dialog) that can be used to select a color DialogPanelGeneral purpose Dialog with OK and (optionally) Cancel button and/or other buttons, intended to give a unified L&F to all dialogs in the viewer
Typically you would call addComponent, and if action needs to be done on accept or cancel you would override acceptDialog or cancelDialog.
JsonPreferencesA Preferences class backed with a Json structure. KeyStoreAliasList KeyStoreTrustManagerThis class makes working with SSL connections easier, by prompting the user when an invalid certificate is encountered. LongRunningTask PromptingAuthenticatorA simple
Authenticatorwhich will prompt the user to enter the required name and password with a Swing dialog.
PropertyParserA Utility class for parsing particular Strings into particular types of object. RichTextTransferHandlerA
TransferHandlerthat can copy/paste RichText.
RichTextTransferHandler.RichTransferableTransferable class that can transfer Rich-Text as plain, RTF or HTML. WebswingPreferencesFactoryA PreferencesFactory which saves content to Webswing. WebswingPreferencesFactory.WebswingPreferences