Class ViewerAction

    • Constructor Detail

      • ViewerAction

        public ViewerAction(Viewer viewer,
                            String filename)
        Create a new ViewerAction.
        Parameters:
        viewer - the viewer for this action.
        filename - the filename of an image or null
    • Method Detail

      • getViewer

        public Viewer getViewer()
        Returns:
        the viewer this action is about.
      • putValue

        public void putValue(String key,
                             Object value)
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled(boolean b)