All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jpedal.examples.viewer.gui.generic.GUIButtons Maven / Gradle / Ivy

There is a newer version: 7.15.25
Show newest version
/*
 * ===========================================
 * Java Pdf Extraction Decoding Access Library
 * ===========================================
 *
 * Project Info:  http://www.idrsolutions.com
 * Help section for developers at http://www.idrsolutions.com/support/
 *
 * (C) Copyright 1997-2017 IDRsolutions and Contributors.
 *
 * This file is part of JPedal/JPDF2HTML5
 *
 @LICENSE@
 *
 * ---------------
 * GUIButtons.java
 * ---------------
 */

package org.jpedal.examples.viewer.gui.generic;

import org.jpedal.gui.GUIFactory;

/**
 * Abstract class so we can use getButtons and instantiate JavaFXButtons.java and
 * Buttons.java objects in either SwingGUI.java or JavaFXGUI.java which ensures
 * Swing code(Buttons.java) stays in SwingGUI.java and JavaFX code(JavaFXButtons.java)
 * stays in JavaFXGUI, keeping GUI.java generic.
 */
public interface GUIButtons {

    GUIButton getButton(int ID);

    void setBackNavigationButtonsEnabled(boolean flag);

    void setForwardNavigationButtonsEnabled(boolean flag);

    void checkButtonSeparators();

    void setVisible(boolean set);

    void setEnabled(boolean set);

    void hideRedundentNavButtons(GUIFactory currentGUI);

    void alignLayoutMenuOption(int mode);

    void setPageLayoutButtonsEnabled(boolean flag);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy