com.jidesoft.swing.SearchableBarIconsFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jide-oss Show documentation
Show all versions of jide-oss Show documentation
JIDE Common Layer (Professional Swing Components)
/*
* @(#)FirefoxSearchBarIconsFactory.java 10/12/2005
*
* Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
*/
package com.jidesoft.swing;
import com.jidesoft.icons.IconsFactory;
import javax.swing.*;
/**
* A helper class to contain icons for SearchableBar.
*/
public class SearchableBarIconsFactory {
public static class Buttons {
public static final String CLOSE = "icons/close.png";
public static final String CLOSE_ROLLOVER = "icons/closeR.png";
public static final String HIGHLIGHTS = "icons/highlights.png";
public static final String HIGHLIGHTS_SELECTED = "icons/highlightsS.png";
public static final String HIGHLIGHTS_DISABLED = "icons/highlightsD.png";
public static final String HIGHLIGHTS_ROLLOVER = "icons/highlightsR.png";
public static final String HIGHLIGHTS_ROLLOVER_SELECTED = "icons/highlightsRS.png";
public static final String NEXT = "icons/next.png";
public static final String NEXT_ROLLOVER = "icons/nextR.png";
public static final String NEXT_DISABLED = "icons/nextD.png";
public static final String PREVIOUS = "icons/previous.png";
public static final String PREVIOUS_ROLLOVER = "icons/previousR.png";
public static final String PREVIOUS_DISABLED = "icons/previousD.png";
public static final String ERROR = "icons/error.png";
public static final String REPEAT = "icons/repeat.png";
}
public static ImageIcon getImageIcon(String name) {
if (name != null)
return IconsFactory.getImageIcon(SearchableBarIconsFactory.class, name);
else
return null;
}
public static void main(String[] argv) {
IconsFactory.generateHTML(SearchableBarIconsFactory.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy