T
- type of the object providing the displayed textpublic interface IRenderablePair<T> extends IPair<javax.swing.Icon,T>, HasIcon
Basically this interface is to associate an icon to a renderable object which itself does not define one (e.g. through HasIcon
interface).
The first object of the pair is an Icon
, the second object is the provider of the displayable text (acquired by Object.toString()
). This
interface is suitable for IGuiUtils.renderToLabel(javax.swing.JLabel, Object, boolean, boolean)
.
IGuiFactory.newRenderablePair(Icon, Object)
,
IGuiUtils.renderToLabel(javax.swing.JLabel, Object, boolean, boolean)
,
IPair
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.