public final class RenderDestinationMenu extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RENDER_DESTINATION_EXPORT |
static String |
RENDER_DESTINATION_PRINT |
static String |
RENDER_DESTINATION_VIEW |
Modifier and Type | Method and Description |
---|---|
void |
addMenuListeners(ActionListener listener)
Add the ActionListener for the menu items.
|
static RenderDestinationMenu |
getInstance()
Provides the RenderDestination instance.
|
JMenu |
getMenu()
Provide the JMenu instance of the ZoomMenu.
|
static RenderDestination |
getRenderDestination() |
static RenderDestination |
getRenderDestination(String actionCommand) |
static boolean |
isRenderDestinationMenu(String actionCommand) |
void |
setEnableMenu(boolean isEnable)
Set if the menu should be enabled or disabled.
|
protected void |
setMenu(JMenu menu) |
void |
setRenderDestinationSelection(String selection)
Set the render destination selection.
|
public static final String RENDER_DESTINATION_EXPORT
public static final String RENDER_DESTINATION_PRINT
public static final String RENDER_DESTINATION_VIEW
public static RenderDestinationMenu getInstance()
public void setRenderDestinationSelection(String selection)
selection
- String instance.public static boolean isRenderDestinationMenu(String actionCommand)
public static RenderDestination getRenderDestination()
public static RenderDestination getRenderDestination(String actionCommand)
protected void setMenu(JMenu menu)
public JMenu getMenu()
public void setEnableMenu(boolean isEnable)
isEnable
- boolean instance.public void addMenuListeners(ActionListener listener)
listener
- ActionListener.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.