Package org.apache.pdfbox.debugger.ui
Class RenderDestinationMenu
- java.lang.Object
-
- org.apache.pdfbox.debugger.ui.MenuBase
-
- org.apache.pdfbox.debugger.ui.RenderDestinationMenu
-
public final class RenderDestinationMenu extends MenuBase
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JRadioButtonMenuItem
exportItem
private static RenderDestinationMenu
instance
private javax.swing.JRadioButtonMenuItem
printItem
static java.lang.String
RENDER_DESTINATION_EXPORT
static java.lang.String
RENDER_DESTINATION_PRINT
static java.lang.String
RENDER_DESTINATION_VIEW
private javax.swing.JRadioButtonMenuItem
viewItem
-
Constructor Summary
Constructors Modifier Constructor Description private
RenderDestinationMenu()
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private javax.swing.JMenu
createMenu()
static RenderDestinationMenu
getInstance()
Provides the RenderDestination instance.static RenderDestination
getRenderDestination()
static RenderDestination
getRenderDestination(java.lang.String actionCommand)
static boolean
isRenderDestinationMenu(java.lang.String actionCommand)
void
setRenderDestinationSelection(java.lang.String selection)
Set the render destination selection.-
Methods inherited from class org.apache.pdfbox.debugger.ui.MenuBase
addMenuListeners, getMenu, setEnableMenu, setMenu
-
-
-
-
Field Detail
-
RENDER_DESTINATION_EXPORT
public static final java.lang.String RENDER_DESTINATION_EXPORT
- See Also:
- Constant Field Values
-
RENDER_DESTINATION_PRINT
public static final java.lang.String RENDER_DESTINATION_PRINT
- See Also:
- Constant Field Values
-
RENDER_DESTINATION_VIEW
public static final java.lang.String RENDER_DESTINATION_VIEW
- See Also:
- Constant Field Values
-
instance
private static RenderDestinationMenu instance
-
exportItem
private javax.swing.JRadioButtonMenuItem exportItem
-
printItem
private javax.swing.JRadioButtonMenuItem printItem
-
viewItem
private javax.swing.JRadioButtonMenuItem viewItem
-
-
Method Detail
-
getInstance
public static RenderDestinationMenu getInstance()
Provides the RenderDestination instance.- Returns:
- RenderDestination instance.
-
setRenderDestinationSelection
public void setRenderDestinationSelection(java.lang.String selection)
Set the render destination selection.- Parameters:
selection
- String instance.
-
isRenderDestinationMenu
public static boolean isRenderDestinationMenu(java.lang.String actionCommand)
-
getRenderDestination
public static RenderDestination getRenderDestination()
-
getRenderDestination
public static RenderDestination getRenderDestination(java.lang.String actionCommand)
-
createMenu
private javax.swing.JMenu createMenu()
-
-