Class SymbolThemeConfig
java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.perspective.common.config.symbols.SymbolThemeConfig
- All Implemented Interfaces:
Changeable
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
changeEvent, listenerList -
Constructor Summary
ConstructorsConstructorDescriptionSymbolThemeConfig(SymbolThemeConfig toCopy) SymbolThemeConfig(String name, Color primary, Color secondary, Color tertiary, Color stroke, Boolean enableAnimation, Boolean enableFlashing) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SymbolThemeConfiggetName()inthashCode()booleanbooleanstatic SymbolThemeConfigmerge(SymbolThemeConfig dest, SymbolThemeConfig src) voidsetEnableAnimation(boolean enableAnimation) voidsetEnableFlashing(boolean enableFlashing) voidsetPrimaryColor(Color primary) voidsetSecondaryColor(Color secondary) voidsetStrokeColor(Color stroke) voidsetTertiaryColor(Color tertiary) toString()Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
-
Field Details
-
DEFAULT_THEMES
-
-
Constructor Details
-
SymbolThemeConfig
-
SymbolThemeConfig
-
-
Method Details
-
fromJson
public static SymbolThemeConfig fromJson(String name, com.inductiveautomation.ignition.common.gson.JsonElement json) -
merge
-
getName
-
getPrimaryColor
-
setPrimaryColor
-
getSecondaryColor
-
setSecondaryColor
-
getTertiaryColor
-
setTertiaryColor
-
getStrokeColor
-
setStrokeColor
-
isEnableAnimation
public boolean isEnableAnimation() -
setEnableAnimation
public void setEnableAnimation(boolean enableAnimation) -
isEnableFlashing
public boolean isEnableFlashing() -
setEnableFlashing
public void setEnableFlashing(boolean enableFlashing) -
equals
-
hashCode
public int hashCode() -
toString
-