Top Fields Constructors Methods
org.apache.pdfbox.debugger.ui

pack-priv abstract Class MenuBase

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.pdfbox.debugger.ui.PrintDpiMenu, org.apache.pdfbox.debugger.ui.RenderDestinationMenu, org.apache.pdfbox.debugger.ui.RotationMenu, org.apache.pdfbox.debugger.ui.TreeViewMenu, org.apache.pdfbox.debugger.ui.ViewMenu, org.apache.pdfbox.debugger.ui.ZoomMenu, org.apache.pdfbox.debugger.ui.ImageTypeMenu
Imports
java.awt.Component, java.awt.event.ActionListener, javax.swing.JMenu, .JMenuItem

Authors
Khyrul Bashar, Tilman Hausherr Base class.

Field Summary

Modifier and TypeField and Description

Constructor Summary

AccessConstructor and Description

Method Summary

Modifier and TypeMethod and Description
public void
addMenuListeners(ActionListener
ActionListener.
listener
)

Add the ActionListener for the menu items.

public JMenu

Returns:

JMenu instance.
getMenu
()

Provide the JMenu instance of the ZoomMenu.

private void
public void
setEnableMenu(boolean
boolean instance.
isEnable
)

Set if the menu should be enabled or disabled.

pack-priv final void
setMenu(JMenu menu)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Constructor Detail

Method Detail

addMenuListenersback to summary
public void addMenuListeners(ActionListener listener)

Add the ActionListener for the menu items.

Parameters
listener:ActionListener

ActionListener.

getMenuback to summary
public JMenu getMenu()

Provide the JMenu instance of the ZoomMenu.

Returns:JMenu

JMenu instance.

removeActionListenersback to summary
private void removeActionListeners(JMenuItem menuItem)
setEnableMenuback to summary
public void setEnableMenu(boolean isEnable)

Set if the menu should be enabled or disabled.

Parameters
isEnable:boolean

boolean instance.

setMenuback to summary
pack-priv final void setMenu(JMenu menu)