|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.ri.common.SwingViewBuilder
public class SwingViewBuilder
The purpose of this class is to facilitate in the building of user interface components that are used to view and interact with PDF Documents.
As such, there are three main scenarios that are covered.
This is the main entry point for building a JFrame containing all of the graphical user interface elements necessary for viewing PDF files.
The hierarchy of the methods that are invoked to construct the complete GUI is provided below for your reference. You may choose to use any of the individual methods to construct a sub-set of the complete GUI that meets your specific requirements. This also provides you flexibility in the containers that you add the components into and the overall layout of the application, etc.
This is the main entry point for building a JPanel containing all of the GUI elements necessary for viewing PDF files. The main differences between this and buildViewerFrame() are:
The following hierarchy of methods that are invoked to construct the complete Component GUI is provided for your reference. You may choose to use any of the individual methods below to construct a sub-set of the complete GUI that meets your specific requirements. This also provides you flexibility in the containers that you add the components into and the overall layout of the application, etc.
| Field Summary | |
|---|---|
protected java.awt.Font |
buttonFont
|
protected static float[] |
DEFAULT_ZOOM_LEVELS
|
protected int |
documentPageFitMode
|
protected int |
documentViewType
|
protected boolean |
haveMadeAToolBar
|
static boolean |
isMacOs
|
protected java.util.ResourceBundle |
messageBundle
|
protected PropertiesManager |
propertiesManager
|
protected boolean |
showButtonText
|
static int |
TOOL_BAR_STYLE_FIXED
|
static int |
TOOL_BAR_STYLE_FLOATING
|
protected int |
toolbarStyle
|
protected SwingController |
viewerController
|
protected float[] |
zoomLevels
|
| Constructor Summary | |
|---|---|
SwingViewBuilder(SwingController c)
Construct a SwingVewBuilder with all of the default settings |
|
SwingViewBuilder(SwingController c,
java.awt.Font bf,
boolean bt,
int ts,
float[] zl,
int documentViewType,
int documentPageFitMode)
Construct a SwingVewBuilder with whichever settings you desire |
|
SwingViewBuilder(SwingController c,
int documentViewType,
int documentPageFitMode)
Construct a SwingVewBuilder with all of the default settings |
|
SwingViewBuilder(SwingController c,
PropertiesManager properties)
Constructor that accepts a different PropertiesManager and otherwise defaults the remaining settings |
|
SwingViewBuilder(SwingController c,
PropertiesManager properties,
java.awt.Font bf,
boolean bt,
int ts,
float[] zl,
int documentViewType,
int documentPageFitMode)
Construct a SwingVewBuilder with whichever settings you desire |
|
| Method Summary | |
|---|---|
protected void |
addToMenu(javax.swing.JMenu menu,
javax.swing.JMenuItem mi)
|
protected void |
addToMenuBar(javax.swing.JMenuBar menuBar,
javax.swing.JMenu menu)
|
protected void |
addToToolBar(javax.swing.JToolBar toolbar,
javax.swing.JComponent comp)
|
javax.swing.JMenuItem |
buildAboutMenuItem()
|
javax.swing.JToolBar |
buildAnnotationlToolBar()
|
AnnotationPanel |
buildAnnotationPanel()
|
javax.swing.JToolBar |
buildAnnotationUtilityToolBar()
|
AttachmentPanel |
buildAttachmentPanle()
|
javax.swing.JMenuItem |
buildBringAllToFrontMenuItem()
|
protected java.awt.Font |
buildButtonFont()
|
javax.swing.JToggleButton |
buildCircleAnnotationToolButton()
|
javax.swing.JMenuItem |
buildCloseMenuItem()
|
javax.swing.JMenuBar |
buildCompleteMenuBar()
|
javax.swing.JToolBar |
buildCompleteToolBar(boolean embeddableComponent)
|
void |
buildContents(java.awt.Container cp,
boolean embeddableComponent)
The Container will contain the PDF document's current page visualization and document outline if available. |
javax.swing.JMenuItem |
buildCopyMenuItem()
|
javax.swing.JTextField |
buildCurrentPageNumberTextField()
|
javax.swing.JMenuItem |
buildDeleteMenuItem()
|
javax.swing.JToolBar |
buildDemoToolBar()
|
javax.swing.JMenuItem |
buildDeselectAllMenuItem()
|
javax.swing.JMenu |
buildDocumentMenu()
|
javax.swing.JMenu |
buildEditMenu()
|
javax.swing.JMenuItem |
buildExitMenuItem()
|
javax.swing.JMenuItem |
buildExportSVGMenuItem()
|
javax.swing.JMenuItem |
buildExportTextMenuItem()
|
javax.swing.JMenu |
buildFileMenu()
|
javax.swing.JButton |
buildFirstPageButton()
|
javax.swing.JMenuItem |
buildFirstPageMenuItem()
|
javax.swing.JToggleButton |
buildFitActualSizeButton()
|
javax.swing.JMenuItem |
buildFitActualSizeMenuItem()
|
javax.swing.JToggleButton |
buildFitPageButton()
|
javax.swing.JMenuItem |
buildFitPageMenuItem()
|
javax.swing.JToolBar |
buildFitToolBar()
|
javax.swing.JToggleButton |
buildFitWidthButton()
|
javax.swing.JMenuItem |
buildFitWidthMenuItem()
|
javax.swing.JToggleButton |
buildFontEngineButton()
|
javax.swing.JMenuItem |
buildFontInformationMenuItem()
|
javax.swing.JToggleButton |
buildFormHighlightButton(java.lang.String imageSize)
|
javax.swing.JToolBar |
buildFormsToolBar()
|
javax.swing.JToggleButton |
buildFreeTextAnnotationToolButton()
|
javax.swing.JMenuItem |
buildGoToPageMenuItem()
|
javax.swing.JMenu |
buildHelpMenu()
|
javax.swing.JToggleButton |
buildHighlightAnnotationToolButton(java.lang.String imageSize)
|
javax.swing.JToggleButton |
buildHighlightAnnotationUtilityToolButton(java.lang.String imageSize)
|
javax.swing.JMenuItem |
buildInformationMenuItem()
|
javax.swing.JToggleButton |
buildInkAnnotationToolButton()
|
protected javax.swing.KeyStroke |
buildKeyStroke(int keyCode,
int modifiers)
|
protected javax.swing.KeyStroke |
buildKeyStroke(int keyCode,
int modifiers,
boolean onRelease)
Create and return a KeyStroke with the specified code and modifier Note this will automatically return null if the PROPERTY_SHOW_KEYBOARD_SHORTCUTS property is 'false' |
javax.swing.JButton |
buildLastPageButton()
|
javax.swing.JMenuItem |
buildLastPageMenuItem()
|
LayersPanel |
buildLayersComponents()
|
javax.swing.JToggleButton |
buildLineAnnotationToolButton()
|
javax.swing.JToggleButton |
buildLineArrowAnnotationToolButton()
|
javax.swing.JToggleButton |
buildLinkAnnotationToolButton()
|
javax.swing.JMenuItem |
buildMinimiseAllMenuItem()
|
protected int |
buildMnemonic(char mnemonic)
Return a valid mnemonic for the passed character, unless the PropertiesManager.PROPERTY_SHOW_KEYBOARD_SHORTCUTS property is 'false', in which case we'll return -1 |
javax.swing.JButton |
buildNextPageButton()
|
javax.swing.JMenuItem |
buildNextPageMenuItem()
|
javax.swing.JLabel |
buildNumberOfPagesLabel()
|
javax.swing.JButton |
buildOpenFileButton()
|
javax.swing.JMenuItem |
buildOpenFileMenuItem()
|
javax.swing.JMenuItem |
buildOpenURLMenuItem()
|
javax.swing.JComponent |
buildOutlineComponents()
|
javax.swing.JToolBar |
buildPageNavigationToolBar()
|
javax.swing.JToggleButton |
buildPageViewFacingPageConToggleButton()
|
javax.swing.JToggleButton |
buildPageViewFacingPageNonConToggleButton()
|
javax.swing.JToggleButton |
buildPageViewSinglePageConToggleButton()
|
javax.swing.JToggleButton |
buildPageViewSinglePageNonConToggleButton()
|
javax.swing.JToggleButton |
buildPanToolButton()
|
javax.swing.JMenuItem |
buildPermissionsMenuItem()
|
javax.swing.JButton |
buildPreviousPageButton()
|
javax.swing.JMenuItem |
buildPreviousPageMenuItem()
|
javax.swing.JButton |
buildPrintButton()
|
javax.swing.JMenuItem |
buildPrintMenuItem()
|
javax.swing.JMenuItem |
buildPrintSetupMenuItem()
|
javax.swing.JMenuItem |
buildRedoMenuItem()
|
javax.swing.JButton |
buildRotateLeftButton()
|
javax.swing.JMenuItem |
buildRotateLeftMenuItem()
|
javax.swing.JButton |
buildRotateRightButton()
|
javax.swing.JMenuItem |
buildRotateRightMenuItem()
|
javax.swing.JToolBar |
buildRotateToolBar()
|
javax.swing.JButton |
buildSaveAsFileButton()
|
javax.swing.JMenuItem |
buildSaveAsFileMenuItem()
|
javax.swing.JButton |
buildSearchButton()
|
javax.swing.JMenuItem |
buildSearchMenuItem()
|
SearchPanel |
buildSearchPanel()
|
javax.swing.JMenuItem |
buildSelectAllMenuItem()
|
javax.swing.JToggleButton |
buildSelectToolButton(java.lang.String imageSize)
|
javax.swing.JMenuItem |
buildShowHideToolBarMenuItem()
|
javax.swing.JToggleButton |
buildShowHideUtilityPaneButton()
|
javax.swing.JMenuItem |
buildShowHideUtilityPaneMenuItem()
|
javax.swing.JComponent |
buildSignatureComponents()
|
javax.swing.JToggleButton |
buildSquareAnnotationToolButton()
|
javax.swing.JPanel |
buildStatusPanel()
Builds the status bar panel containing a status label on the left and view mode controls on the right. |
javax.swing.JToggleButton |
buildStrikeOutAnnotationToolButton()
|
javax.swing.JToggleButton |
buildTextAnnotationToolButton(java.lang.String imageSize)
|
javax.swing.JToggleButton |
buildTextAnnotationUtilityToolButton(java.lang.String imageSize)
|
javax.swing.JToggleButton |
buildTextSelectToolButton()
|
ThumbnailsPanel |
buildThumbsPanel()
|
javax.swing.JToolBar |
buildToolToolBar()
|
javax.swing.JToggleButton |
buildUnderlineAnnotationToolButton()
|
javax.swing.JMenuItem |
buildUndoMenuItem()
|
javax.swing.JSplitPane |
buildUtilityAndDocumentSplitPane(boolean embeddableComponent)
|
javax.swing.JTabbedPane |
buildUtilityTabbedPane()
|
javax.swing.JToolBar |
buildUtilityToolBar(boolean embeddableComponent)
|
javax.swing.JToolBar |
buildUtilityToolBar(boolean embeddableComponent,
PropertiesManager propertiesManager)
|
javax.swing.JFrame |
buildViewerFrame()
This is a standard method for creating a standalone JFrame, that would behave as a fully functional PDF Viewer application. |
javax.swing.JPanel |
buildViewerPanel()
Used by the Applet and Pilot RI code to create an embeddable panel for viewing PDF files, as opposed to buildViewerFrame(), which makes a standalone JFrame |
javax.swing.JMenu |
buildViewMenu()
|
void |
buildWindowListMenuItems(javax.swing.JMenu menu)
|
javax.swing.JMenu |
buildWindowMenu()
|
javax.swing.JComboBox |
buildZoomCombBox()
|
javax.swing.JButton |
buildZoomInButton()
|
javax.swing.JMenuItem |
buildZoomInMenuItem()
|
javax.swing.JToggleButton |
buildZoomInToolButton()
|
javax.swing.JButton |
buildZoomOutButton()
|
javax.swing.JMenuItem |
buildZoomOutMenuItem()
|
javax.swing.JToggleButton |
buildZoomOutToolButton()
|
javax.swing.JToolBar |
buildZoomToolBar()
|
protected void |
commonToolBarSetup(javax.swing.JToolBar toolbar,
boolean isMainToolBar)
|
protected void |
doubleCheckPropertiesManager()
Method to try to get the properties manager from the window management callback, if we don't already have a propertiesManager object |
protected javax.swing.JMenuItem |
makeMenuItem(java.lang.String text,
javax.swing.KeyStroke accel)
Utility method for creating a menu item. |
protected javax.swing.JMenuItem |
makeMenuItem(java.lang.String text,
java.lang.String imageName,
java.lang.String imageSize,
javax.swing.KeyStroke accel)
Utility method for creating a menu item with an image. |
protected javax.swing.JButton |
makeToolbarButton(java.lang.String title,
java.lang.String toolTip,
java.lang.String imageName,
java.lang.String imageSize,
java.awt.Font font)
Utility method for creating a toolbar button. |
protected javax.swing.JToggleButton |
makeToolbarToggleButton(java.lang.String title,
java.lang.String toolTip,
java.awt.Font font)
|
protected javax.swing.JToggleButton |
makeToolbarToggleButton(java.lang.String title,
java.lang.String toolTip,
java.lang.String imageName,
int imageWidth,
int imageHeight,
java.awt.Font font)
|
protected javax.swing.JToggleButton |
makeToolbarToggleButton(java.lang.String title,
java.lang.String toolTip,
java.lang.String imageName,
java.lang.String imageSize,
java.awt.Font font)
Utility method for creating toggle buttons. |
protected javax.swing.JToggleButton |
makeToolbarToggleButtonSmall(java.lang.String title,
java.lang.String toolTip,
java.lang.String imageName,
java.lang.String imageSize,
java.awt.Font font)
Utility method for creating small toggle buttons (24x24) that also have a selected icon state. |
protected void |
overrideHighlightColor()
Method to attempt to override the system property highlight color If the current color is blank, we'll try to pull the same property from our local propertiesManager and, if found, apply it to the system properties This affects the search highlight coloring |
protected void |
shortenDocumentOrigins(java.util.List<java.lang.Object> windowDocOriginList)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TOOL_BAR_STYLE_FLOATING
public static final int TOOL_BAR_STYLE_FIXED
protected static final float[] DEFAULT_ZOOM_LEVELS
protected SwingController viewerController
protected java.awt.Font buttonFont
protected boolean showButtonText
protected int toolbarStyle
protected float[] zoomLevels
protected boolean haveMadeAToolBar
protected int documentViewType
protected int documentPageFitMode
protected java.util.ResourceBundle messageBundle
protected PropertiesManager propertiesManager
public static boolean isMacOs
| Constructor Detail |
|---|
public SwingViewBuilder(SwingController c)
c - SwingController that will interact with the GUI
public SwingViewBuilder(SwingController c,
PropertiesManager properties)
c - SwingController that will interact with the GUIproperties - PropertiesManager that can customize the UI
public SwingViewBuilder(SwingController c,
int documentViewType,
int documentPageFitMode)
c - SwingController that will interact with the GUIdocumentViewType - view type to build , single page, single column etc.documentPageFitMode - fit mode to initially load document with.
public SwingViewBuilder(SwingController c,
java.awt.Font bf,
boolean bt,
int ts,
float[] zl,
int documentViewType,
int documentPageFitMode)
c - SwingController that will interact with the GUI
public SwingViewBuilder(SwingController c,
PropertiesManager properties,
java.awt.Font bf,
boolean bt,
int ts,
float[] zl,
int documentViewType,
int documentPageFitMode)
c - SwingController that will interact with the GUI| Method Detail |
|---|
public javax.swing.JFrame buildViewerFrame()
buildViewerPanel()public javax.swing.JPanel buildViewerPanel()
buildViewerFrame()
public void buildContents(java.awt.Container cp,
boolean embeddableComponent)
cp - Container in which to put components for viewing PDF documentspublic javax.swing.JMenuBar buildCompleteMenuBar()
protected javax.swing.KeyStroke buildKeyStroke(int keyCode,
int modifiers)
protected javax.swing.KeyStroke buildKeyStroke(int keyCode,
int modifiers,
boolean onRelease)
keyCode - to buildmodifiers - to buildonRelease - to build
protected int buildMnemonic(char mnemonic)
mnemonic - to build
public javax.swing.JMenu buildFileMenu()
public javax.swing.JMenuItem buildOpenFileMenuItem()
public javax.swing.JMenuItem buildOpenURLMenuItem()
public javax.swing.JMenuItem buildCloseMenuItem()
public javax.swing.JMenuItem buildSaveAsFileMenuItem()
public javax.swing.JMenuItem buildExportTextMenuItem()
public javax.swing.JMenuItem buildExportSVGMenuItem()
public javax.swing.JMenuItem buildPermissionsMenuItem()
public javax.swing.JMenuItem buildInformationMenuItem()
public javax.swing.JMenuItem buildFontInformationMenuItem()
public javax.swing.JMenuItem buildPrintSetupMenuItem()
public javax.swing.JMenuItem buildPrintMenuItem()
public javax.swing.JMenuItem buildExitMenuItem()
public javax.swing.JMenu buildEditMenu()
public javax.swing.JMenuItem buildUndoMenuItem()
public javax.swing.JMenuItem buildRedoMenuItem()
public javax.swing.JMenuItem buildCopyMenuItem()
public javax.swing.JMenuItem buildDeleteMenuItem()
public javax.swing.JMenuItem buildSelectAllMenuItem()
public javax.swing.JMenuItem buildDeselectAllMenuItem()
public javax.swing.JMenu buildViewMenu()
public javax.swing.JMenuItem buildFitActualSizeMenuItem()
public javax.swing.JMenuItem buildFitPageMenuItem()
public javax.swing.JMenuItem buildFitWidthMenuItem()
public javax.swing.JMenuItem buildZoomInMenuItem()
public javax.swing.JMenuItem buildZoomOutMenuItem()
public javax.swing.JMenuItem buildRotateLeftMenuItem()
public javax.swing.JMenuItem buildRotateRightMenuItem()
public javax.swing.JMenuItem buildShowHideToolBarMenuItem()
public javax.swing.JMenuItem buildShowHideUtilityPaneMenuItem()
public javax.swing.JMenu buildDocumentMenu()
public javax.swing.JMenuItem buildFirstPageMenuItem()
public javax.swing.JMenuItem buildPreviousPageMenuItem()
public javax.swing.JMenuItem buildNextPageMenuItem()
public javax.swing.JMenuItem buildLastPageMenuItem()
public javax.swing.JMenuItem buildSearchMenuItem()
public javax.swing.JMenuItem buildGoToPageMenuItem()
public javax.swing.JMenu buildWindowMenu()
public javax.swing.JMenuItem buildMinimiseAllMenuItem()
public javax.swing.JMenuItem buildBringAllToFrontMenuItem()
public void buildWindowListMenuItems(javax.swing.JMenu menu)
protected void shortenDocumentOrigins(java.util.List<java.lang.Object> windowDocOriginList)
public javax.swing.JMenu buildHelpMenu()
public javax.swing.JMenuItem buildAboutMenuItem()
public javax.swing.JToolBar buildCompleteToolBar(boolean embeddableComponent)
public javax.swing.JToolBar buildUtilityToolBar(boolean embeddableComponent)
public javax.swing.JToolBar buildUtilityToolBar(boolean embeddableComponent,
PropertiesManager propertiesManager)
public javax.swing.JButton buildOpenFileButton()
public javax.swing.JButton buildSaveAsFileButton()
public javax.swing.JButton buildPrintButton()
public javax.swing.JButton buildSearchButton()
public javax.swing.JToggleButton buildShowHideUtilityPaneButton()
public javax.swing.JToolBar buildPageNavigationToolBar()
public javax.swing.JButton buildFirstPageButton()
public javax.swing.JButton buildPreviousPageButton()
public javax.swing.JButton buildNextPageButton()
public javax.swing.JButton buildLastPageButton()
public javax.swing.JTextField buildCurrentPageNumberTextField()
public javax.swing.JLabel buildNumberOfPagesLabel()
public javax.swing.JToolBar buildZoomToolBar()
public javax.swing.JButton buildZoomOutButton()
public javax.swing.JComboBox buildZoomCombBox()
public javax.swing.JButton buildZoomInButton()
public javax.swing.JToolBar buildFitToolBar()
public javax.swing.JToggleButton buildFitActualSizeButton()
public javax.swing.JToggleButton buildFitPageButton()
public javax.swing.JToggleButton buildFontEngineButton()
public javax.swing.JToggleButton buildFitWidthButton()
public javax.swing.JToolBar buildRotateToolBar()
public javax.swing.JButton buildRotateLeftButton()
public javax.swing.JButton buildRotateRightButton()
public javax.swing.JToolBar buildToolToolBar()
public javax.swing.JToolBar buildAnnotationlToolBar()
public javax.swing.JToolBar buildFormsToolBar()
public javax.swing.JToolBar buildAnnotationUtilityToolBar()
public javax.swing.JToolBar buildDemoToolBar()
public javax.swing.JToggleButton buildPanToolButton()
public javax.swing.JToggleButton buildTextSelectToolButton()
public javax.swing.JToggleButton buildSelectToolButton(java.lang.String imageSize)
public javax.swing.JToggleButton buildLinkAnnotationToolButton()
public javax.swing.JToggleButton buildHighlightAnnotationToolButton(java.lang.String imageSize)
public javax.swing.JToggleButton buildHighlightAnnotationUtilityToolButton(java.lang.String imageSize)
public javax.swing.JToggleButton buildStrikeOutAnnotationToolButton()
public javax.swing.JToggleButton buildUnderlineAnnotationToolButton()
public javax.swing.JToggleButton buildLineAnnotationToolButton()
public javax.swing.JToggleButton buildLineArrowAnnotationToolButton()
public javax.swing.JToggleButton buildSquareAnnotationToolButton()
public javax.swing.JToggleButton buildCircleAnnotationToolButton()
public javax.swing.JToggleButton buildInkAnnotationToolButton()
public javax.swing.JToggleButton buildFreeTextAnnotationToolButton()
public javax.swing.JToggleButton buildTextAnnotationToolButton(java.lang.String imageSize)
public javax.swing.JToggleButton buildFormHighlightButton(java.lang.String imageSize)
public javax.swing.JToggleButton buildTextAnnotationUtilityToolButton(java.lang.String imageSize)
public javax.swing.JToggleButton buildZoomInToolButton()
public javax.swing.JToggleButton buildZoomOutToolButton()
public javax.swing.JSplitPane buildUtilityAndDocumentSplitPane(boolean embeddableComponent)
public javax.swing.JTabbedPane buildUtilityTabbedPane()
public javax.swing.JComponent buildOutlineComponents()
public ThumbnailsPanel buildThumbsPanel()
public LayersPanel buildLayersComponents()
public javax.swing.JComponent buildSignatureComponents()
public SearchPanel buildSearchPanel()
public AttachmentPanel buildAttachmentPanle()
public AnnotationPanel buildAnnotationPanel()
public javax.swing.JPanel buildStatusPanel()
public javax.swing.JToggleButton buildPageViewSinglePageConToggleButton()
public javax.swing.JToggleButton buildPageViewFacingPageConToggleButton()
public javax.swing.JToggleButton buildPageViewSinglePageNonConToggleButton()
public javax.swing.JToggleButton buildPageViewFacingPageNonConToggleButton()
protected javax.swing.JButton makeToolbarButton(java.lang.String title,
java.lang.String toolTip,
java.lang.String imageName,
java.lang.String imageSize,
java.awt.Font font)
title - display text for the menu itemtoolTip - tool tip textimageName - display image nameimageSize - image size file extention constantfont - display font
protected javax.swing.JToggleButton makeToolbarToggleButton(java.lang.String title,
java.lang.String toolTip,
java.lang.String imageName,
java.lang.String imageSize,
java.awt.Font font)
title - display text for the menu itemtoolTip - tool tip textimageName - display image namefont - display fontimageSize - imageSize image size constant
protected javax.swing.JToggleButton makeToolbarToggleButtonSmall(java.lang.String title,
java.lang.String toolTip,
java.lang.String imageName,
java.lang.String imageSize,
java.awt.Font font)
title - display text for the menu itemtoolTip - tool tip textimageName - display image namefont - display fontimageSize - imageSize image size constant
protected javax.swing.JToggleButton makeToolbarToggleButton(java.lang.String title,
java.lang.String toolTip,
java.awt.Font font)
protected javax.swing.JToggleButton makeToolbarToggleButton(java.lang.String title,
java.lang.String toolTip,
java.lang.String imageName,
int imageWidth,
int imageHeight,
java.awt.Font font)
protected javax.swing.JMenuItem makeMenuItem(java.lang.String text,
javax.swing.KeyStroke accel)
text - display text for the menu item
protected javax.swing.JMenuItem makeMenuItem(java.lang.String text,
java.lang.String imageName,
java.lang.String imageSize,
javax.swing.KeyStroke accel)
text - display text for the menu itemimageName - display image for the menu itemimageSize - size of the image.
protected void commonToolBarSetup(javax.swing.JToolBar toolbar,
boolean isMainToolBar)
protected void doubleCheckPropertiesManager()
protected void overrideHighlightColor()
protected java.awt.Font buildButtonFont()
protected void addToToolBar(javax.swing.JToolBar toolbar,
javax.swing.JComponent comp)
protected void addToMenu(javax.swing.JMenu menu,
javax.swing.JMenuItem mi)
protected void addToMenuBar(javax.swing.JMenuBar menuBar,
javax.swing.JMenu menu)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||