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.JRadioButtonMenuItemexportItemprivate static RenderDestinationMenuinstanceprivate javax.swing.JRadioButtonMenuItemprintItemstatic java.lang.StringRENDER_DESTINATION_EXPORTstatic java.lang.StringRENDER_DESTINATION_PRINTstatic java.lang.StringRENDER_DESTINATION_VIEWprivate javax.swing.JRadioButtonMenuItemviewItem
-
Constructor Summary
Constructors Modifier Constructor Description privateRenderDestinationMenu()Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private javax.swing.JMenucreateMenu()static RenderDestinationMenugetInstance()Provides the RenderDestination instance.static RenderDestinationgetRenderDestination()static RenderDestinationgetRenderDestination(java.lang.String actionCommand)static booleanisRenderDestinationMenu(java.lang.String actionCommand)voidsetRenderDestinationSelection(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()
-
-