|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StyledLabelPainter<E extends WebStyledLabel>
Base interface for WebStyledLabel component painters.
Method Summary | |
---|---|
void |
setIgnoreColorSettings(boolean ignore)
Sets whether color settings should be ignored or not. |
void |
setPreferredRowCount(int rows)
Sets preferred row count. |
void |
setScriptFontRatio(float ratio)
Sets subscript and superscript font ratio. |
void |
setTruncatedTextSuffix(java.lang.String suffix)
Sets truncated text suffix. |
void |
updateTextRanges()
Forces text ranges to be updated according to current style ranges and text. |
Methods inherited from interface com.alee.extended.painter.Painter |
---|
addPainterListener, getMargin, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstall |
Method Detail |
---|
void setPreferredRowCount(int rows)
rows
- new preferred row countvoid setIgnoreColorSettings(boolean ignore)
ignore
- whether color settings should be ignored or notvoid setScriptFontRatio(float ratio)
ratio
- new subscript and superscript font ratiovoid setTruncatedTextSuffix(java.lang.String suffix)
suffix
- new truncated text suffixvoid updateTextRanges()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |