private void reflectFitInFitButtons() {
        if (document == null) {
            return;
        }
        reflectSelectionInButton(fitWidthButton,
                isDocumentFitMode(org.icepdf.core.views.DocumentViewController.PAGE_FIT_WINDOW_WIDTH));
        reflectSelectionInButton(fitHeightButton,
                isDocumentFitMode(org.icepdf.core.views.DocumentViewController.PAGE_FIT_WINDOW_HEIGHT));
        reflectSelectionInButton(fitActualSizeButton,
                isDocumentFitMode(org.icepdf.core.views.DocumentViewController.PAGE_FIT_ACTUAL_SIZE));
    }