public class TreeTableNodeFormatBasic extends Object implements TreeTableNodeFormat
| Modifier and Type | Field and Description |
|---|---|
protected Convertor<Object,String> |
convertor |
protected String |
fontFamily |
protected Float |
fontSize |
protected Integer |
iconWidthMin |
protected Boolean |
italic |
protected Float |
weight |
| Constructor and Description |
|---|
TreeTableNodeFormatBasic() |
TreeTableNodeFormatBasic(TreeTableNodeFormatBasic sample) |
protected String fontFamily
protected Float fontSize
protected Boolean italic
protected Float weight
protected Integer iconWidthMin
public TreeTableNodeFormatBasic()
public TreeTableNodeFormatBasic(TreeTableNodeFormatBasic sample)
public TreeTableNodeFormatBasic clone()
clone in interface TreeTableNodeFormatclone in class Objectpublic AttributedString createAttributedString(String text, Object value)
createAttributedString in interface TreeTableNodeFormatpublic String getFontFamily()
getFontFamily in interface TreeTableNodeFormatpublic void setFontFamily(String fontFamily)
setFontFamily in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic fontFamily(String ffamily)
public Float getFontSize()
getFontSize in interface TreeTableNodeFormatpublic void setFontSize(Float fontSize)
setFontSize in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic fontSize(Float fsize)
public Boolean getItalic()
getItalic in interface TreeTableNodeFormatpublic void setItalic(Boolean italic)
setItalic in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic italic(Boolean italic)
public Boolean getBold()
getBold in interface TreeTableNodeFormatpublic void setBold(Boolean bold)
setBold in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic bold(Boolean bld)
public Float getWeight()
getWeight in interface TreeTableNodeFormatpublic void setWeight(Float weight)
setWeight in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic weight(Float w)
public Color getBackground()
getBackground in interface TreeTableNodeFormatpublic void setBackground(Color background)
setBackground in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic background(Color background)
public Color getForeground()
getForeground in interface TreeTableNodeFormatpublic void setForeground(Color foreground)
setForeground in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic foreground(Color fg)
public ColorModificator getBaseModificator()
getBaseModificator in interface TreeTableNodeFormatpublic void setBaseModificator(ColorModificator baseModificator)
setBaseModificator in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic base(ColorModificator baseMod)
public ColorModificator getForegroundModificator()
getForegroundModificator in interface TreeTableNodeFormatpublic void setForegroundModificator(ColorModificator foregroundModificator)
setForegroundModificator in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic foreground(ColorModificator foregroundModificator)
public ColorModificator getBackgroundModificator()
getBackgroundModificator in interface TreeTableNodeFormatpublic void setBackgroundModificator(ColorModificator backgroundModificator)
setBackgroundModificator in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic background(ColorModificator backgroundModificator)
public List<Icon> getIcons()
getIcons in interface TreeTableNodeFormatpublic void setIcons(List<Icon> icons)
setIcons in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic icons(List<Icon> icons)
public TreeTableNodeFormatBasic icons(Icon... icons)
public Convertor<Object,String> getConvertor()
getConvertor in interface TreeTableNodeFormatpublic void setConvertor(Convertor<Object,String> convertor)
setConvertor in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic convertor(Convertor<Object,String> convertor)
public Integer getIconWidthMin()
getIconWidthMin in interface TreeTableNodeFormatpublic void setIconWidthMin(Integer iconWidthMin)
setIconWidthMin in interface TreeTableNodeFormatpublic TreeTableNodeFormatBasic iconWidthMin(Integer iconWidthMin)
public void merge(TreeTableNodeFormat fmt)
merge in interface TreeTableNodeFormatCopyright © 2018. All rights reserved.