Package org.faceless.pdf2.viewer2.util
Contains utility classes for the viewer. These typically won't be needed by developers.
-
Interface Summary Interface Description ColorChoicePanel.ColorChoiceListener Passed in to theColorChoicePanel.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 BoundedDesktopManager DesktopManager which ensures JInternalFrames cannot be dragged out of view.ColorChoicePanel JPanel (and associated dialog) that can be used to select a colorDialogPanel General 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.JsonPreferences A Preferences class backed with a Json structure.KeyStoreAliasList KeyStoreTrustManager This class makes working with SSL connections easier, by prompting the user when an invalid certificate is encountered.LongRunningTask PromptingAuthenticator A simpleAuthenticator
which will prompt the user to enter the required name and password with a Swing dialog.PropertyParser A Utility class for parsing particular Strings into particular types of object.RichTextTransferHandler ATransferHandler
that can copy/paste RichText.RichTextTransferHandler.RichTransferable Transferable class that can transfer Rich-Text as plain, RTF or HTML.WebswingPreferencesFactory A PreferencesFactory which saves content to Webswing.WebswingPreferencesFactory.WebswingPreferences