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

com.panayotis.hrgui.HiResIconManager Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
/* Copyright (c) 2016 by crossmobile.org
 *
 * CrossMobile is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, version 2.
 *
 * CrossMobile is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with CrossMobile; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
package com.panayotis.hrgui;

import javax.swing.Icon;

interface HiResIconManager {

    default void setIcons(HiResIcon icon) {
        setIconSuper(icon);
        setPressedIconSuper(icon);
        setSelectedIconSuper(icon);
        setRolloverIconSuper(icon);
        HiResIcon disabled = icon.getDisabledIcon();
        setDisabledIconSuper(disabled);
        setDisabledSelectedIconSuper(disabled);
    }

    public void setIconSuper(Icon icon);

    public void setPressedIconSuper(Icon icon);

    public void setSelectedIconSuper(Icon icon);

    public void setRolloverIconSuper(Icon icon);

    public void setDisabledIconSuper(Icon disabled);

    public void setDisabledSelectedIconSuper(Icon disabled);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy