|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openpcl.viewer.toolbar.PosToolBar
public class PosToolBar
This class is not a subclass of JComponent or JPanel and has a reference to the JToolBar to put on the screen, so you can't add an instance of this class to a Layout (add the JToolBar returned from buildPosJToolBar() to the Layout).
Field Summary | |
---|---|
protected JToolBar |
mJToolBar
|
protected PosPickAppLook |
mPickAppLook
|
protected Color |
mZoomWidthButtonTextColor
|
protected static Insets |
sTOOLBAR_BUTTON_MARGIN
|
Constructor Summary | |
---|---|
PosToolBar(OpenPCLViewer pOpenPCLViewer,
PosManageToolBar pPosManageToolBar)
|
Method Summary | |
---|---|
void |
addButtonForGrayOut(JButton pJButton)
Add buttons for gray out from subclass plugins. |
JToolBar |
buildPosJToolBar()
|
protected JButton |
createCascadeWindowsButton()
Cascade Windows toolbar button |
protected JButton |
createCloseAllFilesButton()
Close All Files toolbar button |
protected JButton |
createCloseFileButton()
Close File toolbar button |
protected JButton |
createHelpAboutButton()
Help About toolbar button |
protected JButton |
createNextPageButton()
Next Page toolbar button |
protected JButton |
createOpenLocalFileButton()
Open Local File toolbar button |
protected JButton |
createOptionsButton()
Options toolbar button |
protected JButton |
createPreviousPageButton()
Previous Page toolbar button |
protected JButton |
createPrintButton()
Print toolbar button |
protected JButton |
createSaveAsButton()
Save as PCL file toolbar button |
protected JButton |
createShowHideTreeButton()
Show/Hide Tree toolbar button |
protected JToggleButton |
createShowHideZoomSliderButton()
Show/Hide Zoom Slider toolbar button |
JButton |
createToolBarButton(String iconName,
String toolTip)
Helper method that the other methods call to make toolbar JButtons passing in the file name for the icon and the tooltip text. |
JToggleButton |
createToolBarToggleButton(String iconName,
String toolTip,
boolean selected)
Helper method that the other methods call to make toolbar JToggleButtons passing in the file name for the icon and the tooltip text and if initially selected |
protected JButton |
createZoomInButton()
Zoom in toolbar button |
protected JButton |
createZoomOutButton()
Zoom out toolbar button |
protected JButton |
createZoomWidthPageButton()
Zoom width toolbar button |
JToolBar |
getJToolBar()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JToolBar mJToolBar
protected static final Insets sTOOLBAR_BUTTON_MARGIN
protected Color mZoomWidthButtonTextColor
protected PosPickAppLook mPickAppLook
Constructor Detail |
---|
public PosToolBar(OpenPCLViewer pOpenPCLViewer, PosManageToolBar pPosManageToolBar)
Method Detail |
---|
public JToolBar getJToolBar()
public JToolBar buildPosJToolBar()
protected JButton createOpenLocalFileButton()
protected JButton createCloseFileButton()
protected JButton createCloseAllFilesButton()
protected JButton createSaveAsButton()
protected JButton createPrintButton()
protected JButton createPreviousPageButton()
protected JButton createNextPageButton()
protected JButton createShowHideTreeButton()
protected JButton createZoomOutButton()
protected JButton createZoomInButton()
protected JToggleButton createShowHideZoomSliderButton()
protected JButton createZoomWidthPageButton()
protected JButton createCascadeWindowsButton()
protected JButton createOptionsButton()
protected JButton createHelpAboutButton()
public JButton createToolBarButton(String iconName, String toolTip)
public JToggleButton createToolBarToggleButton(String iconName, String toolTip, boolean selected)
public void addButtonForGrayOut(JButton pJButton)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |