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

org.wicketstuff.jquery.ui.JQueryIcon Maven / Gradle / Ivy

The newest version!
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.wicketstuff.jquery.ui;

import org.apache.wicket.util.string.Strings;
import org.wicketstuff.jquery.ui.form.button.Button;

/**
 * Provides some default jQuery icon class. Might be used to decorate a {@link Button} for instance.
 *
 * @author Sebastien Briquet - sebfz1
 *
 */
public class JQueryIcon
{
	public static final String NONE = "";

	public static final String BLANK = "ui-icon-blank";
	public static final String CARAT_1_N = "ui-icon-carat-1-n";
	public static final String CARAT_1_NE = "ui-icon-carat-1-ne";
	public static final String CARAT_1_E = "ui-icon-carat-1-e";
	public static final String CARAT_1_SE = "ui-icon-carat-1-se";
	public static final String CARAT_1_S = "ui-icon-carat-1-s";
	public static final String CARAT_1_SW = "ui-icon-carat-1-sw";
	public static final String CARAT_1_W = "ui-icon-carat-1-w";
	public static final String CARAT_1_NW = "ui-icon-carat-1-nw";
	public static final String CARAT_2_N_S = "ui-icon-carat-2-n-s";
	public static final String CARAT_2_E_W = "ui-icon-carat-2-e-w";
	public static final String TRIANGLE_1_N = "ui-icon-triangle-1-n";
	public static final String TRIANGLE_1_NE = "ui-icon-triangle-1-ne";
	public static final String TRIANGLE_1_E = "ui-icon-triangle-1-e";
	public static final String TRIANGLE_1_SE = "ui-icon-triangle-1-se";
	public static final String TRIANGLE_1_S = "ui-icon-triangle-1-s";
	public static final String TRIANGLE_1_SW = "ui-icon-triangle-1-sw";
	public static final String TRIANGLE_1_W = "ui-icon-triangle-1-w";
	public static final String TRIANGLE_1_NW = "ui-icon-triangle-1-nw";
	public static final String TRIANGLE_2_N_S = "ui-icon-triangle-2-n-s";
	public static final String TRIANGLE_2_E_W = "ui-icon-triangle-2-e-w";
	public static final String ARROW_1_N = "ui-icon-arrow-1-n";
	public static final String ARROW_1_NE = "ui-icon-arrow-1-ne";
	public static final String ARROW_1_E = "ui-icon-arrow-1-e";
	public static final String ARROW_1_SE = "ui-icon-arrow-1-se";
	public static final String ARROW_1_S = "ui-icon-arrow-1-s";
	public static final String ARROW_1_SW = "ui-icon-arrow-1-sw";
	public static final String ARROW_1_W = "ui-icon-arrow-1-w";
	public static final String ARROW_1_NW = "ui-icon-arrow-1-nw";
	public static final String ARROW_2_N_S = "ui-icon-arrow-2-n-s";
	public static final String ARROW_2_NE_SW = "ui-icon-arrow-2-ne-sw";
	public static final String ARROW_2_E_W = "ui-icon-arrow-2-e-w";
	public static final String ARROW_2_SE_NW = "ui-icon-arrow-2-se-nw";
	public static final String ARROWSTOP_1_N = "ui-icon-arrowstop-1-n";
	public static final String ARROWSTOP_1_E = "ui-icon-arrowstop-1-e";
	public static final String ARROWSTOP_1_S = "ui-icon-arrowstop-1-s";
	public static final String ARROWSTOP_1_W = "ui-icon-arrowstop-1-w";
	public static final String ARROWTHICK_1_N = "ui-icon-arrowthick-1-n";
	public static final String ARROWTHICK_1_NE = "ui-icon-arrowthick-1-ne";
	public static final String ARROWTHICK_1_E = "ui-icon-arrowthick-1-e";
	public static final String ARROWTHICK_1_SE = "ui-icon-arrowthick-1-se";
	public static final String ARROWTHICK_1_S = "ui-icon-arrowthick-1-s";
	public static final String ARROWTHICK_1_SW = "ui-icon-arrowthick-1-sw";
	public static final String ARROWTHICK_1_W = "ui-icon-arrowthick-1-w";
	public static final String ARROWTHICK_1_NW = "ui-icon-arrowthick-1-nw";
	public static final String ARROWTHICK_2_N_S = "ui-icon-arrowthick-2-n-s";
	public static final String ARROWTHICK_2_NE_SW = "ui-icon-arrowthick-2-ne-sw";
	public static final String ARROWTHICK_2_E_W = "ui-icon-arrowthick-2-e-w";
	public static final String ARROWTHICK_2_SE_NW = "ui-icon-arrowthick-2-se-nw";
	public static final String ARROWTHICKSTOP_1_N = "ui-icon-arrowthickstop-1-n";
	public static final String ARROWTHICKSTOP_1_E = "ui-icon-arrowthickstop-1-e";
	public static final String ARROWTHICKSTOP_1_S = "ui-icon-arrowthickstop-1-s";
	public static final String ARROWTHICKSTOP_1_W = "ui-icon-arrowthickstop-1-w";
	public static final String ARROWRETURNTHICK_1_W = "ui-icon-arrowreturnthick-1-w";
	public static final String ARROWRETURNTHICK_1_N = "ui-icon-arrowreturnthick-1-n";
	public static final String ARROWRETURNTHICK_1_E = "ui-icon-arrowreturnthick-1-e";
	public static final String ARROWRETURNTHICK_1_S = "ui-icon-arrowreturnthick-1-s";
	public static final String ARROWRETURN_1_W = "ui-icon-arrowreturn-1-w";
	public static final String ARROWRETURN_1_N = "ui-icon-arrowreturn-1-n";
	public static final String ARROWRETURN_1_E = "ui-icon-arrowreturn-1-e";
	public static final String ARROWRETURN_1_S = "ui-icon-arrowreturn-1-s";
	public static final String ARROWREFRESH_1_W = "ui-icon-arrowrefresh-1-w";
	public static final String ARROWREFRESH_1_N = "ui-icon-arrowrefresh-1-n";
	public static final String ARROWREFRESH_1_E = "ui-icon-arrowrefresh-1-e";
	public static final String ARROWREFRESH_1_S = "ui-icon-arrowrefresh-1-s";
	public static final String ARROW_4 = "ui-icon-arrow-4";
	public static final String ARROW_4_DIAG = "ui-icon-arrow-4-diag";
	public static final String EXTLINK = "ui-icon-extlink";
	public static final String NEWWIN = "ui-icon-newwin";
	public static final String REFRESH = "ui-icon-refresh";
	public static final String SHUFFLE = "ui-icon-shuffle";
	public static final String TRANSFER_E_W = "ui-icon-transfer-e-w";
	public static final String TRANSFERTHICK_E_W = "ui-icon-transferthick-e-w";
	public static final String FOLDER_COLLAPSED = "ui-icon-folder-collapsed";
	public static final String FOLDER_OPEN = "ui-icon-folder-open";
	public static final String DOCUMENT = "ui-icon-document";
	public static final String DOCUMENT_B = "ui-icon-document-b";
	public static final String NOTE = "ui-icon-note";
	public static final String MAIL_CLOSED = "ui-icon-mail-closed";
	public static final String MAIL_OPEN = "ui-icon-mail-open";
	public static final String SUITCASE = "ui-icon-suitcase";
	public static final String COMMENT = "ui-icon-comment";
	public static final String PERSON = "ui-icon-person";
	public static final String PRINT = "ui-icon-print";
	public static final String TRASH = "ui-icon-trash";
	public static final String LOCKED = "ui-icon-locked";
	public static final String UNLOCKED = "ui-icon-unlocked";
	public static final String BOOKMARK = "ui-icon-bookmark";
	public static final String TAG = "ui-icon-tag";
	public static final String HOME = "ui-icon-home";
	public static final String FLAG = "ui-icon-flag";
	public static final String CALCULATOR = "ui-icon-calculator";
	public static final String CART = "ui-icon-cart";
	public static final String PENCIL = "ui-icon-pencil";
	public static final String CLOCK = "ui-icon-clock";
	public static final String DISK = "ui-icon-disk";
	public static final String CALENDAR = "ui-icon-calendar";
	public static final String ZOOMIN = "ui-icon-zoomin";
	public static final String ZOOMOUT = "ui-icon-zoomout";
	public static final String SEARCH = "ui-icon-search";
	public static final String WRENCH = "ui-icon-wrench";
	public static final String GEAR = "ui-icon-gear";
	public static final String HEART = "ui-icon-heart";
	public static final String STAR = "ui-icon-star";
	public static final String LINK = "ui-icon-link";
	public static final String CANCEL = "ui-icon-cancel";
	public static final String PLUS = "ui-icon-plus";
	public static final String PLUSTHICK = "ui-icon-plusthick";
	public static final String MINUS = "ui-icon-minus";
	public static final String MINUSTHICK = "ui-icon-minusthick";
	public static final String CLOSE = "ui-icon-close";
	public static final String CLOSETHICK = "ui-icon-closethick";
	public static final String KEY = "ui-icon-key";
	public static final String LIGHTBULB = "ui-icon-lightbulb";
	public static final String SCISSORS = "ui-icon-scissors";
	public static final String CLIPBOARD = "ui-icon-clipboard";
	public static final String COPY = "ui-icon-copy";
	public static final String CONTACT = "ui-icon-contact";
	public static final String IMAGE = "ui-icon-image";
	public static final String VIDEO = "ui-icon-video";
	public static final String SCRIPT = "ui-icon-script";
	public static final String ALERT = "ui-icon-alert";
	public static final String INFO = "ui-icon-info";
	public static final String NOTICE = "ui-icon-notice";
	public static final String HELP = "ui-icon-help";
	public static final String CHECK = "ui-icon-check";
	public static final String BULLET = "ui-icon-bullet";
	public static final String RADIO_OFF = "ui-icon-radio-off";
	public static final String RADIO_ON = "ui-icon-radio-on";
	public static final String PIN_W = "ui-icon-pin-w";
	public static final String PIN_S = "ui-icon-pin-s";
	public static final String PLAY = "ui-icon-play";
	public static final String PAUSE = "ui-icon-pause";
	public static final String SEEK_NEXT = "ui-icon-seek-next";
	public static final String SEEK_PREV = "ui-icon-seek-prev";
	public static final String SEEK_END = "ui-icon-seek-end";
	public static final String SEEK_FIRST = "ui-icon-seek-first";
	public static final String STOP = "ui-icon-stop";
	public static final String EJECT = "ui-icon-eject";
	public static final String VOLUME_OFF = "ui-icon-volume-off";
	public static final String VOLUME_ON = "ui-icon-volume-on";
	public static final String POWER = "ui-icon-power";
	public static final String SIGNAL_DIAG = "ui-icon-signal-diag";
	public static final String SIGNAL = "ui-icon-signal";
	public static final String BATTERY_0 = "ui-icon-battery-0";
	public static final String BATTERY_1 = "ui-icon-battery-1";
	public static final String BATTERY_2 = "ui-icon-battery-2";
	public static final String BATTERY_3 = "ui-icon-battery-3";
	public static final String CIRCLE_PLUS = "ui-icon-circle-plus";
	public static final String CIRCLE_MINUS = "ui-icon-circle-minus";
	public static final String CIRCLE_CLOSE = "ui-icon-circle-close";
	public static final String CIRCLE_TRIANGLE_E = "ui-icon-circle-triangle-e";
	public static final String CIRCLE_TRIANGLE_S = "ui-icon-circle-triangle-s";
	public static final String CIRCLE_TRIANGLE_W = "ui-icon-circle-triangle-w";
	public static final String CIRCLE_TRIANGLE_N = "ui-icon-circle-triangle-n";
	public static final String CIRCLE_ARROW_E = "ui-icon-circle-arrow-e";
	public static final String CIRCLE_ARROW_S = "ui-icon-circle-arrow-s";
	public static final String CIRCLE_ARROW_W = "ui-icon-circle-arrow-w";
	public static final String CIRCLE_ARROW_N = "ui-icon-circle-arrow-n";
	public static final String CIRCLE_ZOOMIN = "ui-icon-circle-zoomin";
	public static final String CIRCLE_ZOOMOUT = "ui-icon-circle-zoomout";
	public static final String CIRCLE_CHECK = "ui-icon-circle-check";
	public static final String CIRCLESMALL_PLUS = "ui-icon-circlesmall-plus";
	public static final String CIRCLESMALL_MINUS = "ui-icon-circlesmall-minus";
	public static final String CIRCLESMALL_CLOSE = "ui-icon-circlesmall-close";
	public static final String SQUARESMALL_PLUS = "ui-icon-squaresmall-plus";
	public static final String SQUARESMALL_MINUS = "ui-icon-squaresmall-minus";
	public static final String SQUARESMALL_CLOSE = "ui-icon-squaresmall-close";
	public static final String GRIP_DOTTED_VERTICAL = "ui-icon-grip-dotted-vertical";
	public static final String GRIP_DOTTED_HORIZONTAL = "ui-icon-grip-dotted-horizontal";
	public static final String GRIP_SOLID_VERTICAL = "ui-icon-grip-solid-vertical";
	public static final String GRIP_SOLID_HORIZONTAL = "ui-icon-grip-solid-horizontal";
	public static final String GRIPSMALL_DIAGONAL_SE = "ui-icon-gripsmall-diagonal-se";
	public static final String GRIP_DIAGONAL_SE = "ui-icon-grip-diagonal-se";

	/**
	 * Constants class
	 */
	private JQueryIcon()
	{
	}

	/**
	 * Indicates whether the icon is {@link JQueryIcon#NONE}
	 *
	 * @param icon the icon
	 * @return true or false
	 */
	public static boolean isNone(String icon)
	{
		return Strings.isEmpty(icon);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy