public class Flavor extends Object implements Serializable
It holds presets that can be referenced in CSS files, as well as logo information. It can extend another flavor, in case it will its logo and presets. The name and label are not inherited.
At registration, presets and log information are merged of a previous contribution with the same name already held that kind of information. When emptying the list of presets.
Constructor and Description |
---|
Flavor() |
Modifier and Type | Method and Description |
---|---|
Flavor |
clone() |
boolean |
getAppendPresets() |
String |
getExtendsFlavor() |
String |
getLabel() |
Logo |
getLogo() |
String |
getName() |
PalettePreview |
getPalettePreview() |
List<FlavorPresets> |
getPresets() |
void |
setAppendPresets(boolean appendPresets) |
void |
setExtendsFlavor(String extendsFlavor) |
void |
setLabel(String label) |
void |
setLogo(Logo logo) |
void |
setName(String name) |
void |
setPalettePreview(PalettePreview palettePreview) |
void |
setPresets(List<FlavorPresets> presets) |
public String getName()
public void setName(String name)
public String getLabel()
public void setLabel(String label)
public String getExtendsFlavor()
public void setExtendsFlavor(String extendsFlavor)
public boolean getAppendPresets()
public List<FlavorPresets> getPresets()
public void setPresets(List<FlavorPresets> presets)
public Logo getLogo()
public void setLogo(Logo logo)
public void setAppendPresets(boolean appendPresets)
public PalettePreview getPalettePreview()
public void setPalettePreview(PalettePreview palettePreview)
Copyright © 2013 Nuxeo SA. All Rights Reserved.