
com.jwebmp.plugins.jqxwidgets.buttons.JQXButtonTemplates Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-jqx-widgets Show documentation
Show all versions of jwebmp-jqx-widgets Show documentation
The JWebSwing implementation for JQX Widgets
/*
* Copyright (C) 2017 GedMarc
*
* This program 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, either version 3 of the License, or
* (at your option) any later version.
*
* This program 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 this program. If not, see .
*/
package com.jwebmp.plugins.jqxwidgets.buttons;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* @author GedMarc
*/
public enum JQXButtonTemplates
{
Default,
// the default buttons template. The buttons style depends only on its "theme" property value.
Primary,
// dark blue button for extra visual weight.
Success,
// green button for successful or positive action.
Warning,
// orange button which indicates caution.
Danger,
// red button which indicates a dangerous or negative action.
Inverse,
// dark gray button, not tied to a semantic action or use.
Info,
// blue button, not tied to a semantic action or use.
Link,
// making it look like a link .
;
@Override
@JsonValue
public String toString()
{
return name().toLowerCase();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy