public interface ComponentInfo<T extends java.awt.Component>
| Modifier and Type | Method and Description |
|---|---|
javax.swing.ImageIcon |
getIcon(StyleableComponent type,
T component)
Returns icon for the specified component.
|
java.lang.String |
getText(StyleableComponent type,
T component)
Returns string value for the specified component.
|
javax.swing.ImageIcon getIcon(StyleableComponent type, T component)
null to use default component icon.type - styleable component typecomponent - component to provide icon forjava.lang.String getText(StyleableComponent type, T component)
type - styleable component typecomponent - object to provide text for